Payment amount and currency for Swiss QR bills. Amount is optional (nil = blank amount box on payment part).
Summary
Functions
Returns the formatted amount for display (with space as thousands separator). Returns empty string if amount is nil.
Creates payment amount information. Amount can be nil (for bills without a fixed amount).
Returns the QR code data fields. Amount is formatted without thousands separator for the QR code.
Types
Functions
Returns the formatted amount for display (with space as thousands separator). Returns empty string if amount is nil.
Creates payment amount information. Amount can be nil (for bills without a fixed amount).
Returns the QR code data fields. Amount is formatted without thousands separator for the QR code.