protected internal String ToXMLFragment()
{
StringBuilder xml = new StringBuilder();
if (IsSetCustomerPage()) {
xml.Append("<CustomerPage>");
xml.Append(this.CustomerPage);
xml.Append("</CustomerPage>");
}
if (IsSetEmail()) {
xml.Append("<Email>");
xml.Append(EscapeXML(this.Email));
xml.Append("</Email>");
}
if (IsSetName()) {
xml.Append("<Name>");
xml.Append(EscapeXML(this.Name));
xml.Append("</Name>");
}
List<String> responseGroupList = this.ResponseGroup;
foreach (String responseGroup in responseGroupList) {
xml.Append("<ResponseGroup>");
xml.Append(responseGroup);
xml.Append("</ResponseGroup>");
}
return xml.ToString();
}