Skip to content

Commit 32ae289

Browse files
committed
SDK regeneration
1 parent 29b7b9d commit 32ae289

19 files changed

+353
-339
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Add the dependency in your `pom.xml` file:
3131
<dependency>
3232
<groupId>com.squareup</groupId>
3333
<artifactId>square</artifactId>
34-
<version>45.0.3.20250820</version>
34+
<version>45.0.0.20250924</version>
3535
</dependency>
3636
```
3737

@@ -336,8 +336,8 @@ Gradle:
336336

337337
```groovy
338338
dependencies {
339-
implementation 'com.squareup:square:45.0.3.20250820'
340-
implementation 'com.squareup:square-legacy:45.0.3.20250820'
339+
implementation 'com.squareup:square:45.0.0.20250924'
340+
implementation 'com.squareup:square-legacy:45.0.0.20250924'
341341
}
342342
```
343343

@@ -347,12 +347,12 @@ Maven:
347347
<dependency>
348348
<groupId>com.squareup</groupId>
349349
<artifactId>square</artifactId>
350-
<version>45.0.3.20250820</version>
350+
<version>45.0.0.20250924</version>
351351
</dependency>
352352
<dependency>
353353
<groupId>com.squareup</groupId>
354354
<artifactId>square-legacy</artifactId>
355-
<version>45.0.3.20250820</version>
355+
<version>45.0.0.20250924</version>
356356
</dependency>
357357
```
358358

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ java {
4747

4848
group = 'com.squareup'
4949

50-
version = '45.0.3.20250820'
50+
version = '45.0.0.20250924'
5151

5252
jar {
5353
dependsOn(":generatePomFileForMavenPublication")
@@ -78,7 +78,7 @@ publishing {
7878
maven(MavenPublication) {
7979
groupId = 'com.squareup'
8080
artifactId = 'square'
81-
version = '45.0.3.20250820'
81+
version = '45.0.0.20250924'
8282
from components.java
8383
pom {
8484
name = 'square'

reference.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10822,7 +10822,7 @@ client.payments().list(
1082210822

1082310823
**beginTime:** `Optional<String>`
1082410824

10825-
Indicates the start of the time range to retrieve payments for, in RFC 3339 format.
10825+
Indicates the start of the time range to retrieve payments for, in RFC 3339 format.
1082610826
The range is determined using the `created_at` field for each Payment.
1082710827
Inclusive. Default: The current time minus one year.
1082810828

@@ -10834,7 +10834,7 @@ Inclusive. Default: The current time minus one year.
1083410834

1083510835
**endTime:** `Optional<String>`
1083610836

10837-
Indicates the end of the time range to retrieve payments for, in RFC 3339 format. The
10837+
Indicates the end of the time range to retrieve payments for, in RFC 3339 format. The
1083810838
range is determined using the `created_at` field for each Payment.
1083910839

1084010840
Default: The current time.
@@ -11074,7 +11074,7 @@ This could be a payment token generated by the Web Payments SDK for any of its
1107411074
[supported methods](https://developer.squareup.com/docs/web-payments/overview#explore-payment-methods),
1107511075
including cards, bank transfers, Afterpay or Cash App Pay. If recording a payment
1107611076
that the seller received outside of Square, specify either "CASH" or "EXTERNAL".
11077-
For more information, see
11077+
For more information, see
1107811078
[Take Payments](https://developer.squareup.com/docs/payments-api/take-payments).
1107911079

1108011080
</dd>
@@ -11162,10 +11162,10 @@ For more information, see [Permissions](https://developer.squareup.com/docs/paym
1116211162

1116311163
**delayDuration:** `Optional<String>`
1116411164

11165-
The duration of time after the payment's creation when Square automatically
11166-
either completes or cancels the payment depending on the `delay_action` field value.
11167-
For more information, see
11168-
[Time threshold](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture#time-threshold).
11165+
The duration of time after the payment's creation when Square automatically
11166+
either completes or cancels the payment depending on the `delay_action` field value.
11167+
For more information, see
11168+
[Time threshold](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture#time-threshold).
1116911169

1117011170
This parameter should be specified as a time duration, in RFC 3339 format.
1117111171

@@ -11186,8 +11186,8 @@ Default:
1118611186
**delayAction:** `Optional<String>`
1118711187

1118811188
The action to be applied to the payment when the `delay_duration` has elapsed. The action must be
11189-
CANCEL or COMPLETE. For more information, see
11190-
[Time Threshold](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture#time-threshold).
11189+
CANCEL or COMPLETE. For more information, see
11190+
[Time Threshold](https://developer.squareup.com/docs/payments-api/take-payments/card-payments/delayed-capture#time-threshold).
1119111191

1119211192
Default: CANCEL
1119311193

@@ -11245,7 +11245,7 @@ used.
1124511245

1124611246
**teamMemberId:** `Optional<String>`
1124711247

11248-
An optional [TeamMember](entity:TeamMember) ID to associate with
11248+
An optional [TeamMember](entity:TeamMember) ID to associate with
1124911249
this payment.
1125011250

1125111251
</dd>
@@ -11258,7 +11258,7 @@ this payment.
1125811258

1125911259
A user-defined ID to associate with the payment.
1126011260

11261-
You can use this field to associate the payment to an entity in an external system
11261+
You can use this field to associate the payment to an entity in an external system
1126211262
(for example, you might specify an order ID that is generated by a third-party shopping cart).
1126311263

1126411264
</dd>
@@ -11752,8 +11752,8 @@ client.payments().complete(
1175211752

1175311753
**versionToken:** `Optional<String>`
1175411754

11755-
Used for optimistic concurrency. This opaque token identifies the current `Payment`
11756-
version that the caller expects. If the server has a different version of the Payment,
11755+
Used for optimistic concurrency. This opaque token identifies the current `Payment`
11756+
version that the caller expects. If the server has a different version of the Payment,
1175711757
the update fails and a response with a VERSION_MISMATCH error is returned.
1175811758

1175911759
</dd>
@@ -12930,7 +12930,7 @@ If the cancellation date is earlier than the end date of a subscription cycle, t
1293012930
at the canceled date and the subscriber is sent a prorated invoice at the beginning of the canceled cycle.
1293112931

1293212932
When the subscription plan of the newly created subscription has a fixed number of cycles and the `canceled_date`
12933-
occurs before the subscription plan expires, the specified `canceled_date` sets the date when the subscription
12933+
occurs before the subscription plan completes, the specified `canceled_date` sets the date when the subscription
1293412934
stops through the end of the last cycle.
1293512935

1293612936
</dd>

src/main/java/com/squareup/square/AsyncSquareClientBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class AsyncSquareClientBuilder {
1919

2020
private String token = System.getenv("SQUARE_TOKEN");
2121

22-
private String version = "2025-08-20";
22+
private String version = "2025-09-24";
2323

2424
private Environment environment = Environment.PRODUCTION;
2525

src/main/java/com/squareup/square/SquareClientBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class SquareClientBuilder {
1919

2020
private String token = System.getenv("SQUARE_TOKEN");
2121

22-
private String version = "2025-08-20";
22+
private String version = "2025-09-24";
2323

2424
private Environment environment = Environment.PRODUCTION;
2525

src/main/java/com/squareup/square/core/ClientOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ private ClientOptions(
3232
this.headers.putAll(headers);
3333
this.headers.putAll(new HashMap<String, String>() {
3434
{
35-
put("User-Agent", "com.squareup:square/45.0.3.20250820");
35+
put("User-Agent", "com.squareup:square/45.0.0.20250924");
3636
put("X-Fern-Language", "JAVA");
3737
put("X-Fern-SDK-Name", "com.square.fern:api-sdk");
38-
put("X-Fern-SDK-Version", "45.0.3.20250820");
38+
put("X-Fern-SDK-Version", "45.0.0.20250924");
3939
}
4040
});
4141
this.headerSuppliers = headerSuppliers;

0 commit comments

Comments
 (0)