Skip to main content

Class: Address

Hierarchy

  • SoftDeletableEntityCopy to Clipboard

    AddressCopy to Clipboard

Constructors

constructor

new Address()

Inherited from

SoftDeletableEntity.constructor

Properties

address_1

address_1: nullCopy to Clipboard | stringCopy to Clipboard

Defined in

models/address.ts:36


address_2

address_2: nullCopy to Clipboard | stringCopy to Clipboard

Defined in

models/address.ts:39


city

city: nullCopy to Clipboard | stringCopy to Clipboard

Defined in

models/address.ts:42


company

company: nullCopy to Clipboard | stringCopy to Clipboard

Defined in

models/address.ts:27


country

country: nullCopy to Clipboard | CountryCopy to Clipboard

Defined in

models/address.ts:49


country_code

country_code: nullCopy to Clipboard | stringCopy to Clipboard

Defined in

models/address.ts:45


created_at

created_at: DateCopy to Clipboard

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


customer

customer: nullCopy to Clipboard | CustomerCopy to Clipboard

Defined in

models/address.ts:24


customer_id

customer_id: nullCopy to Clipboard | stringCopy to Clipboard

Defined in

models/address.ts:20


deleted_at

deleted_at: nullCopy to Clipboard | DateCopy to Clipboard

Inherited from

SoftDeletableEntity.deleted_at

Defined in

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


first_name

first_name: nullCopy to Clipboard | stringCopy to Clipboard

Defined in

models/address.ts:30


id

id: stringCopy to Clipboard

Inherited from

SoftDeletableEntity.id

Defined in

interfaces/models/base-entity.ts:13


last_name

last_name: nullCopy to Clipboard | stringCopy to Clipboard

Defined in

models/address.ts:33


metadata

metadata: RecordCopy to Clipboard<stringCopy to Clipboard, unknownCopy to Clipboard>

Defined in

models/address.ts:61


phone

phone: nullCopy to Clipboard | stringCopy to Clipboard

Defined in

models/address.ts:58


postal_code

postal_code: nullCopy to Clipboard | stringCopy to Clipboard

Defined in

models/address.ts:55


province

province: nullCopy to Clipboard | stringCopy to Clipboard

Defined in

models/address.ts:52


updated_at

updated_at: DateCopy to Clipboard

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19

Methods

beforeInsert

PrivateCopy to Clipboard beforeInsert(): voidCopy to Clipboard

Returns

voidCopy to Clipboard

Defined in

models/address.ts:63