Class: ProductVariant
Hierarchy
SoftDeletableEntity
↳
ProductVariant
Constructors
constructor
• new ProductVariant()
Inherited from
SoftDeletableEntity.constructor
Properties
allow_backorder
• allow_backorder: boolean
Defined in
barcode
• barcode: string
Defined in
created_at
• created_at: Date
Inherited from
SoftDeletableEntity.created_at
Defined in
interfaces/models/base-entity.ts:16
deleted_at
• deleted_at: null
| Date
Inherited from
SoftDeletableEntity.deleted_at
Defined in
interfaces/models/soft-deletable-entity.ts:7
ean
• ean: string
Defined in
height
• height: number
Defined in
hs_code
• hs_code: string
Defined in
id
• id: string
Inherited from
SoftDeletableEntity.id
Defined in
interfaces/models/base-entity.ts:13
inventory_quantity
• inventory_quantity: number
Defined in
length
• length: number
Defined in
manage_inventory
• manage_inventory: boolean
Defined in
material
• material: string
Defined in
metadata
• metadata: Record
<string
, unknown
>
Defined in
mid_code
• mid_code: string
Defined in
options
• options: ProductOptionValue
[]
Defined in
origin_country
• origin_country: string
Defined in
prices
• prices: MoneyAmount
[]
Defined in
product
• product: Product
Defined in
product_id
• product_id: string
Defined in
sku
• sku: string
Defined in
title
• title: string
Defined in
upc
• upc: string
Defined in
updated_at
• updated_at: Date
Inherited from
SoftDeletableEntity.updated_at
Defined in
interfaces/models/base-entity.ts:19
variant_rank
• variant_rank: number
Defined in
weight
• weight: number
Defined in
width
• width: number
Defined in
Methods
beforeInsert
▸ Private
beforeInsert(): void
Returns
void