UNPKG

@salla.sa/twilight-components

Version:
39 lines (38 loc) 978 B
export declare class SallaCartItemOffers { /** * The quantity of the cart item */ quantity: number; /** * JSON string containing the offers associated with the cart item */ offers: string; /** * The unique identifier of the cart item */ itemId: number; /** * The original price of the product in the cart */ productPrice: number; internalQuantity: number; internalOffers: any[]; internalProductPrice: number; showAll: boolean; freeLabel: string; receivedOffer: string; discountAmountLabel: string; showMoreOffers: string; private readonly icons; private visibleOffersCount; componentWillLoad(): Promise<void>; componentDidLoad(): void; private parseOffers; private handleCartItemUpdated; private get visibleOffers(); private get hiddenOffers(); private toggleShowAll; private getPaidQty; private renderOffer; render(): any; }