Package com.bennyapi.services.async
Interface OrderServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface OrderServiceAsync.WithRawResponseA view of OrderServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract OrderServiceAsync.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponseFor<OrderCreateSessionResponse>>createSession(OrderCreateSessionParams params)Returns a raw HTTP response for post /v1/order/session, but is otherwise the same as OrderServiceAsync.createSession.abstract CompletableFuture<HttpResponseFor<OrderCreateSessionResponse>>createSession(OrderCreateSessionParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract OrderServiceAsync.WithRawResponse 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<HttpResponseFor<OrderCreateSessionResponse>> createSession(OrderCreateSessionParams params)
Returns a raw HTTP response for
post /v1/order/session, but is otherwise the same as OrderServiceAsync.createSession.
-
createSession
abstract CompletableFuture<HttpResponseFor<OrderCreateSessionResponse>> createSession(OrderCreateSessionParams params, RequestOptions requestOptions)
-
-
-
-