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

Create SourceTypeModel sealed class #2196

Merged
merged 1 commit into from
Feb 18, 2020
Merged

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

  • Create SourceTypeModel sealed class
  • Create Card and SepaDebit subclasses

Motivation

This represents type-specific model data (e.g. Card data, SEPA Debit data).
Future type-specific model data will be migrated to using SourceTypeModel.

Testing

Updated unit tests

Summary
- Create `SourceTypeModel` sealed class
- Create `Card` and `SepaDebit` subclasses

Motivation
This represents type-specific model data (e.g. Card data, SEPA Debit data).
Future type-specific model data will be migrated to using `SourceTypeModel`.

Testing
Updated unit tests
@mshafrir-stripe mshafrir-stripe merged commit 4d2fb87 into master Feb 18, 2020
@mshafrir-stripe mshafrir-stripe deleted the source-type-model branch February 18, 2020 17:58
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.

None yet

4 participants