Class: CouponInput
backend.CouponInput
#
Hierarchy↳
CouponInput
#
ImplementsTCouponInput
#
Table of contents#
Constructors#
Properties- allowFreeShipping
- categoryIds
- code
- customMeta
- description
- discountType
- expiryDate
- isEnabled
- maximumSpend
- meta
- minimumSpend
- pageDescription
- pageTitle
- productIds
- slug
- usageLimit
- value
#
Constructors#
constructor• new CouponInput()
#
Inherited from#
Properties#
allowFreeShipping• Optional
allowFreeShipping: boolean
#
Implementation ofTCouponInput.allowFreeShipping
#
Defined insystem/core/backend/src/models/inputs/coupon.input.ts:23
#
categoryIds• Optional
categoryIds: null
| number
[]
#
Implementation ofTCouponInput.categoryIds
#
Defined insystem/core/backend/src/models/inputs/coupon.input.ts:32
#
code• Optional
code: string
#
Implementation ofTCouponInput.code
#
Defined insystem/core/backend/src/models/inputs/coupon.input.ts:17
#
customMeta• Optional
customMeta: null
| Record
<string
, null
| string
>
#
Implementation ofTCouponInput.customMeta
#
Inherited from#
Defined insystem/core/backend/src/models/inputs/base-page.input.ts:32
#
description• Optional
description: string
#
Implementation ofTCouponInput.description
#
Defined insystem/core/backend/src/models/inputs/coupon.input.ts:20
#
discountType• Optional
discountType: "fixed"
| "percentage"
#
Implementation ofTCouponInput.discountType
#
Defined insystem/core/backend/src/models/inputs/coupon.input.ts:11
#
expiryDate• Optional
expiryDate: null
| Date
#
Implementation ofTCouponInput.expiryDate
#
Defined insystem/core/backend/src/models/inputs/coupon.input.ts:38
#
isEnabled• Optional
isEnabled: null
| boolean
#
Implementation ofTCouponInput.isEnabled
#
Inherited from#
Defined insystem/core/backend/src/models/inputs/base-page.input.ts:26
#
maximumSpend• Optional
maximumSpend: number
#
Implementation ofTCouponInput.maximumSpend
#
Defined insystem/core/backend/src/models/inputs/coupon.input.ts:29
#
meta• Optional
meta: null
| TBasePageMeta
#
Implementation ofTCouponInput.meta
#
Inherited from#
Defined insystem/core/backend/src/models/inputs/base-page.input.ts:29
#
minimumSpend• Optional
minimumSpend: number
#
Implementation ofTCouponInput.minimumSpend
#
Defined insystem/core/backend/src/models/inputs/coupon.input.ts:26
#
pageDescription• Optional
pageDescription: null
| string
#
Implementation ofTCouponInput.pageDescription
#
Inherited from#
Defined insystem/core/backend/src/models/inputs/base-page.input.ts:23
#
pageTitle• Optional
pageTitle: null
| string
#
Implementation ofTCouponInput.pageTitle
#
Inherited from#
Defined insystem/core/backend/src/models/inputs/base-page.input.ts:20
#
productIds• Optional
productIds: null
| number
[]
#
Implementation ofTCouponInput.productIds
#
Defined insystem/core/backend/src/models/inputs/coupon.input.ts:35
#
slug• Optional
slug: null
| string
#
Implementation ofTCouponInput.slug
#
Inherited from#
Defined insystem/core/backend/src/models/inputs/base-page.input.ts:17
#
usageLimit• Optional
usageLimit: null
| number
#
Implementation ofTCouponInput.usageLimit
#
Defined insystem/core/backend/src/models/inputs/coupon.input.ts:41
#
value• Optional
value: number
#
Implementation ofTCouponInput.value