diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index bfb4a2e0eaa..f0bb0d526f9 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2026 \ No newline at end of file +v2028 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/AccountSession.java b/src/main/java/com/stripe/model/AccountSession.java index 9cd529209eb..51bc8062c4e 100644 --- a/src/main/java/com/stripe/model/AccountSession.java +++ b/src/main/java/com/stripe/model/AccountSession.java @@ -132,9 +132,6 @@ public static class Components extends StripeObject { @SerializedName("account_onboarding") AccountOnboarding accountOnboarding; - @SerializedName("balance_report") - BalanceReport balanceReport; - @SerializedName("balances") Balances balances; @@ -174,9 +171,6 @@ public static class Components extends StripeObject { @SerializedName("payout_details") PayoutDetails payoutDetails; - @SerializedName("payout_reconciliation_report") - PayoutReconciliationReport payoutReconciliationReport; - @SerializedName("payouts") Payouts payouts; @@ -277,31 +271,6 @@ public static class Features extends StripeObject { } } - /** - * For more details about BalanceReport, please refer to the API Reference. - */ - @Getter - @Setter - @EqualsAndHashCode(callSuper = false) - public static class BalanceReport extends StripeObject { - /** Whether the embedded component is enabled. */ - @SerializedName("enabled") - Boolean enabled; - - @SerializedName("features") - Features features; - - /** - * For more details about Features, please refer to the API Reference. - */ - @Getter - @Setter - @EqualsAndHashCode(callSuper = false) - public static class Features extends StripeObject {} - } - /** * For more details about Balances, please refer to the API Reference. @@ -882,31 +851,6 @@ public static class PayoutDetails extends StripeObject { public static class Features extends StripeObject {} } - /** - * For more details about PayoutReconciliationReport, please refer to the API Reference. - */ - @Getter - @Setter - @EqualsAndHashCode(callSuper = false) - public static class PayoutReconciliationReport extends StripeObject { - /** Whether the embedded component is enabled. */ - @SerializedName("enabled") - Boolean enabled; - - @SerializedName("features") - Features features; - - /** - * For more details about Features, please refer to the API Reference. - */ - @Getter - @Setter - @EqualsAndHashCode(callSuper = false) - public static class Features extends StripeObject {} - } - /** * For more details about Payouts, please refer to the API * Reference. diff --git a/src/main/java/com/stripe/param/AccountSessionCreateParams.java b/src/main/java/com/stripe/param/AccountSessionCreateParams.java index 6cda259d079..d64d4518df2 100644 --- a/src/main/java/com/stripe/param/AccountSessionCreateParams.java +++ b/src/main/java/com/stripe/param/AccountSessionCreateParams.java @@ -153,14 +153,6 @@ public static class Components { @SerializedName("account_onboarding") AccountOnboarding accountOnboarding; - /** - * Configuration for the balance - * report embedded component. - */ - @SerializedName("balance_report") - BalanceReport balanceReport; - /** * Configuration for the balances @@ -274,14 +266,6 @@ public static class Components { @SerializedName("payout_details") PayoutDetails payoutDetails; - /** - * Configuration for the payout - * reconciliation report embedded component. - */ - @SerializedName("payout_reconciliation_report") - PayoutReconciliationReport payoutReconciliationReport; - /** * Configuration for the payouts embedded @@ -317,7 +301,6 @@ public static class Components { private Components( AccountManagement accountManagement, AccountOnboarding accountOnboarding, - BalanceReport balanceReport, Balances balances, DisputesList disputesList, Documents documents, @@ -332,14 +315,12 @@ private Components( PaymentDisputes paymentDisputes, Payments payments, PayoutDetails payoutDetails, - PayoutReconciliationReport payoutReconciliationReport, Payouts payouts, PayoutsList payoutsList, TaxRegistrations taxRegistrations, TaxSettings taxSettings) { this.accountManagement = accountManagement; this.accountOnboarding = accountOnboarding; - this.balanceReport = balanceReport; this.balances = balances; this.disputesList = disputesList; this.documents = documents; @@ -354,7 +335,6 @@ private Components( this.paymentDisputes = paymentDisputes; this.payments = payments; this.payoutDetails = payoutDetails; - this.payoutReconciliationReport = payoutReconciliationReport; this.payouts = payouts; this.payoutsList = payoutsList; this.taxRegistrations = taxRegistrations; @@ -370,8 +350,6 @@ public static class Builder { private AccountOnboarding accountOnboarding; - private BalanceReport balanceReport; - private Balances balances; private DisputesList disputesList; @@ -400,8 +378,6 @@ public static class Builder { private PayoutDetails payoutDetails; - private PayoutReconciliationReport payoutReconciliationReport; - private Payouts payouts; private PayoutsList payoutsList; @@ -415,7 +391,6 @@ public AccountSessionCreateParams.Components build() { return new AccountSessionCreateParams.Components( this.accountManagement, this.accountOnboarding, - this.balanceReport, this.balances, this.disputesList, this.documents, @@ -430,7 +405,6 @@ public AccountSessionCreateParams.Components build() { this.paymentDisputes, this.payments, this.payoutDetails, - this.payoutReconciliationReport, this.payouts, this.payoutsList, this.taxRegistrations, @@ -459,17 +433,6 @@ public Builder setAccountOnboarding( return this; } - /** - * Configuration for the balance - * report embedded component. - */ - public Builder setBalanceReport( - AccountSessionCreateParams.Components.BalanceReport balanceReport) { - this.balanceReport = balanceReport; - return this; - } - /** * Configuration for the balances @@ -636,18 +599,6 @@ public Builder setPayoutDetails( return this; } - /** - * Configuration for the payout - * reconciliation report embedded component. - */ - public Builder setPayoutReconciliationReport( - AccountSessionCreateParams.Components.PayoutReconciliationReport - payoutReconciliationReport) { - this.payoutReconciliationReport = payoutReconciliationReport; - return this; - } - /** * Configuration for the payouts @@ -1098,154 +1049,6 @@ public Builder putAllExtraParam(Map map) { } } - @Getter - @EqualsAndHashCode(callSuper = false) - public static class BalanceReport { - /** Required. Whether the embedded component is enabled. */ - @SerializedName("enabled") - Boolean enabled; - - /** - * Map of extra parameters for custom features not available in this client library. The - * content in this map is not serialized under this field's {@code @SerializedName} value. - * Instead, each key/value pair is serialized as if the key is a root-level field (serialized) - * name in this param object. Effectively, this map is flattened to its parent instance. - */ - @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY) - Map extraParams; - - /** An empty list, because this embedded component has no features. */ - @SerializedName("features") - Features features; - - private BalanceReport(Boolean enabled, Map extraParams, Features features) { - this.enabled = enabled; - this.extraParams = extraParams; - this.features = features; - } - - public static Builder builder() { - return new Builder(); - } - - public static class Builder { - private Boolean enabled; - - private Map extraParams; - - private Features features; - - /** Finalize and obtain parameter instance from this builder. */ - public AccountSessionCreateParams.Components.BalanceReport build() { - return new AccountSessionCreateParams.Components.BalanceReport( - this.enabled, this.extraParams, this.features); - } - - /** Required. Whether the embedded component is enabled. */ - public Builder setEnabled(Boolean enabled) { - this.enabled = enabled; - return this; - } - - /** - * Add a key/value pair to `extraParams` map. A map is initialized for the first - * `put/putAll` call, and subsequent calls add additional key/value pairs to the original - * map. See {@link AccountSessionCreateParams.Components.BalanceReport#extraParams} for the - * field documentation. - */ - public Builder putExtraParam(String key, Object value) { - if (this.extraParams == null) { - this.extraParams = new HashMap<>(); - } - this.extraParams.put(key, value); - return this; - } - - /** - * Add all map key/value pairs to `extraParams` map. A map is initialized for the first - * `put/putAll` call, and subsequent calls add additional key/value pairs to the original - * map. See {@link AccountSessionCreateParams.Components.BalanceReport#extraParams} for the - * field documentation. - */ - public Builder putAllExtraParam(Map map) { - if (this.extraParams == null) { - this.extraParams = new HashMap<>(); - } - this.extraParams.putAll(map); - return this; - } - - /** An empty list, because this embedded component has no features. */ - public Builder setFeatures( - AccountSessionCreateParams.Components.BalanceReport.Features features) { - this.features = features; - return this; - } - } - - @Getter - @EqualsAndHashCode(callSuper = false) - public static class Features { - /** - * Map of extra parameters for custom features not available in this client library. The - * content in this map is not serialized under this field's {@code @SerializedName} value. - * Instead, each key/value pair is serialized as if the key is a root-level field - * (serialized) name in this param object. Effectively, this map is flattened to its parent - * instance. - */ - @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY) - Map extraParams; - - private Features(Map extraParams) { - this.extraParams = extraParams; - } - - public static Builder builder() { - return new Builder(); - } - - public static class Builder { - private Map extraParams; - - /** Finalize and obtain parameter instance from this builder. */ - public AccountSessionCreateParams.Components.BalanceReport.Features build() { - return new AccountSessionCreateParams.Components.BalanceReport.Features( - this.extraParams); - } - - /** - * Add a key/value pair to `extraParams` map. A map is initialized for the first - * `put/putAll` call, and subsequent calls add additional key/value pairs to the original - * map. See {@link - * AccountSessionCreateParams.Components.BalanceReport.Features#extraParams} for the field - * documentation. - */ - public Builder putExtraParam(String key, Object value) { - if (this.extraParams == null) { - this.extraParams = new HashMap<>(); - } - this.extraParams.put(key, value); - return this; - } - - /** - * Add all map key/value pairs to `extraParams` map. A map is initialized for the first - * `put/putAll` call, and subsequent calls add additional key/value pairs to the original - * map. See {@link - * AccountSessionCreateParams.Components.BalanceReport.Features#extraParams} for the field - * documentation. - */ - public Builder putAllExtraParam(Map map) { - if (this.extraParams == null) { - this.extraParams = new HashMap<>(); - } - this.extraParams.putAll(map); - return this; - } - } - } - } - @Getter @EqualsAndHashCode(callSuper = false) public static class Balances { @@ -3976,157 +3779,6 @@ public Builder putAllExtraParam(Map map) { } } - @Getter - @EqualsAndHashCode(callSuper = false) - public static class PayoutReconciliationReport { - /** Required. Whether the embedded component is enabled. */ - @SerializedName("enabled") - Boolean enabled; - - /** - * Map of extra parameters for custom features not available in this client library. The - * content in this map is not serialized under this field's {@code @SerializedName} value. - * Instead, each key/value pair is serialized as if the key is a root-level field (serialized) - * name in this param object. Effectively, this map is flattened to its parent instance. - */ - @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY) - Map extraParams; - - /** An empty list, because this embedded component has no features. */ - @SerializedName("features") - Features features; - - private PayoutReconciliationReport( - Boolean enabled, Map extraParams, Features features) { - this.enabled = enabled; - this.extraParams = extraParams; - this.features = features; - } - - public static Builder builder() { - return new Builder(); - } - - public static class Builder { - private Boolean enabled; - - private Map extraParams; - - private Features features; - - /** Finalize and obtain parameter instance from this builder. */ - public AccountSessionCreateParams.Components.PayoutReconciliationReport build() { - return new AccountSessionCreateParams.Components.PayoutReconciliationReport( - this.enabled, this.extraParams, this.features); - } - - /** Required. Whether the embedded component is enabled. */ - public Builder setEnabled(Boolean enabled) { - this.enabled = enabled; - return this; - } - - /** - * Add a key/value pair to `extraParams` map. A map is initialized for the first - * `put/putAll` call, and subsequent calls add additional key/value pairs to the original - * map. See {@link - * AccountSessionCreateParams.Components.PayoutReconciliationReport#extraParams} for the - * field documentation. - */ - public Builder putExtraParam(String key, Object value) { - if (this.extraParams == null) { - this.extraParams = new HashMap<>(); - } - this.extraParams.put(key, value); - return this; - } - - /** - * Add all map key/value pairs to `extraParams` map. A map is initialized for the first - * `put/putAll` call, and subsequent calls add additional key/value pairs to the original - * map. See {@link - * AccountSessionCreateParams.Components.PayoutReconciliationReport#extraParams} for the - * field documentation. - */ - public Builder putAllExtraParam(Map map) { - if (this.extraParams == null) { - this.extraParams = new HashMap<>(); - } - this.extraParams.putAll(map); - return this; - } - - /** An empty list, because this embedded component has no features. */ - public Builder setFeatures( - AccountSessionCreateParams.Components.PayoutReconciliationReport.Features features) { - this.features = features; - return this; - } - } - - @Getter - @EqualsAndHashCode(callSuper = false) - public static class Features { - /** - * Map of extra parameters for custom features not available in this client library. The - * content in this map is not serialized under this field's {@code @SerializedName} value. - * Instead, each key/value pair is serialized as if the key is a root-level field - * (serialized) name in this param object. Effectively, this map is flattened to its parent - * instance. - */ - @SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY) - Map extraParams; - - private Features(Map extraParams) { - this.extraParams = extraParams; - } - - public static Builder builder() { - return new Builder(); - } - - public static class Builder { - private Map extraParams; - - /** Finalize and obtain parameter instance from this builder. */ - public AccountSessionCreateParams.Components.PayoutReconciliationReport.Features build() { - return new AccountSessionCreateParams.Components.PayoutReconciliationReport.Features( - this.extraParams); - } - - /** - * Add a key/value pair to `extraParams` map. A map is initialized for the first - * `put/putAll` call, and subsequent calls add additional key/value pairs to the original - * map. See {@link - * AccountSessionCreateParams.Components.PayoutReconciliationReport.Features#extraParams} - * for the field documentation. - */ - public Builder putExtraParam(String key, Object value) { - if (this.extraParams == null) { - this.extraParams = new HashMap<>(); - } - this.extraParams.put(key, value); - return this; - } - - /** - * Add all map key/value pairs to `extraParams` map. A map is initialized for the first - * `put/putAll` call, and subsequent calls add additional key/value pairs to the original - * map. See {@link - * AccountSessionCreateParams.Components.PayoutReconciliationReport.Features#extraParams} - * for the field documentation. - */ - public Builder putAllExtraParam(Map map) { - if (this.extraParams == null) { - this.extraParams = new HashMap<>(); - } - this.extraParams.putAll(map); - return this; - } - } - } - } - @Getter @EqualsAndHashCode(callSuper = false) public static class Payouts {