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