public final class CounterpartyClient extends EntityClientBase implements GetListEndpoint<Counterparty>, PostEndpoint<Counterparty>, DeleteByIdEndpoint, MetadataEndpoint<CounterpartyMetadataResponse>, MetadataAttributeEndpoint, GetByIdEndpoint<Counterparty>, PutByIdEndpoint<Counterparty>, MassCreateUpdateDeleteEndpoint<Counterparty>, HasStatesEndpoint, HasSettingsEndpoint<CounterpartySettings>, HasFilesEndpoint<Counterparty>
api, path| Constructor and Description |
|---|
CounterpartyClient(ApiClient api) |
api, path, positionEntityClassclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetcreatedelete, deletemetadatacreateMetadataAttribute, deleteMetadataAttribute, deleteMetadataAttribute, metadataAttributes, metadataAttributes, updateMetadataAttribute, updateMetadataAttributeget, getupdate, updatedeletecreateOrUpdateapi, path, positionEntityClassstatessettingsaddFile, addFile, deleteFile, deleteFile, deleteFile, deleteFile, deleteFiles, deleteFiles, getFiles, getFiles, updateFiles, updateFilespublic CounterpartyClient(ApiClient api)
public ListEntity<AgentAccount> getAccounts(String id, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic AgentAccount getAccount(String counterpartyId, String accountId, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic AgentAccount getAccount(Counterparty counterparty, String accountId, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic AgentAccount getAccount(Counterparty counterparty, AgentAccount account, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic ListEntity<ContactPerson> getContactPersons(String counterpartyId, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic ListEntity<ContactPerson> getContactPersons(Counterparty counterparty, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic ContactPerson createContactPerson(String counterpartyId, ContactPerson newEntity) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic ContactPerson getContactPerson(String counterpartyId, String contactPersonId, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic ContactPerson getContactPerson(Counterparty counterparty, String contactPersonId, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic ContactPerson getContactPerson(Counterparty counterparty, ContactPerson contactPerson, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void updateContactPerson(String counterpartyId, String contactPersonId, ContactPerson updatedEntity) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void updateContactPerson(Counterparty counterparty, String contactPersonId, ContactPerson updatedEntity) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void updateContactPerson(Counterparty counterparty, ContactPerson contactPerson, ContactPerson updatedEntity) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void updateContactPerson(Counterparty counterparty, ContactPerson contactPerson) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic ListEntity<Note> getNotes(String counterpartyId, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic ListEntity<Note> getNotes(Counterparty counterparty, ApiParam... params) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic Note createNote(String counterpartyId, Note newEntity) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic Note getNote(String counterpartyId, String noteId) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic Note getNote(Counterparty counterparty, String noteId) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic Note getNote(Counterparty counterparty, Note note) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void updateNote(String counterpartyId, String noteId, Note updatedEntity) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void updateNote(Counterparty counterparty, String noteId, Note updatedEntity) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void updateNote(Counterparty counterparty, Note note, Note updatedEntity) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void updateNote(Counterparty counterparty, Note note) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void deleteNote(String counterpartyId, String noteId) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void deleteNote(Counterparty counterparty, String noteId) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void deleteNote(Counterparty counterparty, Note note) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic Class<? extends MetaEntity> entityClass()
entityClass in interface EndpointentityClass in class EntityClientBasepublic Class<? extends MetaEntity> metaEntityClass()
metaEntityClass in interface EndpointmetaEntityClass in class EntityClientBasepublic Class<CounterpartySettings> settingsEntityClass()
settingsEntityClass in interface HasSettingsEndpoint<CounterpartySettings>Copyright © 2021. All rights reserved.