Class EntityServiceImpl
-
- All Implemented Interfaces:
-
com.dinari.api.services.blocking.v2.EntityService
public final class EntityServiceImpl implements EntityService
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 classEntityServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description EntityService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. EntityServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. AccountServiceaccounts()Accountsrepresent the financial accounts of anEntity.KycServicekyc()KYC (Know Your Customer) is a process of verifying the identity of customer Entities.Entitycreate(EntityCreateParams params, RequestOptions requestOptions)Entityupdate(EntityUpdateParams params, RequestOptions requestOptions)List<Entity>list(EntityListParams params, RequestOptions requestOptions)EntityretrieveById(EntityRetrieveByIdParams params, RequestOptions requestOptions)EntityretrieveCurrent(EntityRetrieveCurrentParams params, RequestOptions requestOptions)-
Methods inherited from class com.dinari.api.services.blocking.v2.EntityService
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
EntityService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
EntityService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
accounts
AccountService accounts()
Accountsrepresent the financial accounts of anEntity.Orders, dividends, and other transactions are associated with anAccount.
-
kyc
KycService 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
Entity create(EntityCreateParams params, RequestOptions requestOptions)
-
update
Entity update(EntityUpdateParams params, RequestOptions requestOptions)
-
list
List<Entity> list(EntityListParams params, RequestOptions requestOptions)
-
retrieveById
Entity retrieveById(EntityRetrieveByIdParams params, RequestOptions requestOptions)
-
retrieveCurrent
Entity retrieveCurrent(EntityRetrieveCurrentParams params, RequestOptions requestOptions)
-
-
-
-