@batlify/mscms2-api
Version:
MineStoreCMS v3 API package
12 lines • 451 B
TypeScript
import Context from '../../../core/context';
import GiftCards from './giftcards';
import Coupons from './coupons';
export default class Discounts extends Context {
protected giftCards: GiftCards;
protected coupons: Coupons;
constructor();
check(type: 'giftcard' | 'coupon', code?: string): Promise<any>;
apply(code: string): Promise<any>;
remove(type: 'giftcard' | 'coupon'): Promise<any>;
}
//# sourceMappingURL=index.d.ts.map