Skip to main content

Class: Address

Hierarchy

  • SoftDeletableEntity

    Address

Constructors

constructor

new Address()

Inherited from

SoftDeletableEntity.constructor

Properties

address_1

address_1: null | string

Defined in

models/address.ts:36


address_2

address_2: null | string

Defined in

models/address.ts:39


city

city: null | string

Defined in

models/address.ts:42


company

company: null | string

Defined in

models/address.ts:27


country

country: null | Country

Defined in

models/address.ts:49


country_code

country_code: null | string

Defined in

models/address.ts:45


created_at

created_at: Date

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


customer

customer: null | Customer

Defined in

models/address.ts:24


customer_id

customer_id: null | string

Defined in

models/address.ts:20


deleted_at

deleted_at: null | Date

Inherited from

SoftDeletableEntity.deleted_at

Defined in

interfaces/models/soft-deletable-entity.ts:7


first_name

first_name: null | string

Defined in

models/address.ts:30


id

id: string

Inherited from

SoftDeletableEntity.id

Defined in

interfaces/models/base-entity.ts:13


last_name

last_name: null | string

Defined in

models/address.ts:33


metadata

metadata: Record<string, unknown>

Defined in

models/address.ts:61


phone

phone: null | string

Defined in

models/address.ts:58


postal_code

postal_code: null | string

Defined in

models/address.ts:55


province

province: null | string

Defined in

models/address.ts:52


updated_at

updated_at: Date

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19

Methods

beforeInsert

Private beforeInsert(): void

Returns

void

Defined in

models/address.ts:63

Was this page helpful?