OptionaldescriptionA description or reason of the discount.
Max length: 250
The gross amount of the discount. The value of the amount in minor units of the currency according to the Sale.currency.scale.
The value of the amount in minor units of the currency according to the Sale.currency.scale.
value can get large for some currencies and applications.
Use Long type or a similar data type when parsing value.
Format: int64
Min: 0
OptionalidAn id used to associate a discount line with a specific discount. Since we can apply multiple discounts (e.g. 2x 10% whole cart off) we need to be able to identify which discount line belongs to which cart discount. Recommended to use UUID identifiers.
Max length: 100
Specifies where discount was applied by user (either merchant or consumer):
Accepted values: ["ITEM", "CART"].
Min length: 4
Max length: 4
The net amount of the discount. The value of the amount in minor units of the currency according to the Sale.currency.scale.
The value of the amount in minor units of the currency according to the Sale.currency.scale.
value can get large for some currencies and applications.
Use Long type or a similar data type when parsing value.
Format: int64
Min: 0
The tax amount of the discount. The value of the amount in minor units of the currency according to the Sale.currency.scale.
The value of the amount in minor units of the currency according to the Sale.currency.scale.
value can get large for some currencies and applications.
Use Long type or a similar data type when parsing value.
Format: int64
Min: 0
Object representing information about single discount line.