Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultLocation, _ = time.LoadLocation("Asia/Shanghai")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type QrcodeGenerateRequestV2Biz ¶
type QrcodeGenerateRequestV2Biz struct {
MerID string `json:"mer_id"`
StoreCode string `json:"store_code"`
OutTradeNo string `json:"out_trade_no"`
OrderAmt string `json:"order_amt"`
TradeDate string `json:"trade_date"`
TradeTime string `json:"trade_time"`
Attach string `json:"attach,omitempty"`
PayExpire string `json:"pay_expire"`
NotifyURL string `json:"notify_url,omitempty"`
TporderCreateIP string `json:"tporder_create_ip"`
SpFlag string `json:"sp_flag,omitempty"`
NotifyFlag string `json:"notify_flag"`
}
func (QrcodeGenerateRequestV2Biz) ServicePath ¶
func (QrcodeGenerateRequestV2Biz) ServicePath() string
type QrcodeQueryRequestV2Biz ¶
type QrcodeQueryRequestV2Biz struct {
MerID string `json:"mer_id"`
CustID string `json:"cust_id"`
OutTradeNo string `json:"out_trade_no"`
OrderID string `json:"order_id"`
}
func (QrcodeQueryRequestV2Biz) ServicePath ¶
func (QrcodeQueryRequestV2Biz) ServicePath() string
type QrcodeQueryResponseV2Biz ¶
type QrcodeQueryResponseV2Biz struct {
ReturnCode int `json:"-"`
ReturnMsg string `json:"return_msg"`
MsgID string `json:"msg_id"`
PayStatus string `json:"pay_status"`
CustID string `json:"cust_id"`
CardNo string `json:"card_no"`
TotalAmt string `json:"total_amt"`
PointAmt string `json:"point_amt"`
EcouponAmt string `json:"ecoupon_amt"`
MerDiscAmt string `json:"mer_disc_amt"`
CouponAmt string `json:"coupon_amt"`
BankDiscAmt string `json:"bank_disc_amt"`
PaymentAmt string `json:"payment_amt"`
OutTradeNo string `json:"out_trade_no"`
OrderID string `json:"order_id"`
PayTime string `json:"pay_time"`
TotalDiscAmt string `json:"total_disc_amt"`
}
type QrcodeReverseRequestV2Biz ¶
type QrcodeReverseRequestV2Biz struct {
MerID string `json:"mer_id"`
CustID string `json:"cust_id"`
OutTradeNo string `json:"out_trade_no"`
OrderID string `json:"order_id"`
RejectNo string `json:"reject_no"`
RejectAmt string `json:"reject_amt"`
OperID string `json:"oper_id"`
}
func (QrcodeReverseRequestV2Biz) ServicePath ¶
func (QrcodeReverseRequestV2Biz) ServicePath() string
type QrcodeReverseResponseV2Biz ¶
type QrcodeReverseResponseV2Biz struct {
ReturnCode int `json:"-"`
ReturnMsg string `json:"return_msg"`
MsgID string `json:"msg_id"`
OutTradeNo string `json:"out_trade_no"`
OrderID string `json:"order_id"`
CustID string `json:"cust_id"`
RejectNo string `json:"reject_no"`
RealRejectAmt string `json:"real_reject_amt"`
RejectAmt string `json:"reject_amt"`
RejectPoint string `json:"reject_point"`
RejectEcoupon string `json:"reject_ecoupon"`
CardNo string `json:"card_no"`
}
type RequestBiz ¶
type RequestBiz interface {
ServicePath() string
}
Click to show internal directories.
Click to hide internal directories.