コード例 #1
0
ファイル: BuyatService.cs プロジェクト: buyat/buy.at-API-SDKs
 /// <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);
 }
コード例 #2
0
ファイル: BuyatService.cs プロジェクト: buyat/buy.at-API-SDKs
 /// <remarks/>
 public void buyatAffiliateCategoryListlevel2Async(string api_key, BuyatAffiliateCategoryListlevel2Parameters parameters) {
     this.buyatAffiliateCategoryListlevel2Async(api_key, parameters, null);
 }
コード例 #3
0
ファイル: BuyatService.cs プロジェクト: buyat/buy.at-API-SDKs
 public BuyatAffiliateCategoryListResponse buyatAffiliateCategoryListlevel2(string api_key, BuyatAffiliateCategoryListlevel2Parameters parameters) {
     object[] results = this.Invoke("buyatAffiliateCategoryListlevel2", new object[] {
                 api_key,
                 parameters});
     return ((BuyatAffiliateCategoryListResponse)(results[0]));
 }
コード例 #4
0
ファイル: BuyatService.cs プロジェクト: buyat/buy.at-API-SDKs
 /// <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);
 }
コード例 #5
0
ファイル: BuyAtAPI.cs プロジェクト: buyat/buy.at-API-SDKs
        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;
        }