Interface EntityServiceAsync
-
- All Implemented Interfaces:
public interface EntityServiceAsyncEntitiesrepresent 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceEntityServiceAsync.WithRawResponseA view of EntityServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract EntityServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract EntityServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
accounts
abstract AccountServiceAsync accounts()
Accountsrepresent the financial accounts of anEntity.Orders, dividends, and other transactions are associated with anAccount.
-
kyc
abstract KycServiceAsync kyc()
KYC (Know Your Customer) is a process of verifying the identity of customer
Entities.KYC is required for all customer
Entitiesthat transact on Dinari's platform.Dinari provides a managed KYC process for its Partners, which provides a convenient KYC flow URL to present to the end customer.
For Dinari Partners that supply their own KYC data, the API provides a way to record a customer's KYC information using the Partner's KYC data. This requires an existing KYC agreement between Dinari and the Partner.
-
create
CompletableFuture<Entity> create(EntityCreateParams params)
Create a new
Entityto be managed by your organization. ThisEntityrepresents an individual customer of your organization.
-
create
abstract CompletableFuture<Entity> create(EntityCreateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Entity> update(String entityId)
Update a specific customer
Entityof your organization.
-
update
CompletableFuture<Entity> update(String entityId, EntityUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Entity> update(String entityId, EntityUpdateParams params)
-
update
abstract CompletableFuture<Entity> update(EntityUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Entity> update(EntityUpdateParams params)
-
update
CompletableFuture<Entity> update(String entityId, RequestOptions requestOptions)
-
list
CompletableFuture<List<Entity>> list()
Get a list of direct
Entitiesyour organization manages. TheseEntitiesrepresent individual customers of your organization.
-
list
abstract CompletableFuture<List<Entity>> list(EntityListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<List<Entity>> list(EntityListParams params)
-
list
CompletableFuture<List<Entity>> list(RequestOptions requestOptions)
-
retrieveById
CompletableFuture<Entity> retrieveById(String entityId)
Get a specific customer
Entityof your organization by their ID.
-
retrieveById
CompletableFuture<Entity> retrieveById(String entityId, EntityRetrieveByIdParams params, RequestOptions requestOptions)
-
retrieveById
CompletableFuture<Entity> retrieveById(String entityId, EntityRetrieveByIdParams params)
-
retrieveById
abstract CompletableFuture<Entity> retrieveById(EntityRetrieveByIdParams params, RequestOptions requestOptions)
-
retrieveById
CompletableFuture<Entity> retrieveById(EntityRetrieveByIdParams params)
-
retrieveById
CompletableFuture<Entity> retrieveById(String entityId, RequestOptions requestOptions)
-
retrieveCurrent
CompletableFuture<Entity> retrieveCurrent()
Get the current authenticated
Entity, which represents your organization.
-
retrieveCurrent
abstract CompletableFuture<Entity> retrieveCurrent(EntityRetrieveCurrentParams params, RequestOptions requestOptions)
-
retrieveCurrent
CompletableFuture<Entity> retrieveCurrent(EntityRetrieveCurrentParams params)
-
retrieveCurrent
CompletableFuture<Entity> retrieveCurrent(RequestOptions requestOptions)
-
-
-
-