/// <remarks/> public void buyatAffiliateCategoryListlevel2Async(string api_key, BuyatAffiliateCategoryListlevel2Parameters parameters, object userState) { if ((this.buyatAffiliateCategoryListlevel2OperationCompleted == null)) { this.buyatAffiliateCategoryListlevel2OperationCompleted = new System.Threading.SendOrPostCallback(this.OnbuyatAffiliateCategoryListlevel2OperationCompleted); } this.InvokeAsync("buyatAffiliateCategoryListlevel2", new object[] { api_key, parameters}, this.buyatAffiliateCategoryListlevel2OperationCompleted, userState); }
/// <remarks/> public void buyatAffiliateCategoryListlevel2Async(string api_key, BuyatAffiliateCategoryListlevel2Parameters parameters) { this.buyatAffiliateCategoryListlevel2Async(api_key, parameters, null); }
public BuyatAffiliateCategoryListResponse buyatAffiliateCategoryListlevel2(string api_key, BuyatAffiliateCategoryListlevel2Parameters parameters) { object[] results = this.Invoke("buyatAffiliateCategoryListlevel2", new object[] { api_key, parameters}); return ((BuyatAffiliateCategoryListResponse)(results[0])); }
/// <remarks/> public System.IAsyncResult BeginbuyatAffiliateCategoryListlevel2(string api_key, BuyatAffiliateCategoryListlevel2Parameters parameters, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("buyatAffiliateCategoryListlevel2", new object[] { api_key, parameters}, callback, asyncState); }
public List<Category> ListLevel2Categories(int level1CategoryID) { BuyatAffiliateCategoryListlevel2Parameters parameters = new BuyatAffiliateCategoryListlevel2Parameters(); parameters.level1_category_id = level1CategoryID.ToString(); BuyatAffiliateCategoryListResponse response = binding.buyatAffiliateCategoryListlevel2(apiKey, parameters); List<Category> categories = new List<Category>(); foreach (BuyatAffiliateEntitiesCategory category in response.categories) { categories.Add(new Category(this, category)); } return categories; }