Package com.bennyapi.services.async
Class OrderServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.bennyapi.services.async.OrderServiceAsync
public final class OrderServiceAsyncImpl implements OrderServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOrderServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description OrderServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. OrderServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<OrderCreateSessionResponse>createSession(OrderCreateSessionParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
OrderServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
OrderServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
createSession
CompletableFuture<OrderCreateSessionResponse> createSession(OrderCreateSessionParams params, RequestOptions requestOptions)
-
-
-
-