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

Return createdAt value for credit card in cart responses. #557

Merged
merged 1 commit into from
Dec 18, 2016

Conversation

vkorbut
Copy link
Contributor

@vkorbut vkorbut commented Dec 9, 2016

This PR just adds CreditCard.createdAt field.

But CreditCard becomes class with 23 fields and therefore it cannot be used in slick (scala supports max 22 fields in tuple)
So address related fields were moved to a separate CreditCardAddress class.

Fixes https://app.yodiz.com/plan/pages/scrum-board.vz?cid=31946&pid=3&iid=3#/app/bg-15

@@ -18,6 +18,18 @@ import utils.aliases._
import utils.aliases.stripe._
import utils.db._

case class CreditCardAddress(
Copy link
Contributor

Choose a reason for hiding this comment

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

Please rename to BillingAddress

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@vkorbut vkorbut force-pushed the bugfix/credit-cart-created-at branch from bd0cc0c to 7d7f47d Compare December 14, 2016 17:53
@annappropriate annappropriate merged commit 9778779 into master Dec 18, 2016
@annappropriate annappropriate deleted the bugfix/credit-cart-created-at branch December 18, 2016 13:38
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