Interface AccountService
-
- All Implemented Interfaces:
public interface AccountServiceAccountsrepresent the financial accounts of anEntity.Orders, dividends, and other transactions are associated with anAccount.
-
-
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
Modifier and Type Method Description abstract AccountService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract AccountServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. Accountcreate(String entityId)Create a new Accountfor a specificEntity.Accountcreate(String entityId, AccountCreateParams params, RequestOptions requestOptions)Accountcreate(String entityId, AccountCreateParams params)abstract Accountcreate(AccountCreateParams params, RequestOptions requestOptions)Accountcreate(AccountCreateParams params)Accountcreate(String entityId, RequestOptions requestOptions)List<Account>list(String entityId)Get a list of all Accountsthat belong to a specificEntity.List<Account>list(String entityId, AccountListParams params, RequestOptions requestOptions)List<Account>list(String entityId, AccountListParams params)abstract List<Account>list(AccountListParams params, RequestOptions requestOptions)List<Account>list(AccountListParams params)List<Account>list(String entityId, RequestOptions requestOptions)-
-
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.
-
create
Account create(String entityId)
Create a new
Accountfor a specificEntity. ThisEntityrepresents your organization itself, or an individual customer of your organization.
-
create
Account create(String entityId, AccountCreateParams params, RequestOptions requestOptions)
-
create
Account create(String entityId, AccountCreateParams params)
-
create
abstract Account create(AccountCreateParams params, RequestOptions requestOptions)
-
create
Account create(AccountCreateParams params)
-
create
Account create(String entityId, RequestOptions requestOptions)
-
list
List<Account> list(String entityId)
Get a list of all
Accountsthat belong to a specificEntity. ThisEntityrepresents your organization itself, or an individual customer of your organization.
-
list
List<Account> list(String entityId, AccountListParams params, RequestOptions requestOptions)
-
list
List<Account> list(String entityId, AccountListParams params)
-
list
abstract List<Account> list(AccountListParams params, RequestOptions requestOptions)
-
list
List<Account> list(AccountListParams params)
-
list
List<Account> list(String entityId, RequestOptions requestOptions)
-
-
-
-