ExternalPaymentServiceAsync

Types

Link copied to clipboard
interface WithRawResponse

A view of ExternalPaymentServiceAsync that provides access to raw HTTP responses for each method.

Functions

Link copied to clipboard
abstract suspend fun cancel(params: ExternalPaymentCancelParams, requestOptions: RequestOptions = RequestOptions.none()): ExternalPayment

open suspend fun cancel(externalPaymentToken: String, params: ExternalPaymentCancelParams, requestOptions: RequestOptions = RequestOptions.none()): ExternalPayment

Cancel external payment

Link copied to clipboard
abstract suspend fun create(params: ExternalPaymentCreateParams, requestOptions: RequestOptions = RequestOptions.none()): ExternalPayment

Create external payment

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

abstract suspend fun list(params: ExternalPaymentListParams = ExternalPaymentListParams.none(), requestOptions: RequestOptions = RequestOptions.none()): ExternalPaymentListPageAsync

List external payments

Link copied to clipboard
abstract suspend fun release(params: ExternalPaymentReleaseParams, requestOptions: RequestOptions = RequestOptions.none()): ExternalPayment

open suspend fun release(externalPaymentToken: String, params: ExternalPaymentReleaseParams, requestOptions: RequestOptions = RequestOptions.none()): ExternalPayment

Release external payment

Link copied to clipboard
abstract suspend fun retrieve(params: ExternalPaymentRetrieveParams, requestOptions: RequestOptions = RequestOptions.none()): ExternalPayment
open suspend fun retrieve(externalPaymentToken: String, requestOptions: RequestOptions): ExternalPayment

open suspend fun retrieve(externalPaymentToken: String, params: ExternalPaymentRetrieveParams = ExternalPaymentRetrieveParams.none(), requestOptions: RequestOptions = RequestOptions.none()): ExternalPayment

Get external payment

Link copied to clipboard
abstract suspend fun reverse(params: ExternalPaymentReverseParams, requestOptions: RequestOptions = RequestOptions.none()): ExternalPayment

open suspend fun reverse(externalPaymentToken: String, params: ExternalPaymentReverseParams, requestOptions: RequestOptions = RequestOptions.none()): ExternalPayment

Reverse external payment

Link copied to clipboard
abstract suspend fun settle(params: ExternalPaymentSettleParams, requestOptions: RequestOptions = RequestOptions.none()): ExternalPayment

open suspend fun settle(externalPaymentToken: String, params: ExternalPaymentSettleParams, requestOptions: RequestOptions = RequestOptions.none()): ExternalPayment

Settle external payment

Link copied to clipboard

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.