Functions

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

Returns a raw HTTP response for post /v1/payments, but is otherwise the same as PaymentServiceAsync.create.

Link copied to clipboard
@MustBeClosed
open suspend fun list(requestOptions: RequestOptions): HttpResponseFor<PaymentListPageAsync>

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

Returns a raw HTTP response for get /v1/payments, but is otherwise the same as PaymentServiceAsync.list.

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

@MustBeClosed
open suspend fun retrieve(paymentToken: String, params: PaymentRetrieveParams = PaymentRetrieveParams.none(), requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<Payment>

Returns a raw HTTP response for get /v1/payments/{payment_token}, but is otherwise the same as PaymentServiceAsync.retrieve.

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

@MustBeClosed
open suspend fun retry(paymentToken: String, params: PaymentRetryParams = PaymentRetryParams.none(), requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<PaymentRetryResponse>

Returns a raw HTTP response for post /v1/payments/{payment_token}/retry, but is otherwise the same as PaymentServiceAsync.retry.

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

Returns a raw HTTP response for post /v1/simulate/payments/{payment_token}/action, but is otherwise the same as PaymentServiceAsync.simulateAction.

Link copied to clipboard

Returns a raw HTTP response for post /v1/simulate/payments/receipt, but is otherwise the same as PaymentServiceAsync.simulateReceipt.

Link copied to clipboard

Returns a raw HTTP response for post /v1/simulate/payments/release, but is otherwise the same as PaymentServiceAsync.simulateRelease.

Link copied to clipboard

Returns a raw HTTP response for post /v1/simulate/payments/return, but is otherwise the same as PaymentServiceAsync.simulateReturn.

Link copied to clipboard

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