Functions

Link copied to clipboard
@MustBeClosed
open suspend fun cancel(externalPaymentToken: String, params: ExternalPaymentCancelParams, requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<ExternalPayment>

Returns a raw HTTP response for post /v1/external_payments/{external_payment_token}/cancel, but is otherwise the same as ExternalPaymentServiceAsync.cancel.

open suspend override fun cancel(params: ExternalPaymentCancelParams, requestOptions: RequestOptions): HttpResponseFor<ExternalPayment>
Link copied to clipboard
open suspend override fun create(params: ExternalPaymentCreateParams, requestOptions: RequestOptions): HttpResponseFor<ExternalPayment>

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

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

open suspend override fun list(params: ExternalPaymentListParams, requestOptions: RequestOptions): HttpResponseFor<ExternalPaymentListPageAsync>

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

Link copied to clipboard
@MustBeClosed
open suspend fun release(externalPaymentToken: String, params: ExternalPaymentReleaseParams, requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<ExternalPayment>

Returns a raw HTTP response for post /v1/external_payments/{external_payment_token}/release, but is otherwise the same as ExternalPaymentServiceAsync.release.

open suspend override fun release(params: ExternalPaymentReleaseParams, requestOptions: RequestOptions): HttpResponseFor<ExternalPayment>
Link copied to clipboard
@MustBeClosed
open suspend fun retrieve(externalPaymentToken: String, requestOptions: RequestOptions): HttpResponseFor<ExternalPayment>
open suspend override fun retrieve(params: ExternalPaymentRetrieveParams, requestOptions: RequestOptions): HttpResponseFor<ExternalPayment>

@MustBeClosed
open suspend fun retrieve(externalPaymentToken: String, params: ExternalPaymentRetrieveParams = ExternalPaymentRetrieveParams.none(), requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<ExternalPayment>

Returns a raw HTTP response for get /v1/external_payments/{external_payment_token}, but is otherwise the same as ExternalPaymentServiceAsync.retrieve.

Link copied to clipboard
@MustBeClosed
open suspend fun reverse(externalPaymentToken: String, params: ExternalPaymentReverseParams, requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<ExternalPayment>

Returns a raw HTTP response for post /v1/external_payments/{external_payment_token}/reverse, but is otherwise the same as ExternalPaymentServiceAsync.reverse.

open suspend override fun reverse(params: ExternalPaymentReverseParams, requestOptions: RequestOptions): HttpResponseFor<ExternalPayment>
Link copied to clipboard
@MustBeClosed
open suspend fun settle(externalPaymentToken: String, params: ExternalPaymentSettleParams, requestOptions: RequestOptions = RequestOptions.none()): HttpResponseFor<ExternalPayment>

Returns a raw HTTP response for post /v1/external_payments/{external_payment_token}/settle, but is otherwise the same as ExternalPaymentServiceAsync.settle.

open suspend override fun settle(params: ExternalPaymentSettleParams, requestOptions: RequestOptions): HttpResponseFor<ExternalPayment>
Link copied to clipboard

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