Home > @poq/sdk-sfcc > 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;
});
Parameter | Type | Description |
---|---|---|
params | { conditionThreshold?: number; discount?: Discount; merchandiseTotal?: number; promotionLink?: PromotionLink; shipmentId?: string; shippingMethods?: Array<ShippingMethod>; type?: string; } | (Optional) |