Class EntityServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.dinari.api.services.async.v2.EntityServiceAsync
public final class EntityServiceAsyncImpl implements EntityServiceAsync
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEntityServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description EntityServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. EntityServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. AccountServiceAsyncaccounts()Accountsrepresent the financial accounts of anEntity.KycServiceAsynckyc()KYC (Know Your Customer) is a process of verifying the identity of customer Entities.CompletableFuture<Entity>create(EntityCreateParams params, RequestOptions requestOptions)CompletableFuture<Entity>update(EntityUpdateParams params, RequestOptions requestOptions)CompletableFuture<List<Entity>>list(EntityListParams params, RequestOptions requestOptions)CompletableFuture<Entity>retrieveById(EntityRetrieveByIdParams params, RequestOptions requestOptions)CompletableFuture<Entity>retrieveCurrent(EntityRetrieveCurrentParams params, RequestOptions requestOptions)-
Methods inherited from class com.dinari.api.services.async.v2.EntityServiceAsync
create, list, list, list, retrieveById, retrieveById, retrieveById, retrieveById, retrieveById, retrieveCurrent, retrieveCurrent, retrieveCurrent, update, update, update, update, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
EntityServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
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
AccountServiceAsync accounts()
Accountsrepresent the financial accounts of anEntity.Orders, dividends, and other transactions are associated with anAccount.
-
kyc
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, RequestOptions requestOptions)
-
update
CompletableFuture<Entity> update(EntityUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<List<Entity>> list(EntityListParams params, RequestOptions requestOptions)
-
retrieveById
CompletableFuture<Entity> retrieveById(EntityRetrieveByIdParams params, RequestOptions requestOptions)
-
retrieveCurrent
CompletableFuture<Entity> retrieveCurrent(EntityRetrieveCurrentParams params, RequestOptions requestOptions)
-
-
-
-