SwissQR class

SwissQR class

Class for encoding and decoding the text embedded in the SwissQR code.

The SwissQR type exposes the following members:

Constructors

Constructor Description
init Creates an instance of SwissQR.

Properties

Property Description
amount Gets or sets the payment amount.
Valid values are between 0.01 and 999,999,999.99.
currency Gets or sets the payment currency.
Valid values are “CHF” and “EUR”.
account Gets or sets the creditor’s account number.
Account numbers must be valid IBANs of a bank of Switzerland or Liechtenstein.
Spaces are allowed in the account number.
creditor Gets or sets the creditor address.
reference Gets or sets the creditor payment reference.
The reference is mandatory for SwissQR IBANs, i.e. IBANs in the range CHxx30000xxxxxx
through CHxx31999xxxxx.
If specified, the reference must be either a valid SwissQR reference (corresponding
to ISR reference form) or a valid creditor reference according to ISO 11649 (“RFxxxx”).
Both may contain spaces for formatting.
debtor Gets or sets the debtor address.
The debtor is optional. If it is omitted, both setting this field to null or
setting an address with all null or empty values is ok.
unstructured_message Gets or sets the additional unstructured message.
bill_information Gets or sets the additional structured bill information.

See Also