---
displayed_sidebar: jsClientSidebar
---

# Class: GiftCard

[internal](../modules/internal.md).GiftCard

Base abstract entity for all entities

## Hierarchy

- [`SoftDeletableEntity`](internal.SoftDeletableEntity.md)

  ↳ **`GiftCard`**

## 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](internal.SoftDeletableEntity.md).[created_at](internal.SoftDeletableEntity.md#created_at)

#### Defined in

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

___

### deleted\_at

• **deleted\_at**: ``null`` \| `Date`

#### Inherited from

[SoftDeletableEntity](internal.SoftDeletableEntity.md).[deleted_at](internal.SoftDeletableEntity.md#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](internal.SoftDeletableEntity.md).[id](internal.SoftDeletableEntity.md#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`](internal.Order.md)

#### 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`](internal.Region.md)

#### 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](internal.SoftDeletableEntity.md).[updated_at](internal.SoftDeletableEntity.md#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
