Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { DeviceInfo string PartnerTradeNo string OpenID string CheckName bool ReUserName string Amount int Desc string SpbillCreateIP string RootCa string //ca证书 }
Params 调用参数
type Response ¶
type Response struct { ReturnCode string `xml:"return_code"` ReturnMsg string `xml:"return_msg"` AppID string `xml:"appid,omitempty"` MchID string `xml:"mch_id,omitempty"` DeviceInfo string `xml:"device_info,omitempty"` NonceStr string `xml:"nonce_str,omitempty"` ResultCode string `xml:"result_code,omitempty"` ErrCode string `xml:"err_code,omitempty"` ErrCodeDes string `xml:"err_code_des,omitempty"` PartnerTradeNo string `xml:"partner_trade_no"` PaymentNo string `xml:"payment_no"` PaymentTime string `xml:"payment_time"` }
Response 接口返回
type Transfer ¶
Transfer struct extends context
func NewTransfer ¶
NewTransfer return an instance of Transfer package
Click to show internal directories.
Click to hide internal directories.