SwissQRBill
SwissQRBill class
Namespace: Aspose.Barcode.ComplexBarcode
SwissQR bill data
Constructors
| Name | Description |
|---|---|
| __construct |
Methods
| Name | Static | Description |
|---|---|---|
| createAndSetCreditorReference | No | 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 |
Properties
| Name | Read/Write | Description |
|---|---|---|
| Account | Read/Write | 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. |
| AlternativeSchemes | Read/Write | Gets ors sets the alternative payment schemes. A maximum of two schemes with parameters are allowed. |
| Amount | Read/Write | Gets the payment amount. Valid values are between 0.01 and 999,999,999.99. Value: The payment amount. |
| BillInformation | Read/Write | Gets the additional structured bill information. |
| Creditor | Read/Write | Gets the creditor address. |
| Currency | Read/Write | Gets the payment currency. Valid values are “CHF” and “EUR”. Value: The payment currency. |
| Debtor | Read/Write | 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. |
| Reference | Read/Write | 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. |
| UnstructuredMessage | Read/Write | Gets the additional unstructured message. |
| Version | Read/Write | Gets the version of the SwissQR bill standard. Value: The SwissQR bill standard version. |
SwissQRBill__construct(\Aspose\Barcode\Bridge\SwissQRBillDTO $swissQRBillDto)
| Parameter | Type | Description |
|---|---|---|
$swissQRBillDto | \Aspose\Barcode\Bridge\SwissQRBillDTO |
createAndSetCreditorReferencecreateAndSetCreditorReference(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
| Parameter | Type | Description |
|---|---|---|
$rawReference | string |
Account
Access: Read/Write
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.
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.
| Parameter | Type | Description |
|---|---|---|
$value | string |
AlternativeSchemes
Access: Read/Write
Returns: array The alternative payment schemes.
Gets ors sets the alternative payment schemes. A maximum of two schemes with parameters are allowed.
Gets ors sets the alternative payment schemes. A maximum of two schemes with parameters are allowed.
| Parameter | Type | Description |
|---|---|---|
$alternativeSchemes | array |
Amount
Access: Read/Write
Gets the payment amount. Valid values are between 0.01 and 999,999,999.99. Value: The payment amount.
Sets the payment amount. Valid values are between 0.01 and 999,999,999.99. Value: The payment amount.
| Parameter | Type | Description |
|---|---|---|
$value | float |
BillInformation
Access: Read/Write
Returns: string The structured bill information.
Gets the additional structured bill information.
Sets the additional structured bill information.
| Parameter | Type | Description |
|---|---|---|
$value | string |
Creditor
Access: Read/Write
Returns: Address The creditor address.
Gets the creditor address.
Sets the creditor address.
| Parameter | Type | Description |
|---|---|---|
$value | Address |
Currency
Access: Read/Write
Gets the payment currency. Valid values are “CHF” and “EUR”. Value: The payment currency.
Sets the payment currency. Valid values are “CHF” and “EUR”. Value: The payment currency.
| Parameter | Type | Description |
|---|---|---|
$value | string |
Debtor
Access: Read/Write
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.
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.
| Parameter | Type | Description |
|---|---|---|
$value | Address |
Reference
Access: Read/Write
Returns: string The creditor payment reference.
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.
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.
| Parameter | Type | Description |
|---|---|---|
$value | string |
UnstructuredMessage
Access: Read/Write
Returns: string The unstructured message.
Gets the additional unstructured message.
Sets the additional unstructured message.
| Parameter | Type | Description |
|---|---|---|
$value | string |
Version
Access: Read/Write
Gets the version of the SwissQR bill standard. Value: The SwissQR bill standard version.
Sets the version of the SwissQR bill standard. Value: The SwissQR bill standard version.
| Parameter | Type | Description |
|---|---|---|
$value | int |