public virtual submerchantCreditResponse nextSubmerchantCreditResponse()
{
if (submerchantCreditResponseReader.ReadState != ReadState.Closed)
{
string response = submerchantCreditResponseReader.ReadOuterXml();
XmlSerializer serializer = new XmlSerializer(typeof(submerchantCreditResponse));
StringReader reader = new StringReader(response);
submerchantCreditResponse i = (submerchantCreditResponse)serializer.Deserialize(reader);
if (!submerchantCreditResponseReader.ReadToFollowing("submerchantCreditResponse"))
{
submerchantCreditResponseReader.Close();
}
return i;
}
return null;
}