using NPOI.SS.Formula.Functions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XYY.Service.Standard.ChannelApi.Hall
{
    public class OrderResponseItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string hasError { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tips { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string orderId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string orderToken { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double fee { get; set; }
    }

    public class Values
    {
    }

    public class ResponseBase<T>
    {
        /// <summary>
        /// 
        /// </summary>
        public string version { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string message { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public T data { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Values values { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string callback { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool error { get; set; }
    }

    public class CreateOrderResponse: ResponseBase<List<OrderResponseItem>>
    {

    }
}
