Sha256: de2d53a9a52064dfe4edc3eeef8fde243b69892cff2b899b27925c3d76379929
Contents?: true
Size: 1.54 KB
Versions: 3
Compression:
Stored size: 1.54 KB
Contents
# SquareConnect::CatalogDiscount ### Description A discount in the Catalog object model. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The discount's name. Searchable. This field has max length of 255 Unicode code points. | [optional] **discount_type** | **String** | Indicates whether the discount is a fixed amount or percentage, or entered at the time of sale. See [CatalogDiscountType](#type-catalogdiscounttype) for all possible values. | [optional] **percentage** | **String** | The percentage of the discount as a string representation of a decimal number, using a `.` as the decimal separator and without a `%` sign. A value of `7.5` corresponds to `7.5%`. Specify a percentage of `0` if `discount_type` is `VARIABLE_PERCENTAGE`. Do not include this field for amount-based or variable discounts. | [optional] **amount_money** | [**Money**](Money.md) | The amount of the discount. Specify an amount of `0` if `discount_type` is `VARIABLE_AMOUNT`. Do not include this field for percentage-based or variable discounts. | [optional] **pin_required** | **BOOLEAN** | Indicates whether a mobile staff member needs to enter their PIN to apply the discount to a payment in the Square Point of Sale app. | [optional] **label_color** | **String** | The color of the discount's display label in the Square Point of Sale app. This must be a valid hex color code. | [optional]
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
square_connect-2.20190313.1.282 | docs/CatalogDiscount.md |
square_connect-2.20190313.0.278 | docs/CatalogDiscount.md |
square_connect-2.20190213.0.274 | docs/CatalogDiscount.md |