Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alipay ¶
type Alipay struct { AppID string `json:"app_id"` PrivateKey string `json:"private_key"` IsProduction bool `json:"is_production"` NotifyURL string `json:"notify_url"` // contains filtered or unexported fields }
func (*Alipay) Query ¶
func (a *Alipay) Query(orderID string) (q *alipay.TradeQueryResponse, err error)
func (*Alipay) SetNotifyURL ¶
type RuStore ¶
type RuStore struct { KeyID string `json:"key_id"` CompanyID string `json:"company_id"` PrivateKey string `json:"private_key"` PackageName string `json:"package_name"` // contains filtered or unexported fields }
func NewRuStore ¶
func (*RuStore) CheckStatus ¶
func (r *RuStore) CheckStatus(p payments.GetTokenPaymentResponse) bool
func (*RuStore) GetPurchaseInfo ¶
func (r *RuStore) GetPurchaseInfo(purchaseToken string) (p payments.GetTokenPaymentResponse, err error)
type Wxpay ¶
type Wxpay struct { AppID string `json:"app_id"` MchID string `json:"mch_id"` SerialNo string `json:"serial_no"` APIv3Key string `json:"api_v3_key"` PrivateKey string `json:"private_key"` NotifyURL string `json:"notify_url"` // contains filtered or unexported fields }
func (*Wxpay) SetNotifyURL ¶
Click to show internal directories.
Click to hide internal directories.