Skip to main content

Class: ProductVariant

backend.ProductVariant

Hierarchy#

Implements#

  • TProductVariant

Table of contents#

Constructors#

Properties#

Accessors#

Constructors#

constructor#

• new ProductVariant()

Inherited from#

BasePageEntity.constructor

Properties#

_meta#

• Optional _meta: null | string

Inherited from#

BasePageEntity._meta

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:37


attributesJson#

• Optional attributesJson: null | string

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:75


createDate#

• Optional createDate: null | Date

Implementation of#

TProductVariant.createDate

Inherited from#

BasePageEntity.createDate

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:51


description#

• Optional description: null | string

Implementation of#

TProductVariant.description

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:68


descriptionDelta#

• Optional descriptionDelta: null | string

Implementation of#

TProductVariant.descriptionDelta

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:72


id#

• id: number

Implementation of#

TProductVariant.id

Inherited from#

BasePageEntity.id

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:22


images#

• Optional images: null | string[]

Implementation of#

TProductVariant.images

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:50


isEnabled#

• Optional isEnabled: null | boolean

Implementation of#

TProductVariant.isEnabled

Inherited from#

BasePageEntity.isEnabled

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:60


mainImage#

• Optional mainImage: null | string

Implementation of#

TProductVariant.mainImage

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:46


manageStock#

• Optional manageStock: null | boolean

Implementation of#

TProductVariant.manageStock

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:64


metaRecords#

• Optional metaRecords: null | ProductVariantMeta[]

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:90


name#

• Optional name: null | string

Implementation of#

TProductVariant.name

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:27


oldPrice#

• Optional oldPrice: null | number

Implementation of#

TProductVariant.oldPrice

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:37


pageDescription#

• Optional pageDescription: null | string

Implementation of#

TProductVariant.pageDescription

Inherited from#

BasePageEntity.pageDescription

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:34


pageTitle#

• Optional pageTitle: null | string

Implementation of#

TProductVariant.pageTitle

Inherited from#

BasePageEntity.pageTitle

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:30


price#

• Optional price: null | number

Implementation of#

TProductVariant.price

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:32


product#

• Optional product: Product

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:22


productId#

• productId: number

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:16


sku#

• Optional sku: null | string

Implementation of#

TProductVariant.sku

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:42


slug#

• Optional slug: null | string

Implementation of#

TProductVariant.slug

Inherited from#

BasePageEntity.slug

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:26


stockAmount#

• Optional stockAmount: null | number

Implementation of#

TProductVariant.stockAmount

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:55


stockStatus#

• Optional stockStatus: null | TStockStatus

Implementation of#

TProductVariant.stockStatus

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:60


updateDate#

• Optional updateDate: null | Date

Implementation of#

TProductVariant.updateDate

Inherited from#

BasePageEntity.updateDate

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:56

Accessors#

attributes#

• get attributes(): undefined | Record<string, string | number>

Returns#

undefined | Record<string, string | number>

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:78

• set attributes(attributes): void

Parameters#

NameType
attributesundefined | null | Record<string, string | number>

Returns#

void

Defined in#

system/core/backend/src/models/entities/product-variant.entity.ts:82


meta#

• get meta(): undefined | null | TBasePageMeta

Returns#

undefined | null | TBasePageMeta

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:40

• set meta(data): void

Parameters#

NameType
dataundefined | null | TBasePageMeta

Returns#

void

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:44