Aspose.Barcode for Python via Java Generation and Recognition API docs
|
SwissQR bill data. More...
Inherits BaseJavaClass.
Public Member Functions | |
None | __init__ (self, javaClass) |
None | createAndSetCreditorReference (self, str 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 (self, SwissQRBill obj) |
Determines whether the specified object is equal to the current object. More... | |
str | getAccount (self) |
Gets the creditor's account number. More... | |
List[AlternativeScheme] | getAlternativeSchemes (self) |
Gets the alternative payment schemes. More... | |
float | getAmount (self) |
Gets the payment amount. More... | |
str | getBillInformation (self) |
Gets the additional structured bill information. More... | |
Optional[Address] | getCreditor (self) |
Gets the creditor address. More... | |
str | getCurrency (self) |
Gets the payment currency. More... | |
Optional[Address] | getDebtor (self) |
Gets the debtor address. More... | |
str | getReference (self) |
Gets the creditor payment reference. More... | |
str | getUnstructuredMessage (self) |
Gets the additional unstructured message. More... | |
QrBillStandardVersion | getVersion (self) |
Gets the version of the SwissQR bill standard. More... | |
int | hashCode (self) |
Gets the hash code for this instance. More... | |
None | init (self) |
None | setAccount (self, str value) |
Sets the creditor's account number. More... | |
None | setAlternativeSchemes (self, List[AlternativeScheme] value) |
Sets the alternative payment schemes. More... | |
None | setAmount (self, float value) |
Sets the payment amount. More... | |
None | setBillInformation (self, str value) |
Sets the additional structured bill information. More... | |
None | setCreditor (self, Address value) |
Sets the creditor address. More... | |
None | setCurrency (self, str value) |
Sets the payment currency. More... | |
None | setDebtor (self, Address value) |
Sets the debtor address. More... | |
None | setReference (self, str value) |
Sets the creditor payment reference. More... | |
None | setUnstructuredMessage (self, str value) |
Sets the additional unstructured message. More... | |
None | setVersion (self, QrBillStandardVersion value) |
Sets the version of the SwissQR bill standard. More... | |
Public Member Functions inherited from BaseJavaClass | |
def | getJavaClass (self) |
str | getJavaClassName (self) |
bool | isNull (self) |
None | printJavaClassName (self) |
None | setJavaClass (self, javaClass) |
Static Public Member Functions | |
List[AlternativeScheme] | convertAlternativeSchemes (javaAlternativeSchemes) |
Public Attributes | |
creditor | |
debtor | |
Public Attributes inherited from BaseJavaClass | |
javaClass | |
javaClassName | |
SwissQR bill data.
None __init__ | ( | self, | |
javaClass | |||
) |
Reimplemented from BaseJavaClass.
|
static |
None createAndSetCreditorReference | ( | self, | |
str | 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
ArgumentException | rawReference contains invalid characters. |
rawReference | The raw reference. |
bool equals | ( | self, | |
SwissQRBill | obj | ||
) |
Determines whether the specified object is equal to the current object.
obj | The object to compare with the current object. |
str getAccount | ( | self | ) |
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.
List[AlternativeScheme] getAlternativeSchemes | ( | self | ) |
Gets the alternative payment schemes.
A maximum of two schemes with parameters are allowed.
float getAmount | ( | self | ) |
Gets the payment amount.
Valid values are between 0.01 and 999,999,999.99.
str getBillInformation | ( | self | ) |
Gets the additional structured bill information.
Optional[Address] getCreditor | ( | self | ) |
Gets the creditor address.
str getCurrency | ( | self | ) |
Gets the payment currency.
Valid values are "CHF" and "EUR".
Optional[Address] getDebtor | ( | self | ) |
Gets the debtor address.
The debtor is optional. If it is omitted, both setting this field to None or setting an address with all None or empty values is ok.
str getReference | ( | self | ) |
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.
str getUnstructuredMessage | ( | self | ) |
Gets the additional unstructured message.
QrBillStandardVersion getVersion | ( | self | ) |
Gets the version of the SwissQR bill standard.
int hashCode | ( | self | ) |
Gets the hash code for this instance.
None init | ( | self | ) |
Reimplemented from BaseJavaClass.
None setAccount | ( | self, | |
str | 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. |
None setAlternativeSchemes | ( | self, | |
List[AlternativeScheme] | value | ||
) |
Sets the alternative payment schemes.
A maximum of two schemes with parameters are allowed.
:The | alternative payment schemes. |
None setAmount | ( | self, | |
float | value | ||
) |
Sets the payment amount.
Valid values are between 0.01 and 999,999,999.99.
:The | payment amount. |
None setBillInformation | ( | self, | |
str | value | ||
) |
Sets the additional structured bill information.
:The | structured bill information. |
None setCreditor | ( | self, | |
Address | value | ||
) |
Sets the creditor address.
:The | creditor address. |
None setCurrency | ( | self, | |
str | value | ||
) |
Sets the payment currency.
Valid values are "CHF" and "EUR".
:The | payment currency. |
None setDebtor | ( | self, | |
Address | value | ||
) |
Sets the debtor address.
The debtor is optional. If it is omitted, both setting this field to None or setting an address with all None or empty values is ok.
:The | debtor address. |
None setReference | ( | self, | |
str | 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. |
None setUnstructuredMessage | ( | self, | |
str | value | ||
) |
Sets the additional unstructured message.
:The | unstructured message. |
None setVersion | ( | self, | |
QrBillStandardVersion | value | ||
) |
Sets the version of the SwissQR bill standard.
:The | SwissQR bill standard version. |
creditor |
debtor |