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.
NewDeleteSmallAndLightEnrollmentBySellerSKURequest generates requests for DeleteSmallAndLightEnrollmentBySellerSKU.
NewGetSmallAndLightEligibilityBySellerSKURequest generates requests for GetSmallAndLightEligibilityBySellerSKU.
NewGetSmallAndLightEnrollmentBySellerSKURequest generates requests for GetSmallAndLightEnrollmentBySellerSKU.
NewGetSmallAndLightFeePreviewRequest calls the generic GetSmallAndLightFeePreview builder with application/json body.
NewGetSmallAndLightFeePreviewRequestWithBody generates requests for GetSmallAndLightFeePreview with any type of body.
NewPutSmallAndLightEnrollmentBySellerSKURequest generates requests for PutSmallAndLightEnrollmentBySellerSKU.
ParseDeleteSmallAndLightEnrollmentBySellerSKUResp parses an HTTP response from a DeleteSmallAndLightEnrollmentBySellerSKUWithResponse call.
ParseGetSmallAndLightEligibilityBySellerSKUResp parses an HTTP response from a GetSmallAndLightEligibilityBySellerSKUWithResponse call.
ParseGetSmallAndLightEnrollmentBySellerSKUResp parses an HTTP response from a GetSmallAndLightEnrollmentBySellerSKUWithResponse call.
ParseGetSmallAndLightFeePreviewResp parses an HTTP response from a GetSmallAndLightFeePreviewWithResponse call.
ParsePutSmallAndLightEnrollmentBySellerSKUResp parses an HTTP response from a PutSmallAndLightEnrollmentBySellerSKUWithResponse 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.
# Constants
List of SmallAndLightEligibilityStatus.
List of SmallAndLightEligibilityStatus.
List of SmallAndLightEnrollmentStatus.
List of SmallAndLightEnrollmentStatus.
# Structs
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
DeleteSmallAndLightEnrollmentBySellerSKUParams defines parameters for DeleteSmallAndLightEnrollmentBySellerSKU.
No description provided by the author
Error defines model for Error.
ErrorList defines model for ErrorList.
FeeLineItem defines model for FeeLineItem.
FeePreview defines model for FeePreview.
GetSmallAndLightEligibilityBySellerSKUParams defines parameters for GetSmallAndLightEligibilityBySellerSKU.
No description provided by the author
GetSmallAndLightEnrollmentBySellerSKUParams defines parameters for GetSmallAndLightEnrollmentBySellerSKU.
No description provided by the author
No description provided by the author
Item defines model for Item.
MoneyType defines model for MoneyType.
PutSmallAndLightEnrollmentBySellerSKUParams defines parameters for PutSmallAndLightEnrollmentBySellerSKU.
No description provided by the author
SmallAndLightEligibility defines model for SmallAndLightEligibility.
SmallAndLightEnrollment defines model for SmallAndLightEnrollment.
SmallAndLightFeePreviewRequest defines model for SmallAndLightFeePreviewRequest.
SmallAndLightFeePreviews defines model for SmallAndLightFeePreviews.
# 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.
GetSmallAndLightFeePreviewJSONBody defines parameters for GetSmallAndLightFeePreview.
GetSmallAndLightFeePreviewRequestBody defines body for GetSmallAndLightFeePreview for application/json ContentType.
MarketplaceId defines model for MarketplaceId.
RequestBeforeFn is the function signature for the RequestBefore callback function.
ResponseAfterFn is the function signature for the ResponseAfter callback function.
SellerSKU defines model for SellerSKU.
SmallAndLightEligibilityStatus defines model for SmallAndLightEligibilityStatus.
SmallAndLightEnrollmentStatus defines model for SmallAndLightEnrollmentStatus.