Documentation
¶
Index ¶
- type Pay
- func (p Pay) CheckOrder(txID string) (params url.Values)
- func (p Pay) CheckRefundOrder(txID string) (params url.Values)
- func (p *Pay) DeviceType(platform string) (t int64)
- func (p *Pay) Query(orderID string) (params url.Values)
- func (p *Pay) RechargeShell(orderID string, mid int64, assetBP int64, shell int64) (params url.Values, jsonData string, err error)
- func (p *Pay) Sign(params url.Values) (err error)
- func (p *Pay) ToJSON(params url.Values) (j string, err error)
- func (p *Pay) TraceID() string
- func (p *Pay) Verify(params url.Values) (ok bool)
- type RechargeShellData
- type RechargeShellReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pay ¶
Pay is.
func (Pay) CheckRefundOrder ¶
CheckRefundOrder 退款对账param
func (*Pay) DeviceType ¶
DeviceType 支付平台DeviceType
func (*Pay) RechargeShell ¶
func (p *Pay) RechargeShell(orderID string, mid int64, assetBP int64, shell int64) (params url.Values, jsonData string, err error)
RechargeShell 转入贝壳
type RechargeShellData ¶
type RechargeShellData struct { ThirdOrderNo string `json:"thirdOrderNo"` MID int64 `json:"mid"` ThirdCoin string `json:"thirdCoin"` Brokerage string `json:"brokerage"` ThirdCtime int64 `json:"thirdCtime"` }
RechargeShellData .
type RechargeShellReq ¶
type RechargeShellReq struct { CustomerID string `json:"customerId"` ProductName string `json:"productName"` Rate string `json:"rate"` NotifyURL string `json:"notifyUrl"` Timestamp int64 `json:"timestamp"` SignType string `json:"signType"` Sign string `json:"sign"` Data []RechargeShellData `json:"data"` }
RechargeShellReq .
Click to show internal directories.
Click to hide internal directories.