View Source IbanEx.Country.PT (iban_ex v0.1.8)

Portugal IBAN parsing rules

Examples

    iex>  %IbanEx.Iban{
    ...>    country_code: "PT",
    ...>    check_digits: "50",
    ...>    bank_code: "0002",
    ...>    branch_code: "0123",
    ...>    national_check: "54",
    ...>    account_number: "12345678901"
    ...>  }
    ...>  |> IbanEx.Country.PT.to_string()
    "PT 50 0002 0123 12345678901 54"

Summary

Functions

Return Regex for parsing complete BBAN (part of IBAN string)

Functions

@spec rule() :: Regex.t()

Return Regex for parsing complete BBAN (part of IBAN string)