MerchantPaymentSessionsRepository

interface MerchantPaymentSessionsRepository

Functions

create
Link copied to clipboard

Create a new PaymentSession

abstract fun create(request: CreatePaymentSessionRequest): ApiResult<CreatePaymentSessionResult>
delete
Link copied to clipboard
abstract fun delete(paymentSessionId: String): ApiResult<Unit>
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getById
Link copied to clipboard

Retrieve a PaymentSession

abstract fun getById(paymentSessionId: String): ApiResult<PaymentSession>
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
update
Link copied to clipboard
abstract fun update(paymentSessionId: String, session: MerchantUpdatePaymentSessionRequest): ApiResult<Unit>