public static GetAccountSummaryResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new GetAccountSummaryResultUnmarshaller();
            }

            return(instance);
        }
Exemple #2
0
        public GetAccountSummaryResponse Unmarshall(UnmarshallerContext context)
        {
            GetAccountSummaryResponse response = new GetAccountSummaryResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("GetAccountSummaryResult", 2))
                    {
                        response.GetAccountSummaryResult = GetAccountSummaryResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }

            return(response);
        }