Class V2ServiceImpl
-
- All Implemented Interfaces:
-
com.dinari.api.services.blocking.V2Service
public final class V2ServiceImpl implements V2Service
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 classV2ServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description V2Service.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. V2ServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. MarketDataServicemarketData()Dinari provides basic market data for StocksandAlloysthat are available to transact on.EntityServiceentities()Entitiesrepresent a business or organization that uses the API, and their customers.AccountServiceaccounts()Accountsrepresent the financial accounts of anEntity.List<V2ListOrdersResponse>listOrders(V2ListOrdersParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
V2Service.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
V2Service withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
marketData
MarketDataService 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
EntityService 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
AccountService accounts()
Accountsrepresent the financial accounts of anEntity.Orders, dividends, and other transactions are associated with anAccount.
-
listOrders
List<V2ListOrdersResponse> listOrders(V2ListOrdersParams params, RequestOptions requestOptions)
-
-
-
-