Skip to main content

Class: Product

Constructors

constructor

new Product(): Product

Returns

Product

Properties

areas

areas: ProductArea[] = []


environment

environment: null | ZakekeEnvironment = null


id

id: number


isAiConfigurationEnabled

isAiConfigurationEnabled: boolean = false


isOldViewer

isOldViewer: boolean = false


isShowSecondScreenEnabled

isShowSecondScreenEnabled: boolean = false


metadata

Optional metadata: any


name

name: string


previewUrl

previewUrl: string


quantityRule

quantityRule: null | ProductQuantityRule = null


quoteRule

quoteRule: null | QuoteRule = null


sku

sku: string

Methods

fromProduct

fromProduct(zkProduct): Product

Parameters

NameType
zkProductany

Returns

Product