protected internal String ToXMLFragment()
{
StringBuilder xml = new StringBuilder();
List<CompetitivePriceType> competitivePriceObjList = this.CompetitivePrice;
foreach (CompetitivePriceType competitivePriceObj in competitivePriceObjList) {
xml.Append("<CompetitivePrice condition=" + "\"" + EscapeXML(competitivePriceObj.condition) + "\"" + " subcondition=" + "\"" + EscapeXML(competitivePriceObj.subcondition) + "\"" + " belongsToRequester=" + "\"" + competitivePriceObj.belongsToRequester + "\"" + ">");
xml.Append(competitivePriceObj.ToXMLFragment());
xml.Append("</CompetitivePrice>");
}
return xml.ToString();
}