New to Telerik UI for .NET MAUIStart a free 30-day trial

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

Definition

Namespace:Telerik.Barcode

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class SwissQRCodeValueStringBuilder : QRCodeValueStringBuilderBase, IQRCodeValueStringBuilder

Inheritance: objectQRCodeValueStringBuilderBaseSwissQRCodeValueStringBuilder

Implements: IQRCodeValueStringBuilder

Constructors

Initializes a new instance of the SwissQRCodeValueStringBuilder class.

C#
public SwissQRCodeValueStringBuilder(Iban iban, SwissQRCodeCurrency currency, Contact creditor, Reference reference, AdditionalInformation additionalInformation = null, Contact debtor = null, decimal? amount = null, AlternativeProcedure alternativeProcedure = null)
Parameters:ibanIban

The IBAN of the Account/Payable to.

currencySwissQRCodeCurrency

The currency of the payment.

creditorContact

Information of the contact that receives the payment.

referenceReference

Reference information for the payment.

additionalInformationAdditionalInformation

Optional additional information for the payment.

debtorContact

Optional information of the contact that makes the payment.

amountdecimal?

Optional amount of the payment.

alternativeProcedureAlternativeProcedure

Optional alternative procedures for the payment.

Properties

Gets the additional information for the payment.

C#
public AdditionalInformation AdditionalInformation { get; }

Gets the alternative procedures for the payment.

C#
public AlternativeProcedure AlternativeProcedure { get; }

Gets the amount of the payment.

C#
public decimal? Amount { get; }

Gets the information of the contact that receives the payment.

C#
public Contact Creditor { get; }

Gets the currency of the payment.

C#
public SwissQRCodeCurrency Currency { get; }

Gets the information of the contact that makes the payment.

C#
public Contact Debtor { get; }

Gets the IBAN of the Account/Payable to.

C#
public Iban Iban { get; }

Gets the reference information for the payment.

C#
public Reference Reference { get; }

Methods

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

C#
public override string BuildValue()
Returns:

string

Overrides: QRCodeValueStringBuilderBase.BuildValue()

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

C#
public override string Validate()
Returns:

string

Overrides: QRCodeValueStringBuilderBase.Validate()