order.d.ts
1.27 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
declare module 'yoho' {
interface OrderOwner {}
interface ILogisticsInfo {
// 流程信息 step
expressSender: string; // title
stage: number; // Todo 枚举值整理 当前流程
wayBillCode: string; // 快递单号
// 物流信息
expressCompanyName: string;
expressType: number; // Todo 含义不清楚
expressInfoDetailTitle: string;
expressInfoDetailList: ILogisticDetail[];
// 鉴定信息
judgeExpressInfoDetailTitle: string;
judgeExpressInfoDetailList: ILogisticDetail[];
// 卖家物流信息
supplementExpressInfoDetailTitle: string;
supplementExpressInfoDetailList: ILogisticDetail[];
}
interface ILogisticDetail {
acceptAddress: string;
acceptRemark: string; // e.g. 平台已确认收货
createTimeStr: string; // format: 2019-09-25 17:35:03
expressType: number;
state: number;
}
interface IOrderAction {
code: string;
name: string;
confirmTips?: string;
text: string;
}
interface ICancelTradeConfirmInfo {
confirmDesc: string;
needPenalty: boolean;
orderPrice: string;
orderPriceDesc: string;
penaltyAmount: string;
penaltyDesc: string;
penaltyRate: string;
refundAmount: string;
refundDesc: string;
showPrice: boolean;
}
}