Holds the creditor's IBAN and provides QR-IBAN detection.
Summary
Functions
Returns the IBAN formatted in groups of 4.
Creates creditor information from an IBAN string. Whitespace is stripped and the IBAN is uppercased.
Returns the QR code data fields.
Returns true if the IBAN is a QR-IBAN (IID in range 30000-31999). QR-IBANs have the institution identification at positions 5-9 (1-indexed).
Types
@type t() :: %SwissQrBill.CreditorInformation{iban: String.t()}
Functions
Returns the IBAN formatted in groups of 4.
Creates creditor information from an IBAN string. Whitespace is stripped and the IBAN is uppercased.
Returns the QR code data fields.
Returns true if the IBAN is a QR-IBAN (IID in range 30000-31999). QR-IBANs have the institution identification at positions 5-9 (1-indexed).