PHP Class Razorpay\IFSC\IFSC

Afficher le fichier Open project: razorpay/ifsc Class Usage Examples

Protected Properties

Свойство Type Description
$bankNames
$data

Méthodes publiques

Méthode Description
getBankName ( string $bankCode ) : string Returns a valid display-friendly bank name
init ( )
validate ( $code )
validateBankCode ( string $bankCode ) : boolean Validates a given bank code

Méthodes protégées

Méthode Description
lookupNumeric ( array $list, $branchCode )
lookupRanges ( array $list, $branchCode )
lookupString ( array $list, $branchCode )

Method Details

getBankName() public static méthode

Returns a valid display-friendly bank name
public static getBankName ( string $bankCode ) : string
$bankCode string valid 4 character bank code
Résultat string or null

init() public static méthode

public static init ( )

lookupNumeric() protected static méthode

protected static lookupNumeric ( array $list, $branchCode )
$list array

lookupRanges() protected static méthode

protected static lookupRanges ( array $list, $branchCode )
$list array

lookupString() protected static méthode

protected static lookupString ( array $list, $branchCode )
$list array

validate() public static méthode

public static validate ( $code )

validateBankCode() public static méthode

Validates a given bank code
public static validateBankCode ( string $bankCode ) : boolean
$bankCode string 4 character bank code
Résultat boolean

Property Details

$bankNames protected_oe static_oe property

protected static $bankNames

$data protected_oe static_oe property

protected static $data