Class SwissQRCodeValueStringBuilder
Holds the information needed for a SwissQRCode to be validated and generated.
Namespace: Telerik.Barcode
Assembly: Telerik.Reporting.dll
Syntax
public class SwissQRCodeValueStringBuilder : QRCodeValueStringBuilderBase, IQRCodeValueStringBuilder
Constructors
SwissQRCodeValueStringBuilder(Iban, SwissQRCodeCurrency, Contact, Reference, AdditionalInformation, Contact, Nullable<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 = default(decimal? ), AlternativeProcedure alternativeProcedure = null)
Parameters
Iban
iban
The IBAN of the Account/Payable to. |
SwissQRCodeCurrency
currency
The currency of the payment. |
Contact
creditor
Information of the contact that receives the payment. |
Reference
reference
Reference information for the payment. |
AdditionalInformation
additionalInformation
Optional additional information for the payment. |
Contact
debtor
Optional information of the contact that makes the payment. |
System.Nullable<System.Decimal>
amount
Optional amount of the payment. |
AlternativeProcedure
alternativeProcedure
Optional alternative procedures for the payment. |
Properties
AdditionalInformation
Gets the additional information for the payment.
Declaration
public AdditionalInformation AdditionalInformation { get; }
Property Value
AdditionalInformation
|
AlternativeProcedure
Gets the alternative procedures for the payment.
Declaration
public AlternativeProcedure AlternativeProcedure { get; }
Property Value
AlternativeProcedure
|
Amount
Gets the amount of the payment.
Declaration
public decimal? Amount { get; }
Property Value
System.Nullable<System.Decimal>
|
Creditor
Gets the information of the contact that receives the payment.
Declaration
public Contact Creditor { get; }
Property Value
Contact
|
Currency
Gets the currency of the payment.
Declaration
public SwissQRCodeCurrency Currency { get; }
Property Value
SwissQRCodeCurrency
|
Debtor
Gets the information of the contact that makes the payment.
Declaration
public Contact Debtor { get; }
Property Value
Contact
|
Iban
Reference
Gets the reference information for the payment.
Declaration
public Reference Reference { get; }
Property Value
Reference
|
Methods
BuildValue()
Builds the string value to be provided to the RadBarcode when encoding a SwissQRCode.
Declaration
public override string BuildValue()
Returns
System.String
|
Overrides
Validate()
Validates the instance. Validates all fields and relations between them.
Declaration
public override string Validate()
Returns
System.String
|