Poq.SDK.Node

Home > @poq/sdk > ProductVariant

ProductVariant class

Signature:

export declare class ProductVariant extends PoqContract 

Extends: PoqContract

Constructors

Constructor Modifiers Description
(constructor)(params)   Constructs a new instance of the ProductVariant class

Properties

Property Modifiers Type Description
categoryIds   string[] | undefined List of categories that variant belongs to.
customData   Record<string, unknown> | undefined Custom Data associated to the variant.
filterAttributes   FilterAttribute[] | undefined List of the filter attributes of the variant. These attributes collectively construct dynamic filters.
forms   Map<string, FormVariant> | undefined Forms of the variant such as colour or size.
id   string Unique identifier of the variant.
images   Images Images of the variant.
listingId   string Variants sharing the same ‘listingId’ are displayed as a single item on product listings.
meta   VariantMeta Meta information of the variant.
name   string Name of the variant.
prices   Map<string, Price> Prices of the variant. Each key is a different currency identifier.
stock   Stock | undefined Stock information of the variant.