Documentation ¶
Index ¶
- Constants
- type Alipay
- type Option
- func WithAliPublicCert(publicCert string) Option
- func WithAliPublicCertFile(publicCertFile string) Option
- func WithAliRootCert(rootCert string) Option
- func WithAliRootCertFile(rootCertFile string) Option
- func WithAppId(appId string) Option
- func WithAppPublicCert(publicCert string) Option
- func WithAppPublicCertFile(publicCertFile string) Option
- func WithIsProduct(isProduct bool) Option
- func WithPrivateKey(privateKey string) Option
- type Options
Constants ¶
View Source
const ( ProductCodeQuickMsecurityPay = "QUICK_MSECURITY_PAY" // 无线快捷支付 ProductCodeCyclePayAuth = "CYCLE_PAY_AUTH" // 周期扣款产品 ProductCodeFastInstantTradePay = "FAST_INSTANT_TRADE_PAY" // pc 网页端支付的支付方式 )
View Source
const ( PayStatusTradeSuccess = "TRADE_SUCCESS" // 交易成功 PayStatusTradeClose = "TRADE_CLOSED" // 交易关闭 PayStatusTradeFinished = "TRADE_FINISHED" // 交易完成(不可退款) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
func WithAliPublicCert ¶
func WithAliPublicCertFile ¶
func WithAliRootCert ¶
func WithAliRootCertFile ¶
func WithAppPublicCert ¶
func WithAppPublicCertFile ¶
func WithIsProduct ¶
func WithPrivateKey ¶
Click to show internal directories.
Click to hide internal directories.