コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
        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);
        }
コード例 #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);
        }
コード例 #5
0
        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);
        }