You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/client.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ The following parameters are configurable for the API Client:
5
5
6
6
| Parameter | Type | Description |
7
7
| --- | --- | --- |
8
-
|`square_version`|`String`| Square Connect API versions<br>*Default*: `'2024-02-22'`|
8
+
|`square_version`|`String`| Square Connect API versions<br>*Default*: `'2024-03-20'`|
9
9
|`custom_url`|`String`| Sets the base URL requests are made to. Defaults to `https://connect.squareup.com`<br>*Default*: `'https://connect.squareup.com'`|
10
10
|`environment`|`string`| The API environment. <br> **Default: `production`**|
11
11
|`connection`|`Faraday::Connection`| The Faraday connection object passed by the SDK user for making requests |
@@ -25,7 +25,7 @@ The API client can be initialized as follows:
Copy file name to clipboardExpand all lines: doc/models/catalog-item-modifier-list-info.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ and specifies supported behaviors of the application.
14
14
| --- | --- | --- | --- |
15
15
|`modifier_list_id`|`String`| Required | The ID of the `CatalogModifierList` controlled by this `CatalogModifierListInfo`.<br>**Constraints**: *Minimum Length*: `1`|
16
16
|`modifier_overrides`|[`Array<Catalog Modifier Override Hash>`](../../doc/models/catalog-modifier-override.md)| Optional | A set of `CatalogModifierOverride` objects that override whether a given `CatalogModifier` is enabled by default. |
17
-
|`min_selected_modifiers`|`Integer`| Optional | If 0 or larger, the smallest number of `CatalogModifier`s that must be selected from this `CatalogModifierList`. |
18
-
|`max_selected_modifiers`|`Integer`| Optional | If 0 or larger, the largest number of `CatalogModifier`s that can be selected from this `CatalogModifierList`. |
17
+
|`min_selected_modifiers`|`Integer`| Optional | If 0 or larger, the smallest number of `CatalogModifier`s that must be selected from this `CatalogModifierList`.<br>The default value is `-1`.<br><br>When `CatalogModifierList.selection_type` is `MULTIPLE`, `CatalogModifierListInfo.min_selected_modifiers=-1`<br>and `CatalogModifierListInfo.max_selected_modifier=-1` means that from zero to the maximum number of modifiers of<br>the `CatalogModifierList` can be selected from the `CatalogModifierList`.<br><br>When the `CatalogModifierList.selection_type` is `SINGLE`, `CatalogModifierListInfo.min_selected_modifiers=-1`<br>and `CatalogModifierListInfo.max_selected_modifier=-1` means that exactly one modifier must be present in<br>and can be selected from the `CatalogModifierList`|
18
+
|`max_selected_modifiers`|`Integer`| Optional | If 0 or larger, the largest number of `CatalogModifier`s that can be selected from this `CatalogModifierList`.<br>The default value is `-1`.<br><br>When `CatalogModifierList.selection_type` is `MULTIPLE`, `CatalogModifierListInfo.min_selected_modifiers=-1`<br>and `CatalogModifierListInfo.max_selected_modifier=-1` means that from zero to the maximum number of modifiers of<br>the `CatalogModifierList` can be selected from the `CatalogModifierList`.<br><br>When the `CatalogModifierList.selection_type` is `SINGLE`, `CatalogModifierListInfo.min_selected_modifiers=-1`<br>and `CatalogModifierListInfo.max_selected_modifier=-1` means that exactly one modifier must be present in<br>and can be selected from the `CatalogModifierList`|
19
19
|`enabled`|`TrueClass \| FalseClass`| Optional | If `true`, enable this `CatalogModifierList`. The default value is `true`. |
20
20
|`ordinal`|`Integer`| Optional | The position of this `CatalogItemModifierListInfo` object within the `modifier_list_info` list applied<br>to a `CatalogItem` instance. |
Copy file name to clipboardExpand all lines: doc/models/digital-wallet-details.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Additional details about `WALLET` type payments. Contains only non-confidential
12
12
| Name | Type | Tags | Description |
13
13
| --- | --- | --- | --- |
14
14
|`status`|`String`| Optional | The status of the `WALLET` payment. The status can be `AUTHORIZED`, `CAPTURED`, `VOIDED`, or<br>`FAILED`.<br>**Constraints**: *Maximum Length*: `50`|
15
-
|`brand`|`String`| Optional | The brand used for the `WALLET` payment. The brand can be `CASH_APP`, `PAYPAY` or `UNKNOWN`.<br>**Constraints**: *Maximum Length*: `50`|
15
+
|`brand`|`String`| Optional | The brand used for the `WALLET` payment. The brand can be `CASH_APP`, `PAYPAY`, `ALIPAY`,<br>`RAKUTEN_PAY`, `AU_PAY`, `D_BARAI`, `MERPAY`, `WECHAT_PAY` or `UNKNOWN`.<br>**Constraints**: *Maximum Length*: `50`|
16
16
|`cash_app_details`|[`Cash App Details Hash`](../../doc/models/cash-app-details.md)| Optional | Additional details about `WALLET` type payments with the `brand` of `CASH_APP`. |
Copy file name to clipboardExpand all lines: doc/models/tender-type.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Indicates a tender's type.
17
17
|`SQUARE_GIFT_CARD`| A Square gift card. |
18
18
|`NO_SALE`| This tender represents the register being opened for a "no sale" event. |
19
19
|`BANK_ACCOUNT`| A bank account payment. |
20
-
|`WALLET`| A payment from a digital wallet, e.g. Cash App.<br><br>Note: Some "digital wallets", including Google Pay and Apple Pay, facilitate<br>card payments. Those payments have the `CARD` type. |
20
+
|`WALLET`| A payment from a digital wallet, e.g. Cash App, Paypay, Rakuten Pay,<br>Au Pay, D Barai, Merpay, Wechat Pay, Alipay.<br><br>Note: Some "digital wallets", including Google Pay and Apple Pay, facilitate<br>card payments. Those payments have the `CARD` type. |
21
21
|`BUY_NOW_PAY_LATER`| A Buy Now Pay Later payment. |
22
22
|`SQUARE_ACCOUNT`| A Square House Account payment. |
23
23
|`OTHER`| A form of tender that does not match any other value. |
0 commit comments