SwissQR

SwissQR class

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

public class SwissQR

Constructors

Name Description
SwissQR() Creates an instance of SwissQR.

Properties

Name Description
Account { get; set; } 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.
Amount { get; set; } Gets or sets the payment amount. Valid values are between 0.01 and 999,999,999.99.
BillInformation { get; set; } Gets or sets the additional structured bill information.
Creditor { get; set; } Gets or sets the creditor address.
Currency { get; set; } Gets or sets the payment currency. Valid values are “CHF” and “EUR”.
Debtor { get; set; } 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.
Reference { get; set; } 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.
UnstructuredMessage { get; set; } Gets or sets the additional unstructured message.

See Also