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< Object > | ptr |
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< Address > | get_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< Address > | get_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... | |
Object & | operator= (Object const &x) |
Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More... | |
Object * | SharedRefAdded () |
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 TypeInfo & | GetType () 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 TypeInfo & | Type () |
Implements C# typeof(System.Object) construct. More... | |
SwissQR bill data
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
rawReference | The raw reference. |
ArgumentException | rawReference contains invalid characters. |
|
override |
Determines whether the specified object is equal to the current object.
obj | The object to compare with the current object. |
true
if the specified object is equal to the current object; otherwise, false
.
|
overridevirtual |
Determines whether the specified bill is equal to the current bill.
other | The bill to compare with the current bill. |
true
if the specified object is equal to the current object; otherwise, false
.Implements System::IEquatable< System::SharedPtr< Aspose::BarCode::ComplexBarcode::SwissQRBill > >.
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.
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.
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.
System::String Aspose::BarCode::ComplexBarcode::SwissQRBill::get_BillInformation | ( | ) | const |
Gets the additional structured bill information.
The structured bill information.
System::SharedPtr<Address> Aspose::BarCode::ComplexBarcode::SwissQRBill::get_Creditor | ( | ) | const |
Gets the creditor address.
The creditor address.
System::String Aspose::BarCode::ComplexBarcode::SwissQRBill::get_Currency | ( | ) | const |
Gets the payment currency.
Valid values are "CHF" and "EUR".
The payment currency.
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.
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.
System::String Aspose::BarCode::ComplexBarcode::SwissQRBill::get_UnstructuredMessage | ( | ) | const |
Gets the additional unstructured message.
The unstructured message.
SwissQRBill::QrBillStandardVersion Aspose::BarCode::ComplexBarcode::SwissQRBill::get_Version | ( | ) | const |
Gets the version of the SwissQR bill standard.
The SwissQR bill standard version.
|
overridevirtual |
Gets the hash code for this instance.
Reimplemented from System::Object.
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.
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.
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.
void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_BillInformation | ( | System::String | value | ) |
Sets the additional structured bill information.
The structured bill information.
void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_Creditor | ( | System::SharedPtr< Address > | value | ) |
Sets the creditor address.
The creditor address.
void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_Currency | ( | System::String | value | ) |
Sets the payment currency.
Valid values are "CHF" and "EUR".
The payment currency.
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.
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.
void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_UnstructuredMessage | ( | System::String | value | ) |
Sets the additional unstructured message.
The unstructured message.
void Aspose::BarCode::ComplexBarcode::SwissQRBill::set_Version | ( | SwissQRBill::QrBillStandardVersion | value | ) |
Sets the version of the SwissQR bill standard.
The SwissQR bill standard version.