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

nextEcheckCreditResponse() public method

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

                if (!echeckCreditResponseReader.ReadToFollowing("echeckCreditResponse"))
                {
                    echeckCreditResponseReader.Close();
                }

                return i;
            }

            return null;
        }
batchResponse