Home > @poq/sdk-sfcc > Variant > (constructor)
Constructs a new instance of the Variant
class
Signature:
constructor(params?: {
link: string;
productId: string;
orderable?: boolean;
price?: number;
pricePerUnit?: number;
variationValues?: {
[key: string]: string;
};
});
Parameter | Type | Description |
---|---|---|
params | { link: string; productId: string; orderable?: boolean; price?: number; pricePerUnit?: number; variationValues?: { [key: string]: string; }; } | (Optional) |