Options
All
  • Public
  • Public/Protected
  • All
Menu

Module store/modules/Coupon

Index

Variables

Variables

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>
    • fetchVoucherList:function
      • fetchVoucherList(__namedParameters: Object, storeName: any): Promise<void>
    • updateCouponCode:function
      • updateCouponCode(__namedParameters: Object, payload: any): void
    • updateShowCouponList:function
      • updateShowCouponList(__namedParameters: Object, flag: any): void
    • updateVoucher:function
      • updateVoucher(__namedParameters: Object, payload: any): 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)
        • (state: any): any
        • Parameters

          • state: any

          Returns any

    • couponCode: ((state: any) => any)
        • (state: any): any
        • Parameters

          • state: any

          Returns any

    • couponCount: ((state: any) => any)
        • (state: any): any
        • Parameters

          • state: any

          Returns any

    • coupons: ((state: any) => any)
        • (state: any): any
        • Parameters

          • state: any

          Returns any

    • showCouponList: ((state: any) => any)
        • (state: any): any
        • Parameters

          • state: any

          Returns any

    • voucher: ((state: any) => any)
        • (state: any): any
        • Parameters

          • state: any

          Returns any

    • voucherId: ((state: any) => any)
        • (state: any): any
        • Parameters

          • state: any

          Returns any

    • vouchers: ((state: any) => any)
        • (state: any): any
        • Parameters

          • state: any

          Returns 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[]

Generated using TypeDoc