public class SettingsApi
extends java.lang.Object
| Constructor and Description |
|---|
SettingsApi() |
SettingsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
CreatePaymentAccountResponse |
createPaymentAccount(java.lang.Integer companyId,
CreatePaymentAccountRequest createPaymentAccountRequest)
Create Payment Account Creates a new payment account.
|
okhttp3.Call |
createPaymentAccountAsync(java.lang.Integer companyId,
CreatePaymentAccountRequest createPaymentAccountRequest,
ApiCallback<CreatePaymentAccountResponse> _callback)
Create Payment Account (asynchronously) Creates a new payment account.
|
okhttp3.Call |
createPaymentAccountCall(java.lang.Integer companyId,
CreatePaymentAccountRequest createPaymentAccountRequest,
ApiCallback _callback)
Build call for createPaymentAccount
|
ApiResponse<CreatePaymentAccountResponse> |
createPaymentAccountWithHttpInfo(java.lang.Integer companyId,
CreatePaymentAccountRequest createPaymentAccountRequest)
Create Payment Account Creates a new payment account.
|
CreatePaymentMethodResponse |
createPaymentMethod(java.lang.Integer companyId,
CreatePaymentMethodRequest createPaymentMethodRequest)
Create Payment Method Creates a new payment method.
|
okhttp3.Call |
createPaymentMethodAsync(java.lang.Integer companyId,
CreatePaymentMethodRequest createPaymentMethodRequest,
ApiCallback<CreatePaymentMethodResponse> _callback)
Create Payment Method (asynchronously) Creates a new payment method.
|
okhttp3.Call |
createPaymentMethodCall(java.lang.Integer companyId,
CreatePaymentMethodRequest createPaymentMethodRequest,
ApiCallback _callback)
Build call for createPaymentMethod
|
ApiResponse<CreatePaymentMethodResponse> |
createPaymentMethodWithHttpInfo(java.lang.Integer companyId,
CreatePaymentMethodRequest createPaymentMethodRequest)
Create Payment Method Creates a new payment method.
|
CreateVatTypeResponse |
createVatType(java.lang.Integer companyId,
CreateVatTypeRequest createVatTypeRequest)
Create Vat Type Creates a vat type.
|
okhttp3.Call |
createVatTypeAsync(java.lang.Integer companyId,
CreateVatTypeRequest createVatTypeRequest,
ApiCallback<CreateVatTypeResponse> _callback)
Create Vat Type (asynchronously) Creates a vat type.
|
okhttp3.Call |
createVatTypeCall(java.lang.Integer companyId,
CreateVatTypeRequest createVatTypeRequest,
ApiCallback _callback)
Build call for createVatType
|
ApiResponse<CreateVatTypeResponse> |
createVatTypeWithHttpInfo(java.lang.Integer companyId,
CreateVatTypeRequest createVatTypeRequest)
Create Vat Type Creates a vat type.
|
void |
deletePaymentAccount(java.lang.Integer companyId,
java.lang.Integer paymentAccountId)
Delete Payment Account Deletes the specified payment account.
|
okhttp3.Call |
deletePaymentAccountAsync(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
ApiCallback<java.lang.Void> _callback)
Delete Payment Account (asynchronously) Deletes the specified payment account.
|
okhttp3.Call |
deletePaymentAccountCall(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
ApiCallback _callback)
Build call for deletePaymentAccount
|
ApiResponse<java.lang.Void> |
deletePaymentAccountWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer paymentAccountId)
Delete Payment Account Deletes the specified payment account.
|
void |
deletePaymentMethod(java.lang.Integer companyId,
java.lang.Integer paymentMethodId)
Delete Payment Method Deletes the specified payment method.
|
okhttp3.Call |
deletePaymentMethodAsync(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
ApiCallback<java.lang.Void> _callback)
Delete Payment Method (asynchronously) Deletes the specified payment method.
|
okhttp3.Call |
deletePaymentMethodCall(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
ApiCallback _callback)
Build call for deletePaymentMethod
|
ApiResponse<java.lang.Void> |
deletePaymentMethodWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer paymentMethodId)
Delete Payment Method Deletes the specified payment method.
|
void |
deleteVatType(java.lang.Integer companyId,
java.lang.Integer vatTypeId)
Delete Vat Type Deletes the specified vat type.
|
okhttp3.Call |
deleteVatTypeAsync(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ApiCallback<java.lang.Void> _callback)
Delete Vat Type (asynchronously) Deletes the specified vat type.
|
okhttp3.Call |
deleteVatTypeCall(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ApiCallback _callback)
Build call for deleteVatType
|
ApiResponse<java.lang.Void> |
deleteVatTypeWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer vatTypeId)
Delete Vat Type Deletes the specified vat type.
|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
int |
getHostIndex() |
GetPaymentAccountResponse |
getPaymentAccount(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
java.lang.String fields,
java.lang.String fieldset)
Get Payment Account Gets the specified payment account.
|
okhttp3.Call |
getPaymentAccountAsync(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback<GetPaymentAccountResponse> _callback)
Get Payment Account (asynchronously) Gets the specified payment account.
|
okhttp3.Call |
getPaymentAccountCall(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback _callback)
Build call for getPaymentAccount
|
ApiResponse<GetPaymentAccountResponse> |
getPaymentAccountWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
java.lang.String fields,
java.lang.String fieldset)
Get Payment Account Gets the specified payment account.
|
GetPaymentMethodResponse |
getPaymentMethod(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
java.lang.String fields,
java.lang.String fieldset)
Get Payment Method Gets the specified payment method.
|
okhttp3.Call |
getPaymentMethodAsync(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback<GetPaymentMethodResponse> _callback)
Get Payment Method (asynchronously) Gets the specified payment method.
|
okhttp3.Call |
getPaymentMethodCall(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback _callback)
Build call for getPaymentMethod
|
ApiResponse<GetPaymentMethodResponse> |
getPaymentMethodWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
java.lang.String fields,
java.lang.String fieldset)
Get Payment Method Gets the specified payment method.
|
GetTaxProfileResponse |
getTaxProfile(java.lang.Integer companyId)
Get Tax Profile Gets the Tax Profile
|
okhttp3.Call |
getTaxProfileAsync(java.lang.Integer companyId,
ApiCallback<GetTaxProfileResponse> _callback)
Get Tax Profile (asynchronously) Gets the Tax Profile
|
okhttp3.Call |
getTaxProfileCall(java.lang.Integer companyId,
ApiCallback _callback)
Build call for getTaxProfile
|
ApiResponse<GetTaxProfileResponse> |
getTaxProfileWithHttpInfo(java.lang.Integer companyId)
Get Tax Profile Gets the Tax Profile
|
GetVatTypeResponse |
getVatType(java.lang.Integer companyId,
java.lang.Integer vatTypeId)
Get Vat Type Gets the specified vat type.
|
okhttp3.Call |
getVatTypeAsync(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ApiCallback<GetVatTypeResponse> _callback)
Get Vat Type (asynchronously) Gets the specified vat type.
|
okhttp3.Call |
getVatTypeCall(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ApiCallback _callback)
Build call for getVatType
|
ApiResponse<GetVatTypeResponse> |
getVatTypeWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer vatTypeId)
Get Vat Type Gets the specified vat type.
|
ModifyPaymentAccountResponse |
modifyPaymentAccount(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
ModifyPaymentAccountRequest modifyPaymentAccountRequest)
Modify Payment Account Modifies the specified payment account.
|
okhttp3.Call |
modifyPaymentAccountAsync(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
ModifyPaymentAccountRequest modifyPaymentAccountRequest,
ApiCallback<ModifyPaymentAccountResponse> _callback)
Modify Payment Account (asynchronously) Modifies the specified payment account.
|
okhttp3.Call |
modifyPaymentAccountCall(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
ModifyPaymentAccountRequest modifyPaymentAccountRequest,
ApiCallback _callback)
Build call for modifyPaymentAccount
|
ApiResponse<ModifyPaymentAccountResponse> |
modifyPaymentAccountWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
ModifyPaymentAccountRequest modifyPaymentAccountRequest)
Modify Payment Account Modifies the specified payment account.
|
ModifyPaymentMethodResponse |
modifyPaymentMethod(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
ModifyPaymentMethodRequest modifyPaymentMethodRequest)
Modify Payment Method Modifies the specified payment method.
|
okhttp3.Call |
modifyPaymentMethodAsync(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
ModifyPaymentMethodRequest modifyPaymentMethodRequest,
ApiCallback<ModifyPaymentMethodResponse> _callback)
Modify Payment Method (asynchronously) Modifies the specified payment method.
|
okhttp3.Call |
modifyPaymentMethodCall(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
ModifyPaymentMethodRequest modifyPaymentMethodRequest,
ApiCallback _callback)
Build call for modifyPaymentMethod
|
ApiResponse<ModifyPaymentMethodResponse> |
modifyPaymentMethodWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
ModifyPaymentMethodRequest modifyPaymentMethodRequest)
Modify Payment Method Modifies the specified payment method.
|
ModifyVatTypeResponse |
modifyVatType(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ModifyVatTypeRequest modifyVatTypeRequest)
Modify Vat Type Modifies the specified vat type.
|
okhttp3.Call |
modifyVatTypeAsync(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ModifyVatTypeRequest modifyVatTypeRequest,
ApiCallback<ModifyVatTypeResponse> _callback)
Modify Vat Type (asynchronously) Modifies the specified vat type.
|
okhttp3.Call |
modifyVatTypeCall(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ModifyVatTypeRequest modifyVatTypeRequest,
ApiCallback _callback)
Build call for modifyVatType
|
ApiResponse<ModifyVatTypeResponse> |
modifyVatTypeWithHttpInfo(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ModifyVatTypeRequest modifyVatTypeRequest)
Modify Vat Type Modifies the specified vat type.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public SettingsApi()
public SettingsApi(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 createPaymentAccountCall(java.lang.Integer companyId,
CreatePaymentAccountRequest createPaymentAccountRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)createPaymentAccountRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public CreatePaymentAccountResponse createPaymentAccount(java.lang.Integer companyId, CreatePaymentAccountRequest createPaymentAccountRequest) throws ApiException
companyId - The ID of the company. (required)createPaymentAccountRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<CreatePaymentAccountResponse> createPaymentAccountWithHttpInfo(java.lang.Integer companyId, CreatePaymentAccountRequest createPaymentAccountRequest) throws ApiException
companyId - The ID of the company. (required)createPaymentAccountRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call createPaymentAccountAsync(java.lang.Integer companyId,
CreatePaymentAccountRequest createPaymentAccountRequest,
ApiCallback<CreatePaymentAccountResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)createPaymentAccountRequest - (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 | Example response | - |
public okhttp3.Call createPaymentMethodCall(java.lang.Integer companyId,
CreatePaymentMethodRequest createPaymentMethodRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)createPaymentMethodRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public CreatePaymentMethodResponse createPaymentMethod(java.lang.Integer companyId, CreatePaymentMethodRequest createPaymentMethodRequest) throws ApiException
companyId - The ID of the company. (required)createPaymentMethodRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<CreatePaymentMethodResponse> createPaymentMethodWithHttpInfo(java.lang.Integer companyId, CreatePaymentMethodRequest createPaymentMethodRequest) throws ApiException
companyId - The ID of the company. (required)createPaymentMethodRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call createPaymentMethodAsync(java.lang.Integer companyId,
CreatePaymentMethodRequest createPaymentMethodRequest,
ApiCallback<CreatePaymentMethodResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)createPaymentMethodRequest - (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 | Example response | - |
public okhttp3.Call createVatTypeCall(java.lang.Integer companyId,
CreateVatTypeRequest createVatTypeRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)createVatTypeRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public CreateVatTypeResponse createVatType(java.lang.Integer companyId, CreateVatTypeRequest createVatTypeRequest) throws ApiException
companyId - The ID of the company. (required)createVatTypeRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<CreateVatTypeResponse> createVatTypeWithHttpInfo(java.lang.Integer companyId, CreateVatTypeRequest createVatTypeRequest) throws ApiException
companyId - The ID of the company. (required)createVatTypeRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call createVatTypeAsync(java.lang.Integer companyId,
CreateVatTypeRequest createVatTypeRequest,
ApiCallback<CreateVatTypeResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)createVatTypeRequest - (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 | Example response | - |
public okhttp3.Call deletePaymentAccountCall(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)paymentAccountId - The Referred Payment Account Id. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public void deletePaymentAccount(java.lang.Integer companyId,
java.lang.Integer paymentAccountId)
throws ApiException
companyId - The ID of the company. (required)paymentAccountId - The Referred Payment Account Id. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public ApiResponse<java.lang.Void> deletePaymentAccountWithHttpInfo(java.lang.Integer companyId, java.lang.Integer paymentAccountId) throws ApiException
companyId - The ID of the company. (required)paymentAccountId - The Referred Payment Account Id. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call deletePaymentAccountAsync(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
ApiCallback<java.lang.Void> _callback)
throws ApiException
companyId - The ID of the company. (required)paymentAccountId - The Referred Payment Account Id. (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 | OK | - |
public okhttp3.Call deletePaymentMethodCall(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)paymentMethodId - The Referred Payment Method Id. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public void deletePaymentMethod(java.lang.Integer companyId,
java.lang.Integer paymentMethodId)
throws ApiException
companyId - The ID of the company. (required)paymentMethodId - The Referred Payment Method Id. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public ApiResponse<java.lang.Void> deletePaymentMethodWithHttpInfo(java.lang.Integer companyId, java.lang.Integer paymentMethodId) throws ApiException
companyId - The ID of the company. (required)paymentMethodId - The Referred Payment Method Id. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call deletePaymentMethodAsync(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
ApiCallback<java.lang.Void> _callback)
throws ApiException
companyId - The ID of the company. (required)paymentMethodId - The Referred Payment Method Id. (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 | OK | - |
public okhttp3.Call deleteVatTypeCall(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)vatTypeId - The Referred Vat Type Id. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
public void deleteVatType(java.lang.Integer companyId,
java.lang.Integer vatTypeId)
throws ApiException
companyId - The ID of the company. (required)vatTypeId - The Referred Vat Type Id. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public ApiResponse<java.lang.Void> deleteVatTypeWithHttpInfo(java.lang.Integer companyId, java.lang.Integer vatTypeId) throws ApiException
companyId - The ID of the company. (required)vatTypeId - The Referred Vat Type Id. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | OK | - |
public okhttp3.Call deleteVatTypeAsync(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ApiCallback<java.lang.Void> _callback)
throws ApiException
companyId - The ID of the company. (required)vatTypeId - The Referred Vat Type Id. (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 | OK | - |
public okhttp3.Call getPaymentAccountCall(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)paymentAccountId - The Referred Payment Account Id. (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 | Example response | - |
public GetPaymentAccountResponse getPaymentAccount(java.lang.Integer companyId, java.lang.Integer paymentAccountId, java.lang.String fields, java.lang.String fieldset) throws ApiException
companyId - The ID of the company. (required)paymentAccountId - The Referred Payment Account Id. (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 | Example response | - |
public ApiResponse<GetPaymentAccountResponse> getPaymentAccountWithHttpInfo(java.lang.Integer companyId, java.lang.Integer paymentAccountId, java.lang.String fields, java.lang.String fieldset) throws ApiException
companyId - The ID of the company. (required)paymentAccountId - The Referred Payment Account Id. (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 | Example response | - |
public okhttp3.Call getPaymentAccountAsync(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback<GetPaymentAccountResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)paymentAccountId - The Referred Payment Account Id. (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 | Example response | - |
public okhttp3.Call getPaymentMethodCall(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)paymentMethodId - The Referred Payment Method Id. (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 | Example response | - |
public GetPaymentMethodResponse getPaymentMethod(java.lang.Integer companyId, java.lang.Integer paymentMethodId, java.lang.String fields, java.lang.String fieldset) throws ApiException
companyId - The ID of the company. (required)paymentMethodId - The Referred Payment Method Id. (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 | Example response | - |
public ApiResponse<GetPaymentMethodResponse> getPaymentMethodWithHttpInfo(java.lang.Integer companyId, java.lang.Integer paymentMethodId, java.lang.String fields, java.lang.String fieldset) throws ApiException
companyId - The ID of the company. (required)paymentMethodId - The Referred Payment Method Id. (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 | Example response | - |
public okhttp3.Call getPaymentMethodAsync(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
java.lang.String fields,
java.lang.String fieldset,
ApiCallback<GetPaymentMethodResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)paymentMethodId - The Referred Payment Method Id. (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 | Example response | - |
public okhttp3.Call getTaxProfileCall(java.lang.Integer companyId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public GetTaxProfileResponse getTaxProfile(java.lang.Integer companyId) throws ApiException
companyId - The ID of the company. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<GetTaxProfileResponse> getTaxProfileWithHttpInfo(java.lang.Integer companyId) throws ApiException
companyId - The ID of the company. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call getTaxProfileAsync(java.lang.Integer companyId,
ApiCallback<GetTaxProfileResponse> _callback)
throws ApiException
companyId - The ID of the company. (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 | Example response | - |
public okhttp3.Call getVatTypeCall(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)vatTypeId - The Referred Vat Type Id. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public GetVatTypeResponse getVatType(java.lang.Integer companyId, java.lang.Integer vatTypeId) throws ApiException
companyId - The ID of the company. (required)vatTypeId - The Referred Vat Type Id. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<GetVatTypeResponse> getVatTypeWithHttpInfo(java.lang.Integer companyId, java.lang.Integer vatTypeId) throws ApiException
companyId - The ID of the company. (required)vatTypeId - The Referred Vat Type Id. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call getVatTypeAsync(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ApiCallback<GetVatTypeResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)vatTypeId - The Referred Vat Type Id. (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 | Example response | - |
public okhttp3.Call modifyPaymentAccountCall(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
ModifyPaymentAccountRequest modifyPaymentAccountRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)paymentAccountId - The Referred Payment Account Id. (required)modifyPaymentAccountRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ModifyPaymentAccountResponse modifyPaymentAccount(java.lang.Integer companyId, java.lang.Integer paymentAccountId, ModifyPaymentAccountRequest modifyPaymentAccountRequest) throws ApiException
companyId - The ID of the company. (required)paymentAccountId - The Referred Payment Account Id. (required)modifyPaymentAccountRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<ModifyPaymentAccountResponse> modifyPaymentAccountWithHttpInfo(java.lang.Integer companyId, java.lang.Integer paymentAccountId, ModifyPaymentAccountRequest modifyPaymentAccountRequest) throws ApiException
companyId - The ID of the company. (required)paymentAccountId - The Referred Payment Account Id. (required)modifyPaymentAccountRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call modifyPaymentAccountAsync(java.lang.Integer companyId,
java.lang.Integer paymentAccountId,
ModifyPaymentAccountRequest modifyPaymentAccountRequest,
ApiCallback<ModifyPaymentAccountResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)paymentAccountId - The Referred Payment Account Id. (required)modifyPaymentAccountRequest - (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 | Example response | - |
public okhttp3.Call modifyPaymentMethodCall(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
ModifyPaymentMethodRequest modifyPaymentMethodRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)paymentMethodId - The Referred Payment Method Id. (required)modifyPaymentMethodRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ModifyPaymentMethodResponse modifyPaymentMethod(java.lang.Integer companyId, java.lang.Integer paymentMethodId, ModifyPaymentMethodRequest modifyPaymentMethodRequest) throws ApiException
companyId - The ID of the company. (required)paymentMethodId - The Referred Payment Method Id. (required)modifyPaymentMethodRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<ModifyPaymentMethodResponse> modifyPaymentMethodWithHttpInfo(java.lang.Integer companyId, java.lang.Integer paymentMethodId, ModifyPaymentMethodRequest modifyPaymentMethodRequest) throws ApiException
companyId - The ID of the company. (required)paymentMethodId - The Referred Payment Method Id. (required)modifyPaymentMethodRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call modifyPaymentMethodAsync(java.lang.Integer companyId,
java.lang.Integer paymentMethodId,
ModifyPaymentMethodRequest modifyPaymentMethodRequest,
ApiCallback<ModifyPaymentMethodResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)paymentMethodId - The Referred Payment Method Id. (required)modifyPaymentMethodRequest - (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 | Example response | - |
public okhttp3.Call modifyVatTypeCall(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ModifyVatTypeRequest modifyVatTypeRequest,
ApiCallback _callback)
throws ApiException
companyId - The ID of the company. (required)vatTypeId - The Referred Vat Type Id. (required)modifyVatTypeRequest - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ModifyVatTypeResponse modifyVatType(java.lang.Integer companyId, java.lang.Integer vatTypeId, ModifyVatTypeRequest modifyVatTypeRequest) throws ApiException
companyId - The ID of the company. (required)vatTypeId - The Referred Vat Type Id. (required)modifyVatTypeRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public ApiResponse<ModifyVatTypeResponse> modifyVatTypeWithHttpInfo(java.lang.Integer companyId, java.lang.Integer vatTypeId, ModifyVatTypeRequest modifyVatTypeRequest) throws ApiException
companyId - The ID of the company. (required)vatTypeId - The Referred Vat Type Id. (required)modifyVatTypeRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response body| Status Code | Description | Response Headers |
| 200 | Example response | - |
public okhttp3.Call modifyVatTypeAsync(java.lang.Integer companyId,
java.lang.Integer vatTypeId,
ModifyVatTypeRequest modifyVatTypeRequest,
ApiCallback<ModifyVatTypeResponse> _callback)
throws ApiException
companyId - The ID of the company. (required)vatTypeId - The Referred Vat Type Id. (required)modifyVatTypeRequest - (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 | Example response | - |