Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
func (*Base) GetFullGatewayUrl ¶
type BaseResponse ¶
type BaseResponse struct {
Resp string
}
func NewBaseResponse ¶
func NewBaseResponse(resp string) *BaseResponse
func (*BaseResponse) ToJson ¶
func (w *BaseResponse) ToJson() (string, error)
func (*BaseResponse) ToMap ¶
func (w *BaseResponse) ToMap() (map[string]interface{}, error)
func (*BaseResponse) ToXml ¶
func (w *BaseResponse) ToXml() (string, error)
type Config ¶
type Config struct { UseSandbox bool `json:"use_sandbox" yaml:"use_sandbox"` ReturnRaw bool `json:"return_raw" yaml:"return_raw"` ClientId string `json:"client_id" yaml:"client_id"` Secret string `json:"secret" yaml:"secret"` NotifyUrl string `json:"notify_url" yaml:"notify_url"` RefundNotifyUrl string `json:"refund_notify_url" yaml:"refund_notify_url"` RedirectUrl string `json:"redirect_url" yaml:"redirect_url"` }
func NewConfigWithJson ¶
func NewConfigWithYaml ¶
func (Config) CheckConfig ¶
func (Config) ParseConfig ¶
func (c Config) ParseConfig() interface{}
Click to show internal directories.
Click to hide internal directories.