OXID eShop CE
6.1.4
|
Public Member Functions | |
isValidCard ($number, $type="", $date="") | |
Protected Member Functions | |
_isValidType ($type, $number) | |
_isExpired ($date) | |
_isValidNumer ($number) | |
Protected Attributes | |
$_aCardsInfo | |
Credit card validation class
|
protected |
Checks credit card expiration date. Returns TRUE if card is not expired
string | $date | credit card type |
|
protected |
checks credit card number. Returns TRUE if card number is valid
string | $number | credit card number |
|
protected |
Checks credit card type. Returns TRUE if card is valid
string | $type | credit card type |
string | $number | credit card number |
OxidEsales\EshopCommunity\Core\CreditCardValidator::isValidCard | ( | $number, | |
$type = "" , |
|||
$date = "" |
|||
) |
Checks if provided credit card information is valid. Returns TRUE if valid
object | $number | credit card number |
string | $type | credit card type [optional] |
string | $date | card expiration date [optional] |
|
protected |