Litle.Sdk.batchResponse.nextSubmerchantDebitResponse C# (CSharp) Method

nextSubmerchantDebitResponse() public method

public nextSubmerchantDebitResponse ( ) : submerchantDebitResponse
return submerchantDebitResponse
        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;
        }
batchResponse