Skip to content

Commit

Permalink
Merge upstream and update generated code for v1370
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Nov 20, 2024
2 parents 38bda52 + cf528f2 commit ae73e44
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
24 changes: 22 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## 28.1.0 - 2024-11-20
* [#1923](https://github.com/stripe/stripe-java/pull/1923) This release changes the pinned API version to `2024-11-20.acacia`.
* Add support for `respond` test helper method on resource `Issuing.Authorization`
* Add support for `authorizer` on `AccountPersonsParams.relationship` and `TokenCreateParams.person.relationship`
* Add support for `adaptive_pricing` on `Checkout.Session` and `checkout.SessionCreateParams`
* Add support for `mandate_options` on `Checkout.Session.payment_method_options.bacs_debit`, `Checkout.Session.payment_method_options.sepa_debit`, `checkout.SessionCreateParams.payment_method_options.bacs_debit`, and `checkout.SessionCreateParams.payment_method_options.sepa_debit`
* Add support for `request_extended_authorization`, `request_incremental_authorization`, `request_multicapture`, and `request_overcapture` on `Checkout.Session.payment_method_options.card` and `checkout.SessionCreateParams.payment_method_options.card`
* Add support for `capture_method` on `checkout.SessionCreateParams.payment_method_options.kakao_pay`, `checkout.SessionCreateParams.payment_method_options.kr_card`, `checkout.SessionCreateParams.payment_method_options.naver_pay`, `checkout.SessionCreateParams.payment_method_options.payco`, and `checkout.SessionCreateParams.payment_method_options.samsung_pay`
* Add support for new value `subscribe` on enums `PaymentLinkCreateParams.submit_type` and `checkout.SessionCreateParams.submit_type`
* Add support for new value `li_vat` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `TaxIdCreateParams.type`, and `tax.CalculationCreateParams.customer_details.tax_ids[].type`
* Add support for new value `financial_account_statement` on enum `FileListParams.purpose`
* Add support for `account_holder_address`, `account_holder_name`, `account_type`, and `bank_address` on `FundingInstructions.bank_transfer.financial_addresses[].aba`, `FundingInstructions.bank_transfer.financial_addresses[].swift`, `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].aba`, and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].swift`
* Add support for new value `service_tax` on enums `InvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type`, `TaxRateCreateParams.tax_type`, and `TaxRateUpdateParams.tax_type`
* Add support for `merchant_amount` and `merchant_currency` on `issuing.AuthorizationCreateParams`
* Change `issuing.AuthorizationCreateParams.amount` to be optional
* Add support for `fraud_challenges` and `verified_by_fraud_challenge` on `Issuing.Authorization`
* Add support for new value `link` on enums `PaymentIntentConfirmParams.payment_method_options.card.network`, `PaymentIntentCreateParams.payment_method_options.card.network`, `PaymentIntentUpdateParams.payment_method_options.card.network`, `SetupIntentConfirmParams.payment_method_options.card.network`, `SetupIntentCreateParams.payment_method_options.card.network`, `SetupIntentUpdateParams.payment_method_options.card.network`, `SubscriptionCreateParams.payment_settings.payment_method_options.card.network`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.card.network`
* Add support for `submit_type` on `PaymentLinkUpdateParams`
* Add support for `trace_id` on `Payout`
* Add support for `network_decline_code` on `Refund.destination_details.blik` and `Refund.destination_details.swish`
* Add support for new value `2024-11-20.acacia` on enum `WebhookEndpointCreateParams.api_version`

## 28.1.0-beta.3 - 2024-11-14
* [#1922](https://github.com/stripe/stripe-java/pull/1922) Update generated code for beta
* Add support for `account_holder_address` and `bank_address` on `FundingInstructions.bank_transfer.financial_addresses[].iban`, `FundingInstructions.bank_transfer.financial_addresses[].sort_code`, `FundingInstructions.bank_transfer.financial_addresses[].spei`, `FundingInstructions.bank_transfer.financial_addresses[].zengin`, `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].iban`, `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].sort_code`, `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei`, and `PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin`
Expand Down Expand Up @@ -44,8 +66,6 @@

## 28.0.1 - 2024-11-06
* [#1919](https://github.com/stripe/stripe-java/pull/1919) Catch `JsonSyntaxException` when processing all errors
* [#1916](https://github.com/stripe/stripe-java/pull/1916) Restore `testReportsRawRequestUsageTelemetry` test
* [#1915](https://github.com/stripe/stripe-java/pull/1915) add major version blurb to changelog

## 28.0.0 - 2024-10-29

Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1369
v1370
3 changes: 3 additions & 0 deletions src/main/java/com/stripe/param/InvoiceCreateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -1996,6 +1996,7 @@ public static class PaymentSettings {
* invoice’s default payment method, the subscription’s default payment method, the customer’s
* default payment method, and your <a
* href="https://dashboard.stripe.com/settings/billing/invoice">invoice template settings</a>.
* Should not be specified with payment_method_configuration
*/
@SerializedName("payment_method_types")
Object paymentMethodTypes;
Expand Down Expand Up @@ -2126,6 +2127,7 @@ public Builder addAllPaymentMethodType(
* invoice’s default payment method, the subscription’s default payment method, the customer’s
* default payment method, and your <a
* href="https://dashboard.stripe.com/settings/billing/invoice">invoice template settings</a>.
* Should not be specified with payment_method_configuration
*/
public Builder setPaymentMethodTypes(EmptyParam paymentMethodTypes) {
this.paymentMethodTypes = paymentMethodTypes;
Expand All @@ -2138,6 +2140,7 @@ public Builder setPaymentMethodTypes(EmptyParam paymentMethodTypes) {
* invoice’s default payment method, the subscription’s default payment method, the customer’s
* default payment method, and your <a
* href="https://dashboard.stripe.com/settings/billing/invoice">invoice template settings</a>.
* Should not be specified with payment_method_configuration
*/
public Builder setPaymentMethodTypes(
List<InvoiceCreateParams.PaymentSettings.PaymentMethodType> paymentMethodTypes) {
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/stripe/param/InvoiceUpdateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -2006,6 +2006,7 @@ public static class PaymentSettings {
* invoice’s default payment method, the subscription’s default payment method, the customer’s
* default payment method, and your <a
* href="https://dashboard.stripe.com/settings/billing/invoice">invoice template settings</a>.
* Should not be specified with payment_method_configuration
*/
@SerializedName("payment_method_types")
Object paymentMethodTypes;
Expand Down Expand Up @@ -2136,6 +2137,7 @@ public Builder addAllPaymentMethodType(
* invoice’s default payment method, the subscription’s default payment method, the customer’s
* default payment method, and your <a
* href="https://dashboard.stripe.com/settings/billing/invoice">invoice template settings</a>.
* Should not be specified with payment_method_configuration
*/
public Builder setPaymentMethodTypes(EmptyParam paymentMethodTypes) {
this.paymentMethodTypes = paymentMethodTypes;
Expand All @@ -2148,6 +2150,7 @@ public Builder setPaymentMethodTypes(EmptyParam paymentMethodTypes) {
* invoice’s default payment method, the subscription’s default payment method, the customer’s
* default payment method, and your <a
* href="https://dashboard.stripe.com/settings/billing/invoice">invoice template settings</a>.
* Should not be specified with payment_method_configuration
*/
public Builder setPaymentMethodTypes(
List<InvoiceUpdateParams.PaymentSettings.PaymentMethodType> paymentMethodTypes) {
Expand Down

0 comments on commit ae73e44

Please sign in to comment.