public ItemLookupResponse GetItemLookupResponse(AWSECommerceService ecs, string[] itemASINs)
 {
     ItemLookup lookup = new ItemLookup();
     lookup.AssociateTag = AssociateTag;
     lookup.AWSAccessKeyId = AWSAccessKeyId;
     //lookup.Version = "2008-08-19";
     ItemLookupRequest request = new ItemLookupRequest();
     request.ItemId = itemASINs;
     request.MerchantId = "Featured";
     request.ResponseGroup = new string[] {"Medium", "OfferFull", "ShippingCharges"};
     lookup.Request = new ItemLookupRequest[] {request};
     ItemLookupResponse response = ecs.ItemLookup(lookup);
     CheckRequestError(response.OperationRequest);
     return response;
 }
Esempio n. 2
0
 /// <remarks/>
 public void ItemLookupAsync(ItemLookup ItemLookup1, object userState) {
     if ((this.ItemLookupOperationCompleted == null)) {
         this.ItemLookupOperationCompleted = new System.Threading.SendOrPostCallback(this.OnItemLookupOperationCompleted);
     }
     this.InvokeAsync("ItemLookup", new object[] {
                 ItemLookup1}, this.ItemLookupOperationCompleted, userState);
 }
Esempio n. 3
0
 /// <remarks/>
 public void ItemLookupAsync(ItemLookup ItemLookup1) {
     this.ItemLookupAsync(ItemLookup1, null);
 }