Package com.bennyapi.services.async
Class PaymentServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.bennyapi.services.async.PaymentServiceAsync
public final class PaymentServiceAsyncImpl implements PaymentServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPaymentServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
-
Methods inherited from class com.bennyapi.services.async.PaymentServiceAsync
createIntent, createMethod, deleteIntent, refund, reverse, reverse, reverse, updateIntent -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
PaymentServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
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, RequestOptions requestOptions)
-
createMethod
CompletableFuture<PaymentCreateMethodResponse> createMethod(PaymentCreateMethodParams params, RequestOptions requestOptions)
-
deleteIntent
CompletableFuture<Void> deleteIntent(PaymentDeleteIntentParams params, RequestOptions requestOptions)
-
refund
CompletableFuture<PaymentRefundResponse> refund(PaymentRefundParams params, RequestOptions requestOptions)
-
reverse
CompletableFuture<PaymentReverseResponse> reverse(PaymentReverseParams params, RequestOptions requestOptions)
-
updateIntent
CompletableFuture<PaymentUpdateIntentResponse> updateIntent(PaymentUpdateIntentParams params, RequestOptions requestOptions)
-
-
-
-