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 Card model fields immutable #1046

Merged
merged 1 commit into from
Jun 4, 2019
Merged

Make Card model fields immutable #1046

merged 1 commit into from
Jun 4, 2019

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

Make Card model fields immutable
Remove @Deprecated methods in Card, including Card#getType()

Motivation

We prefer immutable models for consistency and reliability

Remove `@Deprecated` methods in `Card`, including `Card#getType()`
@mshafrir-stripe mshafrir-stripe merged commit d4cc1b2 into master Jun 4, 2019
@mshafrir-stripe mshafrir-stripe deleted the refactor-card branch June 4, 2019 15:36
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