ibans 0.0.1-alpha copy "ibans: ^0.0.1-alpha" to clipboard
ibans: ^0.0.1-alpha copied to clipboard

outdated

A starting point for Dart libraries or applications.

ibans #

A simple yet powerful package for validating parsing ibans

Features #

  • Validating IBAN

    • Checks if the country supports iban
    • Validate the IBAN string size for the specific country
    • Validate the check code for countries with fix check code
    • Validate the structure of BBAN for the specific country
    • Validate the entire IBAN using MOD 97 operations described by ISO-7064
  • Parsing IBAN will get the following info

    • Country name
    • Country Alpha2 code
    • Check Code
    • Basic Bank Account Number
    • (If Available) Bank Code
    • (If Available) Account number
    • (If Available) SWIFT
    • (If Available) bank initials
    • (If Available) Bank Name
    • (If Available) Branch code
    • (If Available) Account Type
    • (If Available) Account Holder
    • (If Available) Balance Account Number
    • (If Available) Currency Code

Usage #

Using the package is as simple as shown below

Parse IBAN #

to parse an iban just call


    import 'package:ibans/ibans.dart';
    import 'package:ibans/src/models.dart';

    main() {
      Iban iban = parse('AO06005500009209313310152');
      print(iban.country.code);
      print(iban.country.name);
      print(iban.bank.name);
    }

============ Contributing #

Contributions are welcome, please open an issue or send a PR. Please read our Contributing and code of conduct

======= License #

This project is available under MIT License

4
likes
0
pub points
32%
popularity

Publisher

unverified uploader

A starting point for Dart libraries or applications.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

protobuf

More

Packages that depend on ibans