_validateCardData(cardData) {

			// Validate card number
			var isCardValid = mangoPay._validation._cardNumberValidator._validate(cardData.cardNumber);
			if (isCardValid !== true) return isCardValid;

			// Validate expiration date
			var isDateValid = mangoPay._validation._expirationDateValidator._validate(cardData.cardExpirationDate, new Date());
			if (isDateValid !== true) return isDateValid;

			// Validate card CVx based on card type
			var isCvvValid = mangoPay._validation._cvvValidator._validate(cardData.cardCvx, cardData.cardType);
			if (isCvvValid !== true) return isCvvValid;

			// The data looks good
			return true;

		}
/**
		 * PRIVATE. Validates card data. Returns true if card data is valid or a message string otherwise
		 *
		 * @param {object} cardData Sensitive card details {cardNumber, cardType, cardExpirationDate, cardCvx}
		 */
PRIVATE. Validates card data. Returns true if card data is valid or a message string otherwise
@param {object} cardData Sensitive card details {cardNumber, cardType, cardExpirationDate, cardCvx}
PRIVATE . Validates card data . Returns true if card data is valid or a message string otherwise @param { object } cardData Sensitive card details { cardNumber cardType cardExpirationDate cardCvx }
_validateCardData(cardData) {
			var isCardValid = mangoPay._validation._cardNumberValidator._validate(cardData.cardNumber);
			if (isCardValid !== true) return isCardValid;
			var isDateValid = mangoPay._validation._expirationDateValidator._validate(cardData.cardExpirationDate, new Date());
			if (isDateValid !== true) return isDateValid;
			var isCvvValid = mangoPay._validation._cvvValidator._validate(cardData.cardCvx, cardData.cardType);
			if (isCvvValid !== true) return isCvvValid;
			return true;
		}
_validateCardData ( cardData ) { var isCardValid = mangoPay . _validation . _cardNumberValidator . _validate ( cardData . cardNumber ) ; if ( isCardValid !== true ) return isCardValid ; var isDateValid = mangoPay . _validation . _expirationDateValidator . _validate ( cardData . cardExpirationDate , new Date ( ) ) ; if ( isDateValid !== true ) return isDateValid ; var isCvvValid = mangoPay . _validation . _cvvValidator . _validate ( cardData . cardCvx , cardData . cardType ) ; if ( isCvvValid !== true ) return isCvvValid ; return true ; }
PRIVATE.
PRIVATE .
// Validate card number // Validate expiration date // Validate card CVx based on card type // The data looks good