/// <summary>
 /// Create client.
 /// </summary>
 /// <param name="accessKey">Access Key</param>
 /// <param name="secretKey">Secret Key</param>
 /// <param name="config">configuration</param>
 public MWSFinancesServiceClient(String accessKey, String secretKey, MWSFinancesServiceConfig config)
 {
     connection = config.CopyConnection();
     connection.AwsAccessKeyId = accessKey;
     connection.AwsSecretKeyId = secretKey;
     connection.LibraryVersion = libraryVersion;
     servicePath = config.ServicePath;
 }
 /// <summary>
 /// Create client.
 /// </summary>
 /// <param name="accessKey">Access Key</param>
 /// <param name="secretKey">Secret Key</param>
 /// <param name="config">configuration</param>
 public MarketplaceWebServiceProductsClient(String accessKey, String secretKey, MarketplaceWebServiceProductsConfig config)
 {
     connection = config.CopyConnection();
     connection.AwsAccessKeyId = accessKey;
     connection.AwsSecretKeyId = secretKey;
     connection.LibraryVersion = libraryVersion;
     servicePath = config.ServicePath;
 }
Пример #3
0
 /// <summary>
 /// Create client.
 /// </summary>
 /// <param name="accessKey">Access Key</param>
 /// <param name="secretKey">Secret Key</param>
 /// <param name="config">configuration</param>
 public FBAInboundServiceMWSClient(String accessKey, String secretKey, FBAInboundServiceMWSConfig config)
 {
     connection = config.CopyConnection();
     connection.AwsAccessKeyId = accessKey;
     connection.AwsSecretKeyId = secretKey;
     connection.LibraryVersion = libraryVersion;
     servicePath = config.ServicePath;
 }
Пример #4
0
 /// <summary>
 /// Create client.
 /// </summary>
 /// <param name="accessKey">Access Key</param>
 /// <param name="secretKey">Secret Key</param>
 /// <param name="config">configuration</param>
 public MWSCustomerServiceClient(String accessKey, String secretKey, MWSCustomerServiceConfig config)
 {
     this.connection = config.CopyConnection();
     this.connection.AwsAccessKeyId = accessKey;
     this.connection.AwsSecretKeyId = secretKey;
     this.connection.LibraryVersion = libraryVersion;
     this.servicePath = config.ServicePath;
 }
Пример #5
0
 /// <summary>
 /// Create client.
 /// </summary>
 /// <param name="accessKey">Access Key</param>
 /// <param name="secretKey">Secret Key</param>
 /// <param name="config">configuration</param>
 public ImwssOrdersServiceClient(String accessKey, String secretKey, MarketplaceWebServiceOrdersConfig config)
 {
     this.connection = config.CopyConnection();
     this.connection.AwsAccessKeyId = accessKey;
     this.connection.AwsSecretKeyId = secretKey;
     this.connection.LibraryVersion = libraryVersion;
     this.servicePath = config.ServicePath;
 }
 /// <summary>
 /// Create client.
 /// </summary>
 /// <param name="accessKey">Access Key</param>
 /// <param name="secretKey">Secret Key</param>
 /// <param name="applicationName">Application Name</param>
 /// <param name="applicationVersion">Application Version</param>
 /// <param name="config">configuration</param>
 public ImwsProductsServiceClient(
     String applicationName, String applicationVersion, String accessKey, String secretKey,
     MarketplaceWebServiceProductsConfig config)
 {
     this.connection = config.CopyConnection();
     this.connection.AwsAccessKeyId     = accessKey;
     this.connection.AwsSecretKeyId     = secretKey;
     this.connection.ApplicationName    = applicationName;
     this.connection.ApplicationVersion = applicationVersion;
     this.connection.LibraryVersion     = libraryVersion;
     this.servicePath = config.ServicePath;
 }
