zhaojs
2023-09-27 74098f1401afe40f961d1d167bb18dd0a71c4d59
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace YouZanSDKStandard.Api.Domain
{
    /// <summary>
    /// 交易详情
    /// </summary>
    [Serializable]
    public class TradeOrderOpenModel
    {
        /// <summary>
        /// Sku的ID,sku_id 在系统里<span style="color: #ff0000;">并不是唯一的</span>,结合商品ID一起使用才是唯一的。
        /// </summary>
        public int sku_id { get; set; }
        /// <summary>
        /// 商品在分销商那边的实付金额。精确到2位小数;单位:元。如果是采购单才有值,否则值为 0
        /// </summary>
        public double fenxiao_payment { get; set; }
        /// <summary>
        /// 商品购买数量
        /// </summary>
        public int num { get; set; }
        /// <summary>
        /// 商家编码(商家为Sku设置的外部编号)
        /// </summary>
        public string outer_sku_id { get; set; }
        /// <summary>
        /// 交易明细中的优惠信息列表
        /// </summary>
        public TradeOrderPromotionOpenModel[] order_promotion_details { get; set; }
        /// <summary>
        /// SKU的值,即:商品的规格。如:机身颜色:黑色;手机套餐:官方标配
        /// </summary>
        public string sku_properties_name { get; set; }
        /// <summary>
        /// 商品标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 商品在分销商那边的出售价格。精确到2位小数;单位:元。如果是采购单才有值,否则值为 0
        /// </summary>
        public double fenxiao_price { get; set; }
        /// <summary>
        /// 1 虚拟商品 0 非虚拟商品
        /// </summary>
        public int is_virtual { get; set; }
        /// <summary>
        /// 退款金额
        /// </summary>
        public double refunded_fee { get; set; }
        /// <summary>
        /// 商品货号(商家为商品设置的外部编号)
        /// </summary>
        public string outer_item_id { get; set; }
        /// <summary>
        /// 商品价格。精确到2位小数;单位:元
        /// </summary>
        public double price { get; set; }
        /// <summary>
        /// 交易明细编号。该编号并不唯一,只用于区分交易内的多条明细记录
        /// </summary>
        public int oid { get; set; }
        /// <summary>
        /// 交易明细中的买家留言列表
        /// </summary>
        public TradeBuyerMessageOpenModel[] buyer_messages { get; set; }
        /// <summary>
        /// Sku在系统中的唯一编号,可以在开发者的系统中用作 Sku 的唯一ID,但不能用于调用接口
        /// </summary>
        public string sku_unique_code { get; set; }
        /// <summary>
        /// 是否允许发货 1 可以发货 0 不能发货
        /// </summary>
        public int allow_send { get; set; }
        /// <summary>
        /// 实付金额。精确到2位小数,单位:元
        /// </summary>
        public double payment { get; set; }
        /// <summary>
        /// 交易明细内的优惠金额。精确到2位小数,单位:元
        /// </summary>
        public double discount_fee { get; set; }
        /// <summary>
        /// 商品退款状态
        /// </summary>
        public string item_refund_state { get; set; }
        /// <summary>
        /// 卖家昵称
        /// </summary>
        public string seller_nick { get; set; }
        /// <summary>
        /// 商品数字编号
        /// </summary>
        public int num_iid { get; set; }
        /// <summary>
        /// 商品状态
        /// </summary>
        public string state_str { get; set; }
        /// <summary>
        /// 1 赠品商品 0 普通商品
        /// </summary>
        public int is_present { get; set; }
        /// <summary>
        /// 商品主图片缩略图地址
        /// </summary>
        public string pic_thumb_path { get; set; }
        /// <summary>
        /// 商品类型。<br>0:普通商品;<br>10:分销商品;
        /// </summary>
        public int item_type { get; set; }
        /// <summary>
        /// 应付金额(商品价格乘以数量的总金额)
        /// </summary>
        public double total_fee { get; set; }
        /// <summary>
        /// 商品主图片地址
        /// </summary>
        public string pic_path { get; set; }
 
        public string item_id { get; set; }
    }
}