protected internal String ToXMLFragment()
{
StringBuilder xml = new StringBuilder();
if (IsSetCondition()) {
xml.Append("<Condition>");
xml.Append(EscapeXML(this.Condition));
xml.Append("</Condition>");
}
if (IsSetSubCondition()) {
xml.Append("<SubCondition>");
xml.Append(EscapeXML(this.SubCondition));
xml.Append("</SubCondition>");
}
if (IsSetConditionNote()) {
xml.Append("<ConditionNote>");
xml.Append(EscapeXML(this.ConditionNote));
xml.Append("</ConditionNote>");
}
if (IsSetWillShipExpedited()) {
xml.Append("<WillShipExpedited>");
xml.Append(this.WillShipExpedited);
xml.Append("</WillShipExpedited>");
}
if (IsSetWillShipInternational()) {
xml.Append("<WillShipInternational>");
xml.Append(this.WillShipInternational);
xml.Append("</WillShipInternational>");
}
return xml.ToString();
}