Interface AccountServiceAsync
-
- All Implemented Interfaces:
public interface AccountServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAccountServiceAsync.WithRawResponseA view of AccountServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract AccountServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract AccountServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
wallet
abstract WalletServiceAsync wallet()
-
orders
abstract OrderServiceAsync orders()
-
orderFulfillments
abstract OrderFulfillmentServiceAsync orderFulfillments()
-
orderRequests
abstract OrderRequestServiceAsync orderRequests()
-
withdrawalRequests
abstract WithdrawalRequestServiceAsync withdrawalRequests()
-
withdrawals
abstract WithdrawalServiceAsync withdrawals()
-
retrieve
CompletableFuture<Account> retrieve(String accountId)
Get a specific
Accountby its ID.
-
retrieve
CompletableFuture<Account> retrieve(String accountId, AccountRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Account> retrieve(String accountId, AccountRetrieveParams params)
-
retrieve
abstract CompletableFuture<Account> retrieve(AccountRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Account> retrieve(AccountRetrieveParams params)
-
retrieve
CompletableFuture<Account> retrieve(String accountId, RequestOptions requestOptions)
-
deactivate
CompletableFuture<Account> deactivate(String accountId)
Set the
Accountto be inactive. Inactive accounts cannot be used for trading.
-
deactivate
CompletableFuture<Account> deactivate(String accountId, AccountDeactivateParams params, RequestOptions requestOptions)
-
deactivate
CompletableFuture<Account> deactivate(String accountId, AccountDeactivateParams params)
-
deactivate
abstract CompletableFuture<Account> deactivate(AccountDeactivateParams params, RequestOptions requestOptions)
-
deactivate
CompletableFuture<Account> deactivate(AccountDeactivateParams params)
-
deactivate
CompletableFuture<Account> deactivate(String accountId, RequestOptions requestOptions)
-
getCashBalances
CompletableFuture<List<AccountGetCashBalancesResponse>> getCashBalances(String accountId)
Get the cash balances of the
Account, including stablecoins and other cash equivalents.
-
getCashBalances
CompletableFuture<List<AccountGetCashBalancesResponse>> getCashBalances(String accountId, AccountGetCashBalancesParams params, RequestOptions requestOptions)
-
getCashBalances
CompletableFuture<List<AccountGetCashBalancesResponse>> getCashBalances(String accountId, AccountGetCashBalancesParams params)
-
getCashBalances
abstract CompletableFuture<List<AccountGetCashBalancesResponse>> getCashBalances(AccountGetCashBalancesParams params, RequestOptions requestOptions)
-
getCashBalances
CompletableFuture<List<AccountGetCashBalancesResponse>> getCashBalances(AccountGetCashBalancesParams params)
-
getCashBalances
CompletableFuture<List<AccountGetCashBalancesResponse>> getCashBalances(String accountId, RequestOptions requestOptions)
-
getDividendPayments
CompletableFuture<List<AccountGetDividendPaymentsResponse>> getDividendPayments(String accountId, AccountGetDividendPaymentsParams params)
Get dividend payments made to the
Accountfrom dividend-bearing stock holdings.
-
getDividendPayments
CompletableFuture<List<AccountGetDividendPaymentsResponse>> getDividendPayments(String accountId, AccountGetDividendPaymentsParams params, RequestOptions requestOptions)
-
getDividendPayments
CompletableFuture<List<AccountGetDividendPaymentsResponse>> getDividendPayments(AccountGetDividendPaymentsParams params)
-
getDividendPayments
abstract CompletableFuture<List<AccountGetDividendPaymentsResponse>> getDividendPayments(AccountGetDividendPaymentsParams params, RequestOptions requestOptions)
-
getInterestPayments
CompletableFuture<List<AccountGetInterestPaymentsResponse>> getInterestPayments(String accountId, AccountGetInterestPaymentsParams params)
Get interest payments made to the
Accountfrom yield-bearing cash holdings.Currently, the only yield-bearing stablecoin accepted by Dinari is USD+.
-
getInterestPayments
CompletableFuture<List<AccountGetInterestPaymentsResponse>> getInterestPayments(String accountId, AccountGetInterestPaymentsParams params, RequestOptions requestOptions)
-
getInterestPayments
CompletableFuture<List<AccountGetInterestPaymentsResponse>> getInterestPayments(AccountGetInterestPaymentsParams params)
-
getInterestPayments
abstract CompletableFuture<List<AccountGetInterestPaymentsResponse>> getInterestPayments(AccountGetInterestPaymentsParams params, RequestOptions requestOptions)
-
getPortfolio
CompletableFuture<AccountGetPortfolioResponse> getPortfolio(String accountId)
Get the portfolio of the
Account, excluding cash equivalents such as stablecoins.
-
getPortfolio
CompletableFuture<AccountGetPortfolioResponse> getPortfolio(String accountId, AccountGetPortfolioParams params, RequestOptions requestOptions)
-
getPortfolio
CompletableFuture<AccountGetPortfolioResponse> getPortfolio(String accountId, AccountGetPortfolioParams params)
-
getPortfolio
abstract CompletableFuture<AccountGetPortfolioResponse> getPortfolio(AccountGetPortfolioParams params, RequestOptions requestOptions)
-
getPortfolio
CompletableFuture<AccountGetPortfolioResponse> getPortfolio(AccountGetPortfolioParams params)
-
getPortfolio
CompletableFuture<AccountGetPortfolioResponse> getPortfolio(String accountId, RequestOptions requestOptions)
-
mintSandboxTokens
CompletableFuture<Void> mintSandboxTokens(String accountId)
Mints 1,000 mockUSD sandbox payment tokens to the
Walletconnected to theAccount.This feature is only supported in sandbox mode.
-
mintSandboxTokens
CompletableFuture<Void> mintSandboxTokens(String accountId, AccountMintSandboxTokensParams params, RequestOptions requestOptions)
-
mintSandboxTokens
CompletableFuture<Void> mintSandboxTokens(String accountId, AccountMintSandboxTokensParams params)
-
mintSandboxTokens
abstract CompletableFuture<Void> mintSandboxTokens(AccountMintSandboxTokensParams params, RequestOptions requestOptions)
-
mintSandboxTokens
CompletableFuture<Void> mintSandboxTokens(AccountMintSandboxTokensParams params)
-
mintSandboxTokens
CompletableFuture<Void> mintSandboxTokens(String accountId, RequestOptions requestOptions)
-
-
-
-