Skip to main content

Class: DiscountRule

internal.DiscountRule

Base abstract entity for all entities

Hierarchy

Properties

allocation

allocation: AllocationTypeCopy to Clipboard

Defined in

medusa/dist/models/discount-rule.d.ts:16


beforeInsert

PrivateCopy to Clipboard beforeInsert: anyCopy to Clipboard

Defined in

medusa/dist/models/discount-rule.d.ts:19


conditions

conditions: DiscountConditionCopy to Clipboard[]

Defined in

medusa/dist/models/discount-rule.d.ts:17


created_at

created_at: DateCopy to Clipboard

Inherited from

SoftDeletableEntity.created_at

Defined in

medusa/dist/interfaces/models/base-entity.d.ts:6


deleted_at

deleted_at: nullCopy to Clipboard | DateCopy to Clipboard

Inherited from

SoftDeletableEntity.deleted_at

Defined in

medusa/dist/interfaces/models/soft-deletable-entity.d.ts:3


description

description: stringCopy to Clipboard

Defined in

medusa/dist/models/discount-rule.d.ts:13


id

id: stringCopy to Clipboard

Inherited from

SoftDeletableEntity.id

Defined in

medusa/dist/interfaces/models/base-entity.d.ts:5


metadata

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

Defined in

medusa/dist/models/discount-rule.d.ts:18


type

type: DiscountRuleTypeCopy to Clipboard

Defined in

medusa/dist/models/discount-rule.d.ts:14


updated_at

updated_at: DateCopy to Clipboard

Inherited from

SoftDeletableEntity.updated_at

Defined in

medusa/dist/interfaces/models/base-entity.d.ts:7


value

value: numberCopy to Clipboard

Defined in

medusa/dist/models/discount-rule.d.ts:15