Iban
in package
Iban class.
Table of Contents
- getIbanValue() : string
- Function returns IBAN value.
- addLeadingZeros() : string
- Add leading zeros to payer id if necessary.
- checkIfFieldHasMandatoryParams() : bool
- Checks if field params has mandatory values.
- createRandomPayerId() : string
- Create randomly payer id by pattern.
- getPayerId() : string
- Create payers id value for IBAN.
Methods
getIbanValue()
Function returns IBAN value.
public
getIbanValue(array<string|int, mixed> $fieldParams, Vtiger_Record_Model $recordModel) : string
Parameters
- $fieldParams : array<string|int, mixed>
- $recordModel : Vtiger_Record_Model
Return values
string —addLeadingZeros()
Add leading zeros to payer id if necessary.
protected
addLeadingZeros(int $payerCharactersAmount, string $valueForPayerId) : string
Parameters
- $payerCharactersAmount : int
- $valueForPayerId : string
Return values
string —checkIfFieldHasMandatoryParams()
Checks if field params has mandatory values.
protected
checkIfFieldHasMandatoryParams() : bool
@throws \App\Exceptions\AppException
Return values
bool —createRandomPayerId()
Create randomly payer id by pattern.
protected
createRandomPayerId() : string
Return values
string —getPayerId()
Create payers id value for IBAN.
protected
getPayerId() : string