Aspose.Barcode for PHP via Java Generation and Recognition API docs
|
Inherits BaseJavaClass.
Public Member Functions | |
__construct ($javaClass) | |
getVersion () | |
setVersion (int $value) | |
getAmount () | |
setAmount (float $value) | |
getCurrency () | |
setCurrency (string $value) | |
getAccount () | |
setAccount (string $value) | |
getCreditor () | |
setCreditor (Address $value) | |
getReference () | |
setReference (string $value) | |
createAndSetCreditorReference (string $rawReference) | |
getDebtor () | |
setDebtor (Address $value) | |
getUnstructuredMessage () | |
setUnstructuredMessage (string $value) | |
getBillInformation () | |
setBillInformation (string $value) | |
getAlternativeSchemes () | |
setAlternativeSchemes (array $value) | |
equals (SwissQRBill $obj) | |
hashCode () | |
Public Member Functions inherited from BaseJavaClass | |
getJavaClass () | |
getJavaClassName () | |
isNull () | |
printJavaClassName () | |
Protected Member Functions | |
init () | |
Protected Member Functions inherited from BaseJavaClass | |
setJavaClass ($javaClass) | |
Static Private Member Functions | |
static | convertAlternativeSchemes ($javaAlternativeSchemes) |
Private Attributes | |
$creditor | |
$debtor | |
SwissQR bill data
SwissQRBill::__construct | ( | $javaClass | ) |
Reimplemented from BaseJavaClass.
|
staticprivate |
SwissQRBill::createAndSetCreditorReference | ( | 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
ArgumentException | rawReference contains invalid characters. |
string | $rawReference | The raw reference. |
SwissQRBill::equals | ( | SwissQRBill | $obj | ) |
Determines whether the specified object is equal to the current object.
SwissQRBill | $obj | The object to compare with the current object. |
SwissQRBill::getAccount | ( | ) |
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.
Value: The creditor account number.
SwissQRBill::getAlternativeSchemes | ( | ) |
Gets ors sets the alternative payment schemes.
A maximum of two schemes with parameters are allowed.
SwissQRBill::getAmount | ( | ) |
Gets the payment amount.
Valid values are between 0.01 and 999,999,999.99.
Value: The payment amount.
SwissQRBill::getBillInformation | ( | ) |
Gets the additional structured bill information.
SwissQRBill::getCreditor | ( | ) |
Gets the creditor address.
SwissQRBill::getCurrency | ( | ) |
Gets the payment currency.
Valid values are "CHF" and "EUR".
Value: The payment currency.
SwissQRBill::getDebtor | ( | ) |
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.
return Address The debtor address.
SwissQRBill::getReference | ( | ) |
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.
SwissQRBill::getUnstructuredMessage | ( | ) |
Gets the additional unstructured message.
SwissQRBill::getVersion | ( | ) |
Gets the version of the SwissQR bill standard. Value: The SwissQR bill standard version.
SwissQRBill::hashCode | ( | ) |
Gets the hash code for this instance.
|
protected |
Reimplemented from BaseJavaClass.
SwissQRBill::setAccount | ( | 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.
string | $value | Value: The creditor account number. |
BarcodeException |
SwissQRBill::setAlternativeSchemes | ( | array | $value | ) |
Gets ors sets the alternative payment schemes.
A maximum of two schemes with parameters are allowed.
array | $value | The alternative payment schemes. |
SwissQRBill::setAmount | ( | float | $value | ) |
Sets the payment amount.
Valid values are between 0.01 and 999,999,999.99.
Value: The payment amount.
SwissQRBill::setBillInformation | ( | string | $value | ) |
Sets the additional structured bill information.
string | The structured bill information. |
SwissQRBill::setCreditor | ( | Address | $value | ) |
Sets the creditor address.
Address | $value | The creditor address. |
BarcodeException |
SwissQRBill::setCurrency | ( | string | $value | ) |
Sets the payment currency.
Valid values are "CHF" and "EUR".
Value: The payment currency.
SwissQRBill::setDebtor | ( | 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.
Address | The debtor address. |
SwissQRBill::setReference | ( | 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.
string | $value | The creditor payment reference. |
SwissQRBill::setUnstructuredMessage | ( | string | $value | ) |
Sets the additional unstructured message.
string | $value | The unstructured message. |
SwissQRBill::setVersion | ( | int | $value | ) |
Sets the version of the SwissQR bill standard. Value: The SwissQR bill standard version.
|
private |
|
private |