Poq.SDK.Node

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

Order.(constructor)

Constructs a new instance of the Order class

Signature:

constructor(params?: {
        adjustedMerchandizeTotalTax?: number;
        adjustedShippingTotalTax?: number;
        billingAddress?: OrderAddress;
        bonusDiscountLineItems?: Array<BonusDiscountLineItem>;
        channelType?: OrderChannelTypeEnum;
        confirmationStatus?: OrderConfirmationStatusEnum;
        couponItems?: Array<CouponItem>;
        createdBy?: string;
        creationDate?: string;
        currency?: string;
        customerInfo?: CustomerInfo;
        customerName?: string;
        exportStatus?: OrderExportStatusEnum;
        externalOrderStatus?: string;
        giftCertificateItems?: Array<GiftCertificateItem>;
        globalPartyId?: string;
        lastModified?: string;
        merchandizeTotalTax?: number;
        notes?: SimpleLink;
        orderNo?: string;
        orderPriceAdjustments?: Array<PriceAdjustment>;
        orderToken?: string;
        orderTotal?: number;
        paymentInstruments?: Array<OrderPaymentInstrument>;
        paymentStatus?: OrderPaymentStatusEnum;
        productItems?: Array<ProductItem>;
        productSubTotal?: number;
        productTotal?: number;
        shipments?: Array<Shipment>;
        shippingItems?: Array<ShippingItem>;
        shippingStatus?: OrderShippingStatusEnum;
        shippingTotal?: number;
        shippingTotalTax?: number;
        siteId?: string;
        sourceCode?: string;
        status?: OrderStatusEnum;
        taxTotal?: number;
        taxation?: OrderTaxationEnum;
    });

Parameters

Parameter Type Description
params { adjustedMerchandizeTotalTax?: number; adjustedShippingTotalTax?: number; billingAddress?: OrderAddress; bonusDiscountLineItems?: Array<BonusDiscountLineItem>; channelType?: OrderChannelTypeEnum; confirmationStatus?: OrderConfirmationStatusEnum; couponItems?: Array<CouponItem>; createdBy?: string; creationDate?: string; currency?: string; customerInfo?: CustomerInfo; customerName?: string; exportStatus?: OrderExportStatusEnum; externalOrderStatus?: string; giftCertificateItems?: Array<GiftCertificateItem>; globalPartyId?: string; lastModified?: string; merchandizeTotalTax?: number; notes?: SimpleLink; orderNo?: string; orderPriceAdjustments?: Array<PriceAdjustment>; orderToken?: string; orderTotal?: number; paymentInstruments?: Array<OrderPaymentInstrument>; paymentStatus?: OrderPaymentStatusEnum; productItems?: Array<ProductItem>; productSubTotal?: number; productTotal?: number; shipments?: Array<Shipment>; shippingItems?: Array<ShippingItem>; shippingStatus?: OrderShippingStatusEnum; shippingTotal?: number; shippingTotalTax?: number; siteId?: string; sourceCode?: string; status?: OrderStatusEnum; taxTotal?: number; taxation?: OrderTaxationEnum; } (Optional)