PaymentQrGenerator
in
Creates the payload of a payment QR code (GiroCode, Swiss QR bill, …).
Table of Contents
Methods
- key() : string
- payload() : string|null
- Text content of the QR code, or null if no code can be created.
- supports() : bool
Methods
key()
public
key() : string
Return values
stringpayload()
Text content of the QR code, or null if no code can be created.
public
payload(InvoiceData $invoice[, array<string, mixed> $options = [] ]) : string|null
Parameters
- $invoice : InvoiceData
- $options : array<string, mixed> = []
Return values
string|nullsupports()
public
supports(InvoiceData $invoice) : bool
Parameters
- $invoice : InvoiceData