PHP Class Razorpay\IFSC\IFSC

显示文件 Open project: razorpay/ifsc Class Usage Examples

Protected Properties

Property Type Description
$bankNames
$data

Public Methods

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

Protected Methods

Method Description
lookupNumeric ( array $list, $branchCode )
lookupRanges ( array $list, $branchCode )
lookupString ( array $list, $branchCode )

Method Details

getBankName() public static method

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

init() public static method

public static init ( )

lookupNumeric() protected static method

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

lookupRanges() protected static method

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

lookupString() protected static method

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

validate() public static method

public static validate ( $code )

validateBankCode() public static method

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

Property Details

$bankNames protected_oe static_oe property

protected static $bankNames

$data protected_oe static_oe property

protected static $data