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:120


address_2

address_2: null | string

Defined in

models/address.ts:123


city

city: null | string

Defined in

models/address.ts:126


company

company: null | string

Defined in

models/address.ts:111


country

country: null | Country

Defined in

models/address.ts:133


country_code

country_code: null | string

Defined in

models/address.ts:129


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:108


customer_id

customer_id: null | string

Defined in

models/address.ts:104


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:114


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:117


metadata

metadata: Record<string, unknown>

Defined in

models/address.ts:145


phone

phone: null | string

Defined in

models/address.ts:142


postal_code

postal_code: null | string

Defined in

models/address.ts:139


province

province: null | string

Defined in

models/address.ts:136


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:147