Class: DiscountCondition
Hierarchy
SoftDeletableEntity
Copy to Clipboard↳
DiscountCondition
Copy to Clipboard
Constructors
constructor
• new DiscountCondition()
Inherited from
SoftDeletableEntity.constructor
Properties
created_at
• created_at: Date
Copy to Clipboard
Inherited from
SoftDeletableEntity.created_at
Defined in
interfaces/models/base-entity.ts:16
customer_groups
• customer_groups: CustomerGroup
Copy to Clipboard[]
Defined in
models/discount-condition.ts:127
deleted_at
• deleted_at: null
Copy to Clipboard | Date
Copy to Clipboard
Inherited from
SoftDeletableEntity.deleted_at
Defined in
interfaces/models/soft-deletable-entity.ts:7
discount_rule
• discount_rule: DiscountRule
Copy to Clipboard
Defined in
models/discount-condition.ts:57
discount_rule_id
• discount_rule_id: string
Copy to Clipboard
Defined in
models/discount-condition.ts:53
id
• id: string
Copy to Clipboard
Inherited from
SoftDeletableEntity.id
Defined in
interfaces/models/base-entity.ts:13
metadata
• metadata: Record
Copy to Clipboard<string
Copy to Clipboard, unknown
Copy to Clipboard>
Defined in
models/discount-condition.ts:130
operator
• operator: DiscountConditionOperator
Copy to Clipboard
Defined in
models/discount-condition.ts:49
product_collections
• product_collections: ProductCollection
Copy to Clipboard[]
Defined in
models/discount-condition.ts:113
product_tags
• product_tags: ProductTag
Copy to Clipboard[]
Defined in
models/discount-condition.ts:99
product_types
• product_types: ProductType
Copy to Clipboard[]
Defined in
models/discount-condition.ts:85
products
• products: Product
Copy to Clipboard[]
Defined in
models/discount-condition.ts:71
type
• type: DiscountConditionType
Copy to Clipboard
Defined in
models/discount-condition.ts:43
updated_at
• updated_at: Date
Copy to Clipboard
Inherited from
SoftDeletableEntity.updated_at
Defined in
interfaces/models/base-entity.ts:19
Methods
beforeInsert
▸ Private
Copy to Clipboard beforeInsert(): void
Copy to Clipboard
Returns
void
Copy to Clipboard