Files
medusa-store/docs/content/references/js-client/classes/internal.Address.md
2022-11-03 10:08:09 +02:00

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:10
___
### address\_2
• **address\_2**: ``null`` \| `string`
#### Defined in
medusa/dist/models/address.d.ts:11
___
### beforeInsert
• `Private` **beforeInsert**: `any`
#### Defined in
medusa/dist/models/address.d.ts:19
___
### city
• **city**: ``null`` \| `string`
#### Defined in
medusa/dist/models/address.d.ts:12
___
### company
• **company**: ``null`` \| `string`
#### Defined in
medusa/dist/models/address.d.ts:7
___
### country
• **country**: ``null`` \| [`Country`](internal.Country.md)
#### Defined in
medusa/dist/models/address.d.ts:14
___
### country\_code
• **country\_code**: ``null`` \| `string`
#### Defined in
medusa/dist/models/address.d.ts:13
___
### 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:6
___
### customer\_id
• **customer\_id**: ``null`` \| `string`
#### Defined in
medusa/dist/models/address.d.ts:5
___
### 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:8
___
### 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:9
___
### metadata
• **metadata**: `Record`<`string`, `unknown`\>
#### Defined in
medusa/dist/models/address.d.ts:18
___
### phone
• **phone**: ``null`` \| `string`
#### Defined in
medusa/dist/models/address.d.ts:17
___
### postal\_code
• **postal\_code**: ``null`` \| `string`
#### Defined in
medusa/dist/models/address.d.ts:16
___
### province
• **province**: ``null`` \| `string`
#### Defined in
medusa/dist/models/address.d.ts:15
___
### 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