Skip to main content

Class: DiscountRule

internal.DiscountRule

Base abstract entity for all entities

Hierarchy

Properties

allocation

allocation:

Defined in

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


beforeInsert

Copy to Clipboard
beforeInsert:
Copy to Clipboard

Defined in

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


conditions

conditions:

[]

Defined in

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


created_at

created_at:

Copy to Clipboard

Inherited from

SoftDeletableEntity.created_at

Defined in

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


deleted_at

deleted_at:

Copy to Clipboard
|
Copy to Clipboard

Inherited from

SoftDeletableEntity.deleted_at

Defined in

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


description

description:

Copy to Clipboard

Defined in

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


id

id:

Copy to Clipboard

Inherited from

SoftDeletableEntity.id

Defined in

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


metadata

metadata:

Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
>

Defined in

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


type

type:

Defined in

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


updated_at

updated_at:

Copy to Clipboard

Inherited from

SoftDeletableEntity.updated_at

Defined in

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


value

value:

Copy to Clipboard

Defined in

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