Skip to main content

Class: Variant

Constructors

constructor

new Variant(id, sku, name, price, metadata?): Variant

Parameters

NameType
idundefined | number
skuundefined | string
nameundefined | string
priceundefined | number
metadata?any

Returns

Variant

Properties

id

id: undefined | number


metadata

Optional metadata: any


name

name: undefined | string


price

price: undefined | number


sku

sku: undefined | string