using BBWYB.Common.Http;
using SDKAdapter.PurchasePlatform.Models;

namespace SDKAdapter.PurchasePlatform.Client
{
    public class PP_PlatformClient
    {
        protected RestApiService restApiService { get; private set; }

        public virtual AdapterEnums.PlatformType Platform { get; }

        public PP_PlatformClient(RestApiService restApiService)
        {
            this.restApiService = restApiService;
        }

        /// <summary>
        /// 预览订单
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public virtual PP_PreviewOrderResponse PreviewOrder(PP_PreviewOrderRequest request)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 创建订单
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public virtual PP_CreateOrderResponse CreateOrder(PP_CreateOrderRequest request)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 查询订单详情
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public virtual PP_QueryOrderDetailResponse QueryOrderDetail(PP_QueryOrderDetailRequest request)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 查询订单物流信息
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public virtual IList<PP_QueryOrderLogisticsResponse> QueryOrderLogistics(PP_QueryOrderLogisticsRequest request)
        {
            throw new NotImplementedException();
        }
    }
}