diff --git a/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderConsigneeResponse.cs b/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderConsigneeResponse.cs new file mode 100644 index 0000000..c37e028 --- /dev/null +++ b/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderConsigneeResponse.cs @@ -0,0 +1,6 @@ +namespace SDKAdapter.OperationPlatform.Models +{ + public class OP_OrderConsigneeResponse + { + } +} diff --git a/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderListResponse.cs b/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderListResponse.cs new file mode 100644 index 0000000..3a94357 --- /dev/null +++ b/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderListResponse.cs @@ -0,0 +1,9 @@ +namespace SDKAdapter.OperationPlatform.Models +{ + public class OP_OrderListResponse + { + public int Count { get; set; } + + public IList Items { get; set; } + } +} diff --git a/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderProductSkuResponse.cs b/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderProductSkuResponse.cs new file mode 100644 index 0000000..5870eee --- /dev/null +++ b/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderProductSkuResponse.cs @@ -0,0 +1,33 @@ +namespace SDKAdapter.OperationPlatform.Models +{ + public class OP_OrderProductSkuResponse + { + /// + /// 订单商品流水Id + /// + public string Id { get; set; } + + /// + /// 订单号 + /// + public string OrderId { get; set; } + + public string ProductId { get; set; } + + public string SkuId { get; set; } + + public string SkuTitle { get; set; } + + public string ProductTitle { get; set; } + + /// + /// Sku单价 + /// + public decimal SkuPrice { get; set; } + + /// + /// 购买数量 + /// + public int Quantity { get; set; } + } +} diff --git a/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderResponse.cs b/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderResponse.cs index c31633f..fe5cf90 100644 --- a/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderResponse.cs +++ b/SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderResponse.cs @@ -1,14 +1,8 @@ namespace SDKAdapter.OperationPlatform.Models { - public class OP_OrderListResponse - { - public int Count { get; set; } - - public IList Items { get; set; } - } - public class OP_OrderResponse { + #region 常规数据 public string OrderId { get; set; } public DateTime StartTime { get; set; } @@ -40,6 +34,74 @@ /// public int StorageType { get; set; } + /// + /// 订单状态 + /// 京东【WAIT_SELLER_STOCK_OUT 等待出库,WAIT_GOODS_RECEIVE_CONFIRM 等待确认收货,WAIT_SELLER_DELIVERY等待发货(只适用于海外购商家,含义为'等待境内发货'标签下的订单,非海外购商家无需使用) , PAUSE 暂停(loc订单可通过此状态获取),FINISHED_L 完成,TRADE_CANCELED 取消,LOCKED 已锁定,POP_ORDER_PAUSE pop业务暂停】 + /// 拳探【订单状态:-1、已退款;0、待发货;1、待收货;2、待评价;3、已完成; 】 + /// + public string OrderState { get; set; } + + /// + /// 订单总价 + /// + public decimal OrderTotalAmount { get; set; } + + /// + /// 订单货款 + /// + public decimal OrderProductAmount { get; set; } + + /// + /// 用户应付 + /// + public decimal OrderPayment { get; set; } + + /// + /// 商家实收金额 + /// + public decimal PaidInAmount { get; set; } + + /// + /// 平台补贴金额 + /// + public decimal PreferentialAmount { get; set; } + + /// + /// 商家优惠金额 + /// + public decimal SellerPreferentialAmount { get; set; } + + /// + /// 用户承担的运费 + /// + public decimal FreightAmount { get; set; } + + /// + /// 买家备注 + /// + public string BuyerRemark { get; set; } + + /// + /// 商家备注 + /// + public string VenderRemark { get; set; } + #endregion + + #region 收货人信息 + + #endregion + + #region 商品信息 + public IList OrderSkuList { get; set; } + #endregion + + #region 物流信息 + + #endregion + + + #region 各平台独有数据 + #endregion } } diff --git a/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductListResponse.cs b/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductListResponse.cs new file mode 100644 index 0000000..96ae24a --- /dev/null +++ b/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductListResponse.cs @@ -0,0 +1,10 @@ +namespace SDKAdapter.OperationPlatform.Models +{ + + public class OP_ProductListResponse + { + public int Count { get; set; } + + public IList Items { get; set; } + } +} diff --git a/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductResponse.cs b/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductResponse.cs index 77e4a9b..85a0a2c 100644 --- a/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductResponse.cs +++ b/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductResponse.cs @@ -33,45 +33,4 @@ public string BrandName { get; set; } } - public class OP_ProductListResponse - { - public int Count { get; set; } - - public IList Items { get; set; } - } - - public class OP_ProductSkuResponse - { - public string Id { get; set; } - - public string ProductId { get; set; } - - public decimal Price { get; set; } - - /// - /// Sku标题 - /// - public string Title { get; set; } - - public string Logo { get; set; } - - /// - /// Sku状态 - /// - /// 京东【1:上架 2:下架 4:删除】 - /// - /// - public int State { get; set; } - - public DateTime? CreateTime { get; set; } - - //public JToken Source { get; set; } - } - - public class OP_ProductSkuListResponse - { - public int Count { get; set; } - - public IList Items { get; set; } - } } diff --git a/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductSkuListResponse.cs b/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductSkuListResponse.cs new file mode 100644 index 0000000..76a4106 --- /dev/null +++ b/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductSkuListResponse.cs @@ -0,0 +1,9 @@ +namespace SDKAdapter.OperationPlatform.Models +{ + public class OP_ProductSkuListResponse + { + public int Count { get; set; } + + public IList Items { get; set; } + } +} diff --git a/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductSkuResponse.cs b/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductSkuResponse.cs new file mode 100644 index 0000000..ce130e8 --- /dev/null +++ b/SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductSkuResponse.cs @@ -0,0 +1,30 @@ +namespace SDKAdapter.OperationPlatform.Models +{ + public class OP_ProductSkuResponse + { + public string Id { get; set; } + + public string ProductId { get; set; } + + public decimal Price { get; set; } + + /// + /// Sku标题 + /// + public string Title { get; set; } + + public string Logo { get; set; } + + /// + /// Sku状态 + /// + /// 京东【1:上架 2:下架 4:删除】 + /// + /// + public int State { get; set; } + + public DateTime? CreateTime { get; set; } + + //public JToken Source { get; set; } + } +}