diff --git a/CODEGEN_VERSION b/CODEGEN_VERSION index 432193e4baf..635c5cd381b 100644 --- a/CODEGEN_VERSION +++ b/CODEGEN_VERSION @@ -1 +1 @@ -01d1ea0975f54150dffdde2a2c3d21e609c3b89f \ No newline at end of file +e2d3e8255ba431b6d05e4a423941a157e947e763 \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 02d7b361625..ef8e197a3ce 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2458 \ No newline at end of file +v2459 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/capital/FinancingSummary.java b/src/main/java/com/stripe/model/capital/FinancingSummary.java index 6b6d4d8b2ff..9c509069293 100644 --- a/src/main/java/com/stripe/model/capital/FinancingSummary.java +++ b/src/main/java/com/stripe/model/capital/FinancingSummary.java @@ -17,11 +17,7 @@ import lombok.Getter; import lombok.Setter; -/** - * A financing summary object describes a connected account's financing status in real time. A - * financing status is either {@code accepted}, {@code delivered}, or {@code none}. You can read the - * status of your connected accounts. - */ +/** A financing summary object describes a connected account's financing details in real time. */ @Getter @Setter @EqualsAndHashCode(callSuper = false) diff --git a/src/main/java/com/stripe/model/checkout/Session.java b/src/main/java/com/stripe/model/checkout/Session.java index ba5d207d724..df43615a321 100644 --- a/src/main/java/com/stripe/model/checkout/Session.java +++ b/src/main/java/com/stripe/model/checkout/Session.java @@ -2581,6 +2581,10 @@ public static class Item extends StripeObject { @Setter @EqualsAndHashCode(callSuper = false) public static class Subscription extends StripeObject { + /** The Unix timestamp marking the subscription's backdated start date. */ + @SerializedName("backdate_start_date") + Long backdateStartDate; + /** The description for the subscription. */ @SerializedName("description") String description; diff --git a/src/main/java/com/stripe/model/issuing/Authorization.java b/src/main/java/com/stripe/model/issuing/Authorization.java index e62294728e8..a707708da22 100644 --- a/src/main/java/com/stripe/model/issuing/Authorization.java +++ b/src/main/java/com/stripe/model/issuing/Authorization.java @@ -1949,6 +1949,14 @@ public static class RequestHistory extends StripeObject { @SerializedName("network_data") NetworkData networkData; + /** + * The network-specific response code associated with Stripe's decision for this authorization + * request. The value is a Visa or Mastercard response code depending on the network over which + * the authorization was routed. + */ + @SerializedName("network_response_code") + String networkResponseCode; + /** * The card network's estimate of the likelihood that an authorization is fraudulent. Takes on * values between 1 and 99. diff --git a/src/main/java/com/stripe/model/tax/Calculation.java b/src/main/java/com/stripe/model/tax/Calculation.java index fe24c5dc3b3..17904d3e95b 100644 --- a/src/main/java/com/stripe/model/tax/Calculation.java +++ b/src/main/java/com/stripe/model/tax/Calculation.java @@ -473,6 +473,13 @@ public static class TaxBreakdown extends StripeObject { @SerializedName("amount") Long amount; + /** + * The ID of the customer tax exemption + * that was applied to this tax breakdown. + */ + @SerializedName("customer_tax_exemption") + String customerTaxExemption; + @SerializedName("jurisdiction") Jurisdiction jurisdiction; diff --git a/src/main/java/com/stripe/model/tax/CalculationLineItem.java b/src/main/java/com/stripe/model/tax/CalculationLineItem.java index 4a63f4e884e..bdc755a31a6 100644 --- a/src/main/java/com/stripe/model/tax/CalculationLineItem.java +++ b/src/main/java/com/stripe/model/tax/CalculationLineItem.java @@ -176,6 +176,13 @@ public static class TaxBreakdown extends StripeObject { @SerializedName("amount") Long amount; + /** + * The ID of the customer tax exemption that + * was applied to this tax breakdown. + */ + @SerializedName("customer_tax_exemption") + String customerTaxExemption; + @SerializedName("jurisdiction") Jurisdiction jurisdiction; diff --git a/src/main/java/com/stripe/model/tax/Transaction.java b/src/main/java/com/stripe/model/tax/Transaction.java index 3de994d91de..d20295f38d6 100644 --- a/src/main/java/com/stripe/model/tax/Transaction.java +++ b/src/main/java/com/stripe/model/tax/Transaction.java @@ -534,6 +534,13 @@ public static class TaxBreakdown extends StripeObject { @SerializedName("amount") Long amount; + /** + * The ID of the customer tax exemption + * that was applied to this tax breakdown. + */ + @SerializedName("customer_tax_exemption") + String customerTaxExemption; + @SerializedName("jurisdiction") Jurisdiction jurisdiction; diff --git a/src/main/java/com/stripe/model/v2/core/Account.java b/src/main/java/com/stripe/model/v2/core/Account.java index 5fd5d35fa5e..7bc9731a23b 100644 --- a/src/main/java/com/stripe/model/v2/core/Account.java +++ b/src/main/java/com/stripe/model/v2/core/Account.java @@ -12642,12 +12642,12 @@ public static class RestrictsCapability extends StripeObject { * {@code bank_accounts.npp}, {@code bank_accounts.rtp}, {@code * bank_accounts.sepa_credit}, {@code bank_accounts.sepa_instant}, {@code * bank_accounts.swift}, {@code bank_accounts.wire}, {@code blik_payments}, {@code - * boleto_payments}, {@code business_storage.inbound.eur}, {@code - * business_storage.inbound.gbp}, {@code business_storage.inbound.usd}, {@code - * business_storage.outbound.eur}, {@code business_storage.outbound.gbp}, {@code - * business_storage.outbound.usd}, {@code cards}, {@code card_payments}, {@code - * cartes_bancaires_payments}, {@code cashapp_payments}, {@code - * commercial.celtic.charge_card}, {@code commercial.celtic.spend_card}, {@code + * blik_recurring_payments}, {@code boleto_payments}, {@code + * business_storage.inbound.eur}, {@code business_storage.inbound.gbp}, {@code + * business_storage.inbound.usd}, {@code business_storage.outbound.eur}, {@code + * business_storage.outbound.gbp}, {@code business_storage.outbound.usd}, {@code cards}, + * {@code card_payments}, {@code cartes_bancaires_payments}, {@code cashapp_payments}, + * {@code commercial.celtic.charge_card}, {@code commercial.celtic.spend_card}, {@code * commercial.cross_river_bank.charge_card}, {@code * commercial.cross_river_bank.prepaid_card}, {@code * commercial.cross_river_bank.spend_card}, {@code commercial.fifth_third.charge_card}, @@ -16662,12 +16662,12 @@ public static class RestrictsCapability extends StripeObject { * {@code bank_accounts.npp}, {@code bank_accounts.rtp}, {@code * bank_accounts.sepa_credit}, {@code bank_accounts.sepa_instant}, {@code * bank_accounts.swift}, {@code bank_accounts.wire}, {@code blik_payments}, {@code - * boleto_payments}, {@code business_storage.inbound.eur}, {@code - * business_storage.inbound.gbp}, {@code business_storage.inbound.usd}, {@code - * business_storage.outbound.eur}, {@code business_storage.outbound.gbp}, {@code - * business_storage.outbound.usd}, {@code cards}, {@code card_payments}, {@code - * cartes_bancaires_payments}, {@code cashapp_payments}, {@code - * commercial.celtic.charge_card}, {@code commercial.celtic.spend_card}, {@code + * blik_recurring_payments}, {@code boleto_payments}, {@code + * business_storage.inbound.eur}, {@code business_storage.inbound.gbp}, {@code + * business_storage.inbound.usd}, {@code business_storage.outbound.eur}, {@code + * business_storage.outbound.gbp}, {@code business_storage.outbound.usd}, {@code cards}, + * {@code card_payments}, {@code cartes_bancaires_payments}, {@code cashapp_payments}, + * {@code commercial.celtic.charge_card}, {@code commercial.celtic.spend_card}, {@code * commercial.cross_river_bank.charge_card}, {@code * commercial.cross_river_bank.prepaid_card}, {@code * commercial.cross_river_bank.spend_card}, {@code commercial.fifth_third.charge_card}, diff --git a/src/main/java/com/stripe/param/CustomerCreateParams.java b/src/main/java/com/stripe/param/CustomerCreateParams.java index daed8d21f12..9062a153353 100644 --- a/src/main/java/com/stripe/param/CustomerCreateParams.java +++ b/src/main/java/com/stripe/param/CustomerCreateParams.java @@ -71,7 +71,7 @@ public class CustomerCreateParams extends ApiRequestParams { Object individualName; /** - * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase + * The prefix for the customer used to generate unique invoice numbers. Must be 1–12 uppercase * letters or numbers. */ @SerializedName("invoice_prefix") @@ -400,7 +400,7 @@ public Builder setIndividualName(EmptyParam individualName) { } /** - * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase + * The prefix for the customer used to generate unique invoice numbers. Must be 1–12 uppercase * letters or numbers. */ public Builder setInvoicePrefix(String invoicePrefix) { diff --git a/src/main/java/com/stripe/param/CustomerUpdateParams.java b/src/main/java/com/stripe/param/CustomerUpdateParams.java index a13789bca39..f97f5741f01 100644 --- a/src/main/java/com/stripe/param/CustomerUpdateParams.java +++ b/src/main/java/com/stripe/param/CustomerUpdateParams.java @@ -85,7 +85,7 @@ public class CustomerUpdateParams extends ApiRequestParams { Object individualName; /** - * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase + * The prefix for the customer used to generate unique invoice numbers. Must be 1–12 uppercase * letters or numbers. */ @SerializedName("invoice_prefix") @@ -445,7 +445,7 @@ public Builder setIndividualName(EmptyParam individualName) { } /** - * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase + * The prefix for the customer used to generate unique invoice numbers. Must be 1–12 uppercase * letters or numbers. */ public Builder setInvoicePrefix(String invoicePrefix) { @@ -454,7 +454,7 @@ public Builder setInvoicePrefix(String invoicePrefix) { } /** - * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase + * The prefix for the customer used to generate unique invoice numbers. Must be 1–12 uppercase * letters or numbers. */ public Builder setInvoicePrefix(EmptyParam invoicePrefix) { diff --git a/src/main/java/com/stripe/param/checkout/SessionCreateParams.java b/src/main/java/com/stripe/param/checkout/SessionCreateParams.java index e20b7cb0702..50848209bd3 100644 --- a/src/main/java/com/stripe/param/checkout/SessionCreateParams.java +++ b/src/main/java/com/stripe/param/checkout/SessionCreateParams.java @@ -316,7 +316,7 @@ public class SessionCreateParams extends ApiRequestParams { *
For {@code subscription} mode, there is a maximum of 20 line items and optional items with * recurring Prices and 20 line items and optional items with one-time Prices. * - *
You can't set this parameter if {@code ui_mode} is {@code custom}. + *
You can't set this parameter if {@code ui_mode} is {@code elements} or {@code form}.
*/
@SerializedName("optional_items")
List