Browse Source

1

updatebug
shanji 2 years ago
parent
commit
c6c32341eb
  1. 6
      SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderConsigneeResponse.cs
  2. 9
      SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderListResponse.cs
  3. 33
      SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderProductSkuResponse.cs
  4. 76
      SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderResponse.cs
  5. 10
      SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductListResponse.cs
  6. 41
      SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductResponse.cs
  7. 9
      SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductSkuListResponse.cs
  8. 30
      SDKAdapter/OperationPlatform/Models/Response/Product/OP_ProductSkuResponse.cs

6
SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderConsigneeResponse.cs

@ -0,0 +1,6 @@
namespace SDKAdapter.OperationPlatform.Models
{
public class OP_OrderConsigneeResponse
{
}
}

9
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<OP_OrderResponse> Items { get; set; }
}
}

33
SDKAdapter/OperationPlatform/Models/Response/Order/OP_OrderProductSkuResponse.cs

@ -0,0 +1,33 @@
namespace SDKAdapter.OperationPlatform.Models
{
public class OP_OrderProductSkuResponse
{
/// <summary>
/// 订单商品流水Id
/// </summary>
public string Id { get; set; }
/// <summary>
/// 订单号
/// </summary>
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; }
/// <summary>
/// Sku单价
/// </summary>
public decimal SkuPrice { get; set; }
/// <summary>
/// 购买数量
/// </summary>
public int Quantity { get; set; }
}
}

76
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<OP_OrderResponse> Items { get; set; }
}
public class OP_OrderResponse
{
#region 常规数据
public string OrderId { get; set; }
public DateTime StartTime { get; set; }
@ -40,6 +34,74 @@
/// </summary>
public int StorageType { get; set; }
/// <summary>
/// 订单状态
/// <para>京东【WAIT_SELLER_STOCK_OUT 等待出库,WAIT_GOODS_RECEIVE_CONFIRM 等待确认收货,WAIT_SELLER_DELIVERY等待发货(只适用于海外购商家,含义为'等待境内发货'标签下的订单,非海外购商家无需使用) , PAUSE 暂停(loc订单可通过此状态获取),FINISHED_L 完成,TRADE_CANCELED 取消,LOCKED 已锁定,POP_ORDER_PAUSE pop业务暂停】</para>
/// <para>拳探【订单状态:-1、已退款;0、待发货;1、待收货;2、待评价;3、已完成; 】</para>
/// </summary>
public string OrderState { get; set; }
/// <summary>
/// 订单总价
/// </summary>
public decimal OrderTotalAmount { get; set; }
/// <summary>
/// 订单货款
/// </summary>
public decimal OrderProductAmount { get; set; }
/// <summary>
/// 用户应付
/// </summary>
public decimal OrderPayment { get; set; }
/// <summary>
/// 商家实收金额
/// </summary>
public decimal PaidInAmount { get; set; }
/// <summary>
/// 平台补贴金额
/// </summary>
public decimal PreferentialAmount { get; set; }
/// <summary>
/// 商家优惠金额
/// </summary>
public decimal SellerPreferentialAmount { get; set; }
/// <summary>
/// 用户承担的运费
/// </summary>
public decimal FreightAmount { get; set; }
/// <summary>
/// 买家备注
/// </summary>
public string BuyerRemark { get; set; }
/// <summary>
/// 商家备注
/// </summary>
public string VenderRemark { get; set; }
#endregion
#region 收货人信息
#endregion
#region 商品信息
public IList<OP_OrderProductSkuResponse> OrderSkuList { get; set; }
#endregion
#region 物流信息
#endregion
#region 各平台独有数据
#endregion
}
}

10
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<OP_ProductResponse> Items { get; set; }
}
}

41
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<OP_ProductResponse> Items { get; set; }
}
public class OP_ProductSkuResponse
{
public string Id { get; set; }
public string ProductId { get; set; }
public decimal Price { get; set; }
/// <summary>
/// Sku标题
/// </summary>
public string Title { get; set; }
public string Logo { get; set; }
/// <summary>
/// Sku状态
/// <para>
/// 京东【1:上架 2:下架 4:删除】
/// </para>
/// </summary>
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<OP_ProductSkuResponse> Items { get; set; }
}
}

9
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<OP_ProductSkuResponse> Items { get; set; }
}
}

30
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; }
/// <summary>
/// Sku标题
/// </summary>
public string Title { get; set; }
public string Logo { get; set; }
/// <summary>
/// Sku状态
/// <para>
/// 京东【1:上架 2:下架 4:删除】
/// </para>
/// </summary>
public int State { get; set; }
public DateTime? CreateTime { get; set; }
//public JToken Source { get; set; }
}
}
Loading…
Cancel
Save