Poq.SDK.Node

Home > @poq/sdk > AddToCartRequest > (constructor)

AddToCartRequest.(constructor)

Constructs a new instance of the AddToCartRequest class

Signature:

constructor(params: {
        variantId: string;
        quantity: number;
        expires?: Date;
        customData?: Record<string, unknown>;
    });

Parameters

Parameter Type Description
params { variantId: string; quantity: number; expires?: Date; customData?: Record<string, unknown>; }