Package com.bennyapi.services.async
Interface OrderServiceAsync
-
- All Implemented Interfaces:
public interface OrderServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceOrderServiceAsync.WithRawResponseA view of OrderServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract OrderServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract OrderServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<OrderCreateSessionResponse>createSession(OrderCreateSessionParams params)Returns a unique URL for the Benny-hosted checkout session to complete an EBT order. abstract CompletableFuture<OrderCreateSessionResponse>createSession(OrderCreateSessionParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract OrderServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract 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)
Returns a unique URL for the Benny-hosted checkout session to complete an EBT order.
-
createSession
abstract CompletableFuture<OrderCreateSessionResponse> createSession(OrderCreateSessionParams params, RequestOptions requestOptions)
-
-
-
-