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

nextAuthorizationResponse() public method

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

                if (!authorizationResponseReader.ReadToFollowing("authorizationResponse"))
                {
                    authorizationResponseReader.Close();
                }

                return i;
            }

            return null;
        }
batchResponse