Class
SwissQRCodeValueStringBuilder

Holds the information needed for a SwissQRCode to be validated and generated.

Definition

Namespace:Telerik.Barcode

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class SwissQRCodeValueStringBuilder : QRCodeValueStringBuilderBase, IQRCodeValueStringBuilder

Inheritance: objectQRCodeValueStringBuilderBaseSwissQRCodeValueStringBuilder

Implements: IQRCodeValueStringBuilder

Constructors

SwissQRCodeValueStringBuilder(Iban, SwissQRCodeCurrency, Contact, Reference, AdditionalInformation, Contact, decimal?, AlternativeProcedure)

Initializes a new instance of the SwissQRCodeValueStringBuilder class.

Declaration

cs-api-definition
public SwissQRCodeValueStringBuilder(Iban iban, SwissQRCodeCurrency currency, Contact creditor, Reference reference, AdditionalInformation additionalInformation = null, Contact debtor = null, decimal? amount = null, AlternativeProcedure alternativeProcedure = null)

Parameters

iban

Iban

The IBAN of the Account/Payable to.

currency

SwissQRCodeCurrency

The currency of the payment.

creditor

Contact

Information of the contact that receives the payment.

reference

Reference

Reference information for the payment.

additionalInformation

AdditionalInformation

Optional additional information for the payment.

debtor

Contact

Optional information of the contact that makes the payment.

amount

decimal?

Optional amount of the payment.

alternativeProcedure

AlternativeProcedure

Optional alternative procedures for the payment.

Properties

AdditionalInformation

Gets the additional information for the payment.

Declaration

cs-api-definition
public AdditionalInformation AdditionalInformation { get; }

Property Value

AdditionalInformation

AlternativeProcedure

Gets the alternative procedures for the payment.

Declaration

cs-api-definition
public AlternativeProcedure AlternativeProcedure { get; }

Property Value

AlternativeProcedure

Amount

Gets the amount of the payment.

Declaration

cs-api-definition
public decimal? Amount { get; }

Property Value

decimal?

Creditor

Gets the information of the contact that receives the payment.

Declaration

cs-api-definition
public Contact Creditor { get; }

Property Value

Contact

Currency

Gets the currency of the payment.

Declaration

cs-api-definition
public SwissQRCodeCurrency Currency { get; }

Property Value

SwissQRCodeCurrency

Debtor

Gets the information of the contact that makes the payment.

Declaration

cs-api-definition
public Contact Debtor { get; }

Property Value

Contact

Iban

Gets the IBAN of the Account/Payable to.

Declaration

cs-api-definition
public Iban Iban { get; }

Property Value

Iban

Reference

Gets the reference information for the payment.

Declaration

cs-api-definition
public Reference Reference { get; }

Property Value

Reference

Methods

BuildValue()

Builds the string value to be provided to the RadBarcode when encoding a SwissQRCode.

Declaration

cs-api-definition
public override string BuildValue()

Returns

string

Overrides QRCodeValueStringBuilderBase.BuildValue()

Validate()

Validates the instance. Validates all fields and relations between them.

Declaration

cs-api-definition
public override string Validate()

Returns

string

Overrides QRCodeValueStringBuilderBase.Validate()