Interface: Discount
Properties
application_method
application_method:
DiscountApplicationMethod|null
Whether the discount is applied via a code or automatically.
code?
optionalcode?:string
The code of the Discount, or the title of the discount if its an automatic discount.
id
id:
number
The ID of the Discount.
value?
optionalvalue?:number
The value of the Discount.
value_type?
optionalvalue_type?:DiscountType
The type of the value of the Discount.