Poq.SDK.Node

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

CartItemResponse.(constructor)

Constructs a new instance of the CartItemResponse class

Signature:

constructor(params: {
        id: string;
        variantId: string;
        quantity: number;
        price: Price;
        customData?: Record<string, unknown>;
    });

Parameters

Parameter Type Description
params { id: string; variantId: string; quantity: number; price: Price; customData?: Record<string, unknown>; }