Poq.SDK.Node

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

OrderInStartCartTransferResponse.(constructor)

Constructs a new instance of the OrderInStartCartTransferResponse class

Signature:

constructor(params?: {
        orderId?: number;
        externalId?: string;
        channel?: string;
        currency: string;
        reference?: string;
        voucherAmount?: number;
        deliveryCost?: number;
        totalPrice?: number;
        subtotal?: number;
        items?: OrderItemInStartCartTransferResponse[];
        staticContent?: OrderStaticContentResponse;
        customData?: Record<string, unknown>;
    });

Parameters

Parameter Type Description
params { orderId?: number; externalId?: string; channel?: string; currency: string; reference?: string; voucherAmount?: number; deliveryCost?: number; totalPrice?: number; subtotal?: number; items?: OrderItemInStartCartTransferResponse[]; staticContent?: OrderStaticContentResponse; customData?: Record<string, unknown>; } (Optional)