Skip to content

Add legal_entity fields to StripeConnectAccount#588

Merged
joshsmith merged 1 commit intodevelopfrom
add-legal-entity-fields-to-stripe-connect-account
Dec 21, 2016
Merged

Add legal_entity fields to StripeConnectAccount#588
joshsmith merged 1 commit intodevelopfrom
add-legal-entity-fields-to-stripe-connect-account

Conversation

@begedin
Copy link
Contributor

@begedin begedin commented Dec 21, 2016

What's in this PR?

This PR adds a migration with all of the legal entity fields added to the stripe_connect_accounts table.

In order to make this as simple as possible, I also did a rewrite of the associated adapter, so it now uses a new, more explicit, mapping-based approach. This provides a nice overview of how each field is mapped and hopefully facilitates future mapping changes.

Considering the amount of fields we have right now, it may be possible we end up needing mapping in a different direction, so the new system will help with that as well, although I did not develop it with that in mind.

References

Fixes #587

@joshsmith joshsmith force-pushed the add-legal-entity-fields-to-stripe-connect-account branch from a0ceb90 to 8115289 Compare December 21, 2016 21:53
@joshsmith joshsmith merged commit dd77535 into develop Dec 21, 2016
@joshsmith joshsmith deleted the add-legal-entity-fields-to-stripe-connect-account branch December 21, 2016 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants