Public Member Functions | |
validateBasketAmount ($dAmount, $blAllowUnevenAmounts) | |
validatePaymentInputData ($sPaymentId, &$aDynvalue) | |
Protected Attributes | |
$_aRequiredCCFields | |
$_aPossibleCCType | |
$_aRequiredDCFields |
oxInputValidator.validateBasketAmount | ( | $ | dAmount, | |
$ | blAllowUnevenAmounts | |||
) |
Validates basket amount
float | $dAmount amount of article | |
bool | $blAllowUnevenAmounts true if uneven amounts are allowed |
oxArticleInputException | if amount is not numeric or smaller 0 |
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 |
oxInputValidator.$_aRequiredCCFields [protected] |
Initial value:
array( 'kktype', 'kknumber', 'kkmonth', 'kkyear', 'kkname', 'kkpruef' )
oxInputValidator.$_aPossibleCCType [protected] |
Initial value:
array( 'mcd', // Master Card 'vis', // Visa 'amx', // American Express 'dsc', // Discover 'dnc', // Diners Club 'jcb', // JCB 'swi', // Switch 'dlt', // Delta 'enr' // EnRoute )
oxInputValidator.$_aRequiredDCFields [protected] |
Initial value:
array( 'lsbankname', 'lsblz', 'lsktonr', 'lsktoinhaber' )