b-b-calculations
Version:
A cart calculation engine for buffalo burger restaurants
19 lines • 561 B
TypeScript
import { ICartItem } from './CartItem';
import { IPromocodeConfig } from './Promocode';
export declare const DELIVERY_TYPES: {
DELIVERY: number;
PICKUP: number;
DINEIN: number;
};
export type DeliveryTypeId = 1 | 2 | 3;
export interface ICheckoutConfig {
cartMenuItems?: ICartItem[];
cartOffers?: ICartItem[];
deliveryFeesEgp?: number;
loyaltyBalance?: number;
dineinExtraCharge?: number;
coupon?: IPromocodeConfig | null;
deliveryType: DeliveryTypeId;
appType?: number;
}
//# sourceMappingURL=CheckoutConfig.d.ts.map