ClassSwissQRCodeValueStringBuilder
Holds the information needed for a SwissQRCode to be validated and generated.
Definition
Namespace:Telerik.Barcode
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class SwissQRCodeValueStringBuilder : QRCodeValueStringBuilderBase, IQRCodeValueStringBuilder
Inheritance: objectQRCodeValueStringBuilderBaseSwissQRCodeValueStringBuilder
Implements:
Constructors
SwissQRCodeValueStringBuilder(Iban, SwissQRCodeCurrency, Contact, Reference, AdditionalInformation, Contact, decimal?, AlternativeProcedure)
Initializes a new instance of the SwissQRCodeValueStringBuilder class.
Declaration
public SwissQRCodeValueStringBuilder(Iban iban, SwissQRCodeCurrency currency, Contact creditor, Reference reference, AdditionalInformation additionalInformation = null, Contact debtor = null, decimal? amount = null, AlternativeProcedure alternativeProcedure = null)
Parameters
iban
The IBAN of the Account/Payable to.
currency
The currency of the payment.
creditor
Information of the contact that receives the payment.
reference
Reference information for the payment.
additionalInformation
Optional additional information for the payment.
debtor
Optional information of the contact that makes the payment.
amount
Optional amount of the payment.
alternativeProcedure
Optional alternative procedures for the payment.
Properties
AdditionalInformation
Gets the additional information for the payment.
Declaration
public AdditionalInformation AdditionalInformation { get; }
Property Value
AlternativeProcedure
Gets the alternative procedures for the payment.
Declaration
public AlternativeProcedure AlternativeProcedure { get; }
Property Value
Amount
Gets the amount of the payment.
Creditor
Gets the information of the contact that receives the payment.
Currency
Gets the currency of the payment.
Declaration
public SwissQRCodeCurrency Currency { get; }
Property Value
Debtor
Gets the information of the contact that makes the payment.
Iban
Gets the IBAN of the Account/Payable to.
Methods
BuildValue()
Builds the string value to be provided to the RadBarcode when encoding a SwissQRCode.
Validate()
Validates the instance. Validates all fields and relations between them.