An object representing a discount applied to an ecommerce order or product.
Name | Type | Description | Notes |
---|---|---|---|
code | str, none_type | The code used to apply the discount. | [optional] |
amount | str, none_type | The fixed amount of the discount. | [optional] |
percentage | str, none_type | The percentage of the discount. | [optional] |
any string name | bool, date, datetime, dict, float, int, list, str, none_type | any string name can be used but the value must be the correct type | [optional] |