Documentation ¶
Index ¶
- Variables
- type CloudPay
- func (c *CloudPay) ClientInitialize(req *proto.ClientInitializeRequest) (*proto.ClientInitializeResponseDetail, error)
- func (c *CloudPay) ClientSubMchSalesOverview(req *proto.ClientSubMchSalesOverviewRequest) (*proto.ClientSubMchSalesOverviewResponseDetail, error)
- func (c *CloudPay) ClientTryGetInitializers(req *proto.ClientTryGetInitializersRequest) (*proto.ClientTryGetInitializersResponseDetail, error)
- func (c *CloudPay) CloseOrder(req *proto.CloseOrderRequest) (*proto.CloseOrderResponseDetail, error)
- func (c *CloudPay) Debug(b bool)
- func (c *CloudPay) MicroPay(req *proto.MicroPayRequest) (*proto.MicroPayResponseDetail, error)
- func (c *CloudPay) OrderDetail(req *proto.OrderDetailRequest) (*proto.OrderDetailResponseDetail, error)
- func (c *CloudPay) Ping() error
- func (c *CloudPay) QueryIdentityMapping(req *proto.QueryIdentityMappingRequest) (*proto.QueryIdentityMappingResponseDetail, error)
- func (c *CloudPay) QueryOrder(req *proto.QueryOrderRequest) (*proto.QueryOrderResponseDetail, error)
- func (c *CloudPay) QueryRefund(req *proto.QueryRefundRequest) (*proto.QueryRefundResponseDetail, error)
- func (c *CloudPay) QueryShopInfo(req *proto.QueryShopInfoRequest) (*proto.QueryShopInfoResponseDetail, error)
- func (c *CloudPay) QuerySubMchInfo(req *proto.QuerySubMchInfoRequest) (*proto.QuerySubMchInfoResponseDetail, error)
- func (c *CloudPay) Refund(req *proto.RefundRequest) (*proto.RefundResponseDetail, error)
- func (c *CloudPay) ScanCodePay(req *proto.ScanCodePayRequest) (*proto.ScanCodePayResponseDetail, error)
- func (c *CloudPay) SetShopInfo(req *proto.SetShopInfoRequest) (*proto.SetShopInfoResponseDetail, error)
- func (c *CloudPay) UploadClientConfInfo(req *proto.UploadClientConfInfoRequest) (*proto.UploadClientConfInfoResponseDetail, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrResponseValidation = errors.New("cloudpay: Response validation failed")
)
Functions ¶
This section is empty.
Types ¶
type CloudPay ¶
type CloudPay struct {
// contains filtered or unexported fields
}
func NewCloudPay ¶
func NewCloudPayWithURL ¶
func (*CloudPay) ClientInitialize ¶
func (c *CloudPay) ClientInitialize(req *proto.ClientInitializeRequest) (*proto.ClientInitializeResponseDetail, error)
func (*CloudPay) ClientSubMchSalesOverview ¶
func (c *CloudPay) ClientSubMchSalesOverview(req *proto.ClientSubMchSalesOverviewRequest) (*proto.ClientSubMchSalesOverviewResponseDetail, error)
func (*CloudPay) ClientTryGetInitializers ¶
func (c *CloudPay) ClientTryGetInitializers(req *proto.ClientTryGetInitializersRequest) (*proto.ClientTryGetInitializersResponseDetail, error)
func (*CloudPay) CloseOrder ¶
func (c *CloudPay) CloseOrder(req *proto.CloseOrderRequest) (*proto.CloseOrderResponseDetail, error)
func (*CloudPay) MicroPay ¶
func (c *CloudPay) MicroPay(req *proto.MicroPayRequest) (*proto.MicroPayResponseDetail, error)
func (*CloudPay) OrderDetail ¶
func (c *CloudPay) OrderDetail(req *proto.OrderDetailRequest) (*proto.OrderDetailResponseDetail, error)
func (*CloudPay) QueryIdentityMapping ¶
func (c *CloudPay) QueryIdentityMapping(req *proto.QueryIdentityMappingRequest) (*proto.QueryIdentityMappingResponseDetail, error)
func (*CloudPay) QueryOrder ¶
func (c *CloudPay) QueryOrder(req *proto.QueryOrderRequest) (*proto.QueryOrderResponseDetail, error)
func (*CloudPay) QueryRefund ¶
func (c *CloudPay) QueryRefund(req *proto.QueryRefundRequest) (*proto.QueryRefundResponseDetail, error)
func (*CloudPay) QueryShopInfo ¶
func (c *CloudPay) QueryShopInfo(req *proto.QueryShopInfoRequest) (*proto.QueryShopInfoResponseDetail, error)
func (*CloudPay) QuerySubMchInfo ¶
func (c *CloudPay) QuerySubMchInfo(req *proto.QuerySubMchInfoRequest) (*proto.QuerySubMchInfoResponseDetail, error)
func (*CloudPay) Refund ¶
func (c *CloudPay) Refund(req *proto.RefundRequest) (*proto.RefundResponseDetail, error)
func (*CloudPay) ScanCodePay ¶
func (c *CloudPay) ScanCodePay(req *proto.ScanCodePayRequest) (*proto.ScanCodePayResponseDetail, error)
func (*CloudPay) SetShopInfo ¶
func (c *CloudPay) SetShopInfo(req *proto.SetShopInfoRequest) (*proto.SetShopInfoResponseDetail, error)
func (*CloudPay) UploadClientConfInfo ¶
func (c *CloudPay) UploadClientConfInfo(req *proto.UploadClientConfInfoRequest) (*proto.UploadClientConfInfoResponseDetail, error)
Click to show internal directories.
Click to hide internal directories.