entity

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClientPath

type APIClientPath struct {
	Cert []byte // 证书内容
	Key  []byte // 私钥证书内容,使用V3接口必传
	Root []byte // 根证书内容
}

APIClientPath 微信支付API证书

type PayConfig

type PayConfig struct {
	AppID         string        // 商户/服务商 AppId(公众号/小程序)
	MchID         string        // 商户/服务商 商户号
	SubAppID      string        // 子商户公众号ID
	SubMchID      string        // 子商户商户号
	PayNotify     string        // 支付结果回调地址
	RefundNotify  string        // 退款结果回调地址
	Secret        string        // 微信支付密钥
	APIClientPath APIClientPath // API证书路径,使用V3接口必传
	SerialNo      string        // 证书编号,使用V3接口必传
}

Jump to

Keyboard shortcuts

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