Class: Variant
Constructors
constructor
• new Variant(id
, sku
, name
, price
, metadata?
): Variant
Parameters
Name | Type |
---|---|
id | undefined | number |
sku | undefined | string |
name | undefined | string |
price | undefined | number |
metadata? | any |
Returns
Properties
id
• id: undefined
| number
metadata
• Optional
metadata: any
name
• name: undefined
| string
price
• price: undefined
| number
sku
• sku: undefined
| string