-
Notifications
You must be signed in to change notification settings - Fork 9
/
AxinPayRegisterAuditDto.go
49 lines (44 loc) · 1.67 KB
/
AxinPayRegisterAuditDto.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
package axintrade
import (
"sync"
)
// AxinPayRegisterAuditDto 结构体
type AxinPayRegisterAuditDto struct {
// 商户code
ExternalId string `json:"external_id,omitempty" xml:"external_id,omitempty"`
// 备注
Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
// 支付平台入驻申请单号
PayPlatformApplyOrder string `json:"pay_platform_apply_order,omitempty" xml:"pay_platform_apply_order,omitempty"`
// 支付入驻域申请单号
PayRegisterOrderNo string `json:"pay_register_order_no,omitempty" xml:"pay_register_order_no,omitempty"`
// 拒绝原因code
RejectReasonCode string `json:"reject_reason_code,omitempty" xml:"reject_reason_code,omitempty"`
// 拒绝原因描述
RejectReasonDesc string `json:"reject_reason_desc,omitempty" xml:"reject_reason_desc,omitempty"`
// 支付平台商家编码,smid
PayMerchantCode string `json:"pay_merchant_code,omitempty" xml:"pay_merchant_code,omitempty"`
// 审核结果
AuditResult bool `json:"audit_result,omitempty" xml:"audit_result,omitempty"`
}
var poolAxinPayRegisterAuditDto = sync.Pool{
New: func() any {
return new(AxinPayRegisterAuditDto)
},
}
// GetAxinPayRegisterAuditDto() 从对象池中获取AxinPayRegisterAuditDto
func GetAxinPayRegisterAuditDto() *AxinPayRegisterAuditDto {
return poolAxinPayRegisterAuditDto.Get().(*AxinPayRegisterAuditDto)
}
// ReleaseAxinPayRegisterAuditDto 释放AxinPayRegisterAuditDto
func ReleaseAxinPayRegisterAuditDto(v *AxinPayRegisterAuditDto) {
v.ExternalId = ""
v.Memo = ""
v.PayPlatformApplyOrder = ""
v.PayRegisterOrderNo = ""
v.RejectReasonCode = ""
v.RejectReasonDesc = ""
v.PayMerchantCode = ""
v.AuditResult = false
poolAxinPayRegisterAuditDto.Put(v)
}