public RelatedProducts GetRelatedProducts(RelatedProductsRequest relatedProductsRequest) { HttpWebRequest request = CatalogRequestBuilder.ConstructRelatedProductsRequest(apiKey, relatedProductsRequest); RelatedProducts relatedProducts = ProcessBodylessRequest(request).ToObject <RelatedProducts>(); return(relatedProducts); }
public ProductRecommendations GetProductRecommendations(ProductRecommendationsRequest productRecommendationsRequest) { HttpWebRequest request = CatalogRequestBuilder.ConstructProductRecommendationsRequest(apiKey, productRecommendationsRequest); ProductRecommendations productRecommendations = ProcessBodylessRequest(request).ToObject <ProductRecommendations>(); return(productRecommendations); }
public ProductOffers GetProductOffers(ProductOffersRequest productOffersRequest) { HttpWebRequest request = CatalogRequestBuilder.ConstructProductOffersRequest(apiKey, productOffersRequest); ProductOffers productOffers = ProcessBodylessRequest(request).ToObject <ProductOffers>(); return(productOffers); }
public SellerList GetSellerList(SellerListRequest sellerListRequest) { HttpWebRequest request = CatalogRequestBuilder.ConstructSellerListRequest(apiKey, sellerListRequest); SellerList sellerList = ProcessBodylessRequest(request).ToObject <SellerList>(); return(sellerList); }
public ProductList GetProducts(ProductsRequest productsRequest) { HttpWebRequest request = CatalogRequestBuilder.ConstructProductsRequest(apiKey, productsRequest); ProductList productList = ProcessBodylessRequest(request).ToObject <ProductList>(); return(productList); }
public ListResults Browse(ListResultsRequest listResultsRequest) { HttpWebRequest request = CatalogRequestBuilder.ConstructListRequest(apiKey, listResultsRequest); ListResults listResults = ProcessBodylessRequest(request).ToObject <ListResults>(); return(listResults); }
public SearchResults Search(SearchResultsRequest searchResultsRequest) { HttpWebRequest request = CatalogRequestBuilder.ConstructSearchRequest(apiKey, searchResultsRequest); SearchResults searchResults = ProcessBodylessRequest(request).ToObject <SearchResults>(); return(searchResults); }
public Command BuildCatalogCommand() { var command = new Command("catalog"); var builder = new CatalogRequestBuilder(PathParameters, RequestAdapter); command.AddCommand(builder.BuildGetCommand()); return(command); }