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

nextEcheckVerificationResponse() public method

public nextEcheckVerificationResponse ( ) : echeckVerificationResponse
return echeckVerificationResponse
        public virtual echeckVerificationResponse nextEcheckVerificationResponse()
        {
            if (echeckVerificationResponseReader.ReadState != ReadState.Closed)
            {
                string response = echeckVerificationResponseReader.ReadOuterXml();
                XmlSerializer serializer = new XmlSerializer(typeof(echeckVerificationResponse));
                StringReader reader = new StringReader(response);
                echeckVerificationResponse i = (echeckVerificationResponse)serializer.Deserialize(reader);

                if (!echeckVerificationResponseReader.ReadToFollowing("echeckVerificationResponse"))
                {
                    echeckVerificationResponseReader.Close();
                }

                return i;
            }

            return null;
        }
batchResponse