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

nextCreatePlanResponse() public method

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

                if (!createPlanResponseReader.ReadToFollowing("createPlanResponse"))
                {
                    createPlanResponseReader.Close();
                }

                return i;
            }

            return null;
        }
batchResponse