CustomerPaymentAgreementsApiRepository

interface CustomerPaymentAgreementsApiRepository

Functions

create
Link copied to clipboard
abstract fun create(paymentAgreement: CreatePaymentAgreementRequest): ApiResult<PaymentAgreement>
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getById
Link copied to clipboard

Retrieve a PaymentAgreement by its associated payment token

abstract fun getById(paymentToken: String): ApiResult<PaymentAgreement>
hashCode
Link copied to clipboard
open override fun hashCode(): Int
list
Link copied to clipboard

Retrieve a list of customer's PaymentAgreements

abstract fun list(): ApiResult<PaymentAgreements>
toString
Link copied to clipboard
open override fun toString(): String
update
Link copied to clipboard
abstract fun update(paymentToken: String, paymentAgreement: UpdatePaymentAgreementRequest): ApiResult<PaymentAgreement>