package
0.0.0-20240405104727-3fc460ca096e
Repository: https://github.com/brandedtech/sp-api-sdk.git
Documentation: pkg.go.dev

# Functions

Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewGetOrderMetricsRequest generates requests for GetOrderMetrics.
ParseGetOrderMetricsResp parses an HTTP response from a GetOrderMetricsWithResponse call.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestBefore allows setting up a callback function, which will be called right before sending the request.
WithResponseAfter allows setting up a callback function, which will be called right after get response the request.
WithUserAgent set up useragent add user agent to every request automatically.

# Structs

Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
Error defines model for Error.
GetOrderMetricsParams defines parameters for GetOrderMetrics.
No description provided by the author
GetOrderMetricsResponse defines model for GetOrderMetricsResponse.
Money defines model for Money.
OrderMetricsInterval defines model for OrderMetricsInterval.

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.

# Type aliases

ClientOption allows setting custom parameters during construction.
Decimal defines model for Decimal.
ErrorList defines model for ErrorList.
OrderMetricsList defines model for OrderMetricsList.
RequestBeforeFn is the function signature for the RequestBefore callback function.
ResponseAfterFn is the function signature for the ResponseAfter callback function.