Skip to main content

Class: GiftCard

Hierarchy

  • Copy to Clipboard

    Copy to Clipboard

Constructors

constructor

new GiftCard()

Inherited from

SoftDeletableEntity.constructor

Properties

balance

balance: Copy to Clipboard

Defined in

models/gift-card.ts:26


code

code: Copy to Clipboard

Defined in

models/gift-card.ts:20


created_at

created_at: Copy to Clipboard

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


deleted_at

deleted_at: Copy to Clipboard | Copy to Clipboard

Inherited from

SoftDeletableEntity.deleted_at

Defined in

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


ends_at

ends_at: Copy to Clipboard

Defined in

models/gift-card.ts:51


id

id: Copy to Clipboard

Inherited from

SoftDeletableEntity.id

Defined in

interfaces/models/base-entity.ts:13


is_disabled

is_disabled: Copy to Clipboard

Defined in

models/gift-card.ts:45


metadata

metadata: Copy to Clipboard<Copy to Clipboard, Copy to Clipboard>

Defined in

models/gift-card.ts:54


order

order: Copy to Clipboard

Defined in

models/gift-card.ts:42


order_id

order_id: Copy to Clipboard

Defined in

models/gift-card.ts:38


region

region: Copy to Clipboard

Defined in

models/gift-card.ts:34


region_id

region_id: Copy to Clipboard

Defined in

models/gift-card.ts:30


updated_at

updated_at: Copy to Clipboard

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19


value

value: Copy to Clipboard

Defined in

models/gift-card.ts:23

Methods

beforeInsert

Copy to Clipboard beforeInsert(): Copy to Clipboard

Returns

Copy to Clipboard

Defined in

models/gift-card.ts:56