Public Member Functions | |
__construct () | |
validateBasketAmount ($dAmount) | |
validatePaymentInputData ($sPaymentId, &$aDynvalue) | |
Protected Attributes | |
$_aRequiredCCFields | |
$_aPossibleCCType | |
$_aRequiredDCFields |
Includes credit card validation class. Calss for validating input
Definition at line 12 of file oxinputvalidator.php.
oxInputValidator.__construct | ( | ) |
Class constructor. The constructor is defined in order to be possible to call parent.__construct() in modules.
Definition at line 59 of file oxinputvalidator.php.
oxInputValidator.validateBasketAmount | ( | $ | dAmount | ) |
Validates basket amount
float | $dAmount amount of article |
oxArticleInputException | if amount is not numeric or smaller 0 |
Definition at line 72 of file oxinputvalidator.php.
oxInputValidator.validatePaymentInputData | ( | $ | sPaymentId, | |
&$ | aDynvalue | |||
) |
Validates payment input data for credit card and debit note
string | $sPaymentId the payment id of current payment | |
array | &$aDynvalue values of payment |
Definition at line 100 of file oxinputvalidator.php.
oxInputValidator.$_aPossibleCCType [protected] |
array( 'mcd', 'vis', 'amx', 'dsc', 'dnc', 'jcb', 'swi', 'dlt', 'enr' )
Definition at line 32 of file oxinputvalidator.php.
oxInputValidator.$_aRequiredCCFields [protected] |
array( 'kktype', 'kknumber', 'kkmonth', 'kkyear', 'kkname', 'kkpruef' )
Definition at line 19 of file oxinputvalidator.php.
oxInputValidator.$_aRequiredDCFields [protected] |
array( 'lsbankname', 'lsblz', 'lsktonr', 'lsktoinhaber' )
Definition at line 48 of file oxinputvalidator.php.