Class MessagingApi


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

      • MessagingApi

        public MessagingApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • confirmCustomizationDetailsCall

        public okhttp3.Call confirmCustomizationDetailsCall​(CreateConfirmCustomizationDetailsRequest body,
                                                            java.lang.String amazonOrderId,
                                                            java.util.List<java.lang.String> marketplaceIds,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException,
                                                            LWAException
        Build call for confirmCustomizationDetails
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • confirmCustomizationDetails

        public CreateConfirmCustomizationDetailsResponse confirmCustomizationDetails​(CreateConfirmCustomizationDetailsRequest body,
                                                                                     java.lang.String amazonOrderId,
                                                                                     java.util.List<java.lang.String> marketplaceIds)
                                                                              throws ApiException,
                                                                                     LWAException
        Sends a message asking a buyer to provide or verify customization details such as name spelling, images, initials, etc. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        CreateConfirmCustomizationDetailsResponse
        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
      • confirmCustomizationDetailsWithHttpInfo

        public ApiResponse<CreateConfirmCustomizationDetailsResponse> confirmCustomizationDetailsWithHttpInfo​(CreateConfirmCustomizationDetailsRequest body,
                                                                                                              java.lang.String amazonOrderId,
                                                                                                              java.util.List<java.lang.String> marketplaceIds)
                                                                                                       throws ApiException,
                                                                                                              LWAException
        Sends a message asking a buyer to provide or verify customization details such as name spelling, images, initials, etc. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<CreateConfirmCustomizationDetailsResponse>
        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
      • confirmCustomizationDetailsAsync

        public okhttp3.Call confirmCustomizationDetailsAsync​(CreateConfirmCustomizationDetailsRequest body,
                                                             java.lang.String amazonOrderId,
                                                             java.util.List<java.lang.String> marketplaceIds,
                                                             ApiCallback<CreateConfirmCustomizationDetailsResponse> callback)
                                                      throws ApiException,
                                                             LWAException
        (asynchronously) Sends a message asking a buyer to provide or verify customization details such as name spelling, images, initials, etc. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails
      • createAmazonMotorsCall

        public okhttp3.Call createAmazonMotorsCall​(CreateAmazonMotorsRequest body,
                                                   java.lang.String amazonOrderId,
                                                   java.util.List<java.lang.String> marketplaceIds,
                                                   ProgressResponseBody.ProgressListener progressListener,
                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                            throws ApiException,
                                                   LWAException
        Build call for createAmazonMotors
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • createAmazonMotors

        public CreateAmazonMotorsResponse createAmazonMotors​(CreateAmazonMotorsRequest body,
                                                             java.lang.String amazonOrderId,
                                                             java.util.List<java.lang.String> marketplaceIds)
                                                      throws ApiException,
                                                             LWAException
        Sends a message to a buyer to provide details about an Amazon Motors order. This message can only be sent by Amazon Motors sellers. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        CreateAmazonMotorsResponse
        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
      • createAmazonMotorsWithHttpInfo

        public ApiResponse<CreateAmazonMotorsResponse> createAmazonMotorsWithHttpInfo​(CreateAmazonMotorsRequest body,
                                                                                      java.lang.String amazonOrderId,
                                                                                      java.util.List<java.lang.String> marketplaceIds)
                                                                               throws ApiException,
                                                                                      LWAException
        Sends a message to a buyer to provide details about an Amazon Motors order. This message can only be sent by Amazon Motors sellers. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<CreateAmazonMotorsResponse>
        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
      • createAmazonMotorsAsync

        public okhttp3.Call createAmazonMotorsAsync​(CreateAmazonMotorsRequest body,
                                                    java.lang.String amazonOrderId,
                                                    java.util.List<java.lang.String> marketplaceIds,
                                                    ApiCallback<CreateAmazonMotorsResponse> callback)
                                             throws ApiException,
                                                    LWAException
        (asynchronously) Sends a message to a buyer to provide details about an Amazon Motors order. This message can only be sent by Amazon Motors sellers. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails
      • createConfirmDeliveryDetailsCall

        public okhttp3.Call createConfirmDeliveryDetailsCall​(CreateConfirmDeliveryDetailsRequest body,
                                                             java.lang.String amazonOrderId,
                                                             java.util.List<java.lang.String> marketplaceIds,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException,
                                                             LWAException
        Build call for createConfirmDeliveryDetails
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • createConfirmDeliveryDetails

        public CreateConfirmDeliveryDetailsResponse createConfirmDeliveryDetails​(CreateConfirmDeliveryDetailsRequest body,
                                                                                 java.lang.String amazonOrderId,
                                                                                 java.util.List<java.lang.String> marketplaceIds)
                                                                          throws ApiException,
                                                                                 LWAException
        Sends a message to a buyer to arrange a delivery or to confirm contact information for making a delivery. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        CreateConfirmDeliveryDetailsResponse
        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
      • createConfirmDeliveryDetailsWithHttpInfo

        public ApiResponse<CreateConfirmDeliveryDetailsResponse> createConfirmDeliveryDetailsWithHttpInfo​(CreateConfirmDeliveryDetailsRequest body,
                                                                                                          java.lang.String amazonOrderId,
                                                                                                          java.util.List<java.lang.String> marketplaceIds)
                                                                                                   throws ApiException,
                                                                                                          LWAException
        Sends a message to a buyer to arrange a delivery or to confirm contact information for making a delivery. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<CreateConfirmDeliveryDetailsResponse>
        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
      • createConfirmDeliveryDetailsAsync

        public okhttp3.Call createConfirmDeliveryDetailsAsync​(CreateConfirmDeliveryDetailsRequest body,
                                                              java.lang.String amazonOrderId,
                                                              java.util.List<java.lang.String> marketplaceIds,
                                                              ApiCallback<CreateConfirmDeliveryDetailsResponse> callback)
                                                       throws ApiException,
                                                              LWAException
        (asynchronously) Sends a message to a buyer to arrange a delivery or to confirm contact information for making a delivery. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails
      • createConfirmOrderDetailsCall

        public okhttp3.Call createConfirmOrderDetailsCall​(CreateConfirmOrderDetailsRequest body,
                                                          java.lang.String amazonOrderId,
                                                          java.util.List<java.lang.String> marketplaceIds,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException,
                                                          LWAException
        Build call for createConfirmOrderDetails
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • createConfirmOrderDetails

        public CreateConfirmOrderDetailsResponse createConfirmOrderDetails​(CreateConfirmOrderDetailsRequest body,
                                                                           java.lang.String amazonOrderId,
                                                                           java.util.List<java.lang.String> marketplaceIds)
                                                                    throws ApiException,
                                                                           LWAException
        Sends a message to ask a buyer an order-related question prior to shipping their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        CreateConfirmOrderDetailsResponse
        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
      • createConfirmOrderDetailsWithHttpInfo

        public ApiResponse<CreateConfirmOrderDetailsResponse> createConfirmOrderDetailsWithHttpInfo​(CreateConfirmOrderDetailsRequest body,
                                                                                                    java.lang.String amazonOrderId,
                                                                                                    java.util.List<java.lang.String> marketplaceIds)
                                                                                             throws ApiException,
                                                                                                    LWAException
        Sends a message to ask a buyer an order-related question prior to shipping their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<CreateConfirmOrderDetailsResponse>
        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
      • createConfirmOrderDetailsAsync

        public okhttp3.Call createConfirmOrderDetailsAsync​(CreateConfirmOrderDetailsRequest body,
                                                           java.lang.String amazonOrderId,
                                                           java.util.List<java.lang.String> marketplaceIds,
                                                           ApiCallback<CreateConfirmOrderDetailsResponse> callback)
                                                    throws ApiException,
                                                           LWAException
        (asynchronously) Sends a message to ask a buyer an order-related question prior to shipping their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails
      • createConfirmServiceDetailsCall

        public okhttp3.Call createConfirmServiceDetailsCall​(CreateConfirmServiceDetailsRequest body,
                                                            java.lang.String amazonOrderId,
                                                            java.util.List<java.lang.String> marketplaceIds,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException,
                                                            LWAException
        Build call for createConfirmServiceDetails
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • createConfirmServiceDetails

        public CreateConfirmServiceDetailsResponse createConfirmServiceDetails​(CreateConfirmServiceDetailsRequest body,
                                                                               java.lang.String amazonOrderId,
                                                                               java.util.List<java.lang.String> marketplaceIds)
                                                                        throws ApiException,
                                                                               LWAException
        Sends a message to contact a Home Service customer to arrange a service call or to gather information prior to a service call. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        CreateConfirmServiceDetailsResponse
        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
      • createConfirmServiceDetailsWithHttpInfo

        public ApiResponse<CreateConfirmServiceDetailsResponse> createConfirmServiceDetailsWithHttpInfo​(CreateConfirmServiceDetailsRequest body,
                                                                                                        java.lang.String amazonOrderId,
                                                                                                        java.util.List<java.lang.String> marketplaceIds)
                                                                                                 throws ApiException,
                                                                                                        LWAException
        Sends a message to contact a Home Service customer to arrange a service call or to gather information prior to a service call. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<CreateConfirmServiceDetailsResponse>
        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
      • createConfirmServiceDetailsAsync

        public okhttp3.Call createConfirmServiceDetailsAsync​(CreateConfirmServiceDetailsRequest body,
                                                             java.lang.String amazonOrderId,
                                                             java.util.List<java.lang.String> marketplaceIds,
                                                             ApiCallback<CreateConfirmServiceDetailsResponse> callback)
                                                      throws ApiException,
                                                             LWAException
        (asynchronously) Sends a message to contact a Home Service customer to arrange a service call or to gather information prior to a service call. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails
      • createDigitalAccessKeyCall

        public okhttp3.Call createDigitalAccessKeyCall​(CreateDigitalAccessKeyRequest body,
                                                       java.lang.String amazonOrderId,
                                                       java.util.List<java.lang.String> marketplaceIds,
                                                       ProgressResponseBody.ProgressListener progressListener,
                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                throws ApiException,
                                                       LWAException
        Build call for createDigitalAccessKey
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • createDigitalAccessKey

        public CreateDigitalAccessKeyResponse createDigitalAccessKey​(CreateDigitalAccessKeyRequest body,
                                                                     java.lang.String amazonOrderId,
                                                                     java.util.List<java.lang.String> marketplaceIds)
                                                              throws ApiException,
                                                                     LWAException
        Sends a buyer a message to share a digital access key that is required to utilize digital content in their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        CreateDigitalAccessKeyResponse
        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
      • createDigitalAccessKeyWithHttpInfo

        public ApiResponse<CreateDigitalAccessKeyResponse> createDigitalAccessKeyWithHttpInfo​(CreateDigitalAccessKeyRequest body,
                                                                                              java.lang.String amazonOrderId,
                                                                                              java.util.List<java.lang.String> marketplaceIds)
                                                                                       throws ApiException,
                                                                                              LWAException
        Sends a buyer a message to share a digital access key that is required to utilize digital content in their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<CreateDigitalAccessKeyResponse>
        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
      • createDigitalAccessKeyAsync

        public okhttp3.Call createDigitalAccessKeyAsync​(CreateDigitalAccessKeyRequest body,
                                                        java.lang.String amazonOrderId,
                                                        java.util.List<java.lang.String> marketplaceIds,
                                                        ApiCallback<CreateDigitalAccessKeyResponse> callback)
                                                 throws ApiException,
                                                        LWAException
        (asynchronously) Sends a buyer a message to share a digital access key that is required to utilize digital content in their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails
      • createLegalDisclosureCall

        public okhttp3.Call createLegalDisclosureCall​(CreateLegalDisclosureRequest body,
                                                      java.lang.String amazonOrderId,
                                                      java.util.List<java.lang.String> marketplaceIds,
                                                      ProgressResponseBody.ProgressListener progressListener,
                                                      ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                               throws ApiException,
                                                      LWAException
        Build call for createLegalDisclosure
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • createLegalDisclosure

        public CreateLegalDisclosureResponse createLegalDisclosure​(CreateLegalDisclosureRequest body,
                                                                   java.lang.String amazonOrderId,
                                                                   java.util.List<java.lang.String> marketplaceIds)
                                                            throws ApiException,
                                                                   LWAException
        Sends a critical message that contains documents that a seller is legally obligated to provide to the buyer. This message should only be used to deliver documents that are required by law. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        CreateLegalDisclosureResponse
        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
      • createLegalDisclosureWithHttpInfo

        public ApiResponse<CreateLegalDisclosureResponse> createLegalDisclosureWithHttpInfo​(CreateLegalDisclosureRequest body,
                                                                                            java.lang.String amazonOrderId,
                                                                                            java.util.List<java.lang.String> marketplaceIds)
                                                                                     throws ApiException,
                                                                                            LWAException
        Sends a critical message that contains documents that a seller is legally obligated to provide to the buyer. This message should only be used to deliver documents that are required by law. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<CreateLegalDisclosureResponse>
        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
      • createLegalDisclosureAsync

        public okhttp3.Call createLegalDisclosureAsync​(CreateLegalDisclosureRequest body,
                                                       java.lang.String amazonOrderId,
                                                       java.util.List<java.lang.String> marketplaceIds,
                                                       ApiCallback<CreateLegalDisclosureResponse> callback)
                                                throws ApiException,
                                                       LWAException
        (asynchronously) Sends a critical message that contains documents that a seller is legally obligated to provide to the buyer. This message should only be used to deliver documents that are required by law. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails
      • createNegativeFeedbackRemovalCall

        public okhttp3.Call createNegativeFeedbackRemovalCall​(java.lang.String amazonOrderId,
                                                              java.util.List<java.lang.String> marketplaceIds,
                                                              ProgressResponseBody.ProgressListener progressListener,
                                                              ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                       throws ApiException,
                                                              LWAException
        Build call for createNegativeFeedbackRemoval
        Parameters:
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • createNegativeFeedbackRemoval

        public CreateNegativeFeedbackRemovalResponse createNegativeFeedbackRemoval​(java.lang.String amazonOrderId,
                                                                                   java.util.List<java.lang.String> marketplaceIds)
                                                                            throws ApiException,
                                                                                   LWAException
        Sends a non-critical message that asks a buyer to remove their negative feedback. This message should only be sent after the seller has resolved the buyer's problem. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        CreateNegativeFeedbackRemovalResponse
        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
      • createNegativeFeedbackRemovalWithHttpInfo

        public ApiResponse<CreateNegativeFeedbackRemovalResponse> createNegativeFeedbackRemovalWithHttpInfo​(java.lang.String amazonOrderId,
                                                                                                            java.util.List<java.lang.String> marketplaceIds)
                                                                                                     throws ApiException,
                                                                                                            LWAException
        Sends a non-critical message that asks a buyer to remove their negative feedback. This message should only be sent after the seller has resolved the buyer's problem. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<CreateNegativeFeedbackRemovalResponse>
        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
      • createNegativeFeedbackRemovalAsync

        public okhttp3.Call createNegativeFeedbackRemovalAsync​(java.lang.String amazonOrderId,
                                                               java.util.List<java.lang.String> marketplaceIds,
                                                               ApiCallback<CreateNegativeFeedbackRemovalResponse> callback)
                                                        throws ApiException,
                                                               LWAException
        (asynchronously) Sends a non-critical message that asks a buyer to remove their negative feedback. This message should only be sent after the seller has resolved the buyer's problem. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails
      • createUnexpectedProblemCall

        public okhttp3.Call createUnexpectedProblemCall​(CreateUnexpectedProblemRequest body,
                                                        java.lang.String amazonOrderId,
                                                        java.util.List<java.lang.String> marketplaceIds,
                                                        ProgressResponseBody.ProgressListener progressListener,
                                                        ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                 throws ApiException,
                                                        LWAException
        Build call for createUnexpectedProblem
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • createUnexpectedProblem

        public CreateUnexpectedProblemResponse createUnexpectedProblem​(CreateUnexpectedProblemRequest body,
                                                                       java.lang.String amazonOrderId,
                                                                       java.util.List<java.lang.String> marketplaceIds)
                                                                throws ApiException,
                                                                       LWAException
        Sends a critical message to a buyer that an unexpected problem was encountered affecting the completion of the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        CreateUnexpectedProblemResponse
        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
      • createUnexpectedProblemWithHttpInfo

        public ApiResponse<CreateUnexpectedProblemResponse> createUnexpectedProblemWithHttpInfo​(CreateUnexpectedProblemRequest body,
                                                                                                java.lang.String amazonOrderId,
                                                                                                java.util.List<java.lang.String> marketplaceIds)
                                                                                         throws ApiException,
                                                                                                LWAException
        Sends a critical message to a buyer that an unexpected problem was encountered affecting the completion of the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<CreateUnexpectedProblemResponse>
        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
      • createUnexpectedProblemAsync

        public okhttp3.Call createUnexpectedProblemAsync​(CreateUnexpectedProblemRequest body,
                                                         java.lang.String amazonOrderId,
                                                         java.util.List<java.lang.String> marketplaceIds,
                                                         ApiCallback<CreateUnexpectedProblemResponse> callback)
                                                  throws ApiException,
                                                         LWAException
        (asynchronously) Sends a critical message to a buyer that an unexpected problem was encountered affecting the completion of the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails
      • createWarrantyCall

        public okhttp3.Call createWarrantyCall​(CreateWarrantyRequest body,
                                               java.lang.String amazonOrderId,
                                               java.util.List<java.lang.String> marketplaceIds,
                                               ProgressResponseBody.ProgressListener progressListener,
                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                        throws ApiException,
                                               LWAException
        Build call for createWarranty
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • createWarranty

        public CreateWarrantyResponse createWarranty​(CreateWarrantyRequest body,
                                                     java.lang.String amazonOrderId,
                                                     java.util.List<java.lang.String> marketplaceIds)
                                              throws ApiException,
                                                     LWAException
        Sends a message to a buyer to provide details about warranty information on a purchase in their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        CreateWarrantyResponse
        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
      • createWarrantyWithHttpInfo

        public ApiResponse<CreateWarrantyResponse> createWarrantyWithHttpInfo​(CreateWarrantyRequest body,
                                                                              java.lang.String amazonOrderId,
                                                                              java.util.List<java.lang.String> marketplaceIds)
                                                                       throws ApiException,
                                                                              LWAException
        Sends a message to a buyer to provide details about warranty information on a purchase in their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<CreateWarrantyResponse>
        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
      • createWarrantyAsync

        public okhttp3.Call createWarrantyAsync​(CreateWarrantyRequest body,
                                                java.lang.String amazonOrderId,
                                                java.util.List<java.lang.String> marketplaceIds,
                                                ApiCallback<CreateWarrantyResponse> callback)
                                         throws ApiException,
                                                LWAException
        (asynchronously) Sends a message to a buyer to provide details about warranty information on a purchase in their order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails
      • getAttributesCall

        public okhttp3.Call getAttributesCall​(java.lang.String amazonOrderId,
                                              java.util.List<java.lang.String> marketplaceIds,
                                              ProgressResponseBody.ProgressListener progressListener,
                                              ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                       throws ApiException,
                                              LWAException
        Build call for getAttributes
        Parameters:
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • getAttributes

        public GetAttributesResponse getAttributes​(java.lang.String amazonOrderId,
                                                   java.util.List<java.lang.String> marketplaceIds)
                                            throws ApiException,
                                                   LWAException
        Returns a response containing attributes related to an order. This includes buyer preferences. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |
        Parameters:
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        GetAttributesResponse
        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
      • getAttributesWithHttpInfo

        public ApiResponse<GetAttributesResponse> getAttributesWithHttpInfo​(java.lang.String amazonOrderId,
                                                                            java.util.List<java.lang.String> marketplaceIds)
                                                                     throws ApiException,
                                                                            LWAException
        Returns a response containing attributes related to an order. This includes buyer preferences. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |
        Parameters:
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<GetAttributesResponse>
        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
      • getAttributesAsync

        public okhttp3.Call getAttributesAsync​(java.lang.String amazonOrderId,
                                               java.util.List<java.lang.String> marketplaceIds,
                                               ApiCallback<GetAttributesResponse> callback)
                                        throws ApiException,
                                               LWAException
        (asynchronously) Returns a response containing attributes related to an order. This includes buyer preferences. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 |
        Parameters:
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails
      • getMessagingActionsForOrderCall

        public okhttp3.Call getMessagingActionsForOrderCall​(java.lang.String amazonOrderId,
                                                            java.util.List<java.lang.String> marketplaceIds,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException,
                                                            LWAException
        Build call for getMessagingActionsForOrder
        Parameters:
        amazonOrderId - An Amazon order identifier. This specifies the order for which you want a list of available message types. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • getMessagingActionsForOrder

        public GetMessagingActionsForOrderResponse getMessagingActionsForOrder​(java.lang.String amazonOrderId,
                                                                               java.util.List<java.lang.String> marketplaceIds)
                                                                        throws ApiException,
                                                                               LWAException
        Returns a list of message types that are available for an order that you specify. A message type is represented by an actions object, which contains a path and query parameter(s). You can use the path and parameter(s) to call an operation that sends a message. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        amazonOrderId - An Amazon order identifier. This specifies the order for which you want a list of available message types. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        GetMessagingActionsForOrderResponse
        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
      • getMessagingActionsForOrderWithHttpInfo

        public ApiResponse<GetMessagingActionsForOrderResponse> getMessagingActionsForOrderWithHttpInfo​(java.lang.String amazonOrderId,
                                                                                                        java.util.List<java.lang.String> marketplaceIds)
                                                                                                 throws ApiException,
                                                                                                        LWAException
        Returns a list of message types that are available for an order that you specify. A message type is represented by an actions object, which contains a path and query parameter(s). You can use the path and parameter(s) to call an operation that sends a message. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        amazonOrderId - An Amazon order identifier. This specifies the order for which you want a list of available message types. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<GetMessagingActionsForOrderResponse>
        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
      • getMessagingActionsForOrderAsync

        public okhttp3.Call getMessagingActionsForOrderAsync​(java.lang.String amazonOrderId,
                                                             java.util.List<java.lang.String> marketplaceIds,
                                                             ApiCallback<GetMessagingActionsForOrderResponse> callback)
                                                      throws ApiException,
                                                             LWAException
        (asynchronously) Returns a list of message types that are available for an order that you specify. A message type is represented by an actions object, which contains a path and query parameter(s). You can use the path and parameter(s) to call an operation that sends a message. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
        Parameters:
        amazonOrderId - An Amazon order identifier. This specifies the order for which you want a list of available message types. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails
      • sendInvoiceCall

        public okhttp3.Call sendInvoiceCall​(InvoiceRequest body,
                                            java.lang.String amazonOrderId,
                                            java.util.List<java.lang.String> marketplaceIds,
                                            ProgressResponseBody.ProgressListener progressListener,
                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                     throws ApiException,
                                            LWAException
        Build call for sendInvoice
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        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
      • sendInvoice

        public InvoiceResponse sendInvoice​(InvoiceRequest body,
                                           java.lang.String amazonOrderId,
                                           java.util.List<java.lang.String> marketplaceIds)
                                    throws ApiException,
                                           LWAException
        Sends a message providing the buyer an invoice
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        InvoiceResponse
        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
      • sendInvoiceWithHttpInfo

        public ApiResponse<InvoiceResponse> sendInvoiceWithHttpInfo​(InvoiceRequest body,
                                                                    java.lang.String amazonOrderId,
                                                                    java.util.List<java.lang.String> marketplaceIds)
                                                             throws ApiException,
                                                                    LWAException
        Sends a message providing the buyer an invoice
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (required)
        Returns:
        ApiResponse<InvoiceResponse>
        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
      • sendInvoiceAsync

        public okhttp3.Call sendInvoiceAsync​(InvoiceRequest body,
                                             java.lang.String amazonOrderId,
                                             java.util.List<java.lang.String> marketplaceIds,
                                             ApiCallback<InvoiceResponse> callback)
                                      throws ApiException,
                                             LWAException
        (asynchronously) Sends a message providing the buyer an invoice
        Parameters:
        body - This contains the message body for a message. (required)
        amazonOrderId - An Amazon order identifier. This identifies the order for which a message is sent. (required)
        marketplaceIds - A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace. (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
        LWAException - If calls to fetch LWA access token fails