CustomerPaymentRequestsRepository

interface CustomerPaymentRequestsRepository

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getById
Link copied to clipboard

Retrieve a CustomerPaymentRequest by its ID

abstract fun getById(paymentRequestId: String): ApiResult<CustomerPaymentRequest>
getByQRCodeId
Link copied to clipboard

Retrieve a CustomerPaymentRequest by a QR code ID associated to the request

abstract fun getByQRCodeId(qrCodeId: String): ApiResult<CustomerPaymentRequest>
hashCode
Link copied to clipboard
open override fun hashCode(): Int
makePayment
Link copied to clipboard

Make a payment for a CustomerPaymentRequest

abstract fun makePayment(paymentRequestId: String, primaryInstrument: String?, secondaryInstruments: List<SecondaryPaymentInstrument>?, clientReference: String?, preferences: PaymentPreferences?, challengeResponses: List<ChallengeResponse>?): ApiResult<CustomerTransactionSummary>
toString
Link copied to clipboard
open override fun toString(): String