222 lines
2.9 KiB
Markdown
222 lines
2.9 KiB
Markdown
---
|
|
displayed_sidebar: jsClientSidebar
|
|
---
|
|
|
|
# Class: Address
|
|
|
|
[internal](../modules/internal.md).Address
|
|
|
|
Base abstract entity for all entities
|
|
|
|
## Hierarchy
|
|
|
|
- [`SoftDeletableEntity`](internal.SoftDeletableEntity.md)
|
|
|
|
↳ **`Address`**
|
|
|
|
## Properties
|
|
|
|
### address\_1
|
|
|
|
• **address\_1**: ``null`` \| `string`
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:93
|
|
|
|
___
|
|
|
|
### address\_2
|
|
|
|
• **address\_2**: ``null`` \| `string`
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:94
|
|
|
|
___
|
|
|
|
### beforeInsert
|
|
|
|
• `Private` **beforeInsert**: `any`
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:102
|
|
|
|
___
|
|
|
|
### city
|
|
|
|
• **city**: ``null`` \| `string`
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:95
|
|
|
|
___
|
|
|
|
### company
|
|
|
|
• **company**: ``null`` \| `string`
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:90
|
|
|
|
___
|
|
|
|
### country
|
|
|
|
• **country**: ``null`` \| [`Country`](internal.Country.md)
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:97
|
|
|
|
___
|
|
|
|
### country\_code
|
|
|
|
• **country\_code**: ``null`` \| `string`
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:96
|
|
|
|
___
|
|
|
|
### 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
|
|
|
|
___
|
|
|
|
### customer
|
|
|
|
• **customer**: ``null`` \| [`Customer`](internal.Customer.md)
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:89
|
|
|
|
___
|
|
|
|
### customer\_id
|
|
|
|
• **customer\_id**: ``null`` \| `string`
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:88
|
|
|
|
___
|
|
|
|
### 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
|
|
|
|
___
|
|
|
|
### first\_name
|
|
|
|
• **first\_name**: ``null`` \| `string`
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:91
|
|
|
|
___
|
|
|
|
### 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
|
|
|
|
___
|
|
|
|
### last\_name
|
|
|
|
• **last\_name**: ``null`` \| `string`
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:92
|
|
|
|
___
|
|
|
|
### metadata
|
|
|
|
• **metadata**: `Record`<`string`, `unknown`\>
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:101
|
|
|
|
___
|
|
|
|
### phone
|
|
|
|
• **phone**: ``null`` \| `string`
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:100
|
|
|
|
___
|
|
|
|
### postal\_code
|
|
|
|
• **postal\_code**: ``null`` \| `string`
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:99
|
|
|
|
___
|
|
|
|
### province
|
|
|
|
• **province**: ``null`` \| `string`
|
|
|
|
#### Defined in
|
|
|
|
medusa/dist/models/address.d.ts:98
|
|
|
|
___
|
|
|
|
### 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
|