default
default: { actions: { fetchCouponList: any; fetchVoucherList: any; updateCouponCode: any; updateShowCouponList: any; updateVoucher: any }; getters: { couponBestPrices: ((state: any) => any); couponCode: ((state: any) => any); couponCount: ((state: any) => any); coupons: ((state: any) => any); showCouponList: ((state: any) => any); voucher: ((state: any) => any); voucherId: ((state: any) => any); vouchers: ((state: any) => any) }; mutations: { UPDATE_COUPONS: any; UPDATE_COUPON_CODE: any; UPDATE_SHOW_LIST: any; UPDATE_VOUCHER: any; UPDATE_VOUCHER_LIST: any }; namespaced: boolean; state: { couponCode: null; coupons: never[]; showList: boolean; voucher: null; vouchers: never[] } }
Type declaration
actions: { fetchCouponList: any; fetchVoucherList: any; updateCouponCode: any; updateShowCouponList: any; updateVoucher: any }
fetchCouponList:function
- fetchCouponList(__namedParameters: Object, slug: any): Promise<void>
Parameters
__namedParameters: Object
slug: any
Returns Promise<void>
fetchVoucherList:function
- fetchVoucherList(__namedParameters: Object, storeName: any): Promise<void>
Parameters
__namedParameters: Object
storeName: any
Returns Promise<void>
updateCouponCode:function
- updateCouponCode(__namedParameters: Object, payload: any): void
Parameters
__namedParameters: Object
payload: any
Returns void
updateShowCouponList:function
- updateShowCouponList(__namedParameters: Object, flag: any): void
Parameters
__namedParameters: Object
flag: any
Returns void
updateVoucher:function
- updateVoucher(__namedParameters: Object, payload: any): void
Parameters
__namedParameters: Object
payload: any
Returns void
getters: { couponBestPrices: ((state: any) => any); couponCode: ((state: any) => any); couponCount: ((state: any) => any); coupons: ((state: any) => any); showCouponList: ((state: any) => any); voucher: ((state: any) => any); voucherId: ((state: any) => any); vouchers: ((state: any) => any) }
couponBestPrices: ((state: any) => any)
couponCode: ((state: any) => any)
couponCount: ((state: any) => any)
coupons: ((state: any) => any)
showCouponList: ((state: any) => any)
voucher: ((state: any) => any)
voucherId: ((state: any) => any)
vouchers: ((state: any) => any)
mutations: { UPDATE_COUPONS: any; UPDATE_COUPON_CODE: any; UPDATE_SHOW_LIST: any; UPDATE_VOUCHER: any; UPDATE_VOUCHER_LIST: any }
UPDATE_COUPONS:function
- UPDATE_COUPONS(state: any, payload: any): void
UPDATE_COUPON_CODE:function
- UPDATE_COUPON_CODE(state: any, payload: any): void
UPDATE_SHOW_LIST:function
- UPDATE_SHOW_LIST(state: any, payload: any): void
UPDATE_VOUCHER:function
- UPDATE_VOUCHER(state: any, payload: any): void
UPDATE_VOUCHER_LIST:function
- UPDATE_VOUCHER_LIST(state: any, payload: any): void
namespaced: boolean
state: { couponCode: null; coupons: never[]; showList: boolean; voucher: null; vouchers: never[] }
couponCode: null
coupons: never[]
showList: boolean
voucher: null
vouchers: never[]