Interface PaymentServiceAsync
-
- All Implemented Interfaces:
public interface PaymentServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePaymentServiceAsync.WithRawResponseA view of PaymentServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract PaymentServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract PaymentServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
createIntent
CompletableFuture<PaymentCreateIntentResponse> createIntent(PaymentCreateIntentParams params)
Creates a payment intent that will be passed to the appropriate web or mobile SDK to collect payment. A payment intent represents an "intended" money movement, and will expire after 1 hour if not completed.
-
createIntent
abstract CompletableFuture<PaymentCreateIntentResponse> createIntent(PaymentCreateIntentParams params, RequestOptions requestOptions)
-
createMethod
CompletableFuture<PaymentCreateMethodResponse> createMethod(PaymentCreateMethodParams params)
Enables creation of an EBT payment method.
-
createMethod
abstract CompletableFuture<PaymentCreateMethodResponse> createMethod(PaymentCreateMethodParams params, RequestOptions requestOptions)
-
deleteIntent
CompletableFuture<Void> deleteIntent(PaymentDeleteIntentParams params)
Enables deletion of a pending payment intent. Payment intents in a terminal state cannot be deleted.
-
deleteIntent
abstract CompletableFuture<Void> deleteIntent(PaymentDeleteIntentParams params, RequestOptions requestOptions)
-
refund
CompletableFuture<PaymentRefundResponse> refund(PaymentRefundParams params)
Allows a payment to be fully or partially refunded based on the refund intent parameters. A refunded payment will appear on a customer's EBT account.
-
refund
abstract CompletableFuture<PaymentRefundResponse> refund(PaymentRefundParams params, RequestOptions requestOptions)
-
reverse
CompletableFuture<PaymentReverseResponse> reverse()
Allows a payment or refund to be reversed. A reversed payment will not appear on a customer's EBT account.
-
reverse
abstract CompletableFuture<PaymentReverseResponse> reverse(PaymentReverseParams params, RequestOptions requestOptions)
-
reverse
CompletableFuture<PaymentReverseResponse> reverse(PaymentReverseParams params)
-
reverse
CompletableFuture<PaymentReverseResponse> reverse(RequestOptions requestOptions)
-
updateIntent
CompletableFuture<PaymentUpdateIntentResponse> updateIntent(PaymentUpdateIntentParams params)
Enables updating a payment intent that is not in a terminal state.
-
updateIntent
abstract CompletableFuture<PaymentUpdateIntentResponse> updateIntent(PaymentUpdateIntentParams params, RequestOptions requestOptions)
-
-
-
-