Aspose::BarCode::ComplexBarcode::SwissQRBill Class Referencefinal

SwissQR bill data More...

Inherits System::IEquatable< System::SharedPtr< Aspose::BarCode::ComplexBarcode::SwissQRBill > >.

Public Types

enum  QrBillStandardVersion { QrBillStandardVersion::V2_0 }
 SwissQR bill standard version More...
 
- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 

Public Member Functions

SwissQRBill::QrBillStandardVersion get_Version () const
 Gets the version of the SwissQR bill standard. More...
 
void set_Version (SwissQRBill::QrBillStandardVersion value)
 Sets the version of the SwissQR bill standard. More...
 
System::Decimal get_Amount () const
 Gets the payment amount. More...
 
void set_Amount (System::Decimal value)
 Sets the payment amount. More...
 
System::String get_Currency () const
 Gets the payment currency. More...
 
void set_Currency (System::String value)
 Sets the payment currency. More...
 
System::String get_Account () const
 Gets the creditor's account number. More...
 
void set_Account (System::String value)
 Sets the creditor's account number. More...
 
System::SharedPtr< Addressget_Creditor () const
 Gets the creditor address. More...
 
void set_Creditor (System::SharedPtr< Address > value)
 Sets the creditor address. More...
 
System::String get_Reference () const
 Gets the creditor payment reference. More...
 
void set_Reference (System::String value)
 Sets the creditor payment reference. More...
 
System::SharedPtr< Addressget_Debtor () const
 Gets the debtor address. More...
 
void set_Debtor (System::SharedPtr< Address > value)
 Sets the debtor address. More...
 
System::String get_UnstructuredMessage () const
 Gets the additional unstructured message. More...
 
void set_UnstructuredMessage (System::String value)
 Sets the additional unstructured message. More...
 
System::String get_BillInformation () const
 Gets the additional structured bill information. More...
 
void set_BillInformation (System::String value)
 Sets the additional structured bill information. More...
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< AlternativeScheme > > > get_AlternativeSchemes () const
 Gets ors sets the alternative payment schemes. More...
 
void set_AlternativeSchemes (System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< AlternativeScheme >>> value)
 Gets ors sets the alternative payment schemes. More...
 
void CreateAndSetCreditorReference (System::String rawReference)
 Creates and sets a ISO11649 creditor reference from a raw string by prefixing the String with "RF" and the modulo 97 checksum. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Determines whether the specified object is equal to the current object. More...
 
bool Equals (System::SharedPtr< SwissQRBill > other) override
 Determines whether the specified bill is equal to the current bill. More...
 
int32_t GetHashCode () const override
 Gets the hash code for this instance. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Additional Inherited Members

- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 

Detailed Description

SwissQR bill data

Member Enumeration Documentation

◆ QrBillStandardVersion

SwissQR bill standard version

Enumerator
V2_0 

Version 2.0

Member Function Documentation

◆ CreateAndSetCreditorReference()

void Aspose::BarCode::ComplexBarcode::SwissQRBill::CreateAndSetCreditorReference ( System::String  rawReference)

Creates and sets a ISO11649 creditor reference from a raw string by prefixing the String with "RF" and the modulo 97 checksum.

Whitespace is removed from the reference

Parameters
rawReferenceThe raw reference.
Exceptions
ArgumentExceptionrawReference contains invalid characters.

◆ Equals() [1/2]

bool Aspose::BarCode::ComplexBarcode::SwissQRBill::Equals ( System::SharedPtr< System::Object obj)
override

Determines whether the specified object is equal to the current object.

Parameters
objThe object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.

◆ Equals() [2/2]

bool Aspose::BarCode::ComplexBarcode::SwissQRBill::Equals ( System::SharedPtr< SwissQRBill other)
overridevirtual

Determines whether the specified bill is equal to the current bill.

Parameters
otherThe bill to compare with the current bill.
Returns
true if the specified object is equal to the current object; otherwise, false.

Implements System::IEquatable< System::SharedPtr< Aspose::BarCode::ComplexBarcode::SwissQRBill > >.

◆ get_Account()

System::String Aspose::BarCode::ComplexBarcode::SwissQRBill::get_Account ( ) const

Gets the creditor's account number.

Account numbers must be valid IBANs of a bank of Switzerland or Liechtenstein. Spaces are allowed in the account number.

The creditor account number.

◆ get_AlternativeSchemes()

System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<AlternativeScheme> > > Aspose::BarCode::ComplexBarcode::SwissQRBill::get_AlternativeSchemes ( ) const

