• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class SwissQRBill

Represents the data for a Swiss QR Bill payment. Based on the Swiss QR Bill Implementation Guidelines.

Inheritance
object
SwissQRBill
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Barcode.Complex
Assembly: DRIT.Barcode.dll
Syntax
public class SwissQRBill

Properties

Amount

Gets or sets the payment amount (max 12 digits, no decimal point).

Declaration
public decimal Amount { get; set; }
Property Value
Type Description
decimal

BillingInformation

Gets or sets the billing information (max 140 chars).

Declaration
public string BillingInformation { get; set; }
Property Value
Type Description
string

CreditorAddress

Gets or sets the creditor address (max 70 chars).

Declaration
public string CreditorAddress { get; set; }
Property Value
Type Description
string

CreditorCity

Gets or sets the creditor city (max 35 chars).

Declaration
public string CreditorCity { get; set; }
Property Value
Type Description
string

CreditorCountry

Gets or sets the creditor country (2-letter ISO code).

Declaration
public string CreditorCountry { get; set; }
Property Value
Type Description
string

CreditorIBAN

Gets or sets the creditor IBAN (must start with CH or LI).

Declaration
public string CreditorIBAN { get; set; }
Property Value
Type Description
string

CreditorName

Gets or sets the creditor name (max 70 chars).

Declaration
public string CreditorName { get; set; }
Property Value
Type Description
string

CreditorPostalCode

Gets or sets the creditor postal code (max 16 chars).

Declaration
public string CreditorPostalCode { get; set; }
Property Value
Type Description
string

Currency

Gets or sets the currency (CHF or EUR).

Declaration
public string Currency { get; set; }
Property Value
Type Description
string

DebtorAddress

Gets or sets the debtor address (optional, max 70 chars).

Declaration
public string DebtorAddress { get; set; }
Property Value
Type Description
string

DebtorCity

Gets or sets the debtor city (optional, max 35 chars).

Declaration
public string DebtorCity { get; set; }
Property Value
Type Description
string

DebtorCountry

Gets or sets the debtor country (optional, 2-letter ISO code).

Declaration
public string DebtorCountry { get; set; }
Property Value
Type Description
string

DebtorName

Gets or sets the debtor name (optional, max 70 chars).

Declaration
public string DebtorName { get; set; }
Property Value
Type Description
string

DebtorPostalCode

Gets or sets the debtor postal code (optional, max 16 chars).

Declaration
public string DebtorPostalCode { get; set; }
Property Value
Type Description
string

Reference

Gets or sets the reference number (max 27 chars for QRR/SCOR).

Declaration
public string Reference { get; set; }
Property Value
Type Description
string

ReferenceType

Gets or sets the reference type (QRR, SCOR, or NON).

Declaration
public string ReferenceType { get; set; }
Property Value
Type Description
string

UnstructuredMessage

Gets or sets the unstructured message (max 140 chars).

Declaration
public string UnstructuredMessage { get; set; }
Property Value
Type Description
string

Methods

Serialize()

Serializes the Swiss QR Bill data into the text format for QR encoding.

Declaration
public string Serialize()
Returns
Type Description
string

The serialized text.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX