QRCodeRepository

interface QRCodeRepository

Functions

cancelPaymentQRCode
Link copied to clipboard

Cancels a QR code making it unusable

abstract fun cancelPaymentQRCode(qrCodeId: String): ApiResult<Unit>
createPaymentRequestQRCode
Link copied to clipboard

Create a new QR code for an existing payment request

abstract fun createPaymentRequestQRCode(details: NewPaymentRequestQRCode): ApiResult<QRCode>
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getPaymentRequestQRCodeContent
Link copied to clipboard

Retrieve a QRCode that is associated to a Payment Request by its ID

abstract fun getPaymentRequestQRCodeContent(qrCodeId: String): ApiResult<QRCode>
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String