Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Updates #1201

Merged
merged 1 commit into from
May 5, 2021
Merged

API Updates #1201

merged 1 commit into from
May 5, 2021

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.

@@ -456,12 +456,20 @@ public LineItemCollection listLineItems(SessionListLineItemsParams params, Reque
@EqualsAndHashCode(callSuper = false)
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

@@ -18,7 +18,6 @@
factories.add(new BalanceTransactionSourceTypeAdapterFactory());
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