Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 2.4 KB

ClientValidationsValidateResponseBodyRedeemablesItemResultDiscount.md

File metadata and controls

28 lines (22 loc) · 2.4 KB

ClientValidationsValidateResponseBodyRedeemablesItemResultDiscount

Properties

Name Type Description Notes
type str [optional]
amount_off float Amount taken off the subtotal of a price. Value is multiplied by 100 to precisely represent 2 decimal places. For example, a $10 discount is written as 1000. [optional]
amount_off_formula str [optional]
aggregated_amount_limit int Maximum discount amount per order. [optional]
effect str [optional]
is_dynamic bool Flag indicating whether the discount was calculated using a formula. [optional]
unit_off int Number of units to be granted a full value discount. [optional]
unit_off_formula str [optional]
unit_type str The product deemed as free, chosen from product inventory (e.g. time, items). [optional]
product ClientValidationsValidateResponseBodyRedeemablesItemResultDiscountProduct [optional]
sku SimpleSkuDiscountUnit [optional]
units List[DiscountUnitMultipleOneUnit] [optional]
percent_off float The percent discount that the customer will receive. [optional]
percent_off_formula str [optional]
amount_limit float Upper limit allowed to be applied as a discount. Value is multiplied by 100 to precisely represent 2 decimal places. For example, a $6 maximum discount is written as 600. [optional]
fixed_amount float Sets a fixed value for an order total or the item price. The value is multiplied by 100 to precisely represent 2 decimal places. For example, a $10 discount is written as 1000. If the fixed amount is calculated by the formula, i.e. the `fixed_amount_formula` parameter is present in the fixed amount definition, this value becomes the fallback value. As a result, if the formula cannot be calculated due to missing metadata, for example, this value will be used as the fixed value. [optional]
fixed_amount_formula str [optional]

[Back to Model list] [Back to API list] [Back to README]