Class: ProductVariant
backend.ProductVariant
#
Hierarchy↳
ProductVariant
#
ImplementsTProductVariant
#
Table of contents#
Constructors#
Properties- _meta
- attributesJson
- createDate
- description
- descriptionDelta
- id
- images
- isEnabled
- mainImage
- manageStock
- metaRecords
- name
- oldPrice
- pageDescription
- pageTitle
- price
- product
- productId
- sku
- slug
- stockAmount
- stockStatus
- updateDate
#
Accessors#
Constructors#
constructor• new ProductVariant()
#
Inherited from#
Properties#
_meta• Optional
_meta: null
| string
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:37
#
attributesJson• Optional
attributesJson: null
| string
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:75
#
createDate• Optional
createDate: null
| Date
#
Implementation ofTProductVariant.createDate
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:51
#
description• Optional
description: null
| string
#
Implementation ofTProductVariant.description
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:68
#
descriptionDelta• Optional
descriptionDelta: null
| string
#
Implementation ofTProductVariant.descriptionDelta
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:72
#
id• id: number
#
Implementation ofTProductVariant.id
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:22
#
images• Optional
images: null
| string
[]
#
Implementation ofTProductVariant.images
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:50
#
isEnabled• Optional
isEnabled: null
| boolean
#
Implementation ofTProductVariant.isEnabled
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:60
#
mainImage• Optional
mainImage: null
| string
#
Implementation ofTProductVariant.mainImage
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:46
#
manageStock• Optional
manageStock: null
| boolean
#
Implementation ofTProductVariant.manageStock
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:64
#
metaRecords• Optional
metaRecords: null
| ProductVariantMeta
[]
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:90
#
name• Optional
name: null
| string
#
Implementation ofTProductVariant.name
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:27
#
oldPrice• Optional
oldPrice: null
| number
#
Implementation ofTProductVariant.oldPrice
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:37
#
pageDescription• Optional
pageDescription: null
| string
#
Implementation ofTProductVariant.pageDescription
#
Inherited fromBasePageEntity.pageDescription
#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:34
#
pageTitle• Optional
pageTitle: null
| string
#
Implementation ofTProductVariant.pageTitle
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:30
#
price• Optional
price: null
| number
#
Implementation ofTProductVariant.price
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:32
#
product• Optional
product: Product
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:22
#
productId• productId: number
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:16
#
sku• Optional
sku: null
| string
#
Implementation ofTProductVariant.sku
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:42
#
slug• Optional
slug: null
| string
#
Implementation ofTProductVariant.slug
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:26
#
stockAmount• Optional
stockAmount: null
| number
#
Implementation ofTProductVariant.stockAmount
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:55
#
stockStatus• Optional
stockStatus: null
| TStockStatus
#
Implementation ofTProductVariant.stockStatus
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:60
#
updateDate• Optional
updateDate: null
| Date
#
Implementation ofTProductVariant.updateDate
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:56
#
Accessors#
attributes• get
attributes(): undefined
| Record
<string
, string
| number
>
#
Returnsundefined
| Record
<string
, string
| number
>
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:78
• set
attributes(attributes
): void
#
ParametersName | Type |
---|---|
attributes | undefined | null | Record <string , string | number > |
#
Returnsvoid
#
Defined insystem/core/backend/src/models/entities/product-variant.entity.ts:82
#
meta• get
meta(): undefined
| null
| TBasePageMeta
#
Returnsundefined
| null
| TBasePageMeta
#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:40
• set
meta(data
): void
#
ParametersName | Type |
---|---|
data | undefined | null | TBasePageMeta |
#
Returnsvoid
#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:44