SwissQRBill

SwissQRBill class

Namespace: Aspose.Barcode.ComplexBarcode

SwissQR bill data

Constructors

NameDescription
__construct

Methods

NameStaticDescription
createAndSetCreditorReferenceNoCreates 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

NameRead/WriteDescription
AccountRead/WriteGets 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.
AlternativeSchemesRead/WriteGets ors sets the alternative payment schemes. A maximum of two schemes with parameters are allowed.
AmountRead/WriteGets the payment amount. Valid values are between 0.01 and 999,999,999.99. Value: The payment amount.
BillInformationRead/WriteGets the additional structured bill information.
CreditorRead/WriteGets the creditor address.
CurrencyRead/WriteGets the payment currency. Valid values are “CHF” and “EUR”. Value: The payment currency.
DebtorRead/WriteGets 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.
ReferenceRead/WriteGets 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.
UnstructuredMessageRead/WriteGets the additional unstructured message.
VersionRead/WriteGets the version of the SwissQR bill standard. Value: The SwissQR bill standard version.

SwissQRBill__construct(\Aspose\Barcode\Bridge\SwissQRBillDTO $swissQRBillDto)

ParameterTypeDescription
$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

ParameterTypeDescription
$rawReferencestring

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.

ParameterTypeDescription
$valuestring

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.

ParameterTypeDescription
$alternativeSchemesarray

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.

ParameterTypeDescription
$valuefloat

BillInformation

Access: Read/Write

Returns: string The structured bill information.

Gets the additional structured bill information.

Sets the additional structured bill information.

ParameterTypeDescription
$valuestring

Creditor

Access: Read/Write

Returns: Address The creditor address.

Gets the creditor address.

Sets the creditor address.

ParameterTypeDescription
$valueAddress

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.

ParameterTypeDescription
$valuestring

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.

ParameterTypeDescription
$valueAddress

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.

ParameterTypeDescription
$valuestring

UnstructuredMessage

Access: Read/Write

Returns: string The unstructured message.

Gets the additional unstructured message.

Sets the additional unstructured message.

ParameterTypeDescription
$valuestring

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.

ParameterTypeDescription
$valueint