Poq.SDK.Node

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

ApproachingDiscount.(constructor)

Constructs a new instance of the ApproachingDiscount class

Signature:

constructor(params?: {
        conditionThreshold?: number;
        discount?: Discount;
        merchandiseTotal?: number;
        promotionLink?: PromotionLink;
        shipmentId?: string;
        shippingMethods?: Array<ShippingMethod>;
        type?: string;
    });

Parameters

Parameter Type Description
params { conditionThreshold?: number; discount?: Discount; merchandiseTotal?: number; promotionLink?: PromotionLink; shipmentId?: string; shippingMethods?: Array<ShippingMethod>; type?: string; } (Optional)