Esempio n. 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");
 }
Esempio n. 2
0
 /// <summary>
 /// Sets the Relationships property.
 /// </summary>
 /// <param name="relationships">Relationships property.</param>
 /// <returns>this instance.</returns>
 public Product WithRelationships(RelationshipList relationships)
 {
     this._relationships = relationships;
     return(this);
 }