generateQRCodeAsSvg

open override fun generateQRCodeAsSvg(paymentData: PaymentQRValues): ByteArray

Generates a QR code as an SVG based on the provided payment data.

Return

a ByteArray representing the generated QR code in SVG format.

Parameters

paymentData

an instance of PaymentQRValues containing payment-specific details, such as creditor and debtor information, payment amount, currency, and references.


Generates a QR code in SVG format based on the provided payment data and scale.

Return

a ByteArray representing the generated QR code in SVG format.

Parameters

paymentData

an instance of PaymentQRValues containing payment-specific details, including creditor and debtor information, payment amount, currency, and references.

scale

a Double value representing the scale at which the QR code is rendered.