From ae0ab9f1e39d1d1b34b6dafd32c24f0410d7dbc7 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 4 Aug 2023 21:53:00 +0000 Subject: [PATCH 1/9] Update generated code for v449 --- OPENAPI_VERSION | 2 +- .../model/PaymentMethodConfiguration.java | 46 +++++ ...aymentMethodConfigurationCreateParams.java | 186 ++++++++++++++++++ ...aymentMethodConfigurationUpdateParams.java | 186 ++++++++++++++++++ 4 files changed, 419 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 1576a6cba8d..e0f8781c817 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v448 \ No newline at end of file +v449 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/PaymentMethodConfiguration.java b/src/main/java/com/stripe/model/PaymentMethodConfiguration.java index 3124347868b..407849011ff 100644 --- a/src/main/java/com/stripe/model/PaymentMethodConfiguration.java +++ b/src/main/java/com/stripe/model/PaymentMethodConfiguration.java @@ -150,6 +150,9 @@ public class PaymentMethodConfiguration extends ApiResource implements HasId { @SerializedName("paynow") Paynow paynow; + @SerializedName("paypal") + Paypal paypal; + @SerializedName("promptpay") Promptpay promptpay; @@ -1604,6 +1607,49 @@ public static class DisplayPreference extends StripeObject { } } + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class Paypal extends StripeObject { + /** + * Whether this payment method may be offered at checkout. True if {@code display_preference} is + * {@code on} and the payment method's capability is active. + */ + @SerializedName("available") + Boolean available; + + @SerializedName("display_preference") + DisplayPreference displayPreference; + + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class DisplayPreference extends StripeObject { + /** + * For child configurations, whether or not the account's preference will be observed. If + * {@code false}, the parent configuration's preference is used. + */ + @SerializedName("overridable") + Boolean overridable; + + /** + * The account's display preference. + * + *

One of {@code none}, {@code off}, or {@code on}. + */ + @SerializedName("preference") + String preference; + + /** + * The effective display preference value. + * + *

One of {@code off}, or {@code on}. + */ + @SerializedName("value") + String value; + } + } + @Getter @Setter @EqualsAndHashCode(callSuper = false) diff --git a/src/main/java/com/stripe/param/PaymentMethodConfigurationCreateParams.java b/src/main/java/com/stripe/param/PaymentMethodConfigurationCreateParams.java index 86975df4c4e..b3d42b38102 100644 --- a/src/main/java/com/stripe/param/PaymentMethodConfigurationCreateParams.java +++ b/src/main/java/com/stripe/param/PaymentMethodConfigurationCreateParams.java @@ -276,6 +276,14 @@ public class PaymentMethodConfigurationCreateParams extends ApiRequestParams { @SerializedName("paynow") Paynow paynow; + /** + * PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to + * pay using their PayPal account. Check this page for more details. + */ + @SerializedName("paypal") + Paypal paypal; + /** * PromptPay is a Thailand-based payment method that allows customers to make a payment using * their preferred app from participating banks. Check this page for more details. + */ + public Builder setPaypal(PaymentMethodConfigurationCreateParams.Paypal paypal) { + this.paypal = paypal; + return this; + } + /** * PromptPay is a Thailand-based payment method that allows customers to make a payment using * their preferred app from participating banks. Check this extraParams; + + private Paypal(DisplayPreference displayPreference, Map extraParams) { + this.displayPreference = displayPreference; + this.extraParams = extraParams; + } + + public static Builder builder() { + return new Builder(); + } + + public static class Builder { + private DisplayPreference displayPreference; + + private Map extraParams; + + /** Finalize and obtain parameter instance from this builder. */ + public PaymentMethodConfigurationCreateParams.Paypal build() { + return new PaymentMethodConfigurationCreateParams.Paypal( + this.displayPreference, this.extraParams); + } + + /** Whether or not the payment method should be displayed. */ + public Builder setDisplayPreference( + PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference displayPreference) { + this.displayPreference = displayPreference; + 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 + * PaymentMethodConfigurationCreateParams.Paypal#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 PaymentMethodConfigurationCreateParams.Paypal#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 + public static class DisplayPreference { + /** + * 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; + + /** The account's preference for whether or not to display this payment method. */ + @SerializedName("preference") + Preference preference; + + private DisplayPreference(Map extraParams, Preference preference) { + this.extraParams = extraParams; + this.preference = preference; + } + + public static Builder builder() { + return new Builder(); + } + + public static class Builder { + private Map extraParams; + + private Preference preference; + + /** Finalize and obtain parameter instance from this builder. */ + public PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference build() { + return new PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference( + this.extraParams, this.preference); + } + + /** + * 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 + * PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference#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 + * PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference#extraParams} for the + * field documentation. + */ + public Builder putAllExtraParam(Map map) { + if (this.extraParams == null) { + this.extraParams = new HashMap<>(); + } + this.extraParams.putAll(map); + return this; + } + + /** The account's preference for whether or not to display this payment method. */ + public Builder setPreference( + PaymentMethodConfigurationCreateParams.Paypal.DisplayPreference.Preference preference) { + this.preference = preference; + return this; + } + } + + public enum Preference implements ApiRequestParams.EnumParam { + @SerializedName("none") + NONE("none"), + + @SerializedName("off") + OFF("off"), + + @SerializedName("on") + ON("on"); + + @Getter(onMethod_ = {@Override}) + private final String value; + + Preference(String value) { + this.value = value; + } + } + } + } + @Getter public static class Promptpay { /** Whether or not the payment method should be displayed. */ diff --git a/src/main/java/com/stripe/param/PaymentMethodConfigurationUpdateParams.java b/src/main/java/com/stripe/param/PaymentMethodConfigurationUpdateParams.java index 8496ee3ae26..7fde5ee93d2 100644 --- a/src/main/java/com/stripe/param/PaymentMethodConfigurationUpdateParams.java +++ b/src/main/java/com/stripe/param/PaymentMethodConfigurationUpdateParams.java @@ -277,6 +277,14 @@ public class PaymentMethodConfigurationUpdateParams extends ApiRequestParams { @SerializedName("paynow") Paynow paynow; + /** + * PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to + * pay using their PayPal account. Check this page for more details. + */ + @SerializedName("paypal") + Paypal paypal; + /** * PromptPay is a Thailand-based payment method that allows customers to make a payment using * their preferred app from participating banks. Check this page for more details. + */ + public Builder setPaypal(PaymentMethodConfigurationUpdateParams.Paypal paypal) { + this.paypal = paypal; + return this; + } + /** * PromptPay is a Thailand-based payment method that allows customers to make a payment using * their preferred app from participating banks. Check this extraParams; + + private Paypal(DisplayPreference displayPreference, Map extraParams) { + this.displayPreference = displayPreference; + this.extraParams = extraParams; + } + + public static Builder builder() { + return new Builder(); + } + + public static class Builder { + private DisplayPreference displayPreference; + + private Map extraParams; + + /** Finalize and obtain parameter instance from this builder. */ + public PaymentMethodConfigurationUpdateParams.Paypal build() { + return new PaymentMethodConfigurationUpdateParams.Paypal( + this.displayPreference, this.extraParams); + } + + /** Whether or not the payment method should be displayed. */ + public Builder setDisplayPreference( + PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference displayPreference) { + this.displayPreference = displayPreference; + 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 + * PaymentMethodConfigurationUpdateParams.Paypal#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 PaymentMethodConfigurationUpdateParams.Paypal#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 + public static class DisplayPreference { + /** + * 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; + + /** The account's preference for whether or not to display this payment method. */ + @SerializedName("preference") + Preference preference; + + private DisplayPreference(Map extraParams, Preference preference) { + this.extraParams = extraParams; + this.preference = preference; + } + + public static Builder builder() { + return new Builder(); + } + + public static class Builder { + private Map extraParams; + + private Preference preference; + + /** Finalize and obtain parameter instance from this builder. */ + public PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference build() { + return new PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference( + this.extraParams, this.preference); + } + + /** + * 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 + * PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference#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 + * PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference#extraParams} for the + * field documentation. + */ + public Builder putAllExtraParam(Map map) { + if (this.extraParams == null) { + this.extraParams = new HashMap<>(); + } + this.extraParams.putAll(map); + return this; + } + + /** The account's preference for whether or not to display this payment method. */ + public Builder setPreference( + PaymentMethodConfigurationUpdateParams.Paypal.DisplayPreference.Preference preference) { + this.preference = preference; + return this; + } + } + + public enum Preference implements ApiRequestParams.EnumParam { + @SerializedName("none") + NONE("none"), + + @SerializedName("off") + OFF("off"), + + @SerializedName("on") + ON("on"); + + @Getter(onMethod_ = {@Override}) + private final String value; + + Preference(String value) { + this.value = value; + } + } + } + } + @Getter public static class Promptpay { /** Whether or not the payment method should be displayed. */ From 823c9717da42022efa7db45b03b8915a02d23663 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 7 Aug 2023 14:53:33 +0000 Subject: [PATCH 2/9] Update generated code for v450 --- OPENAPI_VERSION | 2 +- src/main/java/com/stripe/model/TaxRate.java | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index e0f8781c817..b46614ccd78 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v449 \ No newline at end of file +v450 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/TaxRate.java b/src/main/java/com/stripe/model/TaxRate.java index 57329e026ce..21a53c3f6ee 100644 --- a/src/main/java/com/stripe/model/TaxRate.java +++ b/src/main/java/com/stripe/model/TaxRate.java @@ -64,8 +64,9 @@ public class TaxRate extends ApiResource implements HasId, MetadataStore Date: Mon, 7 Aug 2023 17:20:57 +0000 Subject: [PATCH 3/9] Update generated code for v451 --- OPENAPI_VERSION | 2 +- src/main/java/com/stripe/model/CreditNoteLineItem.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index b46614ccd78..b54aeebde5c 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v450 \ No newline at end of file +v451 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/CreditNoteLineItem.java b/src/main/java/com/stripe/model/CreditNoteLineItem.java index 43f8b383ca5..78b0f2f3f57 100644 --- a/src/main/java/com/stripe/model/CreditNoteLineItem.java +++ b/src/main/java/com/stripe/model/CreditNoteLineItem.java @@ -9,6 +9,7 @@ import lombok.Getter; import lombok.Setter; +/** The credit note line item object. */ @Getter @Setter @EqualsAndHashCode(callSuper = false) From 1e10a35b0f863570db57ee91ef9ba09dbd5256e9 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 7 Aug 2023 18:51:54 +0000 Subject: [PATCH 4/9] Update generated code for v452 --- OPENAPI_VERSION | 2 +- .../com/stripe/model/BalanceTransaction.java | 26 +++++++++---------- .../param/BalanceTransactionListParams.java | 20 +++++++------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index b54aeebde5c..85c8b08d1cc 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v451 \ No newline at end of file +v452 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/BalanceTransaction.java b/src/main/java/com/stripe/model/BalanceTransaction.java index dd353582dc3..789e3e9a751 100644 --- a/src/main/java/com/stripe/model/BalanceTransaction.java +++ b/src/main/java/com/stripe/model/BalanceTransaction.java @@ -113,25 +113,25 @@ public class BalanceTransaction extends ApiResource implements HasId { * charge}, {@code connect_collection_transfer}, {@code contribution}, {@code * issuing_authorization_hold}, {@code issuing_authorization_release}, {@code issuing_dispute}, * {@code issuing_transaction}, {@code payment}, {@code payment_failure_refund}, {@code - * payment_refund}, {@code payout}, {@code payout_cancel}, {@code payout_failure}, {@code refund}, - * {@code refund_failure}, {@code reserve_transaction}, {@code reserved_funds}, {@code - * stripe_fee}, {@code stripe_fx_fee}, {@code tax_fee}, {@code topup}, {@code topup_reversal}, - * {@code transfer}, {@code transfer_cancel}, {@code transfer_failure}, or {@code - * transfer_refund}. Learn - * more about balance transaction types and what they represent. If you are looking to - * classify transactions for accounting purposes, you might want to consider {@code - * reporting_category} instead. + * payment_refund}, {@code payment_reversal}, {@code payout}, {@code payout_cancel}, {@code + * payout_failure}, {@code refund}, {@code refund_failure}, {@code reserve_transaction}, {@code + * reserved_funds}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code tax_fee}, {@code topup}, + * {@code topup_reversal}, {@code transfer}, {@code transfer_cancel}, {@code transfer_failure}, or + * {@code transfer_refund}. Learn more about balance + * transaction types and what they represent. If you are looking to classify transactions for + * accounting purposes, you might want to consider {@code reporting_category} instead. * *

One of {@code adjustment}, {@code advance}, {@code advance_funding}, {@code * anticipation_repayment}, {@code application_fee}, {@code application_fee_refund}, {@code * charge}, {@code connect_collection_transfer}, {@code contribution}, {@code * issuing_authorization_hold}, {@code issuing_authorization_release}, {@code issuing_dispute}, * {@code issuing_transaction}, {@code payment}, {@code payment_failure_refund}, {@code - * payment_refund}, {@code payout}, {@code payout_cancel}, {@code payout_failure}, {@code refund}, - * {@code refund_failure}, {@code reserve_transaction}, {@code reserved_funds}, {@code - * stripe_fee}, {@code stripe_fx_fee}, {@code tax_fee}, {@code topup}, {@code topup_reversal}, - * {@code transfer}, {@code transfer_cancel}, {@code transfer_failure}, or {@code - * transfer_refund}. + * payment_refund}, {@code payment_reversal}, {@code payout}, {@code payout_cancel}, {@code + * payout_failure}, {@code refund}, {@code refund_failure}, {@code reserve_transaction}, {@code + * reserved_funds}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code tax_fee}, {@code topup}, + * {@code topup_reversal}, {@code transfer}, {@code transfer_cancel}, {@code transfer_failure}, or + * {@code transfer_refund}. */ @SerializedName("type") String type; diff --git a/src/main/java/com/stripe/param/BalanceTransactionListParams.java b/src/main/java/com/stripe/param/BalanceTransactionListParams.java index 142feb442b6..fba8d4cf4f2 100644 --- a/src/main/java/com/stripe/param/BalanceTransactionListParams.java +++ b/src/main/java/com/stripe/param/BalanceTransactionListParams.java @@ -84,11 +84,11 @@ public class BalanceTransactionListParams extends ApiRequestParams { * application_fee_refund}, {@code charge}, {@code connect_collection_transfer}, {@code * contribution}, {@code issuing_authorization_hold}, {@code issuing_authorization_release}, * {@code issuing_dispute}, {@code issuing_transaction}, {@code payment}, {@code - * payment_failure_refund}, {@code payment_refund}, {@code payout}, {@code payout_cancel}, {@code - * payout_failure}, {@code refund}, {@code refund_failure}, {@code reserve_transaction}, {@code - * reserved_funds}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code tax_fee}, {@code topup}, - * {@code topup_reversal}, {@code transfer}, {@code transfer_cancel}, {@code transfer_failure}, or - * {@code transfer_refund}. + * payment_failure_refund}, {@code payment_refund}, {@code payment_reversal}, {@code payout}, + * {@code payout_cancel}, {@code payout_failure}, {@code refund}, {@code refund_failure}, {@code + * reserve_transaction}, {@code reserved_funds}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code + * tax_fee}, {@code topup}, {@code topup_reversal}, {@code transfer}, {@code transfer_cancel}, + * {@code transfer_failure}, or {@code transfer_refund}. */ @SerializedName("type") String type; @@ -303,11 +303,11 @@ public Builder setStartingAfter(String startingAfter) { * application_fee_refund}, {@code charge}, {@code connect_collection_transfer}, {@code * contribution}, {@code issuing_authorization_hold}, {@code issuing_authorization_release}, * {@code issuing_dispute}, {@code issuing_transaction}, {@code payment}, {@code - * payment_failure_refund}, {@code payment_refund}, {@code payout}, {@code payout_cancel}, - * {@code payout_failure}, {@code refund}, {@code refund_failure}, {@code reserve_transaction}, - * {@code reserved_funds}, {@code stripe_fee}, {@code stripe_fx_fee}, {@code tax_fee}, {@code - * topup}, {@code topup_reversal}, {@code transfer}, {@code transfer_cancel}, {@code - * transfer_failure}, or {@code transfer_refund}. + * payment_failure_refund}, {@code payment_refund}, {@code payment_reversal}, {@code payout}, + * {@code payout_cancel}, {@code payout_failure}, {@code refund}, {@code refund_failure}, {@code + * reserve_transaction}, {@code reserved_funds}, {@code stripe_fee}, {@code stripe_fx_fee}, + * {@code tax_fee}, {@code topup}, {@code topup_reversal}, {@code transfer}, {@code + * transfer_cancel}, {@code transfer_failure}, or {@code transfer_refund}. */ public Builder setType(String type) { this.type = type; From a0aef2467c46aa1f6affe4081c3a71932b727b46 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Tue, 8 Aug 2023 17:49:43 +0000 Subject: [PATCH 5/9] Update generated code for v453 --- OPENAPI_VERSION | 2 +- .../java/com/stripe/param/WebhookEndpointCreateParams.java | 3 +++ .../java/com/stripe/param/WebhookEndpointUpdateParams.java | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 85c8b08d1cc..9a80ace3db0 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v452 \ No newline at end of file +v453 \ No newline at end of file diff --git a/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java b/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java index aeb7dfaef48..65ab85f88f7 100644 --- a/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java +++ b/src/main/java/com/stripe/param/WebhookEndpointCreateParams.java @@ -1060,6 +1060,9 @@ public enum EnabledEvent implements ApiRequestParams.EnumParam { @SerializedName("promotion_code.updated") PROMOTION_CODE__UPDATED("promotion_code.updated"), + @SerializedName("quote.accept_failed") + QUOTE__ACCEPT_FAILED("quote.accept_failed"), + @SerializedName("quote.accepted") QUOTE__ACCEPTED("quote.accepted"), diff --git a/src/main/java/com/stripe/param/WebhookEndpointUpdateParams.java b/src/main/java/com/stripe/param/WebhookEndpointUpdateParams.java index 68f0f6a535c..e51b84f219f 100644 --- a/src/main/java/com/stripe/param/WebhookEndpointUpdateParams.java +++ b/src/main/java/com/stripe/param/WebhookEndpointUpdateParams.java @@ -736,6 +736,9 @@ public enum EnabledEvent implements ApiRequestParams.EnumParam { @SerializedName("promotion_code.updated") PROMOTION_CODE__UPDATED("promotion_code.updated"), + @SerializedName("quote.accept_failed") + QUOTE__ACCEPT_FAILED("quote.accept_failed"), + @SerializedName("quote.accepted") QUOTE__ACCEPTED("quote.accepted"), From 480018212b9313e27dce5f993e799844830d6301 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 9 Aug 2023 14:56:12 +0000 Subject: [PATCH 6/9] Update generated code for v454 --- OPENAPI_VERSION | 2 +- .../model/CustomerCashBalanceTransaction.java | 43 +++++++++++++++++-- 2 files changed, 41 insertions(+), 4 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 9a80ace3db0..1c6f65d1b44 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v453 \ No newline at end of file +v454 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/CustomerCashBalanceTransaction.java b/src/main/java/com/stripe/model/CustomerCashBalanceTransaction.java index b4481d06d66..c87807ad437 100644 --- a/src/main/java/com/stripe/model/CustomerCashBalanceTransaction.java +++ b/src/main/java/com/stripe/model/CustomerCashBalanceTransaction.java @@ -17,6 +17,9 @@ @Setter @EqualsAndHashCode(callSuper = false) public class CustomerCashBalanceTransaction extends StripeObject implements HasId { + @SerializedName("adjusted_for_overdraft") + AdjustedForOverdraft adjustedForOverdraft; + @SerializedName("applied_to_payment") AppliedToPayment appliedToPayment; @@ -85,9 +88,9 @@ public class CustomerCashBalanceTransaction extends StripeObject implements HasI * href="https://stripe.com/docs/payments/customer-balance#types">Customer Balance to learn * more about these types. * - *

One of {@code applied_to_payment}, {@code funded}, {@code funding_reversed}, {@code - * refunded_from_payment}, {@code return_canceled}, {@code return_initiated}, or {@code - * unapplied_from_payment}. + *

One of {@code adjusted_for_overdraft}, {@code applied_to_payment}, {@code funded}, {@code + * funding_reversed}, {@code refunded_from_payment}, {@code return_canceled}, {@code + * return_initiated}, or {@code unapplied_from_payment}. */ @SerializedName("type") String type; @@ -113,6 +116,40 @@ public void setCustomerObject(Customer expandableObject) { this.customer = new ExpandableField(expandableObject.getId(), expandableObject); } + @Getter + @Setter + @EqualsAndHashCode(callSuper = false) + public static class AdjustedForOverdraft extends StripeObject { + /** + * The Cash Balance + * Transaction that brought the customer balance negative, triggering the clawback of funds. + */ + @SerializedName("linked_transaction") + @Getter(lombok.AccessLevel.NONE) + @Setter(lombok.AccessLevel.NONE) + ExpandableField linkedTransaction; + + /** Get ID of expandable {@code linkedTransaction} object. */ + public String getLinkedTransaction() { + return (this.linkedTransaction != null) ? this.linkedTransaction.getId() : null; + } + + public void setLinkedTransaction(String id) { + this.linkedTransaction = ApiResource.setExpandableFieldId(id, this.linkedTransaction); + } + + /** Get expanded {@code linkedTransaction}. */ + public CustomerCashBalanceTransaction getLinkedTransactionObject() { + return (this.linkedTransaction != null) ? this.linkedTransaction.getExpanded() : null; + } + + public void setLinkedTransactionObject(CustomerCashBalanceTransaction expandableObject) { + this.linkedTransaction = + new ExpandableField( + expandableObject.getId(), expandableObject); + } + } + @Getter @Setter @EqualsAndHashCode(callSuper = false) From d126998b5e7924442fc7dc096930d6563f47b5c5 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 9 Aug 2023 20:44:51 +0000 Subject: [PATCH 7/9] Update generated code for v455 --- OPENAPI_VERSION | 2 +- src/main/java/com/stripe/model/Account.java | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 1c6f65d1b44..dad490c2365 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v454 \ No newline at end of file +v455 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/Account.java b/src/main/java/com/stripe/model/Account.java index db5d876e55a..2332b0f754e 100644 --- a/src/main/java/com/stripe/model/Account.java +++ b/src/main/java/com/stripe/model/Account.java @@ -281,7 +281,7 @@ public static Account create(AccountCreateParams params, RequestOptions options) * can only be deleted once all balances are zero. * *

If you want to delete your own account, use the account information tab in your account + * href="https://dashboard.stripe.com/settings/account">account information tab in your account * settings instead. */ public Account delete() throws StripeException { @@ -296,7 +296,7 @@ public Account delete() throws StripeException { * can only be deleted once all balances are zero. * *

If you want to delete your own account, use the account information tab in your account + * href="https://dashboard.stripe.com/settings/account">account information tab in your account * settings instead. */ public Account delete(RequestOptions options) throws StripeException { @@ -311,7 +311,7 @@ public Account delete(RequestOptions options) throws StripeException { * can only be deleted once all balances are zero. * *

If you want to delete your own account, use the account information tab in your account + * href="https://dashboard.stripe.com/settings/account">account information tab in your account * settings instead. */ public Account delete(Map params) throws StripeException { @@ -326,7 +326,7 @@ public Account delete(Map params) throws StripeException { * can only be deleted once all balances are zero. * *

If you want to delete your own account, use the account information tab in your account + * href="https://dashboard.stripe.com/settings/account">account information tab in your account * settings instead. */ public Account delete(Map params, RequestOptions options) throws StripeException { @@ -556,7 +556,7 @@ public static Account retrieve( * Custom Only or Custom and Express below. * *

To update your own account, use the Dashboard. Refer to our Dashboard. Refer to our Connect documentation to learn * more about updating accounts. */ @@ -576,7 +576,7 @@ public Account update(Map params) throws StripeException { * Custom Only or Custom and Express below. * *

To update your own account, use the Dashboard. Refer to our Dashboard. Refer to our Connect documentation to learn * more about updating accounts. */ @@ -601,7 +601,7 @@ public Account update(Map params, RequestOptions options) throws * Custom Only or Custom and Express below. * *

To update your own account, use the Dashboard. Refer to our Dashboard. Refer to our Connect documentation to learn * more about updating accounts. */ @@ -620,7 +620,7 @@ public Account update(AccountUpdateParams params) throws StripeException { * Custom Only or Custom and Express below. * *

To update your own account, use the Dashboard. Refer to our Dashboard. Refer to our Connect documentation to learn * more about updating accounts. */ From 93654f74c40f156bcab6862f779a8cce3b38c93f Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 10 Aug 2023 16:23:04 +0000 Subject: [PATCH 8/9] Update generated code for v457 --- OPENAPI_VERSION | 2 +- src/main/java/com/stripe/model/Account.java | 13 +++++++------ .../java/com/stripe/param/AccountCreateParams.java | 8 +++++++- .../java/com/stripe/param/AccountUpdateParams.java | 8 +++++++- .../java/com/stripe/param/TokenCreateParams.java | 8 +++++++- 5 files changed, 29 insertions(+), 10 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index dad490c2365..bb32051fd0d 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v455 \ No newline at end of file +v457 \ No newline at end of file diff --git a/src/main/java/com/stripe/model/Account.java b/src/main/java/com/stripe/model/Account.java index 2332b0f754e..2339276ba8a 100644 --- a/src/main/java/com/stripe/model/Account.java +++ b/src/main/java/com/stripe/model/Account.java @@ -1121,12 +1121,13 @@ public static class Company extends StripeObject { * *

One of {@code free_zone_establishment}, {@code free_zone_llc}, {@code * government_instrumentality}, {@code governmental_unit}, {@code incorporated_non_profit}, - * {@code limited_liability_partnership}, {@code llc}, {@code multi_member_llc}, {@code - * private_company}, {@code private_corporation}, {@code private_partnership}, {@code - * public_company}, {@code public_corporation}, {@code public_partnership}, {@code - * single_member_llc}, {@code sole_establishment}, {@code sole_proprietorship}, {@code - * tax_exempt_government_instrumentality}, {@code unincorporated_association}, or {@code - * unincorporated_non_profit}. + * {@code incorporated_partnership}, {@code limited_liability_partnership}, {@code llc}, {@code + * multi_member_llc}, {@code private_company}, {@code private_corporation}, {@code + * private_partnership}, {@code public_company}, {@code public_corporation}, {@code + * public_partnership}, {@code single_member_llc}, {@code sole_establishment}, {@code + * sole_proprietorship}, {@code tax_exempt_government_instrumentality}, {@code + * unincorporated_association}, {@code unincorporated_non_profit}, or {@code + * unincorporated_partnership}. */ @SerializedName("structure") String structure; diff --git a/src/main/java/com/stripe/param/AccountCreateParams.java b/src/main/java/com/stripe/param/AccountCreateParams.java index 3565b98dd22..a37bbbb727a 100644 --- a/src/main/java/com/stripe/param/AccountCreateParams.java +++ b/src/main/java/com/stripe/param/AccountCreateParams.java @@ -5727,6 +5727,9 @@ public enum Structure implements ApiRequestParams.EnumParam { @SerializedName("incorporated_non_profit") INCORPORATED_NON_PROFIT("incorporated_non_profit"), + @SerializedName("incorporated_partnership") + INCORPORATED_PARTNERSHIP("incorporated_partnership"), + @SerializedName("limited_liability_partnership") LIMITED_LIABILITY_PARTNERSHIP("limited_liability_partnership"), @@ -5770,7 +5773,10 @@ public enum Structure implements ApiRequestParams.EnumParam { UNINCORPORATED_ASSOCIATION("unincorporated_association"), @SerializedName("unincorporated_non_profit") - UNINCORPORATED_NON_PROFIT("unincorporated_non_profit"); + UNINCORPORATED_NON_PROFIT("unincorporated_non_profit"), + + @SerializedName("unincorporated_partnership") + UNINCORPORATED_PARTNERSHIP("unincorporated_partnership"); @Getter(onMethod_ = {@Override}) private final String value; diff --git a/src/main/java/com/stripe/param/AccountUpdateParams.java b/src/main/java/com/stripe/param/AccountUpdateParams.java index 0323f94d474..7da478a5bd0 100644 --- a/src/main/java/com/stripe/param/AccountUpdateParams.java +++ b/src/main/java/com/stripe/param/AccountUpdateParams.java @@ -6038,6 +6038,9 @@ public enum Structure implements ApiRequestParams.EnumParam { @SerializedName("incorporated_non_profit") INCORPORATED_NON_PROFIT("incorporated_non_profit"), + @SerializedName("incorporated_partnership") + INCORPORATED_PARTNERSHIP("incorporated_partnership"), + @SerializedName("limited_liability_partnership") LIMITED_LIABILITY_PARTNERSHIP("limited_liability_partnership"), @@ -6081,7 +6084,10 @@ public enum Structure implements ApiRequestParams.EnumParam { UNINCORPORATED_ASSOCIATION("unincorporated_association"), @SerializedName("unincorporated_non_profit") - UNINCORPORATED_NON_PROFIT("unincorporated_non_profit"); + UNINCORPORATED_NON_PROFIT("unincorporated_non_profit"), + + @SerializedName("unincorporated_partnership") + UNINCORPORATED_PARTNERSHIP("unincorporated_partnership"); @Getter(onMethod_ = {@Override}) private final String value; diff --git a/src/main/java/com/stripe/param/TokenCreateParams.java b/src/main/java/com/stripe/param/TokenCreateParams.java index 6aa327d6df7..2876ba5f6d9 100644 --- a/src/main/java/com/stripe/param/TokenCreateParams.java +++ b/src/main/java/com/stripe/param/TokenCreateParams.java @@ -1598,6 +1598,9 @@ public enum Structure implements ApiRequestParams.EnumParam { @SerializedName("incorporated_non_profit") INCORPORATED_NON_PROFIT("incorporated_non_profit"), + @SerializedName("incorporated_partnership") + INCORPORATED_PARTNERSHIP("incorporated_partnership"), + @SerializedName("limited_liability_partnership") LIMITED_LIABILITY_PARTNERSHIP("limited_liability_partnership"), @@ -1641,7 +1644,10 @@ public enum Structure implements ApiRequestParams.EnumParam { UNINCORPORATED_ASSOCIATION("unincorporated_association"), @SerializedName("unincorporated_non_profit") - UNINCORPORATED_NON_PROFIT("unincorporated_non_profit"); + UNINCORPORATED_NON_PROFIT("unincorporated_non_profit"), + + @SerializedName("unincorporated_partnership") + UNINCORPORATED_PARTNERSHIP("unincorporated_partnership"); @Getter(onMethod_ = {@Override}) private final String value; From c4f8327a38be7ca8b4becc372a5a061895d7a47a Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Thu, 10 Aug 2023 17:44:05 -0700 Subject: [PATCH 9/9] Bump version to 22.32.0-beta.1 --- CHANGELOG.md | 7 ++++++- README.md | 8 ++++---- VERSION | 2 +- gradle.properties | 2 +- src/main/java/com/stripe/Stripe.java | 2 +- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1584be42ac..83509029bf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 22.32.0-beta.1 - 2023-08-10 +* [#1624](https://github.com/stripe/stripe-java/pull/1624) Update generated code for beta + * Add support for `paypal` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration` + * Add support for new value `quote.accept_failed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]` + ## 22.31.0-beta.1 - 2023-08-03 * [#1621](https://github.com/stripe/stripe-java/pull/1621) Update generated code for beta * Add support for `submit_card` test helper method on resource `Issuing.Card` @@ -12,7 +17,7 @@ ## 22.30.0 - 2023-08-03 * [#1620](https://github.com/stripe/stripe-java/pull/1620) Update generated code - * Change type of `AccountCreateParams.settings.card_issuing.tos_acceptance.user_agent`, `AccountCreateParams.settings.treasury.tos_acceptance.user_agent`, `AccountUpdateParams.settings.card_issuing.tos_acceptance.user_agent`, `AccountUpdateParams.settings.treasury.tos_acceptance.user_agent`, `InvoiceCreateParams.payment_settings.default_mandate`, `InvoiceCreateParams.shipping_details.phone`, `InvoicePayParams.mandate`, `InvoiceUpdateParams.default_source`, `InvoiceUpdateParams.payment_settings.default_mandate`, `InvoiceUpdateParams.shipping_details.phone`, `PaymentIntentConfirmParams.payment_method_data.billing_details.name`, `PaymentIntentConfirmParams.payment_method_data.billing_details.phone`, `PaymentIntentConfirmParams.payment_method_options.konbini.confirmation_number`, `PaymentIntentConfirmParams.payment_method_options.konbini.product_description`, `PaymentIntentCreateParams.payment_method_data.billing_details.name`, `PaymentIntentCreateParams.payment_method_data.billing_details.phone`, `PaymentIntentCreateParams.payment_method_options.konbini.confirmation_number`, `PaymentIntentCreateParams.payment_method_options.konbini.product_description`, `PaymentIntentUpdateParams.payment_method_data.billing_details.name`, `PaymentIntentUpdateParams.payment_method_data.billing_details.phone`, `PaymentIntentUpdateParams.payment_method_options.konbini.confirmation_number`, `PaymentIntentUpdateParams.payment_method_options.konbini.product_description`, `PaymentMethodCreateParams.billing_details.name`, `PaymentMethodCreateParams.billing_details.phone`, `PaymentMethodUpdateParams.billing_details.name`, `PaymentMethodUpdateParams.billing_details.phone`, `ProductUpdateParams.caption`, `ProductUpdateParams.description`, `ProductUpdateParams.unit_label`, `QuoteCreateParams.description`, `QuoteCreateParams.footer`, `QuoteCreateParams.header`, `QuoteUpdateParams.description`, `QuoteUpdateParams.footer`, `QuoteUpdateParams.header`, `QuoteUpdateParams.subscription_data.description`, `SetupIntentConfirmParams.payment_method_data.billing_details.name`, `SetupIntentConfirmParams.payment_method_data.billing_details.phone`, `SetupIntentCreateParams.payment_method_data.billing_details.name`, `SetupIntentCreateParams.payment_method_data.billing_details.phone`, `SetupIntentUpdateParams.payment_method_data.billing_details.name`, `SetupIntentUpdateParams.payment_method_data.billing_details.phone`, `SubscriptionCancelParams.cancellation_details.comment`, `SubscriptionScheduleCreateParams.default_settings.description`, `SubscriptionScheduleCreateParams.phases[].description`, `SubscriptionScheduleUpdateParams.default_settings.description`, `SubscriptionScheduleUpdateParams.phases[].description`, `SubscriptionUpdateParams.cancellation_details.comment`, `SubscriptionUpdateParams.default_source`, `SubscriptionUpdateParams.description`, `TokenCreateParams.person.documents.company_authorization.files[]`, `TokenCreateParams.person.documents.passport.files[]`, `TokenCreateParams.person.documents.visa.files[]`, `WebhookEndpointCreateParams.description`, `WebhookEndpointUpdateParams.description`, `billingportal.ConfigurationCreateParams.business_profile.headline`, `billingportal.ConfigurationUpdateParams.business_profile.headline`, `issuing.CardholderCreateParams.individual.card_issuing.user_terms_acceptance.user_agent`, `issuing.CardholderUpdateParams.individual.card_issuing.user_terms_acceptance.user_agent`, `issuing.DisputeCreateParams.evidence.canceled.cancellation_reason`, `issuing.DisputeCreateParams.evidence.canceled.explanation`, `issuing.DisputeCreateParams.evidence.canceled.product_description`, `issuing.DisputeCreateParams.evidence.duplicate.explanation`, `issuing.DisputeCreateParams.evidence.fraudulent.explanation`, `issuing.DisputeCreateParams.evidence.merchandise_not_as_described.explanation`, `issuing.DisputeCreateParams.evidence.merchandise_not_as_described.return_description`, `issuing.DisputeCreateParams.evidence.not_received.explanation`, `issuing.DisputeCreateParams.evidence.not_received.product_description`, `issuing.DisputeCreateParams.evidence.other.explanation`, `issuing.DisputeCreateParams.evidence.other.product_description`, `issuing.DisputeCreateParams.evidence.service_not_as_described.cancellation_reason`, `issuing.DisputeCreateParams.evidence.service_not_as_described.explanation`, `issuing.DisputeUpdateParams.evidence.canceled.cancellation_reason`, `issuing.DisputeUpdateParams.evidence.canceled.explanation`, `issuing.DisputeUpdateParams.evidence.canceled.product_description`, `issuing.DisputeUpdateParams.evidence.duplicate.explanation`, `issuing.DisputeUpdateParams.evidence.fraudulent.explanation`, `issuing.DisputeUpdateParams.evidence.merchandise_not_as_described.explanation`, `issuing.DisputeUpdateParams.evidence.merchandise_not_as_described.return_description`, `issuing.DisputeUpdateParams.evidence.not_received.explanation`, `issuing.DisputeUpdateParams.evidence.not_received.product_description`, `issuing.DisputeUpdateParams.evidence.other.explanation`, `issuing.DisputeUpdateParams.evidence.other.product_description`, `issuing.DisputeUpdateParams.evidence.service_not_as_described.cancellation_reason`, `issuing.DisputeUpdateParams.evidence.service_not_as_described.explanation`, `tax.CalculationCreateParams.customer_details.address.city`, `tax.CalculationCreateParams.customer_details.address.line1`, `tax.CalculationCreateParams.customer_details.address.line2`, `tax.CalculationCreateParams.customer_details.address.postal_code`, `tax.CalculationCreateParams.customer_details.address.state`, `terminal.LocationUpdateParams.configuration_overrides`, `terminal.ReaderUpdateParams.label`, `treasury.OutboundPaymentCreateParams.destination_payment_method_data.billing_details.name`, and `treasury.OutboundPaymentCreateParams.destination_payment_method_data.billing_details.phone` from `string` to `emptyStringable(string)` + * Change many types from `string` to `emptyStringable(string)` * Add support for `subscription_details` on `Invoice` * Add support for `preferred_settlement_speed` on `PaymentIntent.payment_method_options.us_bank_account`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account`, `PaymentIntentCreateParams.payment_method_options.us_bank_account`, and `PaymentIntentUpdateParams.payment_method_options.us_bank_account` * Add support for new values `sepa_debit_fingerprint` and `us_bank_account_fingerprint` on enum `radar.ValueListCreateParams.item_type` diff --git a/README.md b/README.md index ee1304a7da1..1300978f35c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Stripe Java client library -[![Maven Central](https://img.shields.io/badge/maven--central-v22.31.0-beta.1-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java) +[![Maven Central](https://img.shields.io/badge/maven--central-v22.32.0-beta.1-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java) [![JavaDoc](http://img.shields.io/badge/javadoc-reference-blue.svg)](https://stripe.dev/stripe-java) [![Build Status](https://github.com/stripe/stripe-java/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/stripe/stripe-java/actions?query=branch%3Amaster) [![Coverage Status](https://coveralls.io/repos/github/stripe/stripe-java/badge.svg?branch=master)](https://coveralls.io/github/stripe/stripe-java?branch=master) @@ -18,7 +18,7 @@ The official [Stripe][stripe] Java client library. Add this dependency to your project's build file: ```groovy -implementation "com.stripe:stripe-java:22.31.0-beta.1" +implementation "com.stripe:stripe-java:22.32.0-beta.1" ``` ### Maven users @@ -29,7 +29,7 @@ Add this dependency to your project's POM: com.stripe stripe-java - 22.31.0-beta.1 + 22.32.0-beta.1 ``` @@ -37,7 +37,7 @@ Add this dependency to your project's POM: You'll need to manually install the following JARs: -- [The Stripe JAR](https://search.maven.org/remotecontent?filepath=com/stripe/stripe-java/22.31.0-beta.1/stripe-java-22.31.0-beta.1.jar) +- [The Stripe JAR](https://search.maven.org/remotecontent?filepath=com/stripe/stripe-java/22.32.0-beta.1/stripe-java-22.32.0-beta.1.jar) - [Google Gson][gson] from . ### [ProGuard][proguard] diff --git a/VERSION b/VERSION index d89cbb4a617..2768d0829c7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -22.31.0-beta.1 +22.32.0-beta.1 diff --git a/gradle.properties b/gradle.properties index 1129b3cb30a..5c69be38c78 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=com.stripe -VERSION_NAME=22.31.0-beta.1 +VERSION_NAME=22.32.0-beta.1 POM_URL=https://github.com/stripe/stripe-java POM_SCM_URL=git@github.com:stripe/stripe-java.git diff --git a/src/main/java/com/stripe/Stripe.java b/src/main/java/com/stripe/Stripe.java index 78b8383ab4e..9fb285b8c2d 100644 --- a/src/main/java/com/stripe/Stripe.java +++ b/src/main/java/com/stripe/Stripe.java @@ -18,7 +18,7 @@ public abstract class Stripe { public static final String CONNECT_API_BASE = "https://connect.stripe.com"; public static final String LIVE_API_BASE = "https://api.stripe.com"; public static final String UPLOAD_API_BASE = "https://files.stripe.com"; - public static final String VERSION = "22.31.0-beta.1"; + public static final String VERSION = "22.32.0-beta.1"; public static volatile String apiKey; public static volatile String clientId;