-
Notifications
You must be signed in to change notification settings - Fork 2
BankAccount
- Iban
- Country
- Albania
- Andorra
- Austria
- Azerbaijan
- Bahrain
- Belgium
- BosniaAndHerzegovina
- Brazil
- BritishVirginIslands
- Bulgaria
- CostaRica
- Croatia
- Cyprus
- CzechRepublic
- Denmark
- DominicanRepublic
- EastTimor
- Estonia
- FaroeIslands
- Finland
- France
- Georgia
- Germany
- Greece
- Greenland
- Guatemala
- Hungary
- Iceland
- Ireland
- Israel
- Italy
- Jordan
- Country
Validates the input (string
) to be a valid Albanian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Albania;
(new Albania())->validate('AL47212110090000000235698741');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Albania
when the validated value is not a valid Albanian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Andorran IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Andorra;
(new Andorra())->validate('AD1200012030200359100100');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Andorra
when the validated value is not a valid Andorran IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Austrian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Austria;
(new Austria())->validate('AT611904300234573201');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Austria
when the validated value is not a valid Austrian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Azerbaijani IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Azerbaijan;
(new Azerbaijan())->validate('AZ21NABZ00000000137010001944');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Azerbaijan
when the validated value is not a valid Azerbaijani IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Bahraini IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Bahrain;
(new Bahrain())->validate('BH67BMAG00001299123456');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Bahrain
when the validated value is not a valid Bahraini IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Belgium IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Belgium;
(new Belgium())->validate('BE68539007547034');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Belgium
when the validated value is not a valid Belgium IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Belgian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Belgium;
(new Belgium())->validate('BE68539007547034');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Belgium
when the validated value is not a valid Belgian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Bosnian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\BosniaAndHerzegovina;
(new BosniaAndHerzegovina())->validate('BA391290079401028494');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.BosniaAndHerzegovina
when the validated value is not a valid Bosnian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Brazilian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Brazil;
(new Brazil())->validate('BR9700360305000010009795493P1');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Brazil
when the validated value is not a valid Brazilian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid IBAN code from the British Virgin Islands.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\BritishVirginIslands;
(new BritishVirginIslands())->validate('VG96VPVG0000012345678901');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.BritishVirginIslands
when the validated value is not a valid IBAN code from the British Virgin Islands -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Bulgarian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Bulgaria;
(new Bulgaria())->validate('BG80BNBG96611020345678');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Bulgaria
when the validated value is not a valid Bulgarian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Bulgarian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Bulgaria;
(new Bulgaria())->validate('BG80BNBG96611020345678');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Bulgaria
when the validated value is not a valid Bulgarian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Costa Rican IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\CostaRica;
(new CostaRica())->validate('CR05015202001026284066');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.CostaRica
when the validated value is not a valid Costa Rican IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Croatian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Croatia;
(new Croatia())->validate('HR1210010051863000160');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Croatia
when the validated value is not a valid Croatian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Cypriot IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Cyprus;
(new Cyprus())->validate('CY17002001280000001200527600');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Cyprus
when the validated value is not a valid Cypriot IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Czech IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\CzechRepublic;
(new CzechRepublic())->validate('CZ6508000000192000145399');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.CzechRepublic
when the validated value is not a valid Czech IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Danish IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Denmark;
(new Denmark())->validate('DK5000400440116243');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Denmark
when the validated value is not a valid Danish IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Dominican IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\DominicanRepublic;
(new DominicanRepublic())->validate('DO28BAGR00000001212453611324');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.DominicanRepublic
when the validated value is not a valid Dominican IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid East Timor IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\EastTimor;
(new EastTimor())->validate('TL380080012345678910157');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.EastTimor
when the validated value is not a valid East Timor IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Estonian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Estonia;
(new Estonia())->validate('EE382200221020145685');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Estonia
when the validated value is not a valid Estonian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid IBAN code from the Faroe Islands.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\FaroeIslands;
(new FaroeIslands())->validate('FO2000400440116243');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.FaroeIslands
when the validated value is not a valid IBAN code from the FaroeIslands -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Finnish IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Finland;
(new Finland())->validate('FI2112345600000785');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Finland
when the validated value is not a valid Finnish IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid French IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\France;
(new France())->validate('FR1420041010050500013M02606');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.France
when the validated value is not a valid French IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Georgian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Georgia;
(new Georgia())->validate('GE29NB0000000101904917');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Georgia
when the validated value is not a valid Georgian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid German IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Germany;
(new Germany())->validate('DE89370400440532013000');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Germany
when the validated value is not a valid German IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Gibraltarian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Gibraltar;
(new Gibraltar())->validate('GI75NWBK000000007099453');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Gibraltar
when the validated value is not a valid Gibraltarian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Greece IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Greece;
(new Greece())->validate('GR1601101250000000012300695');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Greece
when the validated value is not a valid Greece IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Greenlandish IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Greenland;
(new Greenland())->validate('GL2000400440116243');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Greenland
when the validated value is not a valid Greenlandish IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Guatemalan IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Guatemala;
(new Guatemala())->validate('GT82TRAJ01020000001210029690');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Guatemala
when the validated value is not a valid Guatemalan IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Hungarian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Hungary;
(new Hungary())->validate('HU42117730161111101800000000');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Hungary
when the validated value is not a valid Hungarian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Icelandic IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Iceland;
(new Iceland())->validate('IS140159260076545510730339');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Iceland
when the validated value is not a valid Icelandic IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Irish IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Ireland;
(new Ireland())->validate('IE29AIBK93115212345678');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Ireland
when the validated value is not a valid Irish IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Israeli IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Israel;
(new Israel())->validate('IL620108000000099999999');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Israel
when the validated value is not a valid Israeli IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Italian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Italy;
(new Italy())->validate('IT60X0542811101000000123456');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Italy
when the validated value is not a valid Italian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Jordanian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Jordan;
(new Jordan())->validate('JO94CBJO0010000000000131000302');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Jordan
when the validated value is not a valid Jordanian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid