adyen

package
v1.0.269 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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 NewWithHTTPClient(env adyen.Environment, username string, merchantAccount string, password string, httpClient *http.Client) *AdyenClient

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL