Skip to main content

Crate bank_barcode

Crate bank_barcode 

Source
Expand description

Generate Finnish virtual bank barcodes (pankkiviivakoodi).

This crate produces the digit string for both version 4 and version 5 of the Finnish virtual bank barcode as defined in the Finanssiala specification.

Build a Barcode through BarcodeBuilder and format it via its Display implementation.

Structs§

Barcode
This struct represents a bank barcode(pankkiviivakoodi). It stores information about the IBAN, the sum (max 999999.99€), a reference number (20 digits for V4, 23 digits for V5) and the due date.
BarcodeBuilder
This struct is used to construct a Barcode

Enums§

BarcodeVersion
A representation on different versions of the bank barcode
BuilderError
Errors that may occur while building a Barcode.