From 8e4ea53663c68e6bb3799121a1d52a40acc0b737 Mon Sep 17 00:00:00 2001 From: Iulian Masar Date: Tue, 30 Apr 2024 13:24:18 +0300 Subject: [PATCH] updated PaymentMethodMetadata --- lib/models/PaymentMethodMetadata.js | 8 -------- typings/models/payIn.d.ts | 26 ++++++++++++++++++-------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/lib/models/PaymentMethodMetadata.js b/lib/models/PaymentMethodMetadata.js index 4b34083..2f3a9bb 100644 --- a/lib/models/PaymentMethodMetadata.js +++ b/lib/models/PaymentMethodMetadata.js @@ -20,10 +20,6 @@ var PaymentMethodMetadata = EntityBase.extend({ * CRYPTOGRAM_3DS – The card is enrolled in the customer’s Google Wallet and authentication is handled by the Android device. */ TokenFormat: null, - /** - * The type of the card. Allowed / Returned / Default values: CREDIT, DEBIT, CHARGE CARD - */ - CardType: null, /** * The country where the card was issued. Format: ISO-3166 alpha-2 two-letter country code */ @@ -32,10 +28,6 @@ var PaymentMethodMetadata = EntityBase.extend({ * The name of the card issuer. */ IssuingBank: null, - /** - * Whether the card is held in a personal or commercial capacity. - */ - CommercialIndicator: null, /** * Additional data about the card based on the BIN. In the case of co-branded card products, two objects are returned. */ diff --git a/typings/models/payIn.d.ts b/typings/models/payIn.d.ts index 0a40653..cb546d1 100644 --- a/typings/models/payIn.d.ts +++ b/typings/models/payIn.d.ts @@ -1982,6 +1982,16 @@ export namespace payIn { * The card brand. Examples include: AMERICAN EXPRESS, DISCOVER, JCB, MASTERCARD, VISA, etc. */ Brand: string; + + /** + * Whether the card is held in a personal or commercial capacity. + */ + CommercialIndicator: string; + + /** + * The type of the card. Allowed / Returned / Default values: CREDIT, DEBIT, CHARGE CARD + */ + CardType: string; } interface PaymentMethodMetadata { @@ -1989,36 +1999,34 @@ export namespace payIn { * The type of metadata. Allowed values: BIN, GOOGLE_PAY */ Type: string; + /** * The bank identification number (BIN). (Format: 6 or 8 digits) */ Bin: string; + /** * The tokenized payment data provided by the third-party payment method. */ Token: string; + /** * In the case of Google Pay, the format of the Token. * PAN_ONLY – The card is registered in the Google account and requires 3DS authentication. * CRYPTOGRAM_3DS – The card is enrolled in the customer’s Google Wallet and authentication is handled by the Android device. */ TokenFormat: string; - /** - * The type of the card. Allowed / Returned / Default values: CREDIT, DEBIT, CHARGE CARD - */ - CardType: string; + /** * The country where the card was issued. Format: ISO-3166 alpha-2 two-letter country code */ IssuerCountryCode: string; + /** * The name of the card issuer. */ IssuingBank: string; - /** - * Whether the card is held in a personal or commercial capacity. - */ - CommercialIndicator: string; + /** * Additional data about the card based on the BIN. In the case of co-branded card products, two objects are returned. */ @@ -2030,10 +2038,12 @@ export namespace payIn { * The type of metadata. Allowed values: BIN, GOOGLE_PAY */ Type: string; + /** * The bank identification number (BIN). (Format: 6 or 8 digits) */ Bin?: string; + /** * The tokenized payment data provided by the third-party payment method. */