Skip to content

Commit

Permalink
Merge pull request #28 from processout/enhance-google-pay-constructor
Browse files Browse the repository at this point in the history
add contact and cardholder name to payload for Google Pay
  • Loading branch information
simeon-kostadinov-cko authored Sep 7, 2021
2 parents 92a75c0 + 580b1c4 commit 1c87eb5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ public Card(String id, String cvc) {
this.cvc = cvc;
}

public Card(TokenType tokenType, String paymentToken) {
public Card(TokenType tokenType, String paymentToken, String cardHolderName, Contact contact) {
this.tokenType = tokenType;
this.paymentToken = paymentToken;
this.cardHolderName = cardHolderName;
this.contact = contact;
}

public Card(String cardNumbers, int expMonth, int expYear, String cvc) {
Expand Down

0 comments on commit 1c87eb5

Please sign in to comment.