Interface AccountService
-
- All Implemented Interfaces:
public interface AccountService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAccountService.WithRawResponseA view of AccountService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract AccountService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract AccountService 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 WalletService wallet()
-
orders
abstract OrderService orders()
-
orderFulfillments
abstract OrderFulfillmentService orderFulfillments()
-
orderRequests
abstract OrderRequestService orderRequests()
-
withdrawalRequests
abstract WithdrawalRequestService withdrawalRequests()
-
withdrawals
abstract WithdrawalService withdrawals()
-
tokenTransfers
abstract TokenTransferService tokenTransfers()
-
retrieve
Account retrieve(String accountId, AccountRetrieveParams params, RequestOptions requestOptions)
-
retrieve
Account retrieve(String accountId, AccountRetrieveParams params)
-
retrieve
abstract Account retrieve(AccountRetrieveParams params, RequestOptions requestOptions)
-
retrieve
Account retrieve(AccountRetrieveParams params)
-
retrieve
Account retrieve(String accountId, RequestOptions requestOptions)
-
deactivate
Account deactivate(String accountId)
Set the
Accountto be inactive. Inactive accounts cannot be used for trading.
-
deactivate
Account deactivate(String accountId, AccountDeactivateParams params, RequestOptions requestOptions)
-
deactivate
Account deactivate(String accountId, AccountDeactivateParams params)
-
deactivate
abstract Account deactivate(AccountDeactivateParams params, RequestOptions requestOptions)
-
deactivate
Account deactivate(AccountDeactivateParams params)
-
deactivate
Account deactivate(String accountId, RequestOptions requestOptions)
-
getCashBalances
List<AccountGetCashBalancesResponse> getCashBalances(String accountId)
Get the cash balances of the
Account, including stablecoins and other cash equivalents.
-
getCashBalances
List<AccountGetCashBalancesResponse> getCashBalances(String accountId, AccountGetCashBalancesParams params, RequestOptions requestOptions)
-
getCashBalances
List<AccountGetCashBalancesResponse> getCashBalances(String accountId, AccountGetCashBalancesParams params)
-
getCashBalances
abstract List<AccountGetCashBalancesResponse> getCashBalances(AccountGetCashBalancesParams params, RequestOptions requestOptions)
-
getCashBalances
List<AccountGetCashBalancesResponse> getCashBalances(AccountGetCashBalancesParams params)
-
getCashBalances
List<AccountGetCashBalancesResponse> getCashBalances(String accountId, RequestOptions requestOptions)
-
getDividendPayments
List<AccountGetDividendPaymentsResponse> getDividendPayments(String accountId, AccountGetDividendPaymentsParams params)
Get dividend payments made to the
Accountfrom dividend-bearing stock holdings.
-
getDividendPayments
List<AccountGetDividendPaymentsResponse> getDividendPayments(String accountId, AccountGetDividendPaymentsParams params, RequestOptions requestOptions)
-
getDividendPayments
List<AccountGetDividendPaymentsResponse> getDividendPayments(AccountGetDividendPaymentsParams params)
-
getDividendPayments
abstract List<AccountGetDividendPaymentsResponse> getDividendPayments(AccountGetDividendPaymentsParams params, RequestOptions requestOptions)
-
getInterestPayments
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
List<AccountGetInterestPaymentsResponse> getInterestPayments(String accountId, AccountGetInterestPaymentsParams params, RequestOptions requestOptions)
-
getInterestPayments
List<AccountGetInterestPaymentsResponse> getInterestPayments(AccountGetInterestPaymentsParams params)
-
getInterestPayments
abstract List<AccountGetInterestPaymentsResponse> getInterestPayments(AccountGetInterestPaymentsParams params, RequestOptions requestOptions)
-
getPortfolio
AccountGetPortfolioResponse getPortfolio(String accountId)
Get the portfolio of the
Account, excluding cash equivalents such as stablecoins.
-
getPortfolio
AccountGetPortfolioResponse getPortfolio(String accountId, AccountGetPortfolioParams params, RequestOptions requestOptions)
-
getPortfolio
AccountGetPortfolioResponse getPortfolio(String accountId, AccountGetPortfolioParams params)
-
getPortfolio
abstract AccountGetPortfolioResponse getPortfolio(AccountGetPortfolioParams params, RequestOptions requestOptions)
-
getPortfolio
AccountGetPortfolioResponse getPortfolio(AccountGetPortfolioParams params)
-
getPortfolio
AccountGetPortfolioResponse getPortfolio(String accountId, RequestOptions requestOptions)
-
mintSandboxTokens
Unit mintSandboxTokens(String accountId)
Mints 1,000 mockUSD sandbox payment tokens to the
Walletconnected to theAccount.This feature is only supported in sandbox mode.
-
mintSandboxTokens
Unit mintSandboxTokens(String accountId, AccountMintSandboxTokensParams params, RequestOptions requestOptions)
-
mintSandboxTokens
Unit mintSandboxTokens(String accountId, AccountMintSandboxTokensParams params)
-
mintSandboxTokens
abstract Unit mintSandboxTokens(AccountMintSandboxTokensParams params, RequestOptions requestOptions)
-
mintSandboxTokens
Unit mintSandboxTokens(AccountMintSandboxTokensParams params)
-
mintSandboxTokens
Unit mintSandboxTokens(String accountId, RequestOptions requestOptions)
-
-
-
-