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