Poq.SDK.Node

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

Discount.(constructor)

Constructs a new instance of the Discount class

Signature:

constructor(params?: {
        type: DiscountTypeEnum;
        amount?: number;
        percentage?: number;
        priceBookId?: string;
    });

Parameters

Parameter Type Description
params { type: DiscountTypeEnum; amount?: number; percentage?: number; priceBookId?: string; } (Optional)