Added all SEPA countries (IBANs from European Union countries) and minimal test coverage for countries

This commit is contained in:
2024-03-10 20:02:20 -04:00
parent 6b5f3676c8
commit fdf28f7609
39 changed files with 685 additions and 9 deletions

View File

@@ -1,6 +1,13 @@
defmodule IbanEx.Country.CH do
@moduledoc """
Switzerland IBAN parsing rules
## Examples
iex> %IbanEx.Iban{country_code: "CH", check_digits: "93", bank_code: "00762", branch_code: nil, national_check: nil, account_number: "011623852957"}
iex> |> IbanEx.Country.CH.to_string()
"CH 93 00762 011623852957"
"""
@size 21