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

Add support for EPS PaymentMethod #2395

Merged
merged 5 commits into from
Apr 17, 2020
Merged

Conversation

smaskell-stripe
Copy link
Contributor

Summary

See title

Motivation

Users should migrate to PaymentMethods but may not be able to if they use EPS

Testing

Wrote unit tests

@@ -164,7 +164,8 @@ data class PaymentMethodCreateParams internal constructor(
Sofort("sofort"),
P24("p24"),
Bancontact("bancontact"),
Giropay("giropay")
Giropay("giropay"),
EPS("eps")
Copy link
Collaborator

Choose a reason for hiding this comment

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

let's make this Eps to be consistent with the other types (e.g. FPX is Fpx)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

@@ -525,6 +526,19 @@ data class PaymentMethodCreateParams internal constructor(
)
}

@JvmStatic
@JvmOverloads
internal fun createEPS(
Copy link
Collaborator

Choose a reason for hiding this comment

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

createEps()

@smaskell-stripe smaskell-stripe changed the base branch from smaskell/ANDROID-515 to master April 17, 2020 17:49
@smaskell-stripe
Copy link
Contributor Author

Resolving merge conflicts

@smaskell-stripe smaskell-stripe merged commit 423a7c9 into master Apr 17, 2020
@smaskell-stripe smaskell-stripe deleted the smaskell/ANDROID-516 branch April 17, 2020 19:17
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.

3 participants