-
Notifications
You must be signed in to change notification settings - Fork 9
/
CainiaoRefundRefundactionsGetBizResult.go
37 lines (32 loc) · 1.33 KB
/
CainiaoRefundRefundactionsGetBizResult.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
package trade
import (
"sync"
)
// CainiaoRefundRefundactionsGetBizResult 结构体
type CainiaoRefundRefundactionsGetBizResult struct {
// 调用错误时,错误code
StatusCode string `json:"status_code,omitempty" xml:"status_code,omitempty"`
// 调用错误时,错误描述
StatusMessage string `json:"status_message,omitempty" xml:"status_message,omitempty"`
// 该订单支持的退款退货操作的集合
Data *OrderRefundActionResponse `json:"data,omitempty" xml:"data,omitempty"`
// true表示成功,false表示失败
Success bool `json:"success,omitempty" xml:"success,omitempty"`
}
var poolCainiaoRefundRefundactionsGetBizResult = sync.Pool{
New: func() any {
return new(CainiaoRefundRefundactionsGetBizResult)
},
}
// GetCainiaoRefundRefundactionsGetBizResult() 从对象池中获取CainiaoRefundRefundactionsGetBizResult
func GetCainiaoRefundRefundactionsGetBizResult() *CainiaoRefundRefundactionsGetBizResult {
return poolCainiaoRefundRefundactionsGetBizResult.Get().(*CainiaoRefundRefundactionsGetBizResult)
}
// ReleaseCainiaoRefundRefundactionsGetBizResult 释放CainiaoRefundRefundactionsGetBizResult
func ReleaseCainiaoRefundRefundactionsGetBizResult(v *CainiaoRefundRefundactionsGetBizResult) {
v.StatusCode = ""
v.StatusMessage = ""
v.Data = nil
v.Success = false
poolCainiaoRefundRefundactionsGetBizResult.Put(v)
}