-
Notifications
You must be signed in to change notification settings - Fork 12
/
GlobalAeopTpOrderDetailDto.go
151 lines (146 loc) · 7.06 KB
/
GlobalAeopTpOrderDetailDto.go
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
package aesolution
import (
"sync"
)
// GlobalAeopTpOrderDetailDto 结构体
type GlobalAeopTpOrderDetailDto struct {
// Order Message list(deprecated)
OrderMsgList []GlobalAeopTpOrderMsgDto `json:"order_msg_list,omitempty" xml:"order_msg_list>global_aeop_tp_order_msg_dto,omitempty"`
// child order ext info list
ChildOrderExtInfoList []GlobalAeopTpOrderProductInfoDto `json:"child_order_ext_info_list,omitempty" xml:"child_order_ext_info_list>global_aeop_tp_order_product_info_dto,omitempty"`
// logistics info
LogisticInfoList []GlobalAeopTpLogisticInfoDto `json:"logistic_info_list,omitempty" xml:"logistic_info_list>global_aeop_tp_logistic_info_dto,omitempty"`
// operation details list
OprLogDtoList []GlobalAeopTpOperationLogDto `json:"opr_log_dto_list,omitempty" xml:"opr_log_dto_list>global_aeop_tp_operation_log_dto,omitempty"`
// child order list
ChildOrderList []GlobalAeopTpChildOrderDto `json:"child_order_list,omitempty" xml:"child_order_list>global_aeop_tp_child_order_dto,omitempty"`
// modified time, it's US pacific time
GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
// Order end time
GmtTradeEnd string `json:"gmt_trade_end,omitempty" xml:"gmt_trade_end,omitempty"`
// buyer login id
Buyerloginid string `json:"buyerloginid,omitempty" xml:"buyerloginid,omitempty"`
// buyer memo
Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
// logisitcs escrow fee rate(Deprecated)
LogisitcsEscrowFeeRate string `json:"logisitcs_escrow_fee_rate,omitempty" xml:"logisitcs_escrow_fee_rate,omitempty"`
// Payment settlement currency
SettlementCurrency string `json:"settlement_currency,omitempty" xml:"settlement_currency,omitempty"`
// order pay amount(settlemet currency)
PayAmountBySettlementCur string `json:"pay_amount_by_settlement_cur,omitempty" xml:"pay_amount_by_settlement_cur,omitempty"`
// frozen status
FrozenStatus string `json:"frozen_status,omitempty" xml:"frozen_status,omitempty"`
// issue status
IssueStatus string `json:"issue_status,omitempty" xml:"issue_status,omitempty"`
// logistics status:NO_LOGISTICS 、 WAIT_SELLER_SEND_GOODS, SELLER_SEND_PART_GOODS, SELLER_SEND_GOODS, BUYER_ACCEPT_GOODS,NO_LOGISTICS
LogisticsStatus string `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
// Seller full name
SellerSignerFullname string `json:"seller_signer_fullname,omitempty" xml:"seller_signer_fullname,omitempty"`
// Current status expiration date
OverTimeLeft string `json:"over_time_left,omitempty" xml:"over_time_left,omitempty"`
// order end reason
OrderEndReason string `json:"order_end_reason,omitempty" xml:"order_end_reason,omitempty"`
// order creation time
GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
// seller operator login ID
SellerOperatorLoginId string `json:"seller_operator_login_id,omitempty" xml:"seller_operator_login_id,omitempty"`
// payment type
PaymentType string `json:"payment_type,omitempty" xml:"payment_type,omitempty"`
// Order Status:PLACE_ORDER_SUCCESS; IN_CANCEL; WAIT_SELLER_SEND_GOODS; SELLER_PART_SEND_GOODS; WAIT_BUYER_ACCEPT_GOODS; FUND_PROCESSING; IN_ISSUE; IN_FROZEN; WAIT_SELLER_EXAMINE_MONEY; RISK_CONTROL.
OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
// buyer full name
BuyerSignerFullname string `json:"buyer_signer_fullname,omitempty" xml:"buyer_signer_fullname,omitempty"`
// successful payment time
GmtPaySuccess string `json:"gmt_pay_success,omitempty" xml:"gmt_pay_success,omitempty"`
// loan status
LoanStatus string `json:"loan_status,omitempty" xml:"loan_status,omitempty"`
// seller operator ali login id
SellerOperatorAliidloginid string `json:"seller_operator_aliidloginid,omitempty" xml:"seller_operator_aliidloginid,omitempty"`
// fund status
FundStatus string `json:"fund_status,omitempty" xml:"fund_status,omitempty"`
// cpf number of order
CpfNumber string `json:"cpf_number,omitempty" xml:"cpf_number,omitempty"`
// pick-up type of order
OfflinePickupType string `json:"offline_pickup_type,omitempty" xml:"offline_pickup_type,omitempty"`
// pickup point code of the specific order
OfflinePickupPointCode string `json:"offline_pickup_point_code,omitempty" xml:"offline_pickup_point_code,omitempty"`
// buyer info
BuyerInfo *GlobalAeopTpPersonDto `json:"buyer_info,omitempty" xml:"buyer_info,omitempty"`
// receipt address
ReceiptAddress *GlobalAeopTpAddressDto `json:"receipt_address,omitempty" xml:"receipt_address,omitempty"`
// logistics amount
LogisticsAmount *GlobalMoneyStr `json:"logistics_amount,omitempty" xml:"logistics_amount,omitempty"`
// issue info
IssueInfo *GlobalAeopTpIssueInfoDto `json:"issue_info,omitempty" xml:"issue_info,omitempty"`
// refund info
RefundInfo *GlobalAeopTpRefundInfoDto `json:"refund_info,omitempty" xml:"refund_info,omitempty"`
// order ID
Id int64 `json:"id,omitempty" xml:"id,omitempty"`
// order amount
OrderAmount *GlobalMoneyStr `json:"order_amount,omitempty" xml:"order_amount,omitempty"`
// order amount
InitOderAmount *GlobalMoneyStr `json:"init_oder_amount,omitempty" xml:"init_oder_amount,omitempty"`
// loan info
LoanInfo *GlobalAeopTpLoanInfoDto `json:"loan_info,omitempty" xml:"loan_info,omitempty"`
// escrow fee (deprecated)
EscrowFee *GlobalMoneyStr `json:"escrow_fee,omitempty" xml:"escrow_fee,omitempty"`
// Order discount total amount (sum of the platform and seller discounts)
OrderDiscountInfo *GlobalMoneyStr `json:"order_discount_info,omitempty" xml:"order_discount_info,omitempty"`
// phone order or not
IsPhone bool `json:"is_phone,omitempty" xml:"is_phone,omitempty"`
}
var poolGlobalAeopTpOrderDetailDto = sync.Pool{
New: func() any {
return new(GlobalAeopTpOrderDetailDto)
},
}
// GetGlobalAeopTpOrderDetailDto() 从对象池中获取GlobalAeopTpOrderDetailDto
func GetGlobalAeopTpOrderDetailDto() *GlobalAeopTpOrderDetailDto {
return poolGlobalAeopTpOrderDetailDto.Get().(*GlobalAeopTpOrderDetailDto)
}
// ReleaseGlobalAeopTpOrderDetailDto 释放GlobalAeopTpOrderDetailDto
func ReleaseGlobalAeopTpOrderDetailDto(v *GlobalAeopTpOrderDetailDto) {
v.OrderMsgList = v.OrderMsgList[:0]
v.ChildOrderExtInfoList = v.ChildOrderExtInfoList[:0]
v.LogisticInfoList = v.LogisticInfoList[:0]
v.OprLogDtoList = v.OprLogDtoList[:0]
v.ChildOrderList = v.ChildOrderList[:0]
v.GmtModified = ""
v.GmtTradeEnd = ""
v.Buyerloginid = ""
v.Memo = ""
v.LogisitcsEscrowFeeRate = ""
v.SettlementCurrency = ""
v.PayAmountBySettlementCur = ""
v.FrozenStatus = ""
v.IssueStatus = ""
v.LogisticsStatus = ""
v.SellerSignerFullname = ""
v.OverTimeLeft = ""
v.OrderEndReason = ""
v.GmtCreate = ""
v.SellerOperatorLoginId = ""
v.PaymentType = ""
v.OrderStatus = ""
v.BuyerSignerFullname = ""
v.GmtPaySuccess = ""
v.LoanStatus = ""
v.SellerOperatorAliidloginid = ""
v.FundStatus = ""
v.CpfNumber = ""
v.OfflinePickupType = ""
v.OfflinePickupPointCode = ""
v.BuyerInfo = nil
v.ReceiptAddress = nil
v.LogisticsAmount = nil
v.IssueInfo = nil
v.RefundInfo = nil
v.Id = 0
v.OrderAmount = nil
v.InitOderAmount = nil
v.LoanInfo = nil
v.EscrowFee = nil
v.OrderDiscountInfo = nil
v.IsPhone = false
poolGlobalAeopTpOrderDetailDto.Put(v)
}