PaymentServiceImpl

Functions

Link copied to clipboard
open 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 fun list(requestOptions: RequestOptions): PaymentListPage

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

List all the payments for the provided search criteria.

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

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

Get the payment by token.

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

open 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 fun simulateAction(paymentToken: String, params: PaymentSimulateActionParams, requestOptions: RequestOptions = RequestOptions.none()): PaymentSimulateActionResponse

Simulate payment lifecycle event

Link copied to clipboard

Simulates a receipt of a Payment.

Link copied to clipboard

Simulates a release of a Payment.

Link copied to clipboard

Simulates a return of a Payment.

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

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.