SwissQRBill

SwissQRBill class

SwissQR bill data

new SwissQRBill()

Methods

NameDescription
createAndSetCreditorReference(rawReference)Creates and sets a ISO11649 creditor reference from a raw string by prefixing the String with “RF” and the modulo 97 che
equals(obj)Determines whether the specified object is equal to the current object.
getAccount()Gets the creditor’s account number. Account numbers must be valid IBANs of a bank of Switzerland or Liechtenstein. Space
getAlternativeSchemes()Gets ors sets the alternative payment schemes. A maximum of two schemes with parameters are allowed.
getAmount()Gets the payment amount. Valid values are between 0.01 and 999,999,999.99.
getBillInformation()Gets the additional structured bill information.
getCreditor()Gets the creditor address.
getCurrency()Gets the payment currency. Valid values are “CHF” and “EUR”.
getDebtor()Gets the debtor address. The debtor is optional. If it is omitted, both setting this field to null or setting an address
getReference()Gets the creditor payment reference. The reference is mandatory for SwissQR IBANs, i.e.IBANs in the range CHxx30000xxxxx
getUnstructuredMessage()Gets the additional unstructured message.
getVersion()Gets the version of the SwissQR bill standard.
hashCode()Gets the hash code for this instance.
setAccount(value:)Sets the creditor’s account number. Account numbers must be valid IBANs of a bank of Switzerland or Liechtenstein. Space
setAlternativeSchemes(value:)Gets or sets the alternative payment schemes. A maximum of two schemes with parameters are allowed.
setAmount(value)Sets the payment amount. Valid values are between 0.01 and 999,999,999.99.
setBillInformation(value:)Sets the additional structured bill information.
setCreditor(value:)Sets the creditor address.
setCurrency(value)Sets the payment currency.
setDebtor(value:)Sets the debtor address. The debtor is optional. If it is omitted, both setting this field to null or setting an address
setReference(value)Sets the creditor payment reference. The reference is mandatory for SwissQR IBANs, i.e.IBANs in the range CHxx30000xxxxx
setUnstructuredMessage(value:)Sets the additional unstructured message.
setVersion(value)Sets the version of the SwissQR bill standard.