Created
June 2, 2014 22:05
-
-
Save sbailliez/06ebfdbabf9b382f66df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Customer customer = new Customer(); | |
.... save customer ... | |
Card card = new Card(cardHref); | |
if (card.customer == null) { | |
card.associateToCustomer(customer); | |
} | |
Debit debit = card.debit(...); | |
DebitResult result = from(debit); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment