コード例 #1
0
ファイル: Summary.cs プロジェクト: vijayamazon/ezbob
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     this._totalOfferCount = reader.Read <decimal>("TotalOfferCount");
     this._numberOfOffers  = reader.Read <NumberOfOffers>("NumberOfOffers");
     this._lowestPrices    = reader.Read <LowestPrices>("LowestPrices");
     this._buyBoxPrices    = reader.Read <BuyBoxPrices>("BuyBoxPrices");
     this._listPrice       = reader.Read <MoneyType>("ListPrice");
     this._suggestedLowerPricePlusShipping = reader.Read <MoneyType>("SuggestedLowerPricePlusShipping");
     this._buyBoxEligibleOffers            = reader.Read <BuyBoxEligibleOffers>("BuyBoxEligibleOffers");
 }
コード例 #2
0
ファイル: Summary.cs プロジェクト: vijayamazon/ezbob
 /// <summary>
 /// Sets the NumberOfOffers property.
 /// </summary>
 /// <param name="numberOfOffers">NumberOfOffers property.</param>
 /// <returns>this instance.</returns>
 public Summary WithNumberOfOffers(NumberOfOffers numberOfOffers)
 {
     this._numberOfOffers = numberOfOffers;
     return(this);
 }