Skip to main content

Class: DiscountCondition

Hierarchy

  • SoftDeletableEntity

    DiscountCondition

Constructors

constructor

new DiscountCondition()

Inherited from

SoftDeletableEntity.constructor

Properties

created_at

created_at: Date

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


customer_groups

customer_groups: CustomerGroup[]

Defined in

models/discount-condition.ts:127


deleted_at

deleted_at: null | Date

Inherited from

SoftDeletableEntity.deleted_at

Defined in

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


discount_rule

discount_rule: DiscountRule

Defined in

models/discount-condition.ts:57


discount_rule_id

discount_rule_id: string

Defined in

models/discount-condition.ts:53


id

id: string

Inherited from

SoftDeletableEntity.id

Defined in

interfaces/models/base-entity.ts:13


metadata

metadata: Record<string, unknown>

Defined in

models/discount-condition.ts:130


operator

operator: DiscountConditionOperator

Defined in

models/discount-condition.ts:49


product_collections

product_collections: ProductCollection[]

Defined in

models/discount-condition.ts:113


product_tags

product_tags: ProductTag[]

Defined in

models/discount-condition.ts:99


product_types

product_types: ProductType[]

Defined in

models/discount-condition.ts:85


products

products: Product[]

Defined in

models/discount-condition.ts:71


type

type: DiscountConditionType

Defined in

models/discount-condition.ts:43


updated_at

updated_at: Date

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19

Methods

beforeInsert

Private beforeInsert(): void

Returns

void

Defined in

models/discount-condition.ts:132

Was this page helpful?