diff --git a/lib/models/Card.js b/lib/models/Card.js index 8bdb194..a1e8429 100644 --- a/lib/models/Card.js +++ b/lib/models/Card.js @@ -13,6 +13,7 @@ module.exports = EntityBase.extend({ Active: null, Currency: null, Validity: null, - Fingerprint: null + Fingerprint: null, + CardHolderName: null } }); \ No newline at end of file diff --git a/lib/models/CardRegistration.js b/lib/models/CardRegistration.js index e3e035e..89f5471 100644 --- a/lib/models/CardRegistration.js +++ b/lib/models/CardRegistration.js @@ -13,7 +13,8 @@ var CardRegistration = Model.extend({ ResultCode: null, ResultMessage: null, Currency: null, - Status: null + Status: null, + CardHolderName: null }, getReadOnlyProperties: function() { diff --git a/typings/models/card.d.ts b/typings/models/card.d.ts index 9ecfbde..af6d2bb 100644 --- a/typings/models/card.d.ts +++ b/typings/models/card.d.ts @@ -72,6 +72,11 @@ export namespace card { * A unique representation of a 16-digits card number */ Fingerprint: string; + + /** + * The cardholder’s name shown on the payment card + */ + CardHolderName: string; } interface UpdateCard { diff --git a/typings/models/cardRegistration.d.ts b/typings/models/cardRegistration.d.ts index 4b0af63..94edd61 100644 --- a/typings/models/cardRegistration.d.ts +++ b/typings/models/cardRegistration.d.ts @@ -3,8 +3,22 @@ import { card } from "./card"; import { entityBase } from "./entityBase"; export namespace cardRegistration { - type UpdateCardRegistration = PickPartialRequired; + type UpdateCardRegistration = { + /** + * The unique identifier of the Card Registration object. + */ + Id: string; + + /** + * The string returned by the tokenization server after the Tokenize the card call is made. + */ + RegistrationData: string; + + /** + * The cardholder’s name shown on the payment card + */ + CardHolderName?: string; + } interface CardRegistrationData extends entityBase.EntityBaseData { /**