Name | Type | Description | Notes |
---|---|---|---|
Id | string | The discount's unique ID. | [optional] |
Name | string | The discount's name. | [optional] |
Rate | string | The rate of the discount, as a string representation of a decimal number. A value of 0.07 corresponds to a rate of 7%. This rate is 0 if discount_type is VARIABLE_PERCENTAGE. | [optional] |
AmountMoney | V1Money | The amount of the discount. This amount is 0 if discount_type is VARIABLE_AMOUNT. This field is not included for rate-based discounts. | [optional] |
DiscountType | DiscountTypeEnum | Indicates whether the discount is a FIXED value or entered at the time of sale. | [optional] |
PinRequired | bool? | Indicates whether a mobile staff member needs to enter their PIN to apply the discount to a payment. | [optional] |
Color | ColorEnum | The color of the discount's display label in Square Register, if not the default color. The default color is 9da2a6. | [optional] |
Name | Value |
---|---|
FIXED | "FIXED" |
VARIABLEPERCENTAGE | "VARIABLE_PERCENTAGE" |
VARIABLEAMOUNT | "VARIABLE_AMOUNT" |
Name | Value |
---|---|
_9da2a6 | "9da2a6" |
_4ab200 | "4ab200" |
_0b8000 | "0b8000" |
_2952cc | "2952cc" |
A82ee5 | "a82ee5" |
E5457a | "e5457a" |
B21212 | "b21212" |
_593c00 | "593c00" |
E5BF00 | "e5BF00" |