All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonservices.mws.FulfillmentOutboundShipment._2010_10_01.FBAOutboundServiceMWSAsyncClient Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * Copyright 2009-2016 Amazon Services. All Rights Reserved.
 * Licensed under the Apache License, Version 2.0 (the "License");
 *
 * You may not use this file except in compliance with the License.
 * You may obtain a copy of the License at: http://aws.amazon.com/apache2.0
 * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations under the License.
 *******************************************************************************
 * FBA Outbound Service MWS
 * API Version: 2010-10-01
 * Library Version: 2016-10-19
 * Generated: Wed Oct 19 08:37:51 PDT 2016
 */
package com.amazonservices.mws.FulfillmentOutboundShipment._2010_10_01;

import com.amazonservices.mws.FulfillmentOutboundShipment._2010_10_01.model.*;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Future;

public class FBAOutboundServiceMWSAsyncClient extends FBAOutboundServiceMWSClient implements FBAOutboundServiceMWSAsync {

    public FBAOutboundServiceMWSAsyncClient(
            String accessKey,
            String secretKey,
            String applicationName,
            String applicationVersion,
            FBAOutboundServiceMWSConfig config,
            ExecutorService executor) {
        super(accessKey, secretKey, applicationName, applicationVersion, config);
        connection.setExecutorService(executor);
    }

    public FBAOutboundServiceMWSAsyncClient(
            String accessKey,
            String secretKey,
            String applicationName,
            String applicationVersion,
            FBAOutboundServiceMWSConfig config) {
        super(accessKey, secretKey, applicationName, applicationVersion, config);
    }

    public FBAOutboundServiceMWSAsyncClient(
            String accessKey,
            String secretKey,
            FBAOutboundServiceMWSConfig config) {
        super(accessKey, secretKey, config);
    }

    public FBAOutboundServiceMWSAsyncClient(
            String accessKey,
            String secretKey,
            String applicationName,
            String applicationVersion) {
        super(accessKey, secretKey, applicationName, applicationVersion);
    }

    public Future cancelFulfillmentOrderAsync(
        CancelFulfillmentOrderRequest request) {
        return connection.callAsync(
            new RequestType("CancelFulfillmentOrder", CancelFulfillmentOrderResponse.class, servicePath),
            request);
    }

    public Future createFulfillmentOrderAsync(
        CreateFulfillmentOrderRequest request) {
        return connection.callAsync(
            new RequestType("CreateFulfillmentOrder", CreateFulfillmentOrderResponse.class, servicePath),
            request);
    }

    public Future createFulfillmentReturnAsync(
        CreateFulfillmentReturnRequest request) {
        return connection.callAsync(
            new RequestType("CreateFulfillmentReturn", CreateFulfillmentReturnResponse.class, servicePath),
            request);
    }

    public Future getFulfillmentOrderAsync(
        GetFulfillmentOrderRequest request) {
        return connection.callAsync(
            new RequestType("GetFulfillmentOrder", GetFulfillmentOrderResponse.class, servicePath),
            request);
    }

    public Future getFulfillmentPreviewAsync(
        GetFulfillmentPreviewRequest request) {
        return connection.callAsync(
            new RequestType("GetFulfillmentPreview", GetFulfillmentPreviewResponse.class, servicePath),
            request);
    }

    public Future getPackageTrackingDetailsAsync(
        GetPackageTrackingDetailsRequest request) {
        return connection.callAsync(
            new RequestType("GetPackageTrackingDetails", GetPackageTrackingDetailsResponse.class, servicePath),
            request);
    }

    public Future getServiceStatusAsync(
        GetServiceStatusRequest request) {
        return connection.callAsync(
            new RequestType("GetServiceStatus", GetServiceStatusResponse.class, servicePath),
            request);
    }

    public Future listAllFulfillmentOrdersAsync(
        ListAllFulfillmentOrdersRequest request) {
        return connection.callAsync(
            new RequestType("ListAllFulfillmentOrders", ListAllFulfillmentOrdersResponse.class, servicePath),
            request);
    }

    public Future listAllFulfillmentOrdersByNextTokenAsync(
        ListAllFulfillmentOrdersByNextTokenRequest request) {
        return connection.callAsync(
            new RequestType("ListAllFulfillmentOrdersByNextToken", ListAllFulfillmentOrdersByNextTokenResponse.class, servicePath),
            request);
    }

    public Future listReturnReasonCodesAsync(
        ListReturnReasonCodesRequest request) {
        return connection.callAsync(
            new RequestType("ListReturnReasonCodes", ListReturnReasonCodesResponse.class, servicePath),
            request);
    }

    public Future updateFulfillmentOrderAsync(
        UpdateFulfillmentOrderRequest request) {
        return connection.callAsync(
            new RequestType("UpdateFulfillmentOrder", UpdateFulfillmentOrderResponse.class, servicePath),
            request);
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy