예제 #1
0
 public override void ReadFragmentFrom(IMwsReader reader)
 {
     this._identifiers         = reader.Read <IdentifierType>("Identifiers");
     this._attributeSets       = reader.Read <AttributeSetList>("AttributeSets");
     this._relationships       = reader.Read <RelationshipList>("Relationships");
     this._competitivePricing  = reader.Read <CompetitivePricingType>("CompetitivePricing");
     this._salesRankings       = reader.Read <SalesRankList>("SalesRankings");
     this._lowestOfferListings = reader.Read <LowestOfferListingList>("LowestOfferListings");
     this._offers = reader.Read <OffersList>("Offers");
 }
예제 #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);
 }