OrderInfo.java
4.87 KB
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
package com.yoho.unions.vo;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
/**
* 大数据提供的订单数据
* Created by zhouxiang on 2016/11/4.
*/
public class OrderInfo implements Serializable {
private static final long serialVersionUID = -3433514401854529932L;
//下单时间
private int orderTime;
//父订单
private String parentOrderCode;
//订单号
private String orderCode;
//会员id
private int uid;
//联盟id
private String clientId;
//第三方cookie
private String unionCookie;
//商品金额---用户针对那个订单的支付金额
private BigDecimal orderAmount;
//运费
private BigDecimal shippingCost;
//支付方式(网上支付、银联支付、线下支付)
private String payment;
//订单状态(未付款、已付款、已取消、退款/退货)
private String orderStatus;
//平台(web/wap/app) 1:web,3:ios,4:安卓,6:wap
private String orderType;
private String isNew;
// 共通参数
private String unionData;
public String getUnionData() {
return unionData;
}
public void setUnionData(String unionData) {
this.unionData = unionData;
}
public String getIsNew() {
return isNew;
}
public void setIsNew(String isNew) {
this.isNew = isNew;
}
public String getMbrName() {
return mbrName;
}
public void setMbrName(String mbrName) {
this.mbrName = mbrName;
}
private String trackingCode;
private String thirdUid;
private String mbrName;
private List<OrdersGood> ordersGoods;
public int getOrderTime() {
return orderTime;
}
public void setOrderTime(int orderTime) {
this.orderTime = orderTime;
}
public String getParentOrderCode() {
return parentOrderCode;
}
public void setParentOrderCode(String parentOrderCode) {
this.parentOrderCode = parentOrderCode;
}
public String getOrderCode() {
return orderCode;
}
public void setOrderCode(String orderCode) {
this.orderCode = orderCode;
}
public int getUid() {
return uid;
}
public void setUid(int uid) {
this.uid = uid;
}
public String getClientId() {
return clientId;
}
public void setClientId(String clientId) {
this.clientId = clientId;
}
public String getUnionCookie() {
return unionCookie;
}
public void setUnionCookie(String unionCookie) {
this.unionCookie = unionCookie;
}
public BigDecimal getOrderAmount() {
return orderAmount;
}
public void setOrderAmount(BigDecimal orderAmount) {
this.orderAmount = orderAmount;
}
public BigDecimal getShippingCost() {
return shippingCost;
}
public void setShippingCost(BigDecimal shippingCost) {
this.shippingCost = shippingCost;
}
public String getPayment() {
return payment;
}
public void setPayment(String payment) {
this.payment = payment;
}
public String getOrderStatus() {
return orderStatus;
}
public void setOrderStatus(String orderStatus) {
this.orderStatus = orderStatus;
}
public String getOrderType() {
return orderType;
}
public void setOrderType(String orderType) {
this.orderType = orderType;
}
public List<OrdersGood> getOrdersGoods() {
return ordersGoods;
}
public void setOrdersGoods(List<OrdersGood> ordersGoods) {
this.ordersGoods = ordersGoods;
}
public String getTrackingCode() {
return trackingCode;
}
public void setTrackingCode(String trackingCode) {
this.trackingCode = trackingCode;
}
public String getThirdUid() {
return thirdUid;
}
public void setThirdUid(String thirdUid) {
this.thirdUid = thirdUid;
}
@Override
public String toString() {
return "OrderInfo{" +
"orderTime=" + orderTime +
", parentOrderCode='" + parentOrderCode + '\'' +
", orderCode='" + orderCode + '\'' +
", uid=" + uid +
", clientId='" + clientId + '\'' +
", unionCookie='" + unionCookie + '\'' +
", orderAmount=" + orderAmount +
", shippingCost=" + shippingCost +
", payment='" + payment + '\'' +
", orderStatus='" + orderStatus + '\'' +
", orderType='" + orderType + '\'' +
", isNew='" + isNew + '\'' +
", unionData='" + unionData + '\'' +
", trackingCode='" + trackingCode + '\'' +
", thirdUid='" + thirdUid + '\'' +
", mbrName='" + mbrName + '\'' +
", ordersGoods=" + ordersGoods +
'}';
}
}