Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Currency string DepositFlag string MerchantCallbackUrl string MerchantId string MerchantPrivateKey string MerchantPrivateKeyPassphrase string GPWebpayPublicKey string GPWebpayUrl string }
func (*Config) InitConfigFromEnv ¶
func (config *Config) InitConfigFromEnv()
type GPWebpayClient ¶
type GPWebpayClient struct {
// contains filtered or unexported fields
}
func (*GPWebpayClient) GetPaymentResult ¶
func (c *GPWebpayClient) GetPaymentResult(url string, key []byte)
func (*GPWebpayClient) RequestPayment ¶
func (client *GPWebpayClient) RequestPayment() (*http.Response, error)
Click to show internal directories.
Click to hide internal directories.