protected internal String ToXMLFragment()
{
StringBuilder xml = new StringBuilder();
if (IsSetCompetitivePrices()) {
CompetitivePriceList competitivePricesObj = this.CompetitivePrices;
xml.Append("<CompetitivePrices>");
xml.Append(competitivePricesObj.ToXMLFragment());
xml.Append("</CompetitivePrices>");
}
if (IsSetNumberOfOfferListings()) {
NumberOfOfferListingsList numberOfOfferListingsObj = this.NumberOfOfferListings;
xml.Append("<NumberOfOfferListings>");
xml.Append(numberOfOfferListingsObj.ToXMLFragment());
xml.Append("</NumberOfOfferListings>");
}
if (IsSetTradeInValue()) {
MoneyType tradeInValueObj = this.TradeInValue;
xml.Append("<TradeInValue>");
xml.Append(tradeInValueObj.ToXMLFragment());
xml.Append("</TradeInValue>");
}
return xml.ToString();
}