public String ToXML()
{
StringBuilder xml = new StringBuilder();
xml.Append("<SellerListingLookupResponse xmlns=\"http://webservices.amazon.com/AWSECommerceService/2007-07-16\">");
if (IsSetOperationRequest()) {
OperationRequest operationRequest = this.OperationRequest;
xml.Append("<OperationRequest>");
xml.Append(operationRequest.ToXMLFragment());
xml.Append("</OperationRequest>");
}
List<SellerListings> sellerListingsList = this.SellerListings;
foreach (SellerListings sellerListings in sellerListingsList) {
xml.Append("<SellerListings>");
xml.Append(sellerListings.ToXMLFragment());
xml.Append("</SellerListings>");
}
xml.Append("</SellerListingLookupResponse>");
return xml.ToString();
}