Class OrderServiceImpl
-
- All Implemented Interfaces:
-
com.dinari.api.services.blocking.v2.accounts.OrderService
public final class OrderServiceImpl implements OrderService
Ordersrepresent the buying and selling of assets under anAccount.For
Accountsusing self-custodiedWallets,Ordersare created and fulfilled by making calls to Dinari's smart contracts, or using the Proxied Orders methods.For
Accountsusing managedWallets,Ordersare created and fulfilled by using theManaged Ordersmethods, which then create the corresponding transactions on the blockchain.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOrderServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description OrderService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. OrderServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. Orderretrieve(OrderRetrieveParams params, RequestOptions requestOptions)List<Order>list(OrderListParams params, RequestOptions requestOptions)OrderBatchCancelResponsebatchCancel(OrderBatchCancelParams params, RequestOptions requestOptions)Ordercancel(OrderCancelParams params, RequestOptions requestOptions)List<Fulfillment>getFulfillments(OrderGetFulfillmentsParams params, RequestOptions requestOptions)-
Methods inherited from class com.dinari.api.services.blocking.v2.accounts.OrderService
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
OrderService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
OrderService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
Order retrieve(OrderRetrieveParams params, RequestOptions requestOptions)
-
list
List<Order> list(OrderListParams params, RequestOptions requestOptions)
-
batchCancel
OrderBatchCancelResponse batchCancel(OrderBatchCancelParams params, RequestOptions requestOptions)
-
cancel
Order cancel(OrderCancelParams params, RequestOptions requestOptions)
-
getFulfillments
List<Fulfillment> getFulfillments(OrderGetFulfillmentsParams params, RequestOptions requestOptions)
-
-
-
-