SwissQRBill Class
SwissQR bill data
Inheritance Hierarchy

Namespace: Aspose.BarCode.ComplexBarcode
Assembly: Aspose.BarCode (in Aspose.BarCode.dll) Version: 20.3.0
public sealed class SwissQRBill : IEquatable<SwissQRBill>

The SwissQRBill type exposes the following members.

Public propertyAccount
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.

Public propertyAlternativeSchemes
Gets ors sets the alternative payment schemes.

A maximum of two schemes with parameters are allowed.

Public propertyAmount
Gets or sets the payment amount.

Valid values are between 0.01 and 999,999,999.99.

Public propertyBillInformation
Gets or sets the additional structured bill information.
Public propertyCreditor
Gets or sets the creditor address.
Public propertyCurrency
Gets or sets the payment currency.

Valid values are "CHF" and "EUR".

Public propertyDebtor
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.

Public propertyReference
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.

Public propertyUnstructuredMessage
Gets or sets the additional unstructured message.
Public propertyVersion
Gets or sets the version of the SwissQR bill standard.
Public methodCreateAndSetCreditorReference
Creates and sets a ISO11649 creditor reference from a raw string by prefixing the String with "RF" and the modulo 97 checksum.

Whitespace is removed from the reference

Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(SwissQRBill)
Determines whether the specified bill is equal to the current bill.
Public methodGetHashCode
Gets the hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also