wxcloudpay

package module
v0.0.0-...-50cd912 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2018 License: MIT Imports: 8 Imported by: 0

README

wxcloudpay

GoDoc GitHub license

wechat cloud pay (微信云支付) for Golang

  • 主要数据结构来自官方文档 根据实际数据进行修改
  • 部分未经过测试

License

Pouch is licensed under the MIT License. See LICENSE for the full license text.

Documentation

Index

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 NewCloudPay(authenKey, signatureKey []byte) *CloudPay

func NewCloudPayWithURL

func NewCloudPayWithURL(baseURL string, authenKey, signatureKey []byte) *CloudPay

func (*CloudPay) ClientInitialize

func (*CloudPay) CloseOrder

func (*CloudPay) Debug

func (c *CloudPay) Debug(b bool)

func (*CloudPay) MicroPay

func (*CloudPay) OrderDetail

func (*CloudPay) Ping

func (c *CloudPay) Ping() error

func (*CloudPay) QueryOrder

func (*CloudPay) QueryRefund

func (*CloudPay) QueryShopInfo

func (*CloudPay) QuerySubMchInfo

func (*CloudPay) Refund

func (*CloudPay) ScanCodePay

func (*CloudPay) SetShopInfo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL