public class CashbookApi
extends java.lang.Object
| Constructor and Description |
|---|
CashbookApi() |
CashbookApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
CreateCashbookEntryResponse |
createCashbookEntry(java.lang.Integer companyId,
CreateCashbookEntryRequest createCashbookEntryRequest)
Create Cashbook Entry Creates a new cashbook entry.
|
okhttp3.Call |
createCashbookEntryAsync(java.lang.Integer companyId,
CreateCashbookEntryRequest createCashbookEntryRequest,
ApiCallback<CreateCashbookEntryResponse> _callback)
Create Cashbook Entry (asynchronously) Creates a new cashbook entry.
|
okhttp3.Call |
createCashbookEntryCall(java.lang.Integer companyId,
CreateCashbookEntryRequest createCashbookEntryRequest,
ApiCallback _callback)
Build call for createCashbookEntry
|
ApiResponse<CreateCashbookEntryResponse> |
createCashbookEntryWithHttpInfo(java.lang.Integer companyId,
CreateCashbookEntryRequest createCashbookEntryRequest)
Create Cashbook Entry Creates a new cashbook entry.
|
void |
deleteCashbookEntry(java.lang.Integer companyId,
java.lang.String documentId)
Delete Cashbook Entry Deletes the specified cashbook entry.
|
okhttp3.Call |
deleteCashbookEntryAsync(java.lang.Integer companyId,
java.lang.String documentId,
ApiCallback<java.lang.Void> _callback)
Delete Cashbook Entry (asynchronously) Deletes the specified cashbook entry.
|
okhttp3.Call |
deleteCashbookEntryCall(java.lang.Integer companyId,
java.lang.String documentId,
ApiCallback _callback)
Build call for deleteCashbookEntry
|
ApiResponse<java.lang.Void> |
deleteCashbookEntryWithHttpInfo(java.lang.Integer companyId,
java.lang.String documentId)
Delete Cashbook Entry Deletes the specified cashbook entry.
|
ApiClient |
getApiClient() |
GetCashbookEntryResponse |
getCashbookEntry(java.lang.Integer companyId,
java.lang.String documentId,
java.lang.String fields,
java.lang.String fieldset)
Get Cashbook Entry Gets the specified cashbook entry.
|
okhttp3.Call |
getCashbookEntryAsync(java.lang.Integer companyId,
java.lang.String documentId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback<GetCashbookEntryResponse> _callback)
Get Cashbook Entry (asynchronously) Gets the specified cashbook entry.
|
okhttp3.Call |
getCashbookEntryCall(java.lang.Integer companyId,
java.lang.String documentId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback _callback)
Build call for getCashbookEntry
|
ApiResponse<GetCashbookEntryResponse> |
getCashbookEntryWithHttpInfo(java.lang.Integer companyId,
java.lang.String documentId,
java.lang.String fields,
java.lang.String fieldset)
Get Cashbook Entry Gets the specified cashbook entry.
|
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
ListCashbookEntriesResponse |
listCashbookEntries(java.lang.Integer companyId,
java.lang.String dateFrom,
java.lang.String dateTo,
java.lang.Integer year,
java.lang.String type,
java.lang.Integer paymentAccountId)
List Cashbook Entries Lists the cashbook entries.
|
okhttp3.Call |
listCashbookEntriesAsync(java.lang.Integer companyId,
java.lang.String dateFrom,
java.lang.String dateTo,
java.lang.Integer year,
java.lang.String type,
java.lang.Integer paymentAccountId,
ApiCallback<ListCashbookEntriesResponse> _callback)
List Cashbook Entries (asynchronously) Lists the cashbook entries.
|
okhttp3.Call |
listCashbookEntriesCall(java.lang.Integer companyId,
java.lang.String dateFrom,
java.lang.String dateTo,
java.lang.Integer year,
java.lang.String type,
java.lang.Integer paymentAccountId,
ApiCallback _callback)
Build call for listCashbookEntries
|
ApiResponse<ListCashbookEntriesResponse> |
listCashbookEntriesWithHttpInfo(java.lang.Integer companyId,
java.lang.String dateFrom,
java.lang.String dateTo,
java.lang.Integer year,
java.lang.String type,
java.lang.Integer paymentAccountId)
List Cashbook Entries Lists the cashbook entries.
|
ModifyCashbookEntryResponse |
modifyCashbookEntry(java.lang.Integer companyId,
java.lang.String documentId,
ModifyCashbookEntryRequest modifyCashbookEntryRequest)
Modify Cashbook Entry Modifies the specified cashbook entry.
|
okhttp3.Call |
modifyCashbookEntryAsync(java.lang.Integer companyId,
java.lang.String documentId,
ModifyCashbookEntryRequest modifyCashbookEntryRequest,
ApiCallback<ModifyCashbookEntryResponse> _callback)
Modify Cashbook Entry (asynchronously) Modifies the specified cashbook entry.
|
okhttp3.Call |
modifyCashbookEntryCall(java.lang.Integer companyId,
java.lang.String documentId,
ModifyCashbookEntryRequest modifyCashbookEntryRequest,
ApiCallback _callback)
Build call for modifyCashbookEntry
|
ApiResponse<ModifyCashbookEntryResponse> |
modifyCashbookEntryWithHttpInfo(java.lang.Integer companyId,
java.lang.String documentId,
ModifyCashbookEntryRequest modifyCashbookEntryRequest)
Modify Cashbook Entry Modifies the specified cashbook entry.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public CashbookApi()
public CashbookApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call createCashbookEntryCall(java.lang.Integer companyId,
CreateCashbookEntryRequest createCashbookEntryRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)createCashbookEntryRequest - Cashbook entry. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | The created Cashbook Entry. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public CreateCashbookEntryResponse createCashbookEntry(java.lang.Integer companyId, CreateCashbookEntryRequest createCashbookEntryRequest) throws ApiException
companyId - The ID of the company. (required)createCashbookEntryRequest - Cashbook entry. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | The created Cashbook Entry. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<CreateCashbookEntryResponse> createCashbookEntryWithHttpInfo(java.lang.Integer companyId, CreateCashbookEntryRequest createCashbookEntryRequest) throws ApiException
companyId - The ID of the company. (required)createCashbookEntryRequest - Cashbook entry. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | The created Cashbook Entry. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call createCashbookEntryAsync(java.lang.Integer companyId,
CreateCashbookEntryRequest createCashbookEntryRequest,
ApiCallback<CreateCashbookEntryResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)createCashbookEntryRequest - Cashbook entry. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | The created Cashbook Entry. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call deleteCashbookEntryCall(java.lang.Integer companyId,
java.lang.String documentId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Document removed. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public void deleteCashbookEntry(java.lang.Integer companyId,
java.lang.String documentId)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Document removed. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<java.lang.Void> deleteCashbookEntryWithHttpInfo(java.lang.Integer companyId, java.lang.String documentId) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Document removed. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call deleteCashbookEntryAsync(java.lang.Integer companyId,
java.lang.String documentId,
ApiCallback<java.lang.Void> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Document removed. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call getCashbookEntryCall(java.lang.Integer companyId,
java.lang.String documentId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)fields - List of comma-separated fields. (optional)fieldset - Name of the fieldset. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Cashbook Entry. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public GetCashbookEntryResponse getCashbookEntry(java.lang.Integer companyId, java.lang.String documentId, java.lang.String fields, java.lang.String fieldset) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)fields - List of comma-separated fields. (optional)fieldset - Name of the fieldset. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Cashbook Entry. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<GetCashbookEntryResponse> getCashbookEntryWithHttpInfo(java.lang.Integer companyId, java.lang.String documentId, java.lang.String fields, java.lang.String fieldset) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)fields - List of comma-separated fields. (optional)fieldset - Name of the fieldset. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Cashbook Entry. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call getCashbookEntryAsync(java.lang.Integer companyId,
java.lang.String documentId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback<GetCashbookEntryResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)fields - List of comma-separated fields. (optional)fieldset - Name of the fieldset. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Cashbook Entry. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call listCashbookEntriesCall(java.lang.Integer companyId,
java.lang.String dateFrom,
java.lang.String dateTo,
java.lang.Integer year,
java.lang.String type,
java.lang.Integer paymentAccountId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)dateFrom - Start date. (required)dateTo - End date. (required)year - Filter cashbook by year. (optional)type - Filter cashbook by type. (optional)paymentAccountId - Filter by payment account. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Results list. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ListCashbookEntriesResponse listCashbookEntries(java.lang.Integer companyId, java.lang.String dateFrom, java.lang.String dateTo, java.lang.Integer year, java.lang.String type, java.lang.Integer paymentAccountId) throws ApiException
companyId - The ID of the company. (required)dateFrom - Start date. (required)dateTo - End date. (required)year - Filter cashbook by year. (optional)type - Filter cashbook by type. (optional)paymentAccountId - Filter by payment account. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Results list. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<ListCashbookEntriesResponse> listCashbookEntriesWithHttpInfo(java.lang.Integer companyId, java.lang.String dateFrom, java.lang.String dateTo, java.lang.Integer year, java.lang.String type, java.lang.Integer paymentAccountId) throws ApiException
companyId - The ID of the company. (required)dateFrom - Start date. (required)dateTo - End date. (required)year - Filter cashbook by year. (optional)type - Filter cashbook by type. (optional)paymentAccountId - Filter by payment account. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Results list. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call listCashbookEntriesAsync(java.lang.Integer companyId,
java.lang.String dateFrom,
java.lang.String dateTo,
java.lang.Integer year,
java.lang.String type,
java.lang.Integer paymentAccountId,
ApiCallback<ListCashbookEntriesResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)dateFrom - Start date. (required)dateTo - End date. (required)year - Filter cashbook by year. (optional)type - Filter cashbook by type. (optional)paymentAccountId - Filter by payment account. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Results list. | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call modifyCashbookEntryCall(java.lang.Integer companyId,
java.lang.String documentId,
ModifyCashbookEntryRequest modifyCashbookEntryRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)modifyCashbookEntryRequest - Cashbook Entry (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | The modified Cashbook Entry | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ModifyCashbookEntryResponse modifyCashbookEntry(java.lang.Integer companyId, java.lang.String documentId, ModifyCashbookEntryRequest modifyCashbookEntryRequest) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)modifyCashbookEntryRequest - Cashbook Entry (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | The modified Cashbook Entry | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public ApiResponse<ModifyCashbookEntryResponse> modifyCashbookEntryWithHttpInfo(java.lang.Integer companyId, java.lang.String documentId, ModifyCashbookEntryRequest modifyCashbookEntryRequest) throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)modifyCashbookEntryRequest - Cashbook Entry (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | The modified Cashbook Entry | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |
public okhttp3.Call modifyCashbookEntryAsync(java.lang.Integer companyId,
java.lang.String documentId,
ModifyCashbookEntryRequest modifyCashbookEntryRequest,
ApiCallback<ModifyCashbookEntryResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)documentId - The ID of the document. (required)modifyCashbookEntryRequest - Cashbook Entry (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | The modified Cashbook Entry | - |
| 401 | Unauthorized | - |
| 404 | Not Found | - |