public ItemEndpointTests()
 {
     var config = new Marketplace.ClientConfig("test", "test-key", "Test");
     var apiClient = new Marketplace.ApiClient(config);
     apiClient.SimulationEnabled = true;
     itemApi = new Marketplace.V3.Api.ItemEndpoint(apiClient);
 }
 public OrderEndpointTests()
 {
     var config = new Marketplace.ClientConfig("test", "test-key");
     var apiClient = new Marketplace.ApiClient(config);
     apiClient.SimulationEnabled = true;
     orderApi = new Marketplace.V3.Api.OrderEndpoint(apiClient);
 }
        public InventoryEndpointTests()
        {
            var config    = new Marketplace.ClientConfig("test", "test-key");
            var apiClient = new Marketplace.ApiClient(config);

            apiClient.SimulationEnabled = true;
            inventoryApi = new Marketplace.V2.Api.InventoryEndpoint(apiClient);
        }
Esempio n. 4
0
        public PriceEndpointTests()
        {
            var config    = new Marketplace.ClientConfig("test", "test-key", "test");
            var apiClient = new Marketplace.ApiClient(config);

            apiClient.SimulationEnabled = true;
            priceApi = new Marketplace.V2.Api.PriceEndpoint(apiClient);
        }
        public FeedEndpointTests()
        {
            var config    = new Marketplace.ClientConfig("test", "test-key");
            var apiClient = new Marketplace.ApiClient(config)
            {
                SimulationEnabled = true
            };

            feedApi = new Marketplace.V2.Api.FeedEndpoint(apiClient);
        }