Skip to content

Commit 7dbccf4

Browse files
authored
Merge pull request #102 from square/release/29.0.0.20230517
2 parents 49ccb66 + 78d7cca commit 7dbccf4

File tree

1,412 files changed

+16686
-27778
lines changed

Some content is hidden

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

1,412 files changed

+16686
-27778
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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,26 @@ CreateCheckoutRequest body = new CreateCheckoutRequest.Builder(
7878
.build()
7979
))
8080
.basePriceMoney(new Money.Builder()
81+
.amount(1500L)
82+
.currency("USD")
8183
.build())
8284
.build(),
8385
new OrderLineItem.Builder(
8486
"1"
8587
)
8688
.name("Slim Jeans")
8789
.basePriceMoney(new Money.Builder()
90+
.amount(2500L)
91+
.currency("USD")
8892
.build())
8993
.build(),
9094
new OrderLineItem.Builder(
9195
"3"
9296
)
9397
.name("Woven Sweater")
9498
.basePriceMoney(new Money.Builder()
99+
.amount(3500L)
100+
.currency("USD")
95101
.build())
96102
.build()
97103
))
@@ -108,6 +114,8 @@ CreateCheckoutRequest body = new CreateCheckoutRequest.Builder(
108114
.uid("56ae1696-z1e3-9328-af6d-f1e04d947gd4")
109115
.type("FIXED_AMOUNT")
110116
.amountMoney(new Money.Builder()
117+
.amount(100L)
118+
.currency("USD")
111119
.build())
112120
.scope("LINE_ITEM")
113121
.build()

doc/api/invoices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ CompletableFuture<ListInvoicesResponse> listInvoicesAsync(
3838
| Parameter | Type | Tags | Description |
3939
| --- | --- | --- | --- |
4040
| `locationId` | `String` | Query, Required | The ID of the location for which to list invoices. |
41-
| `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). |
41+
| `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). |
4242
| `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. |
4343

4444
## Response Type

0 commit comments

Comments
 (0)