示例#1
0
        public static CreateCommodityResponse Unmarshall(UnmarshallerContext context)
        {
            CreateCommodityResponse createCommodityResponse = new CreateCommodityResponse();

            createCommodityResponse.HttpResponse = context.HttpResponse;
            createCommodityResponse.RequestId    = context.StringValue("CreateCommodity.RequestId");
            createCommodityResponse.Commodity    = context.StringValue("CreateCommodity.Commodity");

            return(createCommodityResponse);
        }
        public static CreateCommodityResponse Unmarshall(UnmarshallerContext context)
        {
            CreateCommodityResponse createCommodityResponse = new CreateCommodityResponse();

            createCommodityResponse.HttpResponse = context.HttpResponse;
            createCommodityResponse.RequestId    = context.StringValue("CreateCommodity.RequestId");
            createCommodityResponse.Success      = context.BooleanValue("CreateCommodity.Success");

            CreateCommodityResponse.CreateCommodity_Commodity commodity = new CreateCommodityResponse.CreateCommodity_Commodity();
            commodity.CommodityId             = context.StringValue("CreateCommodity.Commodity.CommodityId");
            createCommodityResponse.Commodity = commodity;

            return(createCommodityResponse);
        }