Skip to main content

Class: CouponInput

backend.CouponInput

Hierarchy#

Implements#

  • TCouponInput

Table of contents#

Constructors#

Properties#

Constructors#

constructor#

• new CouponInput()

Inherited from#

BasePageInput.constructor

Properties#

allowFreeShipping#

• Optional allowFreeShipping: boolean

Implementation of#

TCouponInput.allowFreeShipping

Defined in#

system/core/backend/src/models/inputs/coupon.input.ts:23


categoryIds#

• Optional categoryIds: null | number[]

Implementation of#

TCouponInput.categoryIds

Defined in#

system/core/backend/src/models/inputs/coupon.input.ts:32


code#

• Optional code: string

Implementation of#

TCouponInput.code

Defined in#

system/core/backend/src/models/inputs/coupon.input.ts:17


customMeta#

• Optional customMeta: null | Record<string, null | string>

Implementation of#

TCouponInput.customMeta

Inherited from#

BasePageInput.customMeta

Defined in#

system/core/backend/src/models/inputs/base-page.input.ts:32


description#

• Optional description: string

Implementation of#

TCouponInput.description

Defined in#

system/core/backend/src/models/inputs/coupon.input.ts:20


discountType#

• Optional discountType: "fixed" | "percentage"

Implementation of#

TCouponInput.discountType

Defined in#

system/core/backend/src/models/inputs/coupon.input.ts:11


expiryDate#

• Optional expiryDate: null | Date

Implementation of#

TCouponInput.expiryDate

Defined in#

system/core/backend/src/models/inputs/coupon.input.ts:38


isEnabled#

• Optional isEnabled: null | boolean

Implementation of#

TCouponInput.isEnabled

Inherited from#

BasePageInput.isEnabled

Defined in#

system/core/backend/src/models/inputs/base-page.input.ts:26


maximumSpend#

• Optional maximumSpend: number

Implementation of#

TCouponInput.maximumSpend

Defined in#

system/core/backend/src/models/inputs/coupon.input.ts:29


meta#

• Optional meta: null | TBasePageMeta

Implementation of#

TCouponInput.meta

Inherited from#

BasePageInput.meta

Defined in#

system/core/backend/src/models/inputs/base-page.input.ts:29


minimumSpend#

• Optional minimumSpend: number

Implementation of#

TCouponInput.minimumSpend

Defined in#

system/core/backend/src/models/inputs/coupon.input.ts:26


pageDescription#

• Optional pageDescription: null | string

Implementation of#

TCouponInput.pageDescription

Inherited from#

BasePageInput.pageDescription

Defined in#

system/core/backend/src/models/inputs/base-page.input.ts:23


pageTitle#

• Optional pageTitle: null | string

Implementation of#

TCouponInput.pageTitle

Inherited from#

BasePageInput.pageTitle

Defined in#

system/core/backend/src/models/inputs/base-page.input.ts:20


productIds#

• Optional productIds: null | number[]

Implementation of#

TCouponInput.productIds

Defined in#

system/core/backend/src/models/inputs/coupon.input.ts:35


slug#

• Optional slug: null | string

Implementation of#

TCouponInput.slug

Inherited from#

BasePageInput.slug

Defined in#

system/core/backend/src/models/inputs/base-page.input.ts:17


usageLimit#

• Optional usageLimit: null | number

Implementation of#

TCouponInput.usageLimit

Defined in#

system/core/backend/src/models/inputs/coupon.input.ts:41


value#

• Optional value: number

Implementation of#

TCouponInput.value

Defined in#

system/core/backend/src/models/inputs/coupon.input.ts:14