-
Notifications
You must be signed in to change notification settings - Fork 0
Interface SepaCntryValidation
Stefan Kientzler edited this page Aug 18, 2021
·
5 revisions
Full name: \SKien\Sepa\CntryValidation\SepaCntryValidation
All classes to define the country specific validation of IBAN, BIC and CI must implement this interface.
Method | Description |
---|---|
__construct | Create instance of validation. |
validateBIC | Validates given BIC. |
validateCI | Validates given CI (Creditor Scheme Identification). |
validateIBAN | Validates given IBAN. |
Create instance of validation.
public SepaCntryValidation::__construct(string $strCntry)
Parameters:
Parameter | Type | Description |
---|---|---|
strCntry |
string | 2 sign country code (ISO 3166-1) |
Validates given BIC.
public SepaCntryValidation::validateBIC(string $strBIC) : int
Parameters:
Parameter | Type | Description |
---|---|---|
strBIC |
string | BIC to validate |
Return Type: int
OK ( 0 ) or errorcode
Validates given CI (Creditor Scheme Identification).
public SepaCntryValidation::validateCI(string $strCI) : int
Parameters:
Parameter | Type | Description |
---|---|---|
strCI |
string | CI to validate |
Return Type: int
OK ( 0 ) or errorcode
Validates given IBAN.
public SepaCntryValidation::validateIBAN(string $strIBAN) : int
Parameters:
Parameter | Type | Description |
---|---|---|
strIBAN |
string | IBAN to validate |
Return Type: int
OK ( 0 ) or errorcode
build with phpDocumentor 3 using template phpdoc2githubwiki / (2021-08-31)