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"); }
/// <summary> /// Sets the SalesRankings property. /// </summary> /// <param name="salesRankings">SalesRankings property.</param> /// <returns>this instance.</returns> public Product WithSalesRankings(SalesRankList salesRankings) { this._salesRankings = salesRankings; return(this); }