Gets ors sets the alternative payment schemes.

A maximum of two schemes with parameters are allowed.

The alternative payment schemes.

◆ get_Amount()

System::Decimal Aspose::BarCode::ComplexBarcode::SwissQRBill::get_Amount ( ) const

Gets the payment amount.

Valid values are between 0.01 and 999,999,999.99.

The payment amount.

◆ get_BillInformation()

System::String Aspose::BarCode::ComplexBarcode::SwissQRBill::get_BillInformation ( ) const

Gets the additional structured bill information.

The structured bill information.

◆ get_Creditor()

System::SharedPtr<Address> Aspose::BarCode::ComplexBarcode::SwissQRBill::get_Creditor ( ) const

Gets the creditor address.

The creditor address.

◆ get_Currency()

System::String Aspose::BarCode::ComplexBarcode::SwissQRBill::get_Currency ( ) const

Gets the payment currency.

Valid values are "CHF" and "EUR".

The payment currency.

◆ get_Debtor()

System::SharedPtr<Address> Aspose::BarCode::ComplexBarcode::SwissQRBill::get_Debtor ( ) const

Gets the debtor address.

The debtor is optional. If it is omitted, both setting this field to null or setting an address with all null or empty values is ok.

The debtor address.

◆ get_Reference()

System::String Aspose::BarCode::ComplexBarcode::SwissQRBill::get_Reference ( ) const

Gets the creditor payment reference.

The reference is mandatory for SwissQR IBANs, i.e.IBANs in the range CHxx30000xxxxxx through CHxx31999xxxxx.

If specified, the reference must be either a valid SwissQR reference (corresponding to ISR reference form) or a valid creditor reference according to ISO 11649 ("RFxxxx"). Both may contain spaces for formatting.

The creditor payment reference.

◆ get_UnstructuredMessage()

System::String Aspose::BarCode::ComplexBarcode::SwissQRBill::get_UnstructuredMessage ( ) const

Gets the additional unstructured message.

The unstructured message.

◆ get_Version()

SwissQRBill::QrBillStandardVersion Aspose::BarCode::ComplexBarcode::SwissQRBill::get_Version ( ) const

Gets the version of the SwissQR bill standard.

The SwissQR bill standard version.

◆ GetHashCode()

int32_t Aspose::BarCode::ComplexBarcode::SwissQRBill::GetHashCode ( ) const
overridevirtual

Gets the hash code for this instance.

Returns
A hash code for the current object.

Reimplemented from System::Object.

◆ set_Account()

void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_Account ( System::String  value)

Sets the creditor's account number.

Account numbers must be valid IBANs of a bank of Switzerland or Liechtenstein. Spaces are allowed in the account number.

The creditor account number.

◆ set_AlternativeSchemes()

void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_AlternativeSchemes ( System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< AlternativeScheme >>>  value)

Gets ors sets the alternative payment schemes.

A maximum of two schemes with parameters are allowed.

The alternative payment schemes.

◆ set_Amount()

void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_Amount ( System::Decimal  value)

Sets the payment amount.

Valid values are between 0.01 and 999,999,999.99.

The payment amount.

◆ set_BillInformation()

void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_BillInformation ( System::String  value)

Sets the additional structured bill information.

The structured bill information.

◆ set_Creditor()

void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_Creditor ( System::SharedPtr< Address value)

Sets the creditor address.

The creditor address.

◆ set_Currency()

void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_Currency ( System::String  value)

Sets the payment currency.

Valid values are "CHF" and "EUR".

The payment currency.

◆ set_Debtor()

void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_Debtor ( System::SharedPtr< Address value)

Sets the debtor address.

The debtor is optional. If it is omitted, both setting this field to null or setting an address with all null or empty values is ok.

The debtor address.

◆ set_Reference()

void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_Reference ( System::String  value)

Sets the creditor payment reference.

The reference is mandatory for SwissQR IBANs, i.e.IBANs in the range CHxx30000xxxxxx through CHxx31999xxxxx.

If specified, the reference must be either a valid SwissQR reference (corresponding to ISR reference form) or a valid creditor reference according to ISO 11649 ("RFxxxx"). Both may contain spaces for formatting.

The creditor payment reference.

◆ set_UnstructuredMessage()

void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_UnstructuredMessage ( System::String  value)

Sets the additional unstructured message.

The unstructured message.

◆ set_Version()

void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_Version ( SwissQRBill::QrBillStandardVersion  value)

Sets the version of the SwissQR bill standard.

The SwissQR bill standard version.