package
19.0.0
Repository: https://github.com/adyen/adyen-go-api-library.git
Documentation: pkg.go.dev

# Functions

CacheExpires helper function to determine remaining time before repeating a Request.
CreateHTTPRequest is used as base to create HTTP request for all methods (GET, POST, PATCH...) Deprecated.
IdempotencyKey Deprecated.
IsNil checks if an input is nil.
NewAPIError returns a new error instance.
NewAPIResponse returns a new APIResonse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewInvalidField instantiates a new InvalidField object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewInvalidFieldWithDefaults instantiates a new InvalidField object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRestServiceError instantiates a new RestServiceError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRestServiceErrorWithDefaults instantiates a new RestServiceError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
ParameterAddToHeaderOrQuery adds the provided object to the request header or url query supporting deep object syntax.
ParameterAddToQuery adds the provided object to the url query supporting deep object syntax Deprecated.
No description provided by the author
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.
SelectHeaderAccept join all accept types and return.
SelectHeaderContentType select a content type from the available list.
No description provided by the author
WithIdempotencyKey returns a context with an Idempotency-Key added to the provided context.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the Request.
ContextAPIKey takes an APIKey as authentication for the Request.
ContextBasicAuth takes BasicAuth as authentication for the Request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the Request.

# Structs

APIError Provides access to the body, error and model on returned errors.
APIKey provides API key based authentication to a Request passed via context using ContextAPIKey.
APIResponse stores the API Response returned by the server.
BasicAuth provides basic http authentication to a Request passed via context using ContextBasicAuth.
Client manages communication with the Adyen API In most cases there should be only one, shared, APIClient.
Config stores the configuration of the API client.
InvalidField struct for InvalidField.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RestServiceError struct for RestServiceError.
Service type is the struct implemented by individual API services.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author