Skip to content

Commit 496fcdd

Browse files
authored
Merge branch 'master' into jar/enable-decimal-string-v2
2 parents c1b2f96 + 150d985 commit 496fcdd

170 files changed

Lines changed: 6709 additions & 657 deletions

File tree

Some content is hidden

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

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e65e48569f6dfad2d5f1b58018017856520c3ae6
1+
273184f052dd3c191b1993098365d0c2437d2cb4

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2186
1+
v2204

src/main/java/com/stripe/ApiVersion.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
package com.stripe;
33

44
final class ApiVersion {
5-
public static final String CURRENT = "2026-02-25.clover";
6-
public static final String CURRENT_MAJOR = "clover";
5+
public static final String CURRENT = "2026-03-25.dahlia";
6+
public static final String CURRENT_MAJOR = "dahlia";
77
}

src/main/java/com/stripe/model/Account.java

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@
2424
import lombok.Setter;
2525

2626
/**
27-
* This is an object representing a Stripe account. You can retrieve it to see properties on the
27+
* For new integrations, we recommend using the <a
28+
* href="https://stripe.com/api/v2/core/accounts">Accounts v2 API</a>, in place of /v1/accounts and
29+
* /v1/customers to represent a user.
30+
*
31+
* <p>This is an object representing a Stripe account. You can retrieve it to see properties on the
2832
* account like its current requirements or if the account is enabled to make live charges or
2933
* receive payouts.
3034
*
@@ -1375,6 +1379,15 @@ public static class Capabilities extends StripeObject {
13751379
@SerializedName("twint_payments")
13761380
String twintPayments;
13771381

1382+
/**
1383+
* The status of the upi payments capability of the account, or whether the account can directly
1384+
* process upi charges.
1385+
*
1386+
* <p>One of {@code active}, {@code inactive}, or {@code pending}.
1387+
*/
1388+
@SerializedName("upi_payments")
1389+
String upiPayments;
1390+
13781391
/**
13791392
* The status of the US bank account ACH payments capability of the account, or whether the
13801393
* account can directly process US bank account charges.

src/main/java/com/stripe/model/AccountSession.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ public class AccountSession extends ApiResource {
5858
Long expiresAt;
5959

6060
/**
61-
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
62-
* object exists in test mode.
61+
* If the object exists in live mode, the value is {@code true}. If the object exists in test
62+
* mode, the value is {@code false}.
6363
*/
6464
@SerializedName("livemode")
6565
Boolean livemode;

src/main/java/com/stripe/model/ApplePayDomain.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public class ApplePayDomain extends ApiResource implements HasId {
3737
String id;
3838

3939
/**
40-
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
41-
* object exists in test mode.
40+
* If the object exists in live mode, the value is {@code true}. If the object exists in test
41+
* mode, the value is {@code false}.
4242
*/
4343
@SerializedName("livemode")
4444
Boolean livemode;

src/main/java/com/stripe/model/ApplicationFee.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ public class ApplicationFee extends ApiResource implements BalanceTransactionSou
8282
String id;
8383

8484
/**
85-
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
86-
* object exists in test mode.
85+
* If the object exists in live mode, the value is {@code true}. If the object exists in test
86+
* mode, the value is {@code false}.
8787
*/
8888
@SerializedName("livemode")
8989
Boolean livemode;

src/main/java/com/stripe/model/Balance.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public class Balance extends ApiResource {
5757
Issuing issuing;
5858

5959
/**
60-
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
61-
* object exists in test mode.
60+
* If the object exists in live mode, the value is {@code true}. If the object exists in test
61+
* mode, the value is {@code false}.
6262
*/
6363
@SerializedName("livemode")
6464
Boolean livemode;

src/main/java/com/stripe/model/CashBalance.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ public class CashBalance extends ApiResource {
4242
String customerAccount;
4343

4444
/**
45-
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
46-
* object exists in test mode.
45+
* If the object exists in live mode, the value is {@code true}. If the object exists in test
46+
* mode, the value is {@code false}.
4747
*/
4848
@SerializedName("livemode")
4949
Boolean livemode;

src/main/java/com/stripe/model/Charge.java

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ public class Charge extends ApiResource implements MetadataStore<Charge>, Balanc
171171
Level3 level3;
172172

173173
/**
174-
* Has the value {@code true} if the object exists in live mode or the value {@code false} if the
175-
* object exists in test mode.
174+
* If the object exists in live mode, the value is {@code true}. If the object exists in test
175+
* mode, the value is {@code false}.
176176
*/
177177
@SerializedName("livemode")
178178
Boolean livemode;
@@ -1319,6 +1319,9 @@ public static class PaymentMethodDetails extends StripeObject {
13191319
@SerializedName("type")
13201320
String type;
13211321

1322+
@SerializedName("upi")
1323+
Upi upi;
1324+
13221325
@SerializedName("us_bank_account")
13231326
UsBankAccount usBankAccount;
13241327

@@ -2725,7 +2728,8 @@ public static class Crypto extends StripeObject {
27252728
/**
27262729
* The blockchain network that the transaction was sent on.
27272730
*
2728-
* <p>One of {@code base}, {@code ethereum}, {@code polygon}, or {@code solana}.
2731+
* <p>One of {@code base}, {@code ethereum}, {@code polygon}, {@code solana}, or {@code
2732+
* tempo}.
27292733
*/
27302734
@SerializedName("network")
27312735
String network;
@@ -3999,6 +4003,19 @@ public static class Swish extends StripeObject {
39994003
@EqualsAndHashCode(callSuper = false)
40004004
public static class Twint extends StripeObject {}
40014005

4006+
/**
4007+
* For more details about Upi, please refer to the <a href="https://docs.stripe.com/api">API
4008+
* Reference.</a>
4009+
*/
4010+
@Getter
4011+
@Setter
4012+
@EqualsAndHashCode(callSuper = false)
4013+
public static class Upi extends StripeObject {
4014+
/** Customer's unique Virtual Payment Address. */
4015+
@SerializedName("vpa")
4016+
String vpa;
4017+
}
4018+
40024019
/**
40034020
* For more details about UsBankAccount, please refer to the <a
40044021
* href="https://docs.stripe.com/api">API Reference.</a>

0 commit comments

Comments
 (0)