Class V2ServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.dinari.api.services.async.V2ServiceAsync
public final class V2ServiceAsyncImpl implements V2ServiceAsync
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 classV2ServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description V2ServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. V2ServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. MarketDataServiceAsyncmarketData()Dinari provides basic market data for StocksandAlloysthat are available to transact on.EntityServiceAsyncentities()Entitiesrepresent a business or organization that uses the API, and their customers.AccountServiceAsyncaccounts()Accountsrepresent the financial accounts of anEntity.CompletableFuture<List<V2ListOrdersResponse>>listOrders(V2ListOrdersParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
V2ServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
V2ServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
marketData
MarketDataServiceAsync marketData()
Dinari provides basic market data for
StocksandAlloysthat are available to transact on.This data is provided on a best-effort basis and we recommend using a dedicated provider for more intensive market data needs.
-
entities
EntityServiceAsync entities()
Entitiesrepresent a business or organization that uses the API, and their customers.Dinari Partners are represented as an organization
Entityin the API, with their own accounts. Individual customers of PartnerEntitiesare also represented asEntitiesin the API, which are managed by the PartnerEntity.
-
accounts
AccountServiceAsync accounts()
Accountsrepresent the financial accounts of anEntity.Orders, dividends, and other transactions are associated with anAccount.
-
listOrders
CompletableFuture<List<V2ListOrdersResponse>> listOrders(V2ListOrdersParams params, RequestOptions requestOptions)
-
-
-
-