@spartacus/storefront
Version:
Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.
16 lines (15 loc) • 816 B
TypeScript
import { Voucher, CartVoucherService } from '@spartacus/core';
import { ICON_TYPE } from '../../../../cms-components/misc/icon/icon.model';
import * as i0 from "@angular/core";
export declare class AppliedCouponsComponent {
protected cartVoucherService: CartVoucherService;
vouchers: Voucher[];
cartIsLoading: boolean;
isReadOnly: boolean;
iconTypes: typeof ICON_TYPE;
constructor(cartVoucherService: CartVoucherService);
get sortedVouchers(): Voucher[];
removeVoucher(voucherId: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<AppliedCouponsComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<AppliedCouponsComponent, "cx-applied-coupons", never, { "vouchers": "vouchers"; "cartIsLoading": "cartIsLoading"; "isReadOnly": "isReadOnly"; }, {}, never, never>;
}