@open-tender/utils
Version:
A library of utils for use with Open Tender applications that utilize our cloud-based Order API.
10 lines (9 loc) • 610 B
TypeScript
export declare const centsToDollars: (cents: number) => string;
export declare const buttonsKeypad: string[][];
export declare const buttonsNumpad: string[][];
export declare const buttonsDollars: string[][];
export declare const buttonsCheckout: string[][];
export declare const reduceKeypad: (value: string, key: string) => string;
export declare const reduceNumpad: (value: string, key: string, clear: boolean) => string;
export declare const reduceDollars: (value: string, key: string, clear: boolean) => string;
export declare const reduceCheckout: (value: string, key: string, clear: boolean) => string;