whoami7 - Manager
:
/
home
/
qbizpnmr
/
arif.umairtax.com
/
vendor
/
square
/
square
/
doc
/
models
/
Upload File:
files >> /home/qbizpnmr/arif.umairtax.com/vendor/square/square/doc/models/catalog-quick-amounts-settings.md
# Catalog Quick Amounts Settings A parent Catalog Object model represents a set of Quick Amounts and the settings control the amounts. ## Structure `CatalogQuickAmountsSettings` ## Fields | Name | Type | Tags | Description | Getter | Setter | | --- | --- | --- | --- | --- | --- | | `option` | [`string(CatalogQuickAmountsSettingsOption)`](../../doc/models/catalog-quick-amounts-settings-option.md) | Required | Determines a seller's option on Quick Amounts feature. | getOption(): string | setOption(string option): void | | `eligibleForAutoAmounts` | `?bool` | Optional | Represents location's eligibility for auto amounts<br>The boolean should be consistent with whether there are AUTO amounts in the `amounts`. | getEligibleForAutoAmounts(): ?bool | setEligibleForAutoAmounts(?bool eligibleForAutoAmounts): void | | `amounts` | [`?(CatalogQuickAmount[])`](../../doc/models/catalog-quick-amount.md) | Optional | Represents a set of Quick Amounts at this location. | getAmounts(): ?array | setAmounts(?array amounts): void | ## Example (as JSON) ```json { "option": "AUTO", "eligible_for_auto_amounts": false, "amounts": [ { "type": "QUICK_AMOUNT_TYPE_MANUAL", "amount": { "amount": 244, "currency": "SRD" }, "score": 228, "ordinal": 160 }, { "type": "QUICK_AMOUNT_TYPE_AUTO", "amount": { "amount": 245, "currency": "SSP" }, "score": 229, "ordinal": 161 } ] } ```
Copyright ©2021 || Defacer Indonesia