protected internal String ToXMLFragment()
{
StringBuilder xml = new StringBuilder();
if (IsSetShippingType()) {
xml.Append("<ShippingType>");
xml.Append(EscapeXML(this.ShippingType));
xml.Append("</ShippingType>");
}
if (IsSetShippingPrice()) {
Price shippingPrice = this.ShippingPrice;
xml.Append("<ShippingPrice>");
xml.Append(shippingPrice.ToXMLFragment());
xml.Append("</ShippingPrice>");
}
return xml.ToString();
}