Skip to content

API Updates#1201

Merged
richardm-stripe merged 1 commit intomasterfrom
latest-codegen
May 5, 2021
Merged

API Updates#1201
richardm-stripe merged 1 commit intomasterfrom
latest-codegen

Conversation

@richardm-stripe
Copy link
Contributor

@richardm-stripe richardm-stripe commented May 5, 2021

Codegen for openapi 7cc2037.
r? @richardm-stripe
cc @stripe/api-libraries

Changelog

  • Added support for card_present on PaymentIntent.payment_method_options
  • Added support for default_incomplete as a payment_behavior on SubscriptionItemCreateParams, SubscriptionUpdateParams, and SubscriptionCreateParams.
  • Added support for single_member_llc as a structure on AccountCreateParams.company and AccountUpdateParams.company.

public static class PaymentMethodOptions extends StripeObject {
@SerializedName("acss_debit")
AcssDebit acssDebit;
CheckoutAcssDebitPaymentMethodOptions acssDebit;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a breaking change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh wow, nice

factories.add(new ExternalAccountTypeAdapterFactory());
factories.add(new PaymentSourceTypeAdapterFactory());
factories.add(new ReflectionCheckingTypeAdapterFactory());
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this?

Copy link
Contributor Author

@richardm-stripe richardm-stripe May 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This came in on #1197, I think I need to rebase this PR off a different master. (nope, need to add this change to codegen)

@richardm-stripe richardm-stripe merged commit d8ba4c9 into master May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants