Aspose.Barcode for Python via Java Generation and Recognition API docs

SwissQR bill data. More...

Inherits BaseJavaClass.

Public Member Functions

def init (self)
 
def __init__ (self, javaClass)
 
def getVersion (self)
 Gets the version of the SwissQR bill standard. More...
 
def setVersion (self, value)
 Sets the version of the SwissQR bill standard. More...
 
def getAmount (self)
 Gets the payment amount. More...
 
def setAmount (self, value)
 Sets the payment amount. More...
 
def getCurrency (self)
 Gets the payment currency. More...
 
def setCurrency (self, value)
 Sets the payment currency. More...
 
def getAccount (self)
 Gets the creditor's account number. More...
 
def setAccount (self, value)
 Sets the creditor's account number. More...
 
def getCreditor (self)
 Gets the creditor address. More...
 
def setCreditor (self, value)
 Sets the creditor address. More...
 
def getReference (self)
 Gets the creditor payment reference. More...
 
def setReference (self, value)
 Sets the creditor payment reference. More...
 
def createAndSetCreditorReference (self, rawReference)
 Creates and sets a ISO11649 creditor reference from a raw string by prefixing the String with "RF" and the modulo 97 checksum. More...
 
def getDebtor (self)
 Gets the debtor address. More...
 
def setDebtor (self, value)
 Sets the debtor address. More...
 
def getUnstructuredMessage (self)
 Gets the additional unstructured message. More...
 
def setUnstructuredMessage (self, value)
 Sets the additional unstructured message. More...
 
def getBillInformation (self)
 Gets the additional structured bill information. More...
 
def setBillInformation (self, value)
 Sets the additional structured bill information. More...
 
def getAlternativeSchemes (self)
 Gets the alternative payment schemes. More...
 
def setAlternativeSchemes (self, value)
 Sets the alternative payment schemes. More...
 
def equals (self, obj)
 Determines whether the specified object is equal to the current object. More...
 
def hashCode (self)
 Gets the hash code for this instance. More...
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
def setJavaClass (self, javaClass)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 

Static Public Member Functions

def convertAlternativeSchemes (javaAlternativeSchemes)
 

Public Attributes

 creditor
 
 debtor
 
- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

SwissQR bill data.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  javaClass 
)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ convertAlternativeSchemes()

def convertAlternativeSchemes (   javaAlternativeSchemes)
static

◆ createAndSetCreditorReference()

def createAndSetCreditorReference (   self,
  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

Exceptions
ArgumentExceptionrawReference contains invalid characters.
Parameters
rawReferenceThe raw reference.

◆ equals()

def equals (   self,
  obj 
)

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

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

◆ getAccount()

def 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. @:return:The creditor account number.

◆ getAlternativeSchemes()

def getAlternativeSchemes (   self)

Gets the alternative payment schemes.

A maximum of two schemes with parameters are allowed. @:return:The alternative payment schemes.

◆ getAmount()

def getAmount (   self)

Gets the payment amount.

Valid values are between 0.01 and 999,999,999.99. @:return:The payment amount.

◆ getBillInformation()

def getBillInformation (   self)

Gets the additional structured bill information.

@:return:The structured bill information.

◆ getCreditor()

def getCreditor (   self)

Gets the creditor address.

@:return:The creditor address.

◆ getCurrency()

def getCurrency (   self)

Gets the payment currency.

Valid values are "CHF" and "EUR". @:return:The payment currency.

◆ getDebtor()

def 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. @:return:The debtor address.

◆ getReference()

def 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. @:return:The creditor payment reference.

◆ getUnstructuredMessage()

def getUnstructuredMessage (   self)

Gets the additional unstructured message.

@:return:The unstructured message.

◆ getVersion()

def getVersion (   self)

Gets the version of the SwissQR bill standard.

@:return:The SwissQR bill standard version.

◆ hashCode()

def hashCode (   self)

Gets the hash code for this instance.

Returns
A hash code for the current object.

◆ init()

def init (   self)

Reimplemented from BaseJavaClass.

◆ setAccount()

def setAccount (   self,
  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. @:param:The creditor account number.

◆ setAlternativeSchemes()

def setAlternativeSchemes (   self,
  value 
)

Sets the alternative payment schemes.

A maximum of two schemes with parameters are allowed. @:param:The alternative payment schemes.

◆ setAmount()

def setAmount (   self,
  value 
)

Sets the payment amount.

Valid values are between 0.01 and 999,999,999.99. @:param:The payment amount.

◆ setBillInformation()

def setBillInformation (   self,
  value 
)

Sets the additional structured bill information.

@:param:The structured bill information.

◆ setCreditor()

def setCreditor (   self,
  value 
)

Sets the creditor address.

@:param:The creditor address.

◆ setCurrency()

def setCurrency (   self,
  value 
)

Sets the payment currency.

Valid values are "CHF" and "EUR". @:param:The payment currency.

◆ setDebtor()

def setDebtor (   self,
  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. @:param:The debtor address.

◆ setReference()

def setReference (   self,
  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. @:param:The creditor payment reference.

◆ setUnstructuredMessage()

def setUnstructuredMessage (   self,
  value 
)

Sets the additional unstructured message.

@:param:The unstructured message.

◆ setVersion()

def setVersion (   self,
  value 
)

Sets the version of the SwissQR bill standard.

@:param:The SwissQR bill standard version.

Member Data Documentation

◆ creditor

creditor

◆ debtor

debtor