Пример #1
0
 /// <remarks/>
 public void buyatAffiliateProductInfoAsync(string api_key, BuyatAffiliateProductInfoParameters parameters, object userState) {
     if ((this.buyatAffiliateProductInfoOperationCompleted == null)) {
         this.buyatAffiliateProductInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnbuyatAffiliateProductInfoOperationCompleted);
     }
     this.InvokeAsync("buyatAffiliateProductInfo", new object[] {
                 api_key,
                 parameters}, this.buyatAffiliateProductInfoOperationCompleted, userState);
 }
Пример #2
0
 /// <remarks/>
 public void buyatAffiliateProductInfoAsync(string api_key, BuyatAffiliateProductInfoParameters parameters) {
     this.buyatAffiliateProductInfoAsync(api_key, parameters, null);
 }
Пример #3
0
 public BuyatAffiliateEntitiesProduct buyatAffiliateProductInfo(string api_key, BuyatAffiliateProductInfoParameters parameters) {
     object[] results = this.Invoke("buyatAffiliateProductInfo", new object[] {
                 api_key,
                 parameters});
     return ((BuyatAffiliateEntitiesProduct)(results[0]));
 }
Пример #4
0
 /// <remarks/>
 public System.IAsyncResult BeginbuyatAffiliateProductInfo(string api_key, BuyatAffiliateProductInfoParameters parameters, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("buyatAffiliateProductInfo", new object[] {
                 api_key,
                 parameters}, callback, asyncState);
 }
Пример #5
0
 public Product GetProductInfo(int productID)
 {
     BuyatAffiliateProductInfoParameters parameters = new BuyatAffiliateProductInfoParameters();
     parameters.product_id = productID.ToString();
     BuyatAffiliateEntitiesProductDetails response = binding.buyatAffiliateProductInfo(apiKey, parameters).product;
     return new Product(this, response);
 }