具体API使用介绍,请参考gopay/allinpay/client_test.go,gopay/allinpay/pay_test.go 等xxx_test.go
gopay/allinpay/client_test.go
gopay/allinpay/pay_test.go
client.Pay()
client.ScanPay()
client.Cancel()
client.Refund()
client.Query()
client.Close()