Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added blank payment to the JS
  • Loading branch information
Jeremy Mill committed Dec 2, 2015
1 parent 694f2f7 commit fc5dcef
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions TeamDBAwesome/TeamDBAwesome/js/HolderService.js
Expand Up @@ -32,6 +32,23 @@
UnitPrice: null,
};

var Blank_Payment = {
//everyone needs cust id and type
CustomerId: null,
//types are strings
//"CC" = credit card
//"AP" = apple pay
//"GP" = google pay
Type: null,
//Token is needed if it's AP of GP
token: null,
//email only if it's GP
email: null,
//these two only if it's a CC
cardnum: null,
expr_date: null
}


//create the accessor for it
return {
Expand All @@ -40,6 +57,9 @@
},
getBlankTrack: function () {
return Blank_Track;
},
getBlankPayment: function () {
return Blank_Payment;
}
};

Expand Down

0 comments on commit fc5dcef

Please sign in to comment.