Poq.SDK.Node

Home > @poq/sdk-sfcc > Discount

Discount class

Document representing a discount that was

Signature:

export declare class Discount extends BaseModel<Discount> 

Extends: BaseModel<Discount

Constructors

Constructor Modifiers Description
(constructor)(params)   Constructs a new instance of the Discount class

Properties

Property Modifiers Type Description
amount?   number (Optional) The amount that is used with the amount and fixed price types.
percentage?   number (Optional) The percentage that is used with percentage types.
priceBookId?   string (Optional) The price book id that is used with some types.
type   DiscountTypeEnum The type of discount.