github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/partners/agent_pay_deals.go (about) 1 package partners 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 支付订单(合作伙伴使用) 8 // https://cloud.tencent.com/document/api/563/19186 9 10 type AgentPayDealsRequest struct { 11 // 代付标志,1:代付;0:自付 12 AgentPay int64 `name:"AgentPay"` 13 // 订单号数组 14 DealNames []*string `name:"DealNames"` 15 // 订单所有者uin 16 OwnerUin string `name:"OwnerUin"` 17 // 区域 18 Region string `name:"Region"` 19 } 20 21 func (req *AgentPayDealsRequest) Invoke(client github_com_morlay_goqcloud.Client) (*AgentPayDealsResponse, error) { 22 resp := &AgentPayDealsResponse{} 23 err := client.Request("partners", "AgentPayDeals", "2018-03-21").Do(req, resp) 24 return resp, err 25 } 26 27 type AgentPayDealsResponse struct { 28 github_com_morlay_goqcloud.TencentCloudBaseResponse 29 }