faker.providers.bank.fil_PH
¶
Package Contents¶
Classes¶
Implement bank provider for |
|
Implement bank provider for |
- class faker.providers.bank.fil_PH.EnPhBankProvider(generator: Any)¶
Bases:
faker.providers.bank.Provider
Implement bank provider for
en_PH
locale.- country_code = 'PH'¶
- bban_format = '################'¶
- swift_bank_codes = ('ANZB', 'AUBK', 'BKCH', 'BKKB', 'BNOR', 'BNPA', 'BOFA', 'BOPI', 'BOTK', 'BPDI', 'BPFS', 'BPGO',...¶
- swift_location_codes = ('22', '2X', 'M1', 'MM', 'MQ', 'MX')¶
- swift_branch_codes = ('CBU', 'EQI', 'TSU', 'XXX')¶
- bban() str ¶
Generate a Basic Bank Account Number (BBAN).
Warning
Philippine bank accounts do not have BBANs or IBANs, so any number generated by this method is a purely hypothetical number. Local bank account numbers are typically 10 or 12 digits long, so the BBAN format used in this implementation has been arbitrarily set to 16 digits to simulate a hypothetical standardization of account numbers. Using this method will log a warning regarding the hypotheticality of the result.
- iban() str ¶
Generate an International Bank Account Number (IBAN).
Warning
Philippine bank accounts do not have BBANs or IBANs, so any number generated by this method is a purely hypothetical number. This method uses hypothetical PH BBANs and the PH country code as inputs to the IBAN generation algorithm. Using this method will log a warning regarding the hypotheticality of the result.
- class faker.providers.bank.fil_PH.Provider(generator: Any)¶
Bases:
faker.providers.bank.en_PH.Provider
Implement bank provider for
fil_PH
locale.There is no difference from the
en_PH
implementation.