Skip to main content

Class: GiftCard

internal.GiftCard

Base abstract entity for all entities

Hierarchy

Properties

balance

balance: number

Defined in

medusa/dist/models/gift-card.d.ts:7


beforeInsert

Private beforeInsert: any

Defined in

medusa/dist/models/gift-card.d.ts:15


code

code: string

Defined in

medusa/dist/models/gift-card.d.ts:5


created_at

created_at: Date

Inherited from

SoftDeletableEntity.created_at

Defined in

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


deleted_at

deleted_at: null | Date

Inherited from

SoftDeletableEntity.deleted_at

Defined in

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


ends_at

ends_at: Date

Defined in

medusa/dist/models/gift-card.d.ts:13


id

id: string

Inherited from

SoftDeletableEntity.id

Defined in

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


is_disabled

is_disabled: boolean

Defined in

medusa/dist/models/gift-card.d.ts:12


metadata

metadata: Record<string, unknown>

Defined in

medusa/dist/models/gift-card.d.ts:14


order

order: Order

Defined in

medusa/dist/models/gift-card.d.ts:11


order_id

order_id: string

Defined in

medusa/dist/models/gift-card.d.ts:10


region

region: Region

Defined in

medusa/dist/models/gift-card.d.ts:9


region_id

region_id: string

Defined in

medusa/dist/models/gift-card.d.ts:8


updated_at

updated_at: Date

Inherited from

SoftDeletableEntity.updated_at

Defined in

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


value

value: number

Defined in

medusa/dist/models/gift-card.d.ts:6

Was this page helpful?