Package cm.xd.genapi.ynab.api
Class MoneyMovementsApi
java.lang.Object
cm.xd.genapi.ynab.api.MoneyMovementsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetMoneyMovementGroups(String planId) Get all money movement groups Returns all money movement groupsokhttp3.CallgetMoneyMovementGroupsAsync(String planId, ApiCallback<MoneyMovementGroupsResponse> _callback) Get all money movement groups (asynchronously) Returns all money movement groupsgetMoneyMovementGroupsByMonth(String planId, LocalDate month) Get money movement groups for a plan month Returns all money movement groups for a specific monthokhttp3.CallgetMoneyMovementGroupsByMonthAsync(String planId, LocalDate month, ApiCallback<MoneyMovementGroupsResponse> _callback) Get money movement groups for a plan month (asynchronously) Returns all money movement groups for a specific monthokhttp3.CallgetMoneyMovementGroupsByMonthCall(String planId, LocalDate month, ApiCallback _callback) Build call for getMoneyMovementGroupsByMonthgetMoneyMovementGroupsByMonthWithHttpInfo(String planId, LocalDate month) Get money movement groups for a plan month Returns all money movement groups for a specific monthokhttp3.CallgetMoneyMovementGroupsCall(String planId, ApiCallback _callback) Build call for getMoneyMovementGroupsGet all money movement groups Returns all money movement groupsgetMoneyMovements(String planId) Get all money movements Returns all money movementsokhttp3.CallgetMoneyMovementsAsync(String planId, ApiCallback<MoneyMovementsResponse> _callback) Get all money movements (asynchronously) Returns all money movementsgetMoneyMovementsByMonth(String planId, LocalDate month) Get money movements for a plan month Returns all money movements for a specific monthokhttp3.CallgetMoneyMovementsByMonthAsync(String planId, LocalDate month, ApiCallback<MoneyMovementsResponse> _callback) Get money movements for a plan month (asynchronously) Returns all money movements for a specific monthokhttp3.CallgetMoneyMovementsByMonthCall(String planId, LocalDate month, ApiCallback _callback) Build call for getMoneyMovementsByMonthgetMoneyMovementsByMonthWithHttpInfo(String planId, LocalDate month) Get money movements for a plan month Returns all money movements for a specific monthokhttp3.CallgetMoneyMovementsCall(String planId, ApiCallback _callback) Build call for getMoneyMovementsgetMoneyMovementsWithHttpInfo(String planId) Get all money movements Returns all money movementsvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
MoneyMovementsApi
public MoneyMovementsApi() -
MoneyMovementsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
getMoneyMovementGroupsCall
public okhttp3.Call getMoneyMovementGroupsCall(@Nonnull String planId, ApiCallback _callback) throws ApiException Build call for getMoneyMovementGroups- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movement groups - 404 No money movement groups were found -
-
getMoneyMovementGroups
public MoneyMovementGroupsResponse getMoneyMovementGroups(@Nonnull String planId) throws ApiException Get all money movement groups Returns all money movement groups- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)- Returns:
- MoneyMovementGroupsResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movement groups - 404 No money movement groups were found -
-
getMoneyMovementGroupsWithHttpInfo
public ApiResponse<MoneyMovementGroupsResponse> getMoneyMovementGroupsWithHttpInfo(@Nonnull String planId) throws ApiException Get all money movement groups Returns all money movement groups- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)- Returns:
- ApiResponse<MoneyMovementGroupsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movement groups - 404 No money movement groups were found -
-
getMoneyMovementGroupsAsync
public okhttp3.Call getMoneyMovementGroupsAsync(@Nonnull String planId, ApiCallback<MoneyMovementGroupsResponse> _callback) throws ApiException Get all money movement groups (asynchronously) Returns all money movement groups- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movement groups - 404 No money movement groups were found -
-
getMoneyMovementGroupsByMonthCall
public okhttp3.Call getMoneyMovementGroupsByMonthCall(@Nonnull String planId, @Nonnull LocalDate month, ApiCallback _callback) throws ApiException Build call for getMoneyMovementGroupsByMonth- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)month- The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC)) (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movement groups - 404 No money movement groups were found -
-
getMoneyMovementGroupsByMonth
public MoneyMovementGroupsResponse getMoneyMovementGroupsByMonth(@Nonnull String planId, @Nonnull LocalDate month) throws ApiException Get money movement groups for a plan month Returns all money movement groups for a specific month- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)month- The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC)) (required)- Returns:
- MoneyMovementGroupsResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movement groups - 404 No money movement groups were found -
-
getMoneyMovementGroupsByMonthWithHttpInfo
public ApiResponse<MoneyMovementGroupsResponse> getMoneyMovementGroupsByMonthWithHttpInfo(@Nonnull String planId, @Nonnull LocalDate month) throws ApiException Get money movement groups for a plan month Returns all money movement groups for a specific month- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)month- The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC)) (required)- Returns:
- ApiResponse<MoneyMovementGroupsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movement groups - 404 No money movement groups were found -
-
getMoneyMovementGroupsByMonthAsync
public okhttp3.Call getMoneyMovementGroupsByMonthAsync(@Nonnull String planId, @Nonnull LocalDate month, ApiCallback<MoneyMovementGroupsResponse> _callback) throws ApiException Get money movement groups for a plan month (asynchronously) Returns all money movement groups for a specific month- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)month- The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC)) (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movement groups - 404 No money movement groups were found -
-
getMoneyMovementsCall
public okhttp3.Call getMoneyMovementsCall(@Nonnull String planId, ApiCallback _callback) throws ApiException Build call for getMoneyMovements- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movements - 404 No money movements were found -
-
getMoneyMovements
Get all money movements Returns all money movements- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)- Returns:
- MoneyMovementsResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movements - 404 No money movements were found -
-
getMoneyMovementsWithHttpInfo
public ApiResponse<MoneyMovementsResponse> getMoneyMovementsWithHttpInfo(@Nonnull String planId) throws ApiException Get all money movements Returns all money movements- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)- Returns:
- ApiResponse<MoneyMovementsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movements - 404 No money movements were found -
-
getMoneyMovementsAsync
public okhttp3.Call getMoneyMovementsAsync(@Nonnull String planId, ApiCallback<MoneyMovementsResponse> _callback) throws ApiException Get all money movements (asynchronously) Returns all money movements- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movements - 404 No money movements were found -
-
getMoneyMovementsByMonthCall
public okhttp3.Call getMoneyMovementsByMonthCall(@Nonnull String planId, @Nonnull LocalDate month, ApiCallback _callback) throws ApiException Build call for getMoneyMovementsByMonth- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)month- The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC)) (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movements - 404 No money movements were found -
-
getMoneyMovementsByMonth
public MoneyMovementsResponse getMoneyMovementsByMonth(@Nonnull String planId, @Nonnull LocalDate month) throws ApiException Get money movements for a plan month Returns all money movements for a specific month- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)month- The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC)) (required)- Returns:
- MoneyMovementsResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movements - 404 No money movements were found -
-
getMoneyMovementsByMonthWithHttpInfo
public ApiResponse<MoneyMovementsResponse> getMoneyMovementsByMonthWithHttpInfo(@Nonnull String planId, @Nonnull LocalDate month) throws ApiException Get money movements for a plan month Returns all money movements for a specific month- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)month- The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC)) (required)- Returns:
- ApiResponse<MoneyMovementsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movements - 404 No money movements were found -
-
getMoneyMovementsByMonthAsync
public okhttp3.Call getMoneyMovementsByMonthAsync(@Nonnull String planId, @Nonnull LocalDate month, ApiCallback<MoneyMovementsResponse> _callback) throws ApiException Get money movements for a plan month (asynchronously) Returns all money movements for a specific month- Parameters:
planId- The id of the plan. \"last-used\" can be used to specify the last used plan and \"default\" can be used if default plan selection is enabled (see: https://api.ynab.com/#oauth-default-plan). (required)month- The plan month in ISO format (e.g. 2016-12-01) (\"current\" can also be used to specify the current calendar month (UTC)) (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 The list of requested money movements - 404 No money movements were found -
-