Class MoneyMovementsApi

java.lang.Object
cm.xd.genapi.ynab.api.MoneyMovementsApi

public class MoneyMovementsApi extends Object
  • Constructor Details

    • MoneyMovementsApi

      public MoneyMovementsApi()
    • MoneyMovementsApi

      public MoneyMovementsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • 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

      public MoneyMovementsResponse getMoneyMovements(@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:
      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 -