The promotions object allows you to manage promotions for a transaction.
Attributes |
---|
id integer The unique id for the object. |
type string Can be: 'discount' or 'custom'. |
amount positive float or zero The amount of the discount. |
discount object The discount object if the promotion type is 'discount'. |