PaymentServiceAsyncImpl

Functions

Link copied to clipboard
open suspend override fun create(params: PaymentCreateParams, requestOptions: RequestOptions): PaymentCreateResponse

Initiates a payment between a financial account and an external bank account.

Link copied to clipboard
open suspend fun list(requestOptions: RequestOptions): PaymentListPageAsync

open suspend override fun list(params: PaymentListParams, requestOptions: RequestOptions): PaymentListPageAsync

List all the payments for the provided search criteria.

Link copied to clipboard
open suspend fun retrieve(paymentToken: String, requestOptions: RequestOptions): Payment
open suspend override fun retrieve(params: PaymentRetrieveParams, requestOptions: RequestOptions): Payment

open suspend fun retrieve(paymentToken: String, params: PaymentRetrieveParams = PaymentRetrieveParams.none(), requestOptions: RequestOptions = RequestOptions.none()): Payment

Get the payment by token.

Link copied to clipboard
open suspend fun retry(paymentToken: String, requestOptions: RequestOptions): PaymentRetryResponse
open suspend override fun retry(params: PaymentRetryParams, requestOptions: RequestOptions): PaymentRetryResponse

open suspend fun retry(paymentToken: String, params: PaymentRetryParams = PaymentRetryParams.none(), requestOptions: RequestOptions = RequestOptions.none()): PaymentRetryResponse

Retry an origination which has been returned.

Link copied to clipboard
open suspend fun simulateAction(paymentToken: String, params: PaymentSimulateActionParams, requestOptions: RequestOptions = RequestOptions.none()): PaymentSimulateActionResponse

Simulate payment lifecycle event

open suspend override fun simulateAction(params: PaymentSimulateActionParams, requestOptions: RequestOptions): PaymentSimulateActionResponse
Link copied to clipboard

Simulates a receipt of a Payment.

Link copied to clipboard

Simulates a release of a Payment.

Link copied to clipboard
open suspend override fun simulateReturn(params: PaymentSimulateReturnParams, requestOptions: RequestOptions): PaymentSimulateReturnResponse

Simulates a return of a Payment.

Link copied to clipboard
open override fun withOptions(modifier: (ClientOptions.Builder) -> Unit): PaymentServiceAsync

Returns a view of this service with the given option modifications applied.

Link copied to clipboard

Returns a view of this service that provides access to raw HTTP responses for each method.