Skip to main content

Class: DiscountCondition

Hierarchy

  • Copy to Clipboard

    Copy to Clipboard

Constructors

constructor

new DiscountCondition()

Inherited from

SoftDeletableEntity.constructor

Properties

created_at

created_at: Copy to Clipboard

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


customer_groups

customer_groups: Copy to Clipboard[]

Defined in

models/discount-condition.ts:127


deleted_at

deleted_at: Copy to Clipboard | Copy to Clipboard

Inherited from

SoftDeletableEntity.deleted_at

Defined in

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


discount_rule

discount_rule: Copy to Clipboard

Defined in

models/discount-condition.ts:57


discount_rule_id

discount_rule_id: Copy to Clipboard

Defined in

models/discount-condition.ts:53


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-condition.ts:130


operator

operator: Copy to Clipboard

Defined in

models/discount-condition.ts:49


product_collections

product_collections: Copy to Clipboard[]

Defined in

models/discount-condition.ts:113


product_tags

product_tags: Copy to Clipboard[]

Defined in

models/discount-condition.ts:99


product_types

product_types: Copy to Clipboard[]

Defined in

models/discount-condition.ts:85


products

products: Copy to Clipboard[]

Defined in

models/discount-condition.ts:71


type

type: Copy to Clipboard

Defined in

models/discount-condition.ts:43


updated_at

updated_at: Copy to Clipboard

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19

Methods

beforeInsert

Copy to Clipboard beforeInsert(): Copy to Clipboard

Returns

Copy to Clipboard

Defined in

models/discount-condition.ts:132