Documentation ¶
Index ¶
- type AdyenClient
- func (client *AdyenClient) Authorize(request *sleet.AuthorizationRequest) (*sleet.AuthorizationResponse, error)
- func (client *AdyenClient) Capture(request *sleet.CaptureRequest) (*sleet.CaptureResponse, error)
- func (client *AdyenClient) Refund(request *sleet.RefundRequest) (*sleet.RefundResponse, error)
- func (client *AdyenClient) Void(request *sleet.VoidRequest) (*sleet.VoidResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdyenClient ¶
type AdyenClient struct {
// contains filtered or unexported fields
}
You can create new API user there: https://ca-test.adyen.com/ca/ca/config/users.shtml
func NewClient ¶
func NewClient(env adyen.Environment, username string, merchantAccount string, password string) *AdyenClient
func NewWithHTTPClient ¶
func (*AdyenClient) Authorize ¶
func (client *AdyenClient) Authorize(request *sleet.AuthorizationRequest) (*sleet.AuthorizationResponse, error)
func (*AdyenClient) Capture ¶
func (client *AdyenClient) Capture(request *sleet.CaptureRequest) (*sleet.CaptureResponse, error)
func (*AdyenClient) Refund ¶
func (client *AdyenClient) Refund(request *sleet.RefundRequest) (*sleet.RefundResponse, error)
func (*AdyenClient) Void ¶
func (client *AdyenClient) Void(request *sleet.VoidRequest) (*sleet.VoidResponse, error)
Click to show internal directories.
Click to hide internal directories.