Ejemplo n.º 1
0
 /// <remarks/>
 public void CartCreateAsync(CartCreate CartCreate1) {
     this.CartCreateAsync(CartCreate1, null);
 }
Ejemplo n.º 2
0
 /// <remarks/>
 public void CartCreateAsync(CartCreate CartCreate1, object userState) {
     if ((this.CartCreateOperationCompleted == null)) {
         this.CartCreateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCartCreateOperationCompleted);
     }
     this.InvokeAsync("CartCreate", new object[] {
                 CartCreate1}, this.CartCreateOperationCompleted, userState);
 }
Ejemplo n.º 3
0
 private CartCreate GetCartCreate(Item item, OfferListing offerListing)
 {
     CartCreate cartCreate = new CartCreate();
     cartCreate.AssociateTag = AssociateTag;
     cartCreate.AWSAccessKeyId = AWSAccessKeyId;
     CartCreateRequestItem cartItem = new CartCreateRequestItem();
     //cartItem.ASIN = item.ASIN;
     cartItem.AssociateTag = AssociateTag;
     cartItem.OfferListingId = offerListing.OfferListingId;
     cartItem.Quantity = "1";
     CartCreateRequest request = new CartCreateRequest();
     request.Items = new CartCreateRequestItem[] {cartItem};
     cartCreate.Request = new CartCreateRequest[] {request};
     return cartCreate;
 }