示例#1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     _identifiers         = reader.Read <IdentifierType>("Identifiers");
     _attributeSets       = reader.Read <AttributeSetList>("AttributeSets");
     _relationships       = reader.Read <RelationshipList>("Relationships");
     _competitivePricing  = reader.Read <CompetitivePricingType>("CompetitivePricing");
     _salesRankings       = reader.Read <SalesRankList>("SalesRankings");
     _lowestOfferListings = reader.Read <LowestOfferListingList>("LowestOfferListings");
     _offers = reader.Read <OffersList>("Offers");
 }
示例#2
0
 /// <summary>
 /// Sets the Offers property.
 /// </summary>
 /// <param name="offers">Offers property.</param>
 /// <returns>this instance.</returns>
 public Product WithOffers(OffersList offers)
 {
     this._offers = offers;
     return(this);
 }