Class: Customer
Hierarchy
SoftDeletableEntity
Copy to Clipboard↳
Customer
Copy to Clipboard
Constructors
constructor
• new Customer()
Inherited from
SoftDeletableEntity.constructor
Properties
billing_address
• billing_address: Address
Copy to Clipboard
Defined in
billing_address_id
• billing_address_id: null
Copy to Clipboard | string
Copy to Clipboard
Defined in
created_at
• created_at: Date
Copy to Clipboard
Inherited from
SoftDeletableEntity.created_at
Defined in
interfaces/models/base-entity.ts:16
deleted_at
• deleted_at: null
Copy to Clipboard | Date
Copy to Clipboard
Inherited from
SoftDeletableEntity.deleted_at
Defined in
interfaces/models/soft-deletable-entity.ts:7
email
• email: string
Copy to Clipboard
Defined in
first_name
• first_name: string
Copy to Clipboard
Defined in
groups
• groups: CustomerGroup
Copy to Clipboard[]
Defined in
has_account
• has_account: boolean
Copy to Clipboard
Defined in
id
• id: string
Copy to Clipboard
Inherited from
SoftDeletableEntity.id
Defined in
interfaces/models/base-entity.ts:13
last_name
• last_name: string
Copy to Clipboard
Defined in
metadata
• metadata: Record
Copy to Clipboard<string
Copy to Clipboard, unknown
Copy to Clipboard>
Defined in
orders
• orders: Order
Copy to Clipboard[]
Defined in
password_hash
• password_hash: string
Copy to Clipboard
Defined in
phone
• phone: string
Copy to Clipboard
Defined in
shipping_addresses
• shipping_addresses: Address
Copy to Clipboard[]
Defined in
updated_at
• updated_at: Date
Copy to Clipboard
Inherited from
SoftDeletableEntity.updated_at
Defined in
interfaces/models/base-entity.ts:19
Methods
beforeInsert
▸ Private
Copy to Clipboard beforeInsert(): void
Copy to Clipboard
Returns
void
Copy to Clipboard