IMCreditCardValidator

This is payment card validator.

Next list of payment card types are available for the validator:


It can be imported in next way: import {{'{'}}IMCreditCardValidator{{'}'}} from 'im-angular-validators'; To pass parameters, you have to import enum from library: import {{'{'}}IMCreditCardTypeValidatorEnum{{'}'}} from 'im-angular-validators'; Also, error interface that validator returns can be imported as well: import {{'{'}}IMCreditCardErrorInterface{{'}'}} from 'im-angular-validators';


* Pay attention, that all payment cards also checks with Luhn algorithm

Please, take a look at the validator APIs for more detailed information.