Exemplo n.º 1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _sellerId                     = reader.Read <string>("SellerId");
     _mwsAuthToken                 = reader.Read <string>("MWSAuthToken");
     _marketplace                  = reader.Read <string>("Marketplace");
     _marketplaceId                = reader.Read <string>("MarketplaceId");
     _address                      = reader.Read <Address>("Address");
     _items                        = reader.Read <GetFulfillmentPreviewItemList>("Items");
     _shippingSpeedCategories      = reader.Read <ShippingSpeedCategoryList>("ShippingSpeedCategories");
     _includeCODFulfillmentPreview = reader.Read <bool?>("IncludeCODFulfillmentPreview");
     _includeDeliveryWindows       = reader.Read <bool?>("IncludeDeliveryWindows");
 }
Exemplo n.º 2
0
 /// <summary>
 /// Sets the ShippingSpeedCategories property.
 /// </summary>
 /// <param name="shippingSpeedCategories">ShippingSpeedCategories property.</param>
 /// <returns>this instance.</returns>
 public GetFulfillmentPreviewRequest WithShippingSpeedCategories(ShippingSpeedCategoryList shippingSpeedCategories)
 {
     this._shippingSpeedCategories = shippingSpeedCategories;
     return(this);
 }