Class DefaultApi


  • public class DefaultApi
    extends java.lang.Object
    • Constructor Detail

      • DefaultApi

        public DefaultApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • listFinancialEventGroupsCall

        public okhttp3.Call listFinancialEventGroupsCall​(java.lang.Integer maxResultsPerPage,
                                                         org.threeten.bp.OffsetDateTime financialEventGroupStartedBefore,
                                                         org.threeten.bp.OffsetDateTime financialEventGroupStartedAfter,
                                                         java.lang.String nextToken,
                                                         ProgressResponseBody.ProgressListener progressListener,
                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                  throws ApiException,
                                                         LWAException
        Build call for listFinancialEventGroups
        Parameters:
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 10)
        financialEventGroupStartedBefore - A date used for selecting financial event groups that opened before (but not at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be later than FinancialEventGroupStartedAfter and no later than two minutes before the request was submitted. If FinancialEventGroupStartedAfter and FinancialEventGroupStartedBefore are more than 180 days apart, no financial event groups are returned. (optional)
        financialEventGroupStartedAfter - A date used for selecting financial event groups that opened after (or at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be no later than two minutes before the request was submitted. (optional)
        nextToken - A string token returned in the response of your previous request. (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventGroups

        public ListFinancialEventGroupsResponse listFinancialEventGroups​(java.lang.Integer maxResultsPerPage,
                                                                         org.threeten.bp.OffsetDateTime financialEventGroupStartedBefore,
                                                                         org.threeten.bp.OffsetDateTime financialEventGroupStartedAfter,
                                                                         java.lang.String nextToken)
                                                                  throws ApiException,
                                                                         LWAException
        Returns financial event groups for a given date range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 10)
        financialEventGroupStartedBefore - A date used for selecting financial event groups that opened before (but not at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be later than FinancialEventGroupStartedAfter and no later than two minutes before the request was submitted. If FinancialEventGroupStartedAfter and FinancialEventGroupStartedBefore are more than 180 days apart, no financial event groups are returned. (optional)
        financialEventGroupStartedAfter - A date used for selecting financial event groups that opened after (or at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be no later than two minutes before the request was submitted. (optional)
        nextToken - A string token returned in the response of your previous request. (optional)
        Returns:
        ListFinancialEventGroupsResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventGroupsWithHttpInfo

        public ApiResponse<ListFinancialEventGroupsResponse> listFinancialEventGroupsWithHttpInfo​(java.lang.Integer maxResultsPerPage,
                                                                                                  org.threeten.bp.OffsetDateTime financialEventGroupStartedBefore,
                                                                                                  org.threeten.bp.OffsetDateTime financialEventGroupStartedAfter,
                                                                                                  java.lang.String nextToken)
                                                                                           throws ApiException,
                                                                                                  LWAException
        Returns financial event groups for a given date range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 10)
        financialEventGroupStartedBefore - A date used for selecting financial event groups that opened before (but not at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be later than FinancialEventGroupStartedAfter and no later than two minutes before the request was submitted. If FinancialEventGroupStartedAfter and FinancialEventGroupStartedBefore are more than 180 days apart, no financial event groups are returned. (optional)
        financialEventGroupStartedAfter - A date used for selecting financial event groups that opened after (or at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be no later than two minutes before the request was submitted. (optional)
        nextToken - A string token returned in the response of your previous request. (optional)
        Returns:
        ApiResponse<ListFinancialEventGroupsResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventGroupsAsync

        public okhttp3.Call listFinancialEventGroupsAsync​(java.lang.Integer maxResultsPerPage,
                                                          org.threeten.bp.OffsetDateTime financialEventGroupStartedBefore,
                                                          org.threeten.bp.OffsetDateTime financialEventGroupStartedAfter,
                                                          java.lang.String nextToken,
                                                          ApiCallback<ListFinancialEventGroupsResponse> callback)
                                                   throws ApiException,
                                                          LWAException
        (asynchronously) Returns financial event groups for a given date range. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 10)
        financialEventGroupStartedBefore - A date used for selecting financial event groups that opened before (but not at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be later than FinancialEventGroupStartedAfter and no later than two minutes before the request was submitted. If FinancialEventGroupStartedAfter and FinancialEventGroupStartedBefore are more than 180 days apart, no financial event groups are returned. (optional)
        financialEventGroupStartedAfter - A date used for selecting financial event groups that opened after (or at) a specified date and time, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format. The date-time must be no later than two minutes before the request was submitted. (optional)
        nextToken - A string token returned in the response of your previous request. (optional)
        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
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventsCall

        public okhttp3.Call listFinancialEventsCall​(java.lang.Integer maxResultsPerPage,
                                                    org.threeten.bp.OffsetDateTime postedAfter,
                                                    org.threeten.bp.OffsetDateTime postedBefore,
                                                    java.lang.String nextToken,
                                                    ProgressResponseBody.ProgressListener progressListener,
                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                             throws ApiException,
                                                    LWAException
        Build call for listFinancialEvents
        Parameters:
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 100)
        postedAfter - A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. (optional)
        postedBefore - A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes. (optional)
        nextToken - A string token returned in the response of your previous request. (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEvents

        public ListFinancialEventsResponse listFinancialEvents​(java.lang.Integer maxResultsPerPage,
                                                               org.threeten.bp.OffsetDateTime postedAfter,
                                                               org.threeten.bp.OffsetDateTime postedBefore,
                                                               java.lang.String nextToken)
                                                        throws ApiException,
                                                               LWAException
        Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don't show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 100)
        postedAfter - A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. (optional)
        postedBefore - A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes. (optional)
        nextToken - A string token returned in the response of your previous request. (optional)
        Returns:
        ListFinancialEventsResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventsWithHttpInfo

        public ApiResponse<ListFinancialEventsResponse> listFinancialEventsWithHttpInfo​(java.lang.Integer maxResultsPerPage,
                                                                                        org.threeten.bp.OffsetDateTime postedAfter,
                                                                                        org.threeten.bp.OffsetDateTime postedBefore,
                                                                                        java.lang.String nextToken)
                                                                                 throws ApiException,
                                                                                        LWAException
        Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don't show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 100)
        postedAfter - A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. (optional)
        postedBefore - A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes. (optional)
        nextToken - A string token returned in the response of your previous request. (optional)
        Returns:
        ApiResponse<ListFinancialEventsResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventsAsync

        public okhttp3.Call listFinancialEventsAsync​(java.lang.Integer maxResultsPerPage,
                                                     org.threeten.bp.OffsetDateTime postedAfter,
                                                     org.threeten.bp.OffsetDateTime postedBefore,
                                                     java.lang.String nextToken,
                                                     ApiCallback<ListFinancialEventsResponse> callback)
                                              throws ApiException,
                                                     LWAException
        (asynchronously) Returns financial events for the specified data range. It may take up to 48 hours for orders to appear in your financial events. **Note:** in `ListFinancialEvents`, deferred events don't show up in responses until in they are released. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 100)
        postedAfter - A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. (optional)
        postedBefore - A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes. (optional)
        nextToken - A string token returned in the response of your previous request. (optional)
        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
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventsByGroupIdCall

        public okhttp3.Call listFinancialEventsByGroupIdCall​(java.lang.String eventGroupId,
                                                             java.lang.Integer maxResultsPerPage,
                                                             org.threeten.bp.OffsetDateTime postedAfter,
                                                             org.threeten.bp.OffsetDateTime postedBefore,
                                                             java.lang.String nextToken,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException,
                                                             LWAException
        Build call for listFinancialEventsByGroupId
        Parameters:
        eventGroupId - The identifier of the financial event group to which the events belong. (required)
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 100)
        postedAfter - A date used for selecting financial events posted after (or at) a specified time. The date-time **must** be more than two minutes before the time of the request, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. (optional)
        postedBefore - A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than `PostedAfter` and no later than two minutes before the request was submitted, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. If `PostedAfter` and `PostedBefore` are more than 180 days apart, no financial events are returned. You must specify the `PostedAfter` parameter if you specify the `PostedBefore` parameter. Default: Now minus two minutes. (optional)
        nextToken - A string token returned in the response of your previous request. (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventsByGroupId

        public ListFinancialEventsResponse listFinancialEventsByGroupId​(java.lang.String eventGroupId,
                                                                        java.lang.Integer maxResultsPerPage,
                                                                        org.threeten.bp.OffsetDateTime postedAfter,
                                                                        org.threeten.bp.OffsetDateTime postedBefore,
                                                                        java.lang.String nextToken)
                                                                 throws ApiException,
                                                                        LWAException
        Returns all financial events for the specified financial event group. It may take up to 48 hours for orders to appear in your financial events. **Note:** This operation will only retrieve group's data for the past two years. If a request is submitted for data spanning more than two years, an empty response is returned. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        eventGroupId - The identifier of the financial event group to which the events belong. (required)
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 100)
        postedAfter - A date used for selecting financial events posted after (or at) a specified time. The date-time **must** be more than two minutes before the time of the request, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. (optional)
        postedBefore - A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than `PostedAfter` and no later than two minutes before the request was submitted, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. If `PostedAfter` and `PostedBefore` are more than 180 days apart, no financial events are returned. You must specify the `PostedAfter` parameter if you specify the `PostedBefore` parameter. Default: Now minus two minutes. (optional)
        nextToken - A string token returned in the response of your previous request. (optional)
        Returns:
        ListFinancialEventsResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventsByGroupIdWithHttpInfo

        public ApiResponse<ListFinancialEventsResponse> listFinancialEventsByGroupIdWithHttpInfo​(java.lang.String eventGroupId,
                                                                                                 java.lang.Integer maxResultsPerPage,
                                                                                                 org.threeten.bp.OffsetDateTime postedAfter,
                                                                                                 org.threeten.bp.OffsetDateTime postedBefore,
                                                                                                 java.lang.String nextToken)
                                                                                          throws ApiException,
                                                                                                 LWAException
        Returns all financial events for the specified financial event group. It may take up to 48 hours for orders to appear in your financial events. **Note:** This operation will only retrieve group's data for the past two years. If a request is submitted for data spanning more than two years, an empty response is returned. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        eventGroupId - The identifier of the financial event group to which the events belong. (required)
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 100)
        postedAfter - A date used for selecting financial events posted after (or at) a specified time. The date-time **must** be more than two minutes before the time of the request, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. (optional)
        postedBefore - A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than `PostedAfter` and no later than two minutes before the request was submitted, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. If `PostedAfter` and `PostedBefore` are more than 180 days apart, no financial events are returned. You must specify the `PostedAfter` parameter if you specify the `PostedBefore` parameter. Default: Now minus two minutes. (optional)
        nextToken - A string token returned in the response of your previous request. (optional)
        Returns:
        ApiResponse<ListFinancialEventsResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventsByGroupIdAsync

        public okhttp3.Call listFinancialEventsByGroupIdAsync​(java.lang.String eventGroupId,
                                                              java.lang.Integer maxResultsPerPage,
                                                              org.threeten.bp.OffsetDateTime postedAfter,
                                                              org.threeten.bp.OffsetDateTime postedBefore,
                                                              java.lang.String nextToken,
                                                              ApiCallback<ListFinancialEventsResponse> callback)
                                                       throws ApiException,
                                                              LWAException
        (asynchronously) Returns all financial events for the specified financial event group. It may take up to 48 hours for orders to appear in your financial events. **Note:** This operation will only retrieve group's data for the past two years. If a request is submitted for data spanning more than two years, an empty response is returned. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        eventGroupId - The identifier of the financial event group to which the events belong. (required)
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 100)
        postedAfter - A date used for selecting financial events posted after (or at) a specified time. The date-time **must** be more than two minutes before the time of the request, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. (optional)
        postedBefore - A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than `PostedAfter` and no later than two minutes before the request was submitted, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. If `PostedAfter` and `PostedBefore` are more than 180 days apart, no financial events are returned. You must specify the `PostedAfter` parameter if you specify the `PostedBefore` parameter. Default: Now minus two minutes. (optional)
        nextToken - A string token returned in the response of your previous request. (optional)
        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
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventsByOrderIdCall

        public okhttp3.Call listFinancialEventsByOrderIdCall​(java.lang.String orderId,
                                                             java.lang.Integer maxResultsPerPage,
                                                             java.lang.String nextToken,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException,
                                                             LWAException
        Build call for listFinancialEventsByOrderId
        Parameters:
        orderId - An Amazon-defined order identifier, in 3-7-7 format. (required)
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 100)
        nextToken - A string token returned in the response of your previous request. (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventsByOrderId

        public ListFinancialEventsResponse listFinancialEventsByOrderId​(java.lang.String orderId,
                                                                        java.lang.Integer maxResultsPerPage,
                                                                        java.lang.String nextToken)
                                                                 throws ApiException,
                                                                        LWAException
        Returns all financial events for the specified order. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        orderId - An Amazon-defined order identifier, in 3-7-7 format. (required)
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 100)
        nextToken - A string token returned in the response of your previous request. (optional)
        Returns:
        ListFinancialEventsResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventsByOrderIdWithHttpInfo

        public ApiResponse<ListFinancialEventsResponse> listFinancialEventsByOrderIdWithHttpInfo​(java.lang.String orderId,
                                                                                                 java.lang.Integer maxResultsPerPage,
                                                                                                 java.lang.String nextToken)
                                                                                          throws ApiException,
                                                                                                 LWAException
        Returns all financial events for the specified order. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        orderId - An Amazon-defined order identifier, in 3-7-7 format. (required)
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 100)
        nextToken - A string token returned in the response of your previous request. (optional)
        Returns:
        ApiResponse<ListFinancialEventsResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        LWAException - If calls to fetch LWA access token fails
      • listFinancialEventsByOrderIdAsync

        public okhttp3.Call listFinancialEventsByOrderIdAsync​(java.lang.String orderId,
                                                              java.lang.Integer maxResultsPerPage,
                                                              java.lang.String nextToken,
                                                              ApiCallback<ListFinancialEventsResponse> callback)
                                                       throws ApiException,
                                                              LWAException
        (asynchronously) Returns all financial events for the specified order. It may take up to 48 hours for orders to appear in your financial events. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        orderId - An Amazon-defined order identifier, in 3-7-7 format. (required)
        maxResultsPerPage - The maximum number of results to return per page. If the response exceeds the maximum number of transactions or 10 MB, the API responds with 'InvalidInput'. (optional, default to 100)
        nextToken - A string token returned in the response of your previous request. (optional)
        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
        LWAException - If calls to fetch LWA access token fails