Package com.bennyapi.services.blocking
Interface OrderService
-
- All Implemented Interfaces:
public interface OrderService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceOrderService.WithRawResponseA view of OrderService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract OrderService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract OrderServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. OrderCreateSessionResponsecreateSession(OrderCreateSessionParams params)Returns a unique URL for the Benny-hosted checkout session to complete an EBT order. abstract OrderCreateSessionResponsecreateSession(OrderCreateSessionParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract OrderService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract OrderService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
createSession
OrderCreateSessionResponse createSession(OrderCreateSessionParams params)
Returns a unique URL for the Benny-hosted checkout session to complete an EBT order.
-
createSession
abstract OrderCreateSessionResponse createSession(OrderCreateSessionParams params, RequestOptions requestOptions)
-
-
-
-