protected internal String ToXMLFragment()
{
StringBuilder xml = new StringBuilder();
if (IsSetLowestListPrice()) {
Price lowestListPrice = this.LowestListPrice;
xml.Append("<LowestListPrice>");
xml.Append(lowestListPrice.ToXMLFragment());
xml.Append("</LowestListPrice>");
}
if (IsSetHighestListPrice()) {
Price highestListPrice = this.HighestListPrice;
xml.Append("<HighestListPrice>");
xml.Append(highestListPrice.ToXMLFragment());
xml.Append("</HighestListPrice>");
}
if (IsSetLowestSalePrice()) {
Price lowestSalePrice = this.LowestSalePrice;
xml.Append("<LowestSalePrice>");
xml.Append(lowestSalePrice.ToXMLFragment());
xml.Append("</LowestSalePrice>");
}
if (IsSetHighestSalePrice()) {
Price highestSalePrice = this.HighestSalePrice;
xml.Append("<HighestSalePrice>");
xml.Append(highestSalePrice.ToXMLFragment());
xml.Append("</HighestSalePrice>");
}
return xml.ToString();
}