-
Notifications
You must be signed in to change notification settings - Fork 12
/
AlibabaAlscCrmRechargeChargeprecheckGetRequest.go
52 lines (44 loc) · 1.58 KB
/
AlibabaAlscCrmRechargeChargeprecheckGetRequest.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
package alsc
import (
"net/url"
"github.com/bububa/opentaobao/model"
)
/*
储值账户充值前校验 API请求
alibaba.alsc.crm.recharge.chargeprecheck.get
储值账户充值前校验接口
*/
type AlibabaAlscCrmRechargeChargeprecheckGetRequest struct {
model.Params
// 入参
paramChargePreCheckOpenReq *ChargePreCheckOpenReq
}
// 初始化AlibabaAlscCrmRechargeChargeprecheckGetRequest对象
func NewAlibabaAlscCrmRechargeChargeprecheckGetRequest() *AlibabaAlscCrmRechargeChargeprecheckGetRequest{
return &AlibabaAlscCrmRechargeChargeprecheckGetRequest{
Params: model.NewParams(),
}
}
// IRequest interface 方法, 获取Api method
func (r AlibabaAlscCrmRechargeChargeprecheckGetRequest) GetApiMethodName() string {
return "alibaba.alsc.crm.recharge.chargeprecheck.get"
}
// IRequest interface 方法, 获取API参数
func (r AlibabaAlscCrmRechargeChargeprecheckGetRequest) GetApiParams() url.Values {
params := url.Values{}
for k, v := range r.GetRawParams() {
params.Set(k, v.String())
}
return params
}
// ParamChargePreCheckOpenReq Setter
// 入参
func (r *AlibabaAlscCrmRechargeChargeprecheckGetRequest) SetParamChargePreCheckOpenReq(paramChargePreCheckOpenReq *ChargePreCheckOpenReq) error {
r.paramChargePreCheckOpenReq = paramChargePreCheckOpenReq
r.Set("param_charge_pre_check_open_req", paramChargePreCheckOpenReq)
return nil
}
// ParamChargePreCheckOpenReq Getter
func (r AlibabaAlscCrmRechargeChargeprecheckGetRequest) GetParamChargePreCheckOpenReq() *ChargePreCheckOpenReq {
return r.paramChargePreCheckOpenReq
}