public override void ReadFragmentFrom(IMwsReader reader)
 {
     _lastUpdated     = reader.Read <DateTime?>("LastUpdated");
     _itemIdentifier  = reader.Read <ProductIdentifier>("ItemIdentifier");
     _itemName        = reader.Read <string>("ItemName");
     _brandName       = reader.Read <string>("BrandName");
     _productCategory = reader.Read <string>("ProductCategory");
     _salesRank       = reader.Read <decimal?>("SalesRank");
     _buyboxPrice     = reader.Read <Price>("BuyboxPrice");
     _numberOfOffers  = reader.Read <decimal?>("NumberOfOffers");
     _numberOfOffersFulfilledByAmazon = reader.Read <decimal?>("NumberOfOffersFulfilledByAmazon");
     _averageCustomerReview           = reader.Read <decimal?>("AverageCustomerReview");
     _numberOfCustomerReviews         = reader.Read <decimal?>("NumberOfCustomerReviews");
     _itemDimensions       = reader.Read <ItemDimensions>("ItemDimensions");
     _recommendationId     = reader.Read <string>("RecommendationId");
     _recommendationReason = reader.Read <string>("RecommendationReason");
 }
 /// <summary>
 /// Sets the ItemDimensions property.
 /// </summary>
 /// <param name="itemDimensions">ItemDimensions property.</param>
 /// <returns>this instance.</returns>
 public GlobalSellingRecommendation WithItemDimensions(ItemDimensions itemDimensions)
 {
     this._itemDimensions = itemDimensions;
     return(this);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Sets the ItemDimensions property.
 /// </summary>
 /// <param name="itemDimensions">ItemDimensions property.</param>
 /// <returns>this instance.</returns>
 public FulfillmentRecommendation WithItemDimensions(ItemDimensions itemDimensions)
 {
     this._itemDimensions = itemDimensions;
     return(this);
 }