SwissQrBill.AlternativeScheme (swiss_qr_bill v0.1.2)

Copy Markdown View Source

Alternative payment scheme parameter for Swiss QR bills. Maximum 2 alternative schemes are allowed per bill.

Summary

Functions

Creates an alternative scheme.

Returns the QR code data fields.

Types

t()

@type t() :: %SwissQrBill.AlternativeScheme{parameter: String.t()}

Functions

new(parameter)

@spec new(String.t()) :: t()

Creates an alternative scheme.

qr_code_data(alternative_scheme)

@spec qr_code_data(t()) :: [String.t()]

Returns the QR code data fields.