Skip to content

Commit e30ebff

Browse files
authored
Merge pull request #114 from square/release/28.0.0.20230517
2 parents 1e873a1 + c176f84 commit e30ebff

File tree

555 files changed

+11140
-26479
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

555 files changed

+11140
-26479
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ assignees: ''
77

88
---
99

10+
## **ATTENTION**
11+
This issue template is for **bugs** or **documentation** errors in this SDK Repo. Please direct all technical support questions, feature requests, API-related issues, and general discussions to our Square-supported developer channels. For public support, [join us in our BuildWithSquare Slack](https://squ.re/slack) or [post in our Developer Forums](https://developer.squareup.com/forums). For private support, [contact our Developer Success Engineers](https://squareup.com/help/us/en/contact?panel=BF53A9C8EF68) directly.
12+
1013
**Describe the bug**
1114
A clear and concise description of what the bug is.
1215

@@ -27,4 +30,4 @@ If applicable, add screenshots to help explain the bug.
2730
For example: 17.2.x
2831

2932
**Additional context**
30-
Add any other context about the problem here.
33+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Square Developer Forums
4+
url: https://developer.squareup.com/forums
5+
about: Public discussion threads for technical support, feature requests, api discussion, and all things related to square development.
6+
- name: BuildWithSquare Slack Channel
7+
url: https://squ.re/slack
8+
about: Community slack channel for real time support and conversations about building with square.
9+
- name: Developer Support
10+
url: https://squareup.com/help/us/en/contact?panel=BF53A9C8EF68
11+
about: Private support directly with Square Developer Success Engineers.

doc/api/checkout.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,26 @@ body = {
7373
:discount_uid => '56ae1696-z1e3-9328-af6d-f1e04d947gd4'
7474
}
7575
],
76-
:base_price_money => {}
76+
:base_price_money => {
77+
:amount => 1500,
78+
:currency => 'USD'
79+
}
7780
},
7881
{
7982
:quantity => '1',
8083
:name => 'Slim Jeans',
81-
:base_price_money => {}
84+
:base_price_money => {
85+
:amount => 2500,
86+
:currency => 'USD'
87+
}
8288
},
8389
{
8490
:quantity => '3',
8591
:name => 'Woven Sweater',
86-
:base_price_money => {}
92+
:base_price_money => {
93+
:amount => 3500,
94+
:currency => 'USD'
95+
}
8796
}
8897
],
8998
:taxes => [
@@ -98,7 +107,10 @@ body = {
98107
{
99108
:uid => '56ae1696-z1e3-9328-af6d-f1e04d947gd4',
100109
:type => 'FIXED_AMOUNT',
101-
:amount_money => {},
110+
:amount_money => {
111+
:amount => 100,
112+
:currency => 'USD'
113+
},
102114
:scope => 'LINE_ITEM'
103115
}
104116
]

doc/api/invoices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def list_invoices(location_id:,
3737
| Parameter | Type | Tags | Description |
3838
| --- | --- | --- | --- |
3939
| `location_id` | `String` | Query, Required | The ID of the location for which to list invoices. |
40-
| `cursor` | `String` | Query, Optional | A pagination cursor returned by a previous call to this endpoint.<br>Provide this cursor to retrieve the next set of results for your original query.<br><br>For more information, see [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination). |
40+
| `cursor` | `String` | Query, Optional | A pagination cursor returned by a previous call to this endpoint.<br>Provide this cursor to retrieve the next set of results for your original query.<br><br>For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
4141
| `limit` | `Integer` | Query, Optional | The maximum number of invoices to return (200 is the maximum `limit`).<br>If not provided, the server uses a default limit of 100 invoices. |
4242

4343
## Response Type

0 commit comments

Comments
 (0)