Poq.SDK.Node

Home > @poq/sdk-sfcc > Variant > (constructor)

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;
        };
    });

Parameters

Parameter Type Description
params { link: string; productId: string; orderable?: boolean; price?: number; pricePerUnit?: number; variationValues?: { [key: string]: string; }; } (Optional)