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

Make Token.Type an enum #2566

Merged
merged 1 commit into from
Jun 10, 2020
Merged

Make Token.Type an enum #2566

merged 1 commit into from
Jun 10, 2020

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

  • Make Token.Type an enum
  • Fix PersonTokenParams's token type
  • Remove Token.fromString()

Motivation

Make Token more ergonomic

Testing

Update tests

- Fix `PersonTokenParams`'s token type
- Remove `Token.fromString()`
@mshafrir-stripe mshafrir-stripe merged commit 1deecfa into master Jun 10, 2020
@mshafrir-stripe mshafrir-stripe deleted the token-type branch June 10, 2020 17:33
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.

None yet

3 participants