Skip to main content

Class: Address

internal.Address

Base abstract entity for all entities

Hierarchy

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

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.created_at

Defined in

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


customer

customer: null | Customer

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.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.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.updated_at

Defined in

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