Skip to main content

Class: DiscountRule

Hierarchy

  • Copy to Clipboard

    Copy to Clipboard

Constructors

constructor

new DiscountRule()

Inherited from

SoftDeletableEntity.constructor

Properties

allocation

allocation: Copy to Clipboard

Defined in

models/discount-rule.ts:38


conditions

conditions: Copy to Clipboard[]

Defined in

models/discount-rule.ts:41


created_at

created_at: Copy to Clipboard

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


deleted_at

deleted_at: Copy to Clipboard | Copy to Clipboard

Inherited from

SoftDeletableEntity.deleted_at

Defined in

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


description

description: Copy to Clipboard

Defined in

models/discount-rule.ts:22


id

id: Copy to Clipboard

Inherited from

SoftDeletableEntity.id

Defined in

interfaces/models/base-entity.ts:13


metadata

metadata: Copy to Clipboard<Copy to Clipboard, Copy to Clipboard>

Defined in

models/discount-rule.ts:44


type

type: Copy to Clipboard

Defined in

models/discount-rule.ts:28


updated_at

updated_at: Copy to Clipboard

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19


value

value: Copy to Clipboard

Defined in

models/discount-rule.ts:31

Methods

beforeInsert

Copy to Clipboard beforeInsert(): Copy to Clipboard

Returns

Copy to Clipboard

Defined in

models/discount-rule.ts:46