Class OrderServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.dinari.api.services.async.v2.accounts.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<Order>retrieve(OrderRetrieveParams params, RequestOptions requestOptions)CompletableFuture<List<Order>>list(OrderListParams params, RequestOptions requestOptions)CompletableFuture<OrderBatchCancelResponse>batchCancel(OrderBatchCancelParams params, RequestOptions requestOptions)CompletableFuture<Order>cancel(OrderCancelParams params, RequestOptions requestOptions)CompletableFuture<List<Fulfillment>>getFulfillments(OrderGetFulfillmentsParams params, RequestOptions requestOptions)-
Methods inherited from class com.dinari.api.services.async.v2.accounts.OrderServiceAsync
batchCancel, batchCancel, batchCancel, cancel, cancel, cancel, getFulfillments, getFulfillments, getFulfillments, list, list, list, list, list, retrieve, retrieve, retrieve -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
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.
-
retrieve
CompletableFuture<Order> retrieve(OrderRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<List<Order>> list(OrderListParams params, RequestOptions requestOptions)
-
batchCancel
CompletableFuture<OrderBatchCancelResponse> batchCancel(OrderBatchCancelParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<Order> cancel(OrderCancelParams params, RequestOptions requestOptions)
-
getFulfillments
CompletableFuture<List<Fulfillment>> getFulfillments(OrderGetFulfillmentsParams params, RequestOptions requestOptions)
-
-
-
-