Пример #7
0
        /// <summary>
        /// Added to initialize service without too much changes in original code .
        /// </summary>
        /// <param name="accessKey">The access key.</param>
        /// <param name="secretKey">The secret key.</param>
        /// <param name="applicationName">Name of the application.</param>
        /// <param name="applicationVersion">The application version.</param>
        public void Init(string accessKey, string secretKey, string applicationName, string applicationVersion)
        {
            var config = new MarketplaceWebServiceOrdersConfig();

            config.ServiceURL = "https://mws.amazonservices.co.uk/Orders/2013-09-01";
            this.connection   = config.CopyConnection();
            this.connection.AwsAccessKeyId     = accessKey;
            this.connection.AwsSecretKeyId     = secretKey;
            this.connection.ApplicationName    = applicationName;
            this.connection.ApplicationVersion = applicationVersion;
            this.connection.LibraryVersion     = libraryVersion;
            this.servicePath = config.ServicePath;
        }
 /// <summary>
 /// Create client.
 /// </summary>
 /// <param name="accessKey">Access Key</param>
 /// <param name="secretKey">Secret Key</param>
 /// <param name="applicationName">Application Name</param>
 /// <param name="applicationVersion">Application Version</param>
 /// <param name="config">configuration</param>
 public MWSFinancesServiceClient(
     string accessKey,
     string secretKey,
     string applicationName,
     string applicationVersion,
     MWSFinancesServiceConfig config)
 {
     connection = config.CopyConnection();
     connection.AwsAccessKeyId     = accessKey;
     connection.AwsSecretKeyId     = secretKey;
     connection.ApplicationName    = applicationName;
     connection.ApplicationVersion = applicationVersion;
     connection.LibraryVersion     = libraryVersion;
     servicePath = config.ServicePath;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MarketplaceWebServiceOrdersClient"/> class.
 /// Create client.
 /// </summary>
 /// <param name="accessKey">Access Key.</param>
 /// <param name="secretKey">Secret Key.</param>
 /// <param name="applicationName">Application Name.</param>
 /// <param name="applicationVersion">Application Version.</param>
 /// <param name="config">configuration.</param>
 public MarketplaceWebServiceOrdersClient(
     string accessKey,
     string secretKey,
     string applicationName,
     string applicationVersion,
     MarketplaceWebServiceOrdersConfig config)
 {
     _connection = config.CopyConnection();
     _connection.AwsAccessKeyId     = accessKey;
     _connection.AwsSecretKeyId     = secretKey;
     _connection.ApplicationName    = applicationName;
     _connection.ApplicationVersion = applicationVersion;
     _connection.LibraryVersion     = libraryVersion;
     _servicePath = config.ServicePath;
 }
Пример #10
0
 /// <summary>
 /// Create client.
 /// </summary>
 /// <param name="accessKey">Access Key</param>
 /// <param name="secretKey">Secret Key</param>
 /// <param name="applicationName">Application Name</param>
 /// <param name="applicationVersion">Application Version</param>
 /// <param name="config">configuration</param>
 public MWSCustomerServiceClient(
     string accessKey,
     string secretKey,
     string applicationName,
     string applicationVersion,
     MWSCustomerServiceConfig config)
 {
     this.connection = config.CopyConnection();
     this.connection.AwsAccessKeyId     = accessKey;
     this.connection.AwsSecretKeyId     = secretKey;
     this.connection.ApplicationName    = applicationName;
     this.connection.ApplicationVersion = applicationVersion;
     this.connection.LibraryVersion     = libraryVersion;
     this.servicePath = config.ServicePath;
 }
Пример #11
0
        /// <summary>
        /// Added to initialize service without too much changes in original code .
        /// </summary>
        /// <param name="accessKey">The access key.</param>
        /// <param name="secretKey">The secret key.</param>
        /// <param name="applicationName">Name of the application.</param>
        /// <param name="applicationVersion">The application version.</param>
        public void Init(string accessKey,
                         string secretKey,
                         string applicationName,
                         string applicationVersion)
        {
            var config = new MWSCustomerServiceConfig();

            this.connection = config.CopyConnection();
            this.connection.AwsAccessKeyId     = accessKey;
            this.connection.AwsSecretKeyId     = secretKey;
            this.connection.ApplicationName    = applicationName;
            this.connection.ApplicationVersion = applicationVersion;
            this.connection.LibraryVersion     = libraryVersion;
            this.servicePath = config.ServicePath;
        }