Skip to content

Commit b7bbdc8

Browse files
Merge pull request #2112 from stripe/latest-codegen-private-preview
Update generated code for private-preview
2 parents c87ce85 + 5fdcb04 commit b7bbdc8

File tree

77 files changed

+123601
-46519
lines changed

Some content is hidden

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

77 files changed

+123601
-46519
lines changed

API_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f7784849b5189b7bdf4d850b41365cec53d174b2
1+
a4f6cd305e695abb9ca7cdf25b8828504e2854d7

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2120
1+
v2125

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
package com.stripe;
33

44
final class ApiVersion {
5-
public static final String CURRENT = "2025-10-29.preview";
5+
public static final String CURRENT = "2025-11-17.preview";
66
}

src/main/java/com/stripe/StripeClient.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,18 @@ public com.stripe.service.BalanceTransactionService balanceTransactions() {
243243
return new com.stripe.service.BalanceTransactionService(this.getResponseGetter());
244244
}
245245

246+
/**
247+
* @deprecated StripeClient.balanceTransfers() is deprecated, use
248+
* StripeClient.v1().balanceTransfers() instead. All functionality under it has been copied
249+
* over to StripeClient.v1().balanceTransfers(). See <a
250+
* href="https://github.com/stripe/stripe-java/wiki/v1-namespace-in-StripeClient">migration
251+
* guide</a> for more on this and tips on migrating to the new v1 namespace.
252+
*/
253+
@Deprecated
254+
public com.stripe.service.BalanceTransferService balanceTransfers() {
255+
return new com.stripe.service.BalanceTransferService(this.getResponseGetter());
256+
}
257+
246258
/**
247259
* @deprecated StripeClient.billing() is deprecated, use StripeClient.v1().billing() instead. All
248260
* functionality under it has been copied over to StripeClient.v1().billing(). See <a

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

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,13 @@ public static class BusinessProfile extends StripeObject {
776776
@SerializedName("product_description")
777777
String productDescription;
778778

779+
/**
780+
* A link to the business's publicly available terms related to the Specified Commercial
781+
* Transaction Act. Only used for accounts in Japan.
782+
*/
783+
@SerializedName("specified_commercial_transactions_act_url")
784+
String specifiedCommercialTransactionsActUrl;
785+
779786
/** A publicly available mailing address for sending support issues to. */
780787
@SerializedName("support_address")
781788
Address supportAddress;
@@ -2584,6 +2591,9 @@ public static class Settings extends StripeObject {
25842591
@SerializedName("payouts")
25852592
Payouts payouts;
25862593

2594+
@SerializedName("paypay_payments")
2595+
PaypayPayments paypayPayments;
2596+
25872597
@SerializedName("sepa_debit_payments")
25882598
SepaDebitPayments sepaDebitPayments;
25892599

@@ -2871,8 +2881,9 @@ public static class Invoices extends StripeObject {
28712881
List<ExpandableField<TaxId>> defaultAccountTaxIds;
28722882

28732883
/**
2874-
* Whether payment methods should be saved when a payment is completed for a one-time invoices
2875-
* on a hosted invoice page.
2884+
* Whether to save the payment method after a payment is completed for a one-time invoice or a
2885+
* subscription invoice when the customer already has a default payment method on the hosted
2886+
* invoice page.
28762887
*
28772888
* <p>One of {@code always}, {@code never}, or {@code offer}.
28782889
*/
@@ -3057,6 +3068,23 @@ public static class Schedule extends StripeObject {
30573068
}
30583069
}
30593070

3071+
/**
3072+
* For more details about PaypayPayments, please refer to the <a
3073+
* href="https://docs.stripe.com/api">API Reference.</a>
3074+
*/
3075+
@Getter
3076+
@Setter
3077+
@EqualsAndHashCode(callSuper = false)
3078+
public static class PaypayPayments extends StripeObject {
3079+
/**
3080+
* Whether your business sells digital content or not.
3081+
*
3082+
* <p>One of {@code digital_content}, or {@code other}.
3083+
*/
3084+
@SerializedName("goods_type")
3085+
String goodsType;
3086+
}
3087+
30603088
/**
30613089
* For more details about SepaDebitPayments, please refer to the <a
30623090
* href="https://docs.stripe.com/api">API Reference.</a>

0 commit comments

Comments
 (0)