diff --git a/TeamDBAwesome/TeamDBAwesome/js/HolderService.js b/TeamDBAwesome/TeamDBAwesome/js/HolderService.js index 6f0ee39..31c4bd9 100644 --- a/TeamDBAwesome/TeamDBAwesome/js/HolderService.js +++ b/TeamDBAwesome/TeamDBAwesome/js/HolderService.js @@ -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 { @@ -40,6 +57,9 @@ }, getBlankTrack: function () { return Blank_Track; + }, + getBlankPayment: function () { + return Blank_Payment; } };