/// <remarks/> public void buyatAffiliateFeedGeturlAsync(string api_key, BuyatAffiliateFeedGeturlParameters parameters, object userState) { if ((this.buyatAffiliateFeedGeturlOperationCompleted == null)) { this.buyatAffiliateFeedGeturlOperationCompleted = new System.Threading.SendOrPostCallback(this.OnbuyatAffiliateFeedGeturlOperationCompleted); } this.InvokeAsync("buyatAffiliateFeedGeturl", new object[] { api_key, parameters}, this.buyatAffiliateFeedGeturlOperationCompleted, userState); }
/// <remarks/> public void buyatAffiliateFeedGeturlAsync(string api_key, BuyatAffiliateFeedGeturlParameters parameters) { this.buyatAffiliateFeedGeturlAsync(api_key, parameters, null); }
public BuyatAffiliateFeedGeturlResponse buyatAffiliateFeedGeturl(string api_key, BuyatAffiliateFeedGeturlParameters parameters) { object[] results = this.Invoke("buyatAffiliateFeedGeturl", new object[] { api_key, parameters}); return ((BuyatAffiliateFeedGeturlResponse)(results[0])); }
/// <remarks/> public System.IAsyncResult BeginbuyatAffiliateFeedGeturl(string api_key, BuyatAffiliateFeedGeturlParameters parameters, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("buyatAffiliateFeedGeturl", new object[] { api_key, parameters}, callback, asyncState); }
public string GetFeedURL(int feedID, FeedFormat format, int start, int perPage, int level1CategoryID, int level2CategoryID, int programmeCategoryID, string[] programmeCategoryLevels, string lid, bool useHTTPS, bool reverseMapXML, bool bestseller) { BuyatAffiliateFeedGeturlParameters parameters = new BuyatAffiliateFeedGeturlParameters(); parameters.feed_id = feedID.ToString(); parameters.format = (BuyatAffiliateEntitiesFeedFormat)Enum.ToObject(typeof(BuyatAffiliateEntitiesFeedFormat), format); if (start != -1) { parameters.start = start.ToString(); } if (perPage != -1) { parameters.perpage = perPage.ToString(); } if (level1CategoryID != -1) { parameters.level1_category_id = level1CategoryID.ToString(); } if (level2CategoryID != -1) { parameters.level2_category_id = level2CategoryID.ToString(); } if (programmeCategoryID != -1) { parameters.programme_category_id = programmeCategoryID.ToString(); } if (programmeCategoryLevels != null) { for (int i = 0; i < programmeCategoryLevels.Length; i++) { if (programmeCategoryLevels[i] != null && programmeCategoryLevels[i] != "") { parameters.GetType().GetProperty("level" + (i + 1)).SetValue(parameters, programmeCategoryLevels[i], null); } } } parameters.lid = lid; parameters.use_https = useHTTPS; parameters.reverse_map_xml = reverseMapXML; parameters.bestseller = bestseller; BuyatAffiliateFeedGeturlResponse response = binding.buyatAffiliateFeedGeturl(apiKey, parameters); return response.url; }