Class: Product
Hierarchy
SoftDeletableEntity
↳
Product
Constructors
constructor
• new Product()
Inherited from
SoftDeletableEntity.constructor
Properties
collection
• collection: ProductCollection
Defined in
collection_id
• collection_id: null
| 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
description
• description: null
| string
Defined in
discountable
• discountable: boolean
Defined in
external_id
• external_id: null
| string
Defined in
handle
• handle: null
| string
Defined in
height
• height: null
| number
Defined in
hs_code
• hs_code: null
| string
Defined in
id
• id: string
Inherited from
SoftDeletableEntity.id
Defined in
interfaces/models/base-entity.ts:13
images
• images: Image
[]
Defined in
is_giftcard
• is_giftcard: boolean
Defined in
length
• length: null
| number
Defined in
material
• material: null
| string
Defined in
metadata
• metadata: null
| Record
<string
, unknown
>
Defined in
mid_code
• mid_code: null
| string
Defined in
options
• options: ProductOption
[]
Defined in
origin_country
• origin_country: null
| string
Defined in
profile
• profile: ShippingProfile
Defined in
profile_id
• profile_id: string
Defined in
sales_channels
• sales_channels: SalesChannel
[]
Defined in
status
• status: ProductStatus
Defined in
subtitle
• subtitle: null
| string
Defined in
tags
• tags: ProductTag
[]
Defined in
thumbnail
• thumbnail: null
| string
Defined in
title
• title: string
Defined in
type
• type: ProductType
Defined in
type_id
• type_id: null
| string
Defined in
updated_at
• updated_at: Date
Inherited from
SoftDeletableEntity.updated_at
Defined in
interfaces/models/base-entity.ts:19
variants
• variants: ProductVariant
[]
Defined in
weight
• weight: null
| number
Defined in
width
• width: null
| number
Defined in
Methods
beforeInsert
▸ Private
beforeInsert(): void
Returns
void