InstrumentsApiRepository

interface InstrumentsApiRepository

Functions

delete
Link copied to clipboard

Delete a stored payment intrument of a consumer.

abstract fun delete(paymentInstrumentId: String): ApiResult<Map<String, Any>>
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getList
Link copied to clipboard

Get the stored payment intruments of a consumer.

abstract fun getList(): ApiResult<ListPaymentInstrumentsResponse>
hashCode
Link copied to clipboard
open override fun hashCode(): Int
import
Link copied to clipboard

Import a consumers credit cards (from WebPay) and paypal accounts to a new wallet. This API is IP restricted to allow unauthenticated server side calls.

abstract fun import(importPaymentInstrumentsRequest: ImportPaymentInstrumentsRequest): ApiResult<ImportPaymentInstrumentsResponse>
postList
Link copied to clipboard

Get the stored payment intruments of a consumer. This API is IP restricted to allow unauthenticated server side calls.

abstract fun postList(listPaymentInstrumentsRequest: ListPaymentInstrumentsRequest): ApiResult<ListPaymentInstrumentsResponse>
toString
Link copied to clipboard
open override fun toString(): String
verify
Link copied to clipboard

Verify if a provided payment instrument is valid and optionally perform a fraud check on the instrument.

abstract fun verify(verifyPaymentInstrumentsRequest: VerifyPaymentInstrumentsRequest): ApiResult<VerifyPaymentInstrumentsSuccessResponse>