Skip to main content

Class: DiscountRule

Hierarchy

  • SoftDeletableEntityCopy to Clipboard

    DiscountRuleCopy to Clipboard

Constructors

constructor

new DiscountRule()

Inherited from

SoftDeletableEntity.constructor

Properties

allocation

allocation: AllocationTypeCopy to Clipboard

Defined in

models/discount-rule.ts:38


conditions

conditions: DiscountConditionCopy to Clipboard[]

Defined in

models/discount-rule.ts:41


created_at

created_at: DateCopy to Clipboard

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


deleted_at

deleted_at: nullCopy to Clipboard | DateCopy to Clipboard

Inherited from

SoftDeletableEntity.deleted_at

Defined in

interfaces/models/soft-deletable-entity.ts:7


description

description: stringCopy to Clipboard

Defined in

models/discount-rule.ts:22


id

id: stringCopy to Clipboard

Inherited from

SoftDeletableEntity.id

Defined in

interfaces/models/base-entity.ts:13


metadata

metadata: RecordCopy to Clipboard<stringCopy to Clipboard, unknownCopy to Clipboard>

Defined in

models/discount-rule.ts:44


type

type: DiscountRuleTypeCopy to Clipboard

Defined in

models/discount-rule.ts:28


updated_at

updated_at: DateCopy to Clipboard

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19


value

value: numberCopy to Clipboard

Defined in

models/discount-rule.ts:31

Methods

beforeInsert

PrivateCopy to Clipboard beforeInsert(): voidCopy to Clipboard

Returns

voidCopy to Clipboard

Defined in

models/discount-rule.ts:46

Was this page helpful?