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

Remove deprecated methods #1699

Merged
merged 2 commits into from
Oct 14, 2019
Merged

Remove deprecated methods #1699

merged 2 commits into from
Oct 14, 2019

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

  • Replace Stripe#createTokenSynchronous(Card) with
    Stripe#createCardTokenSynchronous(Card)
  • Replace Card#getCVC() with Card#getCvc()
  • Remove AddPaymentMethodActivity#EXTRA_NEW_PAYMENT_METHOD.
    Use AddPaymentMethodActivityStarter.Result.fromIntent() instead.
  • Create overloaded ShippingMethod constructor with optional
    detail argument.

Motivation

These are breaking changes that will go out as part of
upcoming v12 release.

- Replace `Stripe#createTokenSynchronous(Card)` with
  `Stripe#createCardTokenSynchronous(Card)`
- Replace `Card#getCVC()` with `Card#getCvc()`
- Remove `AddPaymentMethodActivity#EXTRA_NEW_PAYMENT_METHOD`.
  Use `AddPaymentMethodActivityStarter.Result.fromIntent()` instead.
- Create overloaded `ShippingMethod` constructor with optional
  `detail` argument.

These are breaking changes that will go out as part of
upcoming v12 release.
@mshafrir-stripe mshafrir-stripe merged commit eab5814 into master Oct 14, 2019
@mshafrir-stripe mshafrir-stripe deleted the remove-deprecated branch October 14, 2019 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants