Documentation ¶
Index ¶
- type Client
- func (a *Client) GetCompetitivePricing(params *GetCompetitivePricingParams, opts ...ClientOption) (*GetCompetitivePricingOK, error)
- func (a *Client) GetItemOffers(params *GetItemOffersParams, opts ...ClientOption) (*GetItemOffersOK, error)
- func (a *Client) GetItemOffersBatch(params *GetItemOffersBatchParams, opts ...ClientOption) (*GetItemOffersBatchOK, error)
- func (a *Client) GetListingOffers(params *GetListingOffersParams, opts ...ClientOption) (*GetListingOffersOK, error)
- func (a *Client) GetListingOffersBatch(params *GetListingOffersBatchParams, opts ...ClientOption) (*GetListingOffersBatchOK, error)
- func (a *Client) GetPricing(params *GetPricingParams, opts ...ClientOption) (*GetPricingOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetCompetitivePricingBadRequest
- func (o *GetCompetitivePricingBadRequest) Error() string
- func (o *GetCompetitivePricingBadRequest) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetCompetitivePricingBadRequest) IsClientError() bool
- func (o *GetCompetitivePricingBadRequest) IsCode(code int) bool
- func (o *GetCompetitivePricingBadRequest) IsRedirect() bool
- func (o *GetCompetitivePricingBadRequest) IsServerError() bool
- func (o *GetCompetitivePricingBadRequest) IsSuccess() bool
- func (o *GetCompetitivePricingBadRequest) String() string
- type GetCompetitivePricingForbidden
- func (o *GetCompetitivePricingForbidden) Error() string
- func (o *GetCompetitivePricingForbidden) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetCompetitivePricingForbidden) IsClientError() bool
- func (o *GetCompetitivePricingForbidden) IsCode(code int) bool
- func (o *GetCompetitivePricingForbidden) IsRedirect() bool
- func (o *GetCompetitivePricingForbidden) IsServerError() bool
- func (o *GetCompetitivePricingForbidden) IsSuccess() bool
- func (o *GetCompetitivePricingForbidden) String() string
- type GetCompetitivePricingInternalServerError
- func (o *GetCompetitivePricingInternalServerError) Error() string
- func (o *GetCompetitivePricingInternalServerError) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetCompetitivePricingInternalServerError) IsClientError() bool
- func (o *GetCompetitivePricingInternalServerError) IsCode(code int) bool
- func (o *GetCompetitivePricingInternalServerError) IsRedirect() bool
- func (o *GetCompetitivePricingInternalServerError) IsServerError() bool
- func (o *GetCompetitivePricingInternalServerError) IsSuccess() bool
- func (o *GetCompetitivePricingInternalServerError) String() string
- type GetCompetitivePricingNotFound
- func (o *GetCompetitivePricingNotFound) Error() string
- func (o *GetCompetitivePricingNotFound) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetCompetitivePricingNotFound) IsClientError() bool
- func (o *GetCompetitivePricingNotFound) IsCode(code int) bool
- func (o *GetCompetitivePricingNotFound) IsRedirect() bool
- func (o *GetCompetitivePricingNotFound) IsServerError() bool
- func (o *GetCompetitivePricingNotFound) IsSuccess() bool
- func (o *GetCompetitivePricingNotFound) String() string
- type GetCompetitivePricingOK
- func (o *GetCompetitivePricingOK) Error() string
- func (o *GetCompetitivePricingOK) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetCompetitivePricingOK) IsClientError() bool
- func (o *GetCompetitivePricingOK) IsCode(code int) bool
- func (o *GetCompetitivePricingOK) IsRedirect() bool
- func (o *GetCompetitivePricingOK) IsServerError() bool
- func (o *GetCompetitivePricingOK) IsSuccess() bool
- func (o *GetCompetitivePricingOK) String() string
- type GetCompetitivePricingParams
- func NewGetCompetitivePricingParams() *GetCompetitivePricingParams
- func NewGetCompetitivePricingParamsWithContext(ctx context.Context) *GetCompetitivePricingParams
- func NewGetCompetitivePricingParamsWithHTTPClient(client *http.Client) *GetCompetitivePricingParams
- func NewGetCompetitivePricingParamsWithTimeout(timeout time.Duration) *GetCompetitivePricingParams
- func (o *GetCompetitivePricingParams) SetAsins(asins []string)
- func (o *GetCompetitivePricingParams) SetContext(ctx context.Context)
- func (o *GetCompetitivePricingParams) SetCustomerType(customerType *string)
- func (o *GetCompetitivePricingParams) SetDefaults()
- func (o *GetCompetitivePricingParams) SetHTTPClient(client *http.Client)
- func (o *GetCompetitivePricingParams) SetItemType(itemType string)
- func (o *GetCompetitivePricingParams) SetMarketplaceID(marketplaceID string)
- func (o *GetCompetitivePricingParams) SetSkus(skus []string)
- func (o *GetCompetitivePricingParams) SetTimeout(timeout time.Duration)
- func (o *GetCompetitivePricingParams) WithAsins(asins []string) *GetCompetitivePricingParams
- func (o *GetCompetitivePricingParams) WithContext(ctx context.Context) *GetCompetitivePricingParams
- func (o *GetCompetitivePricingParams) WithCustomerType(customerType *string) *GetCompetitivePricingParams
- func (o *GetCompetitivePricingParams) WithDefaults() *GetCompetitivePricingParams
- func (o *GetCompetitivePricingParams) WithHTTPClient(client *http.Client) *GetCompetitivePricingParams
- func (o *GetCompetitivePricingParams) WithItemType(itemType string) *GetCompetitivePricingParams
- func (o *GetCompetitivePricingParams) WithMarketplaceID(marketplaceID string) *GetCompetitivePricingParams
- func (o *GetCompetitivePricingParams) WithSkus(skus []string) *GetCompetitivePricingParams
- func (o *GetCompetitivePricingParams) WithTimeout(timeout time.Duration) *GetCompetitivePricingParams
- func (o *GetCompetitivePricingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCompetitivePricingReader
- type GetCompetitivePricingServiceUnavailable
- func (o *GetCompetitivePricingServiceUnavailable) Error() string
- func (o *GetCompetitivePricingServiceUnavailable) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetCompetitivePricingServiceUnavailable) IsClientError() bool
- func (o *GetCompetitivePricingServiceUnavailable) IsCode(code int) bool
- func (o *GetCompetitivePricingServiceUnavailable) IsRedirect() bool
- func (o *GetCompetitivePricingServiceUnavailable) IsServerError() bool
- func (o *GetCompetitivePricingServiceUnavailable) IsSuccess() bool
- func (o *GetCompetitivePricingServiceUnavailable) String() string
- type GetCompetitivePricingTooManyRequests
- func (o *GetCompetitivePricingTooManyRequests) Error() string
- func (o *GetCompetitivePricingTooManyRequests) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetCompetitivePricingTooManyRequests) IsClientError() bool
- func (o *GetCompetitivePricingTooManyRequests) IsCode(code int) bool
- func (o *GetCompetitivePricingTooManyRequests) IsRedirect() bool
- func (o *GetCompetitivePricingTooManyRequests) IsServerError() bool
- func (o *GetCompetitivePricingTooManyRequests) IsSuccess() bool
- func (o *GetCompetitivePricingTooManyRequests) String() string
- type GetCompetitivePricingUnauthorized
- func (o *GetCompetitivePricingUnauthorized) Error() string
- func (o *GetCompetitivePricingUnauthorized) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetCompetitivePricingUnauthorized) IsClientError() bool
- func (o *GetCompetitivePricingUnauthorized) IsCode(code int) bool
- func (o *GetCompetitivePricingUnauthorized) IsRedirect() bool
- func (o *GetCompetitivePricingUnauthorized) IsServerError() bool
- func (o *GetCompetitivePricingUnauthorized) IsSuccess() bool
- func (o *GetCompetitivePricingUnauthorized) String() string
- type GetItemOffersBadRequest
- func (o *GetItemOffersBadRequest) Error() string
- func (o *GetItemOffersBadRequest) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetItemOffersBadRequest) IsClientError() bool
- func (o *GetItemOffersBadRequest) IsCode(code int) bool
- func (o *GetItemOffersBadRequest) IsRedirect() bool
- func (o *GetItemOffersBadRequest) IsServerError() bool
- func (o *GetItemOffersBadRequest) IsSuccess() bool
- func (o *GetItemOffersBadRequest) String() string
- type GetItemOffersBatchBadRequest
- func (o *GetItemOffersBatchBadRequest) Error() string
- func (o *GetItemOffersBatchBadRequest) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetItemOffersBatchBadRequest) IsClientError() bool
- func (o *GetItemOffersBatchBadRequest) IsCode(code int) bool
- func (o *GetItemOffersBatchBadRequest) IsRedirect() bool
- func (o *GetItemOffersBatchBadRequest) IsServerError() bool
- func (o *GetItemOffersBatchBadRequest) IsSuccess() bool
- func (o *GetItemOffersBatchBadRequest) String() string
- type GetItemOffersBatchForbidden
- func (o *GetItemOffersBatchForbidden) Error() string
- func (o *GetItemOffersBatchForbidden) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetItemOffersBatchForbidden) IsClientError() bool
- func (o *GetItemOffersBatchForbidden) IsCode(code int) bool
- func (o *GetItemOffersBatchForbidden) IsRedirect() bool
- func (o *GetItemOffersBatchForbidden) IsServerError() bool
- func (o *GetItemOffersBatchForbidden) IsSuccess() bool
- func (o *GetItemOffersBatchForbidden) String() string
- type GetItemOffersBatchInternalServerError
- func (o *GetItemOffersBatchInternalServerError) Error() string
- func (o *GetItemOffersBatchInternalServerError) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetItemOffersBatchInternalServerError) IsClientError() bool
- func (o *GetItemOffersBatchInternalServerError) IsCode(code int) bool
- func (o *GetItemOffersBatchInternalServerError) IsRedirect() bool
- func (o *GetItemOffersBatchInternalServerError) IsServerError() bool
- func (o *GetItemOffersBatchInternalServerError) IsSuccess() bool
- func (o *GetItemOffersBatchInternalServerError) String() string
- type GetItemOffersBatchNotFound
- func (o *GetItemOffersBatchNotFound) Error() string
- func (o *GetItemOffersBatchNotFound) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetItemOffersBatchNotFound) IsClientError() bool
- func (o *GetItemOffersBatchNotFound) IsCode(code int) bool
- func (o *GetItemOffersBatchNotFound) IsRedirect() bool
- func (o *GetItemOffersBatchNotFound) IsServerError() bool
- func (o *GetItemOffersBatchNotFound) IsSuccess() bool
- func (o *GetItemOffersBatchNotFound) String() string
- type GetItemOffersBatchOK
- func (o *GetItemOffersBatchOK) Error() string
- func (o *GetItemOffersBatchOK) GetPayload() *product_pricing_v0_models.GetItemOffersBatchResponse
- func (o *GetItemOffersBatchOK) IsClientError() bool
- func (o *GetItemOffersBatchOK) IsCode(code int) bool
- func (o *GetItemOffersBatchOK) IsRedirect() bool
- func (o *GetItemOffersBatchOK) IsServerError() bool
- func (o *GetItemOffersBatchOK) IsSuccess() bool
- func (o *GetItemOffersBatchOK) String() string
- type GetItemOffersBatchParams
- func NewGetItemOffersBatchParams() *GetItemOffersBatchParams
- func NewGetItemOffersBatchParamsWithContext(ctx context.Context) *GetItemOffersBatchParams
- func NewGetItemOffersBatchParamsWithHTTPClient(client *http.Client) *GetItemOffersBatchParams
- func NewGetItemOffersBatchParamsWithTimeout(timeout time.Duration) *GetItemOffersBatchParams
- func (o *GetItemOffersBatchParams) SetContext(ctx context.Context)
- func (o *GetItemOffersBatchParams) SetDefaults()
- func (o *GetItemOffersBatchParams) SetGetItemOffersBatchRequestBody(...)
- func (o *GetItemOffersBatchParams) SetHTTPClient(client *http.Client)
- func (o *GetItemOffersBatchParams) SetTimeout(timeout time.Duration)
- func (o *GetItemOffersBatchParams) WithContext(ctx context.Context) *GetItemOffersBatchParams
- func (o *GetItemOffersBatchParams) WithDefaults() *GetItemOffersBatchParams
- func (o *GetItemOffersBatchParams) WithGetItemOffersBatchRequestBody(...) *GetItemOffersBatchParams
- func (o *GetItemOffersBatchParams) WithHTTPClient(client *http.Client) *GetItemOffersBatchParams
- func (o *GetItemOffersBatchParams) WithTimeout(timeout time.Duration) *GetItemOffersBatchParams
- func (o *GetItemOffersBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetItemOffersBatchReader
- type GetItemOffersBatchServiceUnavailable
- func (o *GetItemOffersBatchServiceUnavailable) Error() string
- func (o *GetItemOffersBatchServiceUnavailable) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetItemOffersBatchServiceUnavailable) IsClientError() bool
- func (o *GetItemOffersBatchServiceUnavailable) IsCode(code int) bool
- func (o *GetItemOffersBatchServiceUnavailable) IsRedirect() bool
- func (o *GetItemOffersBatchServiceUnavailable) IsServerError() bool
- func (o *GetItemOffersBatchServiceUnavailable) IsSuccess() bool
- func (o *GetItemOffersBatchServiceUnavailable) String() string
- type GetItemOffersBatchTooManyRequests
- func (o *GetItemOffersBatchTooManyRequests) Error() string
- func (o *GetItemOffersBatchTooManyRequests) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetItemOffersBatchTooManyRequests) IsClientError() bool
- func (o *GetItemOffersBatchTooManyRequests) IsCode(code int) bool
- func (o *GetItemOffersBatchTooManyRequests) IsRedirect() bool
- func (o *GetItemOffersBatchTooManyRequests) IsServerError() bool
- func (o *GetItemOffersBatchTooManyRequests) IsSuccess() bool
- func (o *GetItemOffersBatchTooManyRequests) String() string
- type GetItemOffersBatchUnauthorized
- func (o *GetItemOffersBatchUnauthorized) Error() string
- func (o *GetItemOffersBatchUnauthorized) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetItemOffersBatchUnauthorized) IsClientError() bool
- func (o *GetItemOffersBatchUnauthorized) IsCode(code int) bool
- func (o *GetItemOffersBatchUnauthorized) IsRedirect() bool
- func (o *GetItemOffersBatchUnauthorized) IsServerError() bool
- func (o *GetItemOffersBatchUnauthorized) IsSuccess() bool
- func (o *GetItemOffersBatchUnauthorized) String() string
- type GetItemOffersForbidden
- func (o *GetItemOffersForbidden) Error() string
- func (o *GetItemOffersForbidden) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetItemOffersForbidden) IsClientError() bool
- func (o *GetItemOffersForbidden) IsCode(code int) bool
- func (o *GetItemOffersForbidden) IsRedirect() bool
- func (o *GetItemOffersForbidden) IsServerError() bool
- func (o *GetItemOffersForbidden) IsSuccess() bool
- func (o *GetItemOffersForbidden) String() string
- type GetItemOffersInternalServerError
- func (o *GetItemOffersInternalServerError) Error() string
- func (o *GetItemOffersInternalServerError) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetItemOffersInternalServerError) IsClientError() bool
- func (o *GetItemOffersInternalServerError) IsCode(code int) bool
- func (o *GetItemOffersInternalServerError) IsRedirect() bool
- func (o *GetItemOffersInternalServerError) IsServerError() bool
- func (o *GetItemOffersInternalServerError) IsSuccess() bool
- func (o *GetItemOffersInternalServerError) String() string
- type GetItemOffersNotFound
- func (o *GetItemOffersNotFound) Error() string
- func (o *GetItemOffersNotFound) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetItemOffersNotFound) IsClientError() bool
- func (o *GetItemOffersNotFound) IsCode(code int) bool
- func (o *GetItemOffersNotFound) IsRedirect() bool
- func (o *GetItemOffersNotFound) IsServerError() bool
- func (o *GetItemOffersNotFound) IsSuccess() bool
- func (o *GetItemOffersNotFound) String() string
- type GetItemOffersOK
- func (o *GetItemOffersOK) Error() string
- func (o *GetItemOffersOK) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetItemOffersOK) IsClientError() bool
- func (o *GetItemOffersOK) IsCode(code int) bool
- func (o *GetItemOffersOK) IsRedirect() bool
- func (o *GetItemOffersOK) IsServerError() bool
- func (o *GetItemOffersOK) IsSuccess() bool
- func (o *GetItemOffersOK) String() string
- type GetItemOffersParams
- func (o *GetItemOffersParams) SetAsin(asin string)
- func (o *GetItemOffersParams) SetContext(ctx context.Context)
- func (o *GetItemOffersParams) SetCustomerType(customerType *string)
- func (o *GetItemOffersParams) SetDefaults()
- func (o *GetItemOffersParams) SetHTTPClient(client *http.Client)
- func (o *GetItemOffersParams) SetItemCondition(itemCondition string)
- func (o *GetItemOffersParams) SetMarketplaceID(marketplaceID string)
- func (o *GetItemOffersParams) SetTimeout(timeout time.Duration)
- func (o *GetItemOffersParams) WithAsin(asin string) *GetItemOffersParams
- func (o *GetItemOffersParams) WithContext(ctx context.Context) *GetItemOffersParams
- func (o *GetItemOffersParams) WithCustomerType(customerType *string) *GetItemOffersParams
- func (o *GetItemOffersParams) WithDefaults() *GetItemOffersParams
- func (o *GetItemOffersParams) WithHTTPClient(client *http.Client) *GetItemOffersParams
- func (o *GetItemOffersParams) WithItemCondition(itemCondition string) *GetItemOffersParams
- func (o *GetItemOffersParams) WithMarketplaceID(marketplaceID string) *GetItemOffersParams
- func (o *GetItemOffersParams) WithTimeout(timeout time.Duration) *GetItemOffersParams
- func (o *GetItemOffersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetItemOffersReader
- type GetItemOffersServiceUnavailable
- func (o *GetItemOffersServiceUnavailable) Error() string
- func (o *GetItemOffersServiceUnavailable) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetItemOffersServiceUnavailable) IsClientError() bool
- func (o *GetItemOffersServiceUnavailable) IsCode(code int) bool
- func (o *GetItemOffersServiceUnavailable) IsRedirect() bool
- func (o *GetItemOffersServiceUnavailable) IsServerError() bool
- func (o *GetItemOffersServiceUnavailable) IsSuccess() bool
- func (o *GetItemOffersServiceUnavailable) String() string
- type GetItemOffersTooManyRequests
- func (o *GetItemOffersTooManyRequests) Error() string
- func (o *GetItemOffersTooManyRequests) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetItemOffersTooManyRequests) IsClientError() bool
- func (o *GetItemOffersTooManyRequests) IsCode(code int) bool
- func (o *GetItemOffersTooManyRequests) IsRedirect() bool
- func (o *GetItemOffersTooManyRequests) IsServerError() bool
- func (o *GetItemOffersTooManyRequests) IsSuccess() bool
- func (o *GetItemOffersTooManyRequests) String() string
- type GetItemOffersUnauthorized
- func (o *GetItemOffersUnauthorized) Error() string
- func (o *GetItemOffersUnauthorized) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetItemOffersUnauthorized) IsClientError() bool
- func (o *GetItemOffersUnauthorized) IsCode(code int) bool
- func (o *GetItemOffersUnauthorized) IsRedirect() bool
- func (o *GetItemOffersUnauthorized) IsServerError() bool
- func (o *GetItemOffersUnauthorized) IsSuccess() bool
- func (o *GetItemOffersUnauthorized) String() string
- type GetListingOffersBadRequest
- func (o *GetListingOffersBadRequest) Error() string
- func (o *GetListingOffersBadRequest) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetListingOffersBadRequest) IsClientError() bool
- func (o *GetListingOffersBadRequest) IsCode(code int) bool
- func (o *GetListingOffersBadRequest) IsRedirect() bool
- func (o *GetListingOffersBadRequest) IsServerError() bool
- func (o *GetListingOffersBadRequest) IsSuccess() bool
- func (o *GetListingOffersBadRequest) String() string
- type GetListingOffersBatchBadRequest
- func (o *GetListingOffersBatchBadRequest) Error() string
- func (o *GetListingOffersBatchBadRequest) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetListingOffersBatchBadRequest) IsClientError() bool
- func (o *GetListingOffersBatchBadRequest) IsCode(code int) bool
- func (o *GetListingOffersBatchBadRequest) IsRedirect() bool
- func (o *GetListingOffersBatchBadRequest) IsServerError() bool
- func (o *GetListingOffersBatchBadRequest) IsSuccess() bool
- func (o *GetListingOffersBatchBadRequest) String() string
- type GetListingOffersBatchForbidden
- func (o *GetListingOffersBatchForbidden) Error() string
- func (o *GetListingOffersBatchForbidden) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetListingOffersBatchForbidden) IsClientError() bool
- func (o *GetListingOffersBatchForbidden) IsCode(code int) bool
- func (o *GetListingOffersBatchForbidden) IsRedirect() bool
- func (o *GetListingOffersBatchForbidden) IsServerError() bool
- func (o *GetListingOffersBatchForbidden) IsSuccess() bool
- func (o *GetListingOffersBatchForbidden) String() string
- type GetListingOffersBatchInternalServerError
- func (o *GetListingOffersBatchInternalServerError) Error() string
- func (o *GetListingOffersBatchInternalServerError) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetListingOffersBatchInternalServerError) IsClientError() bool
- func (o *GetListingOffersBatchInternalServerError) IsCode(code int) bool
- func (o *GetListingOffersBatchInternalServerError) IsRedirect() bool
- func (o *GetListingOffersBatchInternalServerError) IsServerError() bool
- func (o *GetListingOffersBatchInternalServerError) IsSuccess() bool
- func (o *GetListingOffersBatchInternalServerError) String() string
- type GetListingOffersBatchNotFound
- func (o *GetListingOffersBatchNotFound) Error() string
- func (o *GetListingOffersBatchNotFound) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetListingOffersBatchNotFound) IsClientError() bool
- func (o *GetListingOffersBatchNotFound) IsCode(code int) bool
- func (o *GetListingOffersBatchNotFound) IsRedirect() bool
- func (o *GetListingOffersBatchNotFound) IsServerError() bool
- func (o *GetListingOffersBatchNotFound) IsSuccess() bool
- func (o *GetListingOffersBatchNotFound) String() string
- type GetListingOffersBatchOK
- func (o *GetListingOffersBatchOK) Error() string
- func (o *GetListingOffersBatchOK) GetPayload() *product_pricing_v0_models.GetListingOffersBatchResponse
- func (o *GetListingOffersBatchOK) IsClientError() bool
- func (o *GetListingOffersBatchOK) IsCode(code int) bool
- func (o *GetListingOffersBatchOK) IsRedirect() bool
- func (o *GetListingOffersBatchOK) IsServerError() bool
- func (o *GetListingOffersBatchOK) IsSuccess() bool
- func (o *GetListingOffersBatchOK) String() string
- type GetListingOffersBatchParams
- func NewGetListingOffersBatchParams() *GetListingOffersBatchParams
- func NewGetListingOffersBatchParamsWithContext(ctx context.Context) *GetListingOffersBatchParams
- func NewGetListingOffersBatchParamsWithHTTPClient(client *http.Client) *GetListingOffersBatchParams
- func NewGetListingOffersBatchParamsWithTimeout(timeout time.Duration) *GetListingOffersBatchParams
- func (o *GetListingOffersBatchParams) SetContext(ctx context.Context)
- func (o *GetListingOffersBatchParams) SetDefaults()
- func (o *GetListingOffersBatchParams) SetGetListingOffersBatchRequestBody(...)
- func (o *GetListingOffersBatchParams) SetHTTPClient(client *http.Client)
- func (o *GetListingOffersBatchParams) SetTimeout(timeout time.Duration)
- func (o *GetListingOffersBatchParams) WithContext(ctx context.Context) *GetListingOffersBatchParams
- func (o *GetListingOffersBatchParams) WithDefaults() *GetListingOffersBatchParams
- func (o *GetListingOffersBatchParams) WithGetListingOffersBatchRequestBody(...) *GetListingOffersBatchParams
- func (o *GetListingOffersBatchParams) WithHTTPClient(client *http.Client) *GetListingOffersBatchParams
- func (o *GetListingOffersBatchParams) WithTimeout(timeout time.Duration) *GetListingOffersBatchParams
- func (o *GetListingOffersBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetListingOffersBatchReader
- type GetListingOffersBatchServiceUnavailable
- func (o *GetListingOffersBatchServiceUnavailable) Error() string
- func (o *GetListingOffersBatchServiceUnavailable) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetListingOffersBatchServiceUnavailable) IsClientError() bool
- func (o *GetListingOffersBatchServiceUnavailable) IsCode(code int) bool
- func (o *GetListingOffersBatchServiceUnavailable) IsRedirect() bool
- func (o *GetListingOffersBatchServiceUnavailable) IsServerError() bool
- func (o *GetListingOffersBatchServiceUnavailable) IsSuccess() bool
- func (o *GetListingOffersBatchServiceUnavailable) String() string
- type GetListingOffersBatchTooManyRequests
- func (o *GetListingOffersBatchTooManyRequests) Error() string
- func (o *GetListingOffersBatchTooManyRequests) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetListingOffersBatchTooManyRequests) IsClientError() bool
- func (o *GetListingOffersBatchTooManyRequests) IsCode(code int) bool
- func (o *GetListingOffersBatchTooManyRequests) IsRedirect() bool
- func (o *GetListingOffersBatchTooManyRequests) IsServerError() bool
- func (o *GetListingOffersBatchTooManyRequests) IsSuccess() bool
- func (o *GetListingOffersBatchTooManyRequests) String() string
- type GetListingOffersBatchUnauthorized
- func (o *GetListingOffersBatchUnauthorized) Error() string
- func (o *GetListingOffersBatchUnauthorized) GetPayload() *product_pricing_v0_models.Errors
- func (o *GetListingOffersBatchUnauthorized) IsClientError() bool
- func (o *GetListingOffersBatchUnauthorized) IsCode(code int) bool
- func (o *GetListingOffersBatchUnauthorized) IsRedirect() bool
- func (o *GetListingOffersBatchUnauthorized) IsServerError() bool
- func (o *GetListingOffersBatchUnauthorized) IsSuccess() bool
- func (o *GetListingOffersBatchUnauthorized) String() string
- type GetListingOffersForbidden
- func (o *GetListingOffersForbidden) Error() string
- func (o *GetListingOffersForbidden) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetListingOffersForbidden) IsClientError() bool
- func (o *GetListingOffersForbidden) IsCode(code int) bool
- func (o *GetListingOffersForbidden) IsRedirect() bool
- func (o *GetListingOffersForbidden) IsServerError() bool
- func (o *GetListingOffersForbidden) IsSuccess() bool
- func (o *GetListingOffersForbidden) String() string
- type GetListingOffersInternalServerError
- func (o *GetListingOffersInternalServerError) Error() string
- func (o *GetListingOffersInternalServerError) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetListingOffersInternalServerError) IsClientError() bool
- func (o *GetListingOffersInternalServerError) IsCode(code int) bool
- func (o *GetListingOffersInternalServerError) IsRedirect() bool
- func (o *GetListingOffersInternalServerError) IsServerError() bool
- func (o *GetListingOffersInternalServerError) IsSuccess() bool
- func (o *GetListingOffersInternalServerError) String() string
- type GetListingOffersNotFound
- func (o *GetListingOffersNotFound) Error() string
- func (o *GetListingOffersNotFound) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetListingOffersNotFound) IsClientError() bool
- func (o *GetListingOffersNotFound) IsCode(code int) bool
- func (o *GetListingOffersNotFound) IsRedirect() bool
- func (o *GetListingOffersNotFound) IsServerError() bool
- func (o *GetListingOffersNotFound) IsSuccess() bool
- func (o *GetListingOffersNotFound) String() string
- type GetListingOffersOK
- func (o *GetListingOffersOK) Error() string
- func (o *GetListingOffersOK) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetListingOffersOK) IsClientError() bool
- func (o *GetListingOffersOK) IsCode(code int) bool
- func (o *GetListingOffersOK) IsRedirect() bool
- func (o *GetListingOffersOK) IsServerError() bool
- func (o *GetListingOffersOK) IsSuccess() bool
- func (o *GetListingOffersOK) String() string
- type GetListingOffersParams
- func NewGetListingOffersParams() *GetListingOffersParams
- func NewGetListingOffersParamsWithContext(ctx context.Context) *GetListingOffersParams
- func NewGetListingOffersParamsWithHTTPClient(client *http.Client) *GetListingOffersParams
- func NewGetListingOffersParamsWithTimeout(timeout time.Duration) *GetListingOffersParams
- func (o *GetListingOffersParams) SetContext(ctx context.Context)
- func (o *GetListingOffersParams) SetCustomerType(customerType *string)
- func (o *GetListingOffersParams) SetDefaults()
- func (o *GetListingOffersParams) SetHTTPClient(client *http.Client)
- func (o *GetListingOffersParams) SetItemCondition(itemCondition string)
- func (o *GetListingOffersParams) SetMarketplaceID(marketplaceID string)
- func (o *GetListingOffersParams) SetSellerSKU(sellerSKU string)
- func (o *GetListingOffersParams) SetTimeout(timeout time.Duration)
- func (o *GetListingOffersParams) WithContext(ctx context.Context) *GetListingOffersParams
- func (o *GetListingOffersParams) WithCustomerType(customerType *string) *GetListingOffersParams
- func (o *GetListingOffersParams) WithDefaults() *GetListingOffersParams
- func (o *GetListingOffersParams) WithHTTPClient(client *http.Client) *GetListingOffersParams
- func (o *GetListingOffersParams) WithItemCondition(itemCondition string) *GetListingOffersParams
- func (o *GetListingOffersParams) WithMarketplaceID(marketplaceID string) *GetListingOffersParams
- func (o *GetListingOffersParams) WithSellerSKU(sellerSKU string) *GetListingOffersParams
- func (o *GetListingOffersParams) WithTimeout(timeout time.Duration) *GetListingOffersParams
- func (o *GetListingOffersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetListingOffersReader
- type GetListingOffersServiceUnavailable
- func (o *GetListingOffersServiceUnavailable) Error() string
- func (o *GetListingOffersServiceUnavailable) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetListingOffersServiceUnavailable) IsClientError() bool
- func (o *GetListingOffersServiceUnavailable) IsCode(code int) bool
- func (o *GetListingOffersServiceUnavailable) IsRedirect() bool
- func (o *GetListingOffersServiceUnavailable) IsServerError() bool
- func (o *GetListingOffersServiceUnavailable) IsSuccess() bool
- func (o *GetListingOffersServiceUnavailable) String() string
- type GetListingOffersTooManyRequests
- func (o *GetListingOffersTooManyRequests) Error() string
- func (o *GetListingOffersTooManyRequests) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetListingOffersTooManyRequests) IsClientError() bool
- func (o *GetListingOffersTooManyRequests) IsCode(code int) bool
- func (o *GetListingOffersTooManyRequests) IsRedirect() bool
- func (o *GetListingOffersTooManyRequests) IsServerError() bool
- func (o *GetListingOffersTooManyRequests) IsSuccess() bool
- func (o *GetListingOffersTooManyRequests) String() string
- type GetListingOffersUnauthorized
- func (o *GetListingOffersUnauthorized) Error() string
- func (o *GetListingOffersUnauthorized) GetPayload() *product_pricing_v0_models.GetOffersResponse
- func (o *GetListingOffersUnauthorized) IsClientError() bool
- func (o *GetListingOffersUnauthorized) IsCode(code int) bool
- func (o *GetListingOffersUnauthorized) IsRedirect() bool
- func (o *GetListingOffersUnauthorized) IsServerError() bool
- func (o *GetListingOffersUnauthorized) IsSuccess() bool
- func (o *GetListingOffersUnauthorized) String() string
- type GetPricingBadRequest
- func (o *GetPricingBadRequest) Error() string
- func (o *GetPricingBadRequest) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetPricingBadRequest) IsClientError() bool
- func (o *GetPricingBadRequest) IsCode(code int) bool
- func (o *GetPricingBadRequest) IsRedirect() bool
- func (o *GetPricingBadRequest) IsServerError() bool
- func (o *GetPricingBadRequest) IsSuccess() bool
- func (o *GetPricingBadRequest) String() string
- type GetPricingForbidden
- func (o *GetPricingForbidden) Error() string
- func (o *GetPricingForbidden) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetPricingForbidden) IsClientError() bool
- func (o *GetPricingForbidden) IsCode(code int) bool
- func (o *GetPricingForbidden) IsRedirect() bool
- func (o *GetPricingForbidden) IsServerError() bool
- func (o *GetPricingForbidden) IsSuccess() bool
- func (o *GetPricingForbidden) String() string
- type GetPricingInternalServerError
- func (o *GetPricingInternalServerError) Error() string
- func (o *GetPricingInternalServerError) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetPricingInternalServerError) IsClientError() bool
- func (o *GetPricingInternalServerError) IsCode(code int) bool
- func (o *GetPricingInternalServerError) IsRedirect() bool
- func (o *GetPricingInternalServerError) IsServerError() bool
- func (o *GetPricingInternalServerError) IsSuccess() bool
- func (o *GetPricingInternalServerError) String() string
- type GetPricingNotFound
- func (o *GetPricingNotFound) Error() string
- func (o *GetPricingNotFound) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetPricingNotFound) IsClientError() bool
- func (o *GetPricingNotFound) IsCode(code int) bool
- func (o *GetPricingNotFound) IsRedirect() bool
- func (o *GetPricingNotFound) IsServerError() bool
- func (o *GetPricingNotFound) IsSuccess() bool
- func (o *GetPricingNotFound) String() string
- type GetPricingOK
- func (o *GetPricingOK) Error() string
- func (o *GetPricingOK) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetPricingOK) IsClientError() bool
- func (o *GetPricingOK) IsCode(code int) bool
- func (o *GetPricingOK) IsRedirect() bool
- func (o *GetPricingOK) IsServerError() bool
- func (o *GetPricingOK) IsSuccess() bool
- func (o *GetPricingOK) String() string
- type GetPricingParams
- func (o *GetPricingParams) SetAsins(asins []string)
- func (o *GetPricingParams) SetContext(ctx context.Context)
- func (o *GetPricingParams) SetDefaults()
- func (o *GetPricingParams) SetHTTPClient(client *http.Client)
- func (o *GetPricingParams) SetItemCondition(itemCondition *string)
- func (o *GetPricingParams) SetItemType(itemType string)
- func (o *GetPricingParams) SetMarketplaceID(marketplaceID string)
- func (o *GetPricingParams) SetOfferType(offerType *string)
- func (o *GetPricingParams) SetSkus(skus []string)
- func (o *GetPricingParams) SetTimeout(timeout time.Duration)
- func (o *GetPricingParams) WithAsins(asins []string) *GetPricingParams
- func (o *GetPricingParams) WithContext(ctx context.Context) *GetPricingParams
- func (o *GetPricingParams) WithDefaults() *GetPricingParams
- func (o *GetPricingParams) WithHTTPClient(client *http.Client) *GetPricingParams
- func (o *GetPricingParams) WithItemCondition(itemCondition *string) *GetPricingParams
- func (o *GetPricingParams) WithItemType(itemType string) *GetPricingParams
- func (o *GetPricingParams) WithMarketplaceID(marketplaceID string) *GetPricingParams
- func (o *GetPricingParams) WithOfferType(offerType *string) *GetPricingParams
- func (o *GetPricingParams) WithSkus(skus []string) *GetPricingParams
- func (o *GetPricingParams) WithTimeout(timeout time.Duration) *GetPricingParams
- func (o *GetPricingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPricingReader
- type GetPricingServiceUnavailable
- func (o *GetPricingServiceUnavailable) Error() string
- func (o *GetPricingServiceUnavailable) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetPricingServiceUnavailable) IsClientError() bool
- func (o *GetPricingServiceUnavailable) IsCode(code int) bool
- func (o *GetPricingServiceUnavailable) IsRedirect() bool
- func (o *GetPricingServiceUnavailable) IsServerError() bool
- func (o *GetPricingServiceUnavailable) IsSuccess() bool
- func (o *GetPricingServiceUnavailable) String() string
- type GetPricingTooManyRequests
- func (o *GetPricingTooManyRequests) Error() string
- func (o *GetPricingTooManyRequests) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetPricingTooManyRequests) IsClientError() bool
- func (o *GetPricingTooManyRequests) IsCode(code int) bool
- func (o *GetPricingTooManyRequests) IsRedirect() bool
- func (o *GetPricingTooManyRequests) IsServerError() bool
- func (o *GetPricingTooManyRequests) IsSuccess() bool
- func (o *GetPricingTooManyRequests) String() string
- type GetPricingUnauthorized
- func (o *GetPricingUnauthorized) Error() string
- func (o *GetPricingUnauthorized) GetPayload() *product_pricing_v0_models.GetPricingResponse
- func (o *GetPricingUnauthorized) IsClientError() bool
- func (o *GetPricingUnauthorized) IsCode(code int) bool
- func (o *GetPricingUnauthorized) IsRedirect() bool
- func (o *GetPricingUnauthorized) IsServerError() bool
- func (o *GetPricingUnauthorized) IsSuccess() bool
- func (o *GetPricingUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for product pricing API
func (*Client) GetCompetitivePricing ¶
func (a *Client) GetCompetitivePricing(params *GetCompetitivePricingParams, opts ...ClientOption) (*GetCompetitivePricingOK, error)
GetCompetitivePricing Returns competitive pricing information for a seller's offer listings based on seller SKU or ASIN.
**Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetItemOffers ¶
func (a *Client) GetItemOffers(params *GetItemOffersParams, opts ...ClientOption) (*GetItemOffersOK, error)
GetItemOffers Returns the lowest priced offers for a single item based on ASIN.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetItemOffersBatch ¶
func (a *Client) GetItemOffersBatch(params *GetItemOffersBatchParams, opts ...ClientOption) (*GetItemOffersBatchOK, error)
GetItemOffersBatch Returns the lowest priced offers for a batch of items based on ASIN.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 1 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetListingOffers ¶
func (a *Client) GetListingOffers(params *GetListingOffersParams, opts ...ClientOption) (*GetListingOffersOK, error)
GetListingOffers Returns the lowest priced offers for a single SKU listing.
**Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetListingOffersBatch ¶
func (a *Client) GetListingOffersBatch(params *GetListingOffersBatchParams, opts ...ClientOption) (*GetListingOffersBatchOK, error)
GetListingOffersBatch Returns the lowest priced offers for a batch of listings by SKU.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetPricing ¶
func (a *Client) GetPricing(params *GetPricingParams, opts ...ClientOption) (*GetPricingOK, error)
GetPricing Returns pricing information for a seller's offer listings based on seller SKU or ASIN.
**Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 1 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetCompetitivePricing(params *GetCompetitivePricingParams, opts ...ClientOption) (*GetCompetitivePricingOK, error) GetItemOffers(params *GetItemOffersParams, opts ...ClientOption) (*GetItemOffersOK, error) GetItemOffersBatch(params *GetItemOffersBatchParams, opts ...ClientOption) (*GetItemOffersBatchOK, error) GetListingOffers(params *GetListingOffersParams, opts ...ClientOption) (*GetListingOffersOK, error) GetListingOffersBatch(params *GetListingOffersBatchParams, opts ...ClientOption) (*GetListingOffersBatchOK, error) GetPricing(params *GetPricingParams, opts ...ClientOption) (*GetPricingOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new product pricing API client.
type GetCompetitivePricingBadRequest ¶
type GetCompetitivePricingBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetPricingResponse }
GetCompetitivePricingBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetCompetitivePricingBadRequest ¶
func NewGetCompetitivePricingBadRequest() *GetCompetitivePricingBadRequest
NewGetCompetitivePricingBadRequest creates a GetCompetitivePricingBadRequest with default headers values
func (*GetCompetitivePricingBadRequest) Error ¶
func (o *GetCompetitivePricingBadRequest) Error() string
func (*GetCompetitivePricingBadRequest) GetPayload ¶
func (o *GetCompetitivePricingBadRequest) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetCompetitivePricingBadRequest) IsClientError ¶
func (o *GetCompetitivePricingBadRequest) IsClientError() bool
IsClientError returns true when this get competitive pricing bad request response has a 4xx status code
func (*GetCompetitivePricingBadRequest) IsCode ¶
func (o *GetCompetitivePricingBadRequest) IsCode(code int) bool
IsCode returns true when this get competitive pricing bad request response a status code equal to that given
func (*GetCompetitivePricingBadRequest) IsRedirect ¶
func (o *GetCompetitivePricingBadRequest) IsRedirect() bool
IsRedirect returns true when this get competitive pricing bad request response has a 3xx status code
func (*GetCompetitivePricingBadRequest) IsServerError ¶
func (o *GetCompetitivePricingBadRequest) IsServerError() bool
IsServerError returns true when this get competitive pricing bad request response has a 5xx status code
func (*GetCompetitivePricingBadRequest) IsSuccess ¶
func (o *GetCompetitivePricingBadRequest) IsSuccess() bool
IsSuccess returns true when this get competitive pricing bad request response has a 2xx status code
func (*GetCompetitivePricingBadRequest) String ¶
func (o *GetCompetitivePricingBadRequest) String() string
type GetCompetitivePricingForbidden ¶
type GetCompetitivePricingForbidden struct { /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetPricingResponse }
GetCompetitivePricingForbidden describes a response with status code 403, with default header values.
Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetCompetitivePricingForbidden ¶
func NewGetCompetitivePricingForbidden() *GetCompetitivePricingForbidden
NewGetCompetitivePricingForbidden creates a GetCompetitivePricingForbidden with default headers values
func (*GetCompetitivePricingForbidden) Error ¶
func (o *GetCompetitivePricingForbidden) Error() string
func (*GetCompetitivePricingForbidden) GetPayload ¶
func (o *GetCompetitivePricingForbidden) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetCompetitivePricingForbidden) IsClientError ¶
func (o *GetCompetitivePricingForbidden) IsClientError() bool
IsClientError returns true when this get competitive pricing forbidden response has a 4xx status code
func (*GetCompetitivePricingForbidden) IsCode ¶
func (o *GetCompetitivePricingForbidden) IsCode(code int) bool
IsCode returns true when this get competitive pricing forbidden response a status code equal to that given
func (*GetCompetitivePricingForbidden) IsRedirect ¶
func (o *GetCompetitivePricingForbidden) IsRedirect() bool
IsRedirect returns true when this get competitive pricing forbidden response has a 3xx status code
func (*GetCompetitivePricingForbidden) IsServerError ¶
func (o *GetCompetitivePricingForbidden) IsServerError() bool
IsServerError returns true when this get competitive pricing forbidden response has a 5xx status code
func (*GetCompetitivePricingForbidden) IsSuccess ¶
func (o *GetCompetitivePricingForbidden) IsSuccess() bool
IsSuccess returns true when this get competitive pricing forbidden response has a 2xx status code
func (*GetCompetitivePricingForbidden) String ¶
func (o *GetCompetitivePricingForbidden) String() string
type GetCompetitivePricingInternalServerError ¶
type GetCompetitivePricingInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetPricingResponse }
GetCompetitivePricingInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetCompetitivePricingInternalServerError ¶
func NewGetCompetitivePricingInternalServerError() *GetCompetitivePricingInternalServerError
NewGetCompetitivePricingInternalServerError creates a GetCompetitivePricingInternalServerError with default headers values
func (*GetCompetitivePricingInternalServerError) Error ¶
func (o *GetCompetitivePricingInternalServerError) Error() string
func (*GetCompetitivePricingInternalServerError) GetPayload ¶
func (o *GetCompetitivePricingInternalServerError) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetCompetitivePricingInternalServerError) IsClientError ¶
func (o *GetCompetitivePricingInternalServerError) IsClientError() bool
IsClientError returns true when this get competitive pricing internal server error response has a 4xx status code
func (*GetCompetitivePricingInternalServerError) IsCode ¶
func (o *GetCompetitivePricingInternalServerError) IsCode(code int) bool
IsCode returns true when this get competitive pricing internal server error response a status code equal to that given
func (*GetCompetitivePricingInternalServerError) IsRedirect ¶
func (o *GetCompetitivePricingInternalServerError) IsRedirect() bool
IsRedirect returns true when this get competitive pricing internal server error response has a 3xx status code
func (*GetCompetitivePricingInternalServerError) IsServerError ¶
func (o *GetCompetitivePricingInternalServerError) IsServerError() bool
IsServerError returns true when this get competitive pricing internal server error response has a 5xx status code
func (*GetCompetitivePricingInternalServerError) IsSuccess ¶
func (o *GetCompetitivePricingInternalServerError) IsSuccess() bool
IsSuccess returns true when this get competitive pricing internal server error response has a 2xx status code
func (*GetCompetitivePricingInternalServerError) String ¶
func (o *GetCompetitivePricingInternalServerError) String() string
type GetCompetitivePricingNotFound ¶
type GetCompetitivePricingNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetPricingResponse }
GetCompetitivePricingNotFound describes a response with status code 404, with default header values.
The specified resource does not exist.
func NewGetCompetitivePricingNotFound ¶
func NewGetCompetitivePricingNotFound() *GetCompetitivePricingNotFound
NewGetCompetitivePricingNotFound creates a GetCompetitivePricingNotFound with default headers values
func (*GetCompetitivePricingNotFound) Error ¶
func (o *GetCompetitivePricingNotFound) Error() string
func (*GetCompetitivePricingNotFound) GetPayload ¶
func (o *GetCompetitivePricingNotFound) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetCompetitivePricingNotFound) IsClientError ¶
func (o *GetCompetitivePricingNotFound) IsClientError() bool
IsClientError returns true when this get competitive pricing not found response has a 4xx status code
func (*GetCompetitivePricingNotFound) IsCode ¶
func (o *GetCompetitivePricingNotFound) IsCode(code int) bool
IsCode returns true when this get competitive pricing not found response a status code equal to that given
func (*GetCompetitivePricingNotFound) IsRedirect ¶
func (o *GetCompetitivePricingNotFound) IsRedirect() bool
IsRedirect returns true when this get competitive pricing not found response has a 3xx status code
func (*GetCompetitivePricingNotFound) IsServerError ¶
func (o *GetCompetitivePricingNotFound) IsServerError() bool
IsServerError returns true when this get competitive pricing not found response has a 5xx status code
func (*GetCompetitivePricingNotFound) IsSuccess ¶
func (o *GetCompetitivePricingNotFound) IsSuccess() bool
IsSuccess returns true when this get competitive pricing not found response has a 2xx status code
func (*GetCompetitivePricingNotFound) String ¶
func (o *GetCompetitivePricingNotFound) String() string
type GetCompetitivePricingOK ¶
type GetCompetitivePricingOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetPricingResponse }
GetCompetitivePricingOK describes a response with status code 200, with default header values.
Success.
func NewGetCompetitivePricingOK ¶
func NewGetCompetitivePricingOK() *GetCompetitivePricingOK
NewGetCompetitivePricingOK creates a GetCompetitivePricingOK with default headers values
func (*GetCompetitivePricingOK) Error ¶
func (o *GetCompetitivePricingOK) Error() string
func (*GetCompetitivePricingOK) GetPayload ¶
func (o *GetCompetitivePricingOK) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetCompetitivePricingOK) IsClientError ¶
func (o *GetCompetitivePricingOK) IsClientError() bool
IsClientError returns true when this get competitive pricing o k response has a 4xx status code
func (*GetCompetitivePricingOK) IsCode ¶
func (o *GetCompetitivePricingOK) IsCode(code int) bool
IsCode returns true when this get competitive pricing o k response a status code equal to that given
func (*GetCompetitivePricingOK) IsRedirect ¶
func (o *GetCompetitivePricingOK) IsRedirect() bool
IsRedirect returns true when this get competitive pricing o k response has a 3xx status code
func (*GetCompetitivePricingOK) IsServerError ¶
func (o *GetCompetitivePricingOK) IsServerError() bool
IsServerError returns true when this get competitive pricing o k response has a 5xx status code
func (*GetCompetitivePricingOK) IsSuccess ¶
func (o *GetCompetitivePricingOK) IsSuccess() bool
IsSuccess returns true when this get competitive pricing o k response has a 2xx status code
func (*GetCompetitivePricingOK) String ¶
func (o *GetCompetitivePricingOK) String() string
type GetCompetitivePricingParams ¶
type GetCompetitivePricingParams struct { /* Asins. A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace. */ Asins []string /* CustomerType. Indicates whether to request pricing information from the point of view of Consumer or Business buyers. Default is Consumer. */ CustomerType *string /* ItemType. Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. Possible values: Asin, Sku. */ ItemType string /* MarketplaceID. A marketplace identifier. Specifies the marketplace for which prices are returned. */ MarketplaceID string /* Skus. A list of up to twenty seller SKU values used to identify items in the given marketplace. */ Skus []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCompetitivePricingParams contains all the parameters to send to the API endpoint
for the get competitive pricing operation. Typically these are written to a http.Request.
func NewGetCompetitivePricingParams ¶
func NewGetCompetitivePricingParams() *GetCompetitivePricingParams
NewGetCompetitivePricingParams creates a new GetCompetitivePricingParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetCompetitivePricingParamsWithContext ¶
func NewGetCompetitivePricingParamsWithContext(ctx context.Context) *GetCompetitivePricingParams
NewGetCompetitivePricingParamsWithContext creates a new GetCompetitivePricingParams object with the ability to set a context for a request.
func NewGetCompetitivePricingParamsWithHTTPClient ¶
func NewGetCompetitivePricingParamsWithHTTPClient(client *http.Client) *GetCompetitivePricingParams
NewGetCompetitivePricingParamsWithHTTPClient creates a new GetCompetitivePricingParams object with the ability to set a custom HTTPClient for a request.
func NewGetCompetitivePricingParamsWithTimeout ¶
func NewGetCompetitivePricingParamsWithTimeout(timeout time.Duration) *GetCompetitivePricingParams
NewGetCompetitivePricingParamsWithTimeout creates a new GetCompetitivePricingParams object with the ability to set a timeout on a request.
func (*GetCompetitivePricingParams) SetAsins ¶
func (o *GetCompetitivePricingParams) SetAsins(asins []string)
SetAsins adds the asins to the get competitive pricing params
func (*GetCompetitivePricingParams) SetContext ¶
func (o *GetCompetitivePricingParams) SetContext(ctx context.Context)
SetContext adds the context to the get competitive pricing params
func (*GetCompetitivePricingParams) SetCustomerType ¶
func (o *GetCompetitivePricingParams) SetCustomerType(customerType *string)
SetCustomerType adds the customerType to the get competitive pricing params
func (*GetCompetitivePricingParams) SetDefaults ¶
func (o *GetCompetitivePricingParams) SetDefaults()
SetDefaults hydrates default values in the get competitive pricing params (not the query body).
All values with no default are reset to their zero value.
func (*GetCompetitivePricingParams) SetHTTPClient ¶
func (o *GetCompetitivePricingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get competitive pricing params
func (*GetCompetitivePricingParams) SetItemType ¶
func (o *GetCompetitivePricingParams) SetItemType(itemType string)
SetItemType adds the itemType to the get competitive pricing params
func (*GetCompetitivePricingParams) SetMarketplaceID ¶
func (o *GetCompetitivePricingParams) SetMarketplaceID(marketplaceID string)
SetMarketplaceID adds the marketplaceId to the get competitive pricing params
func (*GetCompetitivePricingParams) SetSkus ¶
func (o *GetCompetitivePricingParams) SetSkus(skus []string)
SetSkus adds the skus to the get competitive pricing params
func (*GetCompetitivePricingParams) SetTimeout ¶
func (o *GetCompetitivePricingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get competitive pricing params
func (*GetCompetitivePricingParams) WithAsins ¶
func (o *GetCompetitivePricingParams) WithAsins(asins []string) *GetCompetitivePricingParams
WithAsins adds the asins to the get competitive pricing params
func (*GetCompetitivePricingParams) WithContext ¶
func (o *GetCompetitivePricingParams) WithContext(ctx context.Context) *GetCompetitivePricingParams
WithContext adds the context to the get competitive pricing params
func (*GetCompetitivePricingParams) WithCustomerType ¶
func (o *GetCompetitivePricingParams) WithCustomerType(customerType *string) *GetCompetitivePricingParams
WithCustomerType adds the customerType to the get competitive pricing params
func (*GetCompetitivePricingParams) WithDefaults ¶
func (o *GetCompetitivePricingParams) WithDefaults() *GetCompetitivePricingParams
WithDefaults hydrates default values in the get competitive pricing params (not the query body).
All values with no default are reset to their zero value.
func (*GetCompetitivePricingParams) WithHTTPClient ¶
func (o *GetCompetitivePricingParams) WithHTTPClient(client *http.Client) *GetCompetitivePricingParams
WithHTTPClient adds the HTTPClient to the get competitive pricing params
func (*GetCompetitivePricingParams) WithItemType ¶
func (o *GetCompetitivePricingParams) WithItemType(itemType string) *GetCompetitivePricingParams
WithItemType adds the itemType to the get competitive pricing params
func (*GetCompetitivePricingParams) WithMarketplaceID ¶
func (o *GetCompetitivePricingParams) WithMarketplaceID(marketplaceID string) *GetCompetitivePricingParams
WithMarketplaceID adds the marketplaceID to the get competitive pricing params
func (*GetCompetitivePricingParams) WithSkus ¶
func (o *GetCompetitivePricingParams) WithSkus(skus []string) *GetCompetitivePricingParams
WithSkus adds the skus to the get competitive pricing params
func (*GetCompetitivePricingParams) WithTimeout ¶
func (o *GetCompetitivePricingParams) WithTimeout(timeout time.Duration) *GetCompetitivePricingParams
WithTimeout adds the timeout to the get competitive pricing params
func (*GetCompetitivePricingParams) WriteToRequest ¶
func (o *GetCompetitivePricingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCompetitivePricingReader ¶
type GetCompetitivePricingReader struct {
// contains filtered or unexported fields
}
GetCompetitivePricingReader is a Reader for the GetCompetitivePricing structure.
func (*GetCompetitivePricingReader) ReadResponse ¶
func (o *GetCompetitivePricingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCompetitivePricingServiceUnavailable ¶
type GetCompetitivePricingServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetCompetitivePricingServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetCompetitivePricingServiceUnavailable ¶
func NewGetCompetitivePricingServiceUnavailable() *GetCompetitivePricingServiceUnavailable
NewGetCompetitivePricingServiceUnavailable creates a GetCompetitivePricingServiceUnavailable with default headers values
func (*GetCompetitivePricingServiceUnavailable) Error ¶
func (o *GetCompetitivePricingServiceUnavailable) Error() string
func (*GetCompetitivePricingServiceUnavailable) GetPayload ¶
func (o *GetCompetitivePricingServiceUnavailable) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetCompetitivePricingServiceUnavailable) IsClientError ¶
func (o *GetCompetitivePricingServiceUnavailable) IsClientError() bool
IsClientError returns true when this get competitive pricing service unavailable response has a 4xx status code
func (*GetCompetitivePricingServiceUnavailable) IsCode ¶
func (o *GetCompetitivePricingServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get competitive pricing service unavailable response a status code equal to that given
func (*GetCompetitivePricingServiceUnavailable) IsRedirect ¶
func (o *GetCompetitivePricingServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get competitive pricing service unavailable response has a 3xx status code
func (*GetCompetitivePricingServiceUnavailable) IsServerError ¶
func (o *GetCompetitivePricingServiceUnavailable) IsServerError() bool
IsServerError returns true when this get competitive pricing service unavailable response has a 5xx status code
func (*GetCompetitivePricingServiceUnavailable) IsSuccess ¶
func (o *GetCompetitivePricingServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get competitive pricing service unavailable response has a 2xx status code
func (*GetCompetitivePricingServiceUnavailable) String ¶
func (o *GetCompetitivePricingServiceUnavailable) String() string
type GetCompetitivePricingTooManyRequests ¶
type GetCompetitivePricingTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetPricingResponse }
GetCompetitivePricingTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetCompetitivePricingTooManyRequests ¶
func NewGetCompetitivePricingTooManyRequests() *GetCompetitivePricingTooManyRequests
NewGetCompetitivePricingTooManyRequests creates a GetCompetitivePricingTooManyRequests with default headers values
func (*GetCompetitivePricingTooManyRequests) Error ¶
func (o *GetCompetitivePricingTooManyRequests) Error() string
func (*GetCompetitivePricingTooManyRequests) GetPayload ¶
func (o *GetCompetitivePricingTooManyRequests) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetCompetitivePricingTooManyRequests) IsClientError ¶
func (o *GetCompetitivePricingTooManyRequests) IsClientError() bool
IsClientError returns true when this get competitive pricing too many requests response has a 4xx status code
func (*GetCompetitivePricingTooManyRequests) IsCode ¶
func (o *GetCompetitivePricingTooManyRequests) IsCode(code int) bool
IsCode returns true when this get competitive pricing too many requests response a status code equal to that given
func (*GetCompetitivePricingTooManyRequests) IsRedirect ¶
func (o *GetCompetitivePricingTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get competitive pricing too many requests response has a 3xx status code
func (*GetCompetitivePricingTooManyRequests) IsServerError ¶
func (o *GetCompetitivePricingTooManyRequests) IsServerError() bool
IsServerError returns true when this get competitive pricing too many requests response has a 5xx status code
func (*GetCompetitivePricingTooManyRequests) IsSuccess ¶
func (o *GetCompetitivePricingTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get competitive pricing too many requests response has a 2xx status code
func (*GetCompetitivePricingTooManyRequests) String ¶
func (o *GetCompetitivePricingTooManyRequests) String() string
type GetCompetitivePricingUnauthorized ¶
GetCompetitivePricingUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetCompetitivePricingUnauthorized ¶
func NewGetCompetitivePricingUnauthorized() *GetCompetitivePricingUnauthorized
NewGetCompetitivePricingUnauthorized creates a GetCompetitivePricingUnauthorized with default headers values
func (*GetCompetitivePricingUnauthorized) Error ¶
func (o *GetCompetitivePricingUnauthorized) Error() string
func (*GetCompetitivePricingUnauthorized) GetPayload ¶
func (o *GetCompetitivePricingUnauthorized) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetCompetitivePricingUnauthorized) IsClientError ¶
func (o *GetCompetitivePricingUnauthorized) IsClientError() bool
IsClientError returns true when this get competitive pricing unauthorized response has a 4xx status code
func (*GetCompetitivePricingUnauthorized) IsCode ¶
func (o *GetCompetitivePricingUnauthorized) IsCode(code int) bool
IsCode returns true when this get competitive pricing unauthorized response a status code equal to that given
func (*GetCompetitivePricingUnauthorized) IsRedirect ¶
func (o *GetCompetitivePricingUnauthorized) IsRedirect() bool
IsRedirect returns true when this get competitive pricing unauthorized response has a 3xx status code
func (*GetCompetitivePricingUnauthorized) IsServerError ¶
func (o *GetCompetitivePricingUnauthorized) IsServerError() bool
IsServerError returns true when this get competitive pricing unauthorized response has a 5xx status code
func (*GetCompetitivePricingUnauthorized) IsSuccess ¶
func (o *GetCompetitivePricingUnauthorized) IsSuccess() bool
IsSuccess returns true when this get competitive pricing unauthorized response has a 2xx status code
func (*GetCompetitivePricingUnauthorized) String ¶
func (o *GetCompetitivePricingUnauthorized) String() string
type GetItemOffersBadRequest ¶
type GetItemOffersBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetOffersResponse }
GetItemOffersBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetItemOffersBadRequest ¶
func NewGetItemOffersBadRequest() *GetItemOffersBadRequest
NewGetItemOffersBadRequest creates a GetItemOffersBadRequest with default headers values
func (*GetItemOffersBadRequest) Error ¶
func (o *GetItemOffersBadRequest) Error() string
func (*GetItemOffersBadRequest) GetPayload ¶
func (o *GetItemOffersBadRequest) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetItemOffersBadRequest) IsClientError ¶
func (o *GetItemOffersBadRequest) IsClientError() bool
IsClientError returns true when this get item offers bad request response has a 4xx status code
func (*GetItemOffersBadRequest) IsCode ¶
func (o *GetItemOffersBadRequest) IsCode(code int) bool
IsCode returns true when this get item offers bad request response a status code equal to that given
func (*GetItemOffersBadRequest) IsRedirect ¶
func (o *GetItemOffersBadRequest) IsRedirect() bool
IsRedirect returns true when this get item offers bad request response has a 3xx status code
func (*GetItemOffersBadRequest) IsServerError ¶
func (o *GetItemOffersBadRequest) IsServerError() bool
IsServerError returns true when this get item offers bad request response has a 5xx status code
func (*GetItemOffersBadRequest) IsSuccess ¶
func (o *GetItemOffersBadRequest) IsSuccess() bool
IsSuccess returns true when this get item offers bad request response has a 2xx status code
func (*GetItemOffersBadRequest) String ¶
func (o *GetItemOffersBadRequest) String() string
type GetItemOffersBatchBadRequest ¶
type GetItemOffersBatchBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.Errors }
GetItemOffersBatchBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetItemOffersBatchBadRequest ¶
func NewGetItemOffersBatchBadRequest() *GetItemOffersBatchBadRequest
NewGetItemOffersBatchBadRequest creates a GetItemOffersBatchBadRequest with default headers values
func (*GetItemOffersBatchBadRequest) Error ¶
func (o *GetItemOffersBatchBadRequest) Error() string
func (*GetItemOffersBatchBadRequest) GetPayload ¶
func (o *GetItemOffersBatchBadRequest) GetPayload() *product_pricing_v0_models.Errors
func (*GetItemOffersBatchBadRequest) IsClientError ¶
func (o *GetItemOffersBatchBadRequest) IsClientError() bool
IsClientError returns true when this get item offers batch bad request response has a 4xx status code
func (*GetItemOffersBatchBadRequest) IsCode ¶
func (o *GetItemOffersBatchBadRequest) IsCode(code int) bool
IsCode returns true when this get item offers batch bad request response a status code equal to that given
func (*GetItemOffersBatchBadRequest) IsRedirect ¶
func (o *GetItemOffersBatchBadRequest) IsRedirect() bool
IsRedirect returns true when this get item offers batch bad request response has a 3xx status code
func (*GetItemOffersBatchBadRequest) IsServerError ¶
func (o *GetItemOffersBatchBadRequest) IsServerError() bool
IsServerError returns true when this get item offers batch bad request response has a 5xx status code
func (*GetItemOffersBatchBadRequest) IsSuccess ¶
func (o *GetItemOffersBatchBadRequest) IsSuccess() bool
IsSuccess returns true when this get item offers batch bad request response has a 2xx status code
func (*GetItemOffersBatchBadRequest) String ¶
func (o *GetItemOffersBatchBadRequest) String() string
type GetItemOffersBatchForbidden ¶
type GetItemOffersBatchForbidden struct { /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.Errors }
GetItemOffersBatchForbidden describes a response with status code 403, with default header values.
Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetItemOffersBatchForbidden ¶
func NewGetItemOffersBatchForbidden() *GetItemOffersBatchForbidden
NewGetItemOffersBatchForbidden creates a GetItemOffersBatchForbidden with default headers values
func (*GetItemOffersBatchForbidden) Error ¶
func (o *GetItemOffersBatchForbidden) Error() string
func (*GetItemOffersBatchForbidden) GetPayload ¶
func (o *GetItemOffersBatchForbidden) GetPayload() *product_pricing_v0_models.Errors
func (*GetItemOffersBatchForbidden) IsClientError ¶
func (o *GetItemOffersBatchForbidden) IsClientError() bool
IsClientError returns true when this get item offers batch forbidden response has a 4xx status code
func (*GetItemOffersBatchForbidden) IsCode ¶
func (o *GetItemOffersBatchForbidden) IsCode(code int) bool
IsCode returns true when this get item offers batch forbidden response a status code equal to that given
func (*GetItemOffersBatchForbidden) IsRedirect ¶
func (o *GetItemOffersBatchForbidden) IsRedirect() bool
IsRedirect returns true when this get item offers batch forbidden response has a 3xx status code
func (*GetItemOffersBatchForbidden) IsServerError ¶
func (o *GetItemOffersBatchForbidden) IsServerError() bool
IsServerError returns true when this get item offers batch forbidden response has a 5xx status code
func (*GetItemOffersBatchForbidden) IsSuccess ¶
func (o *GetItemOffersBatchForbidden) IsSuccess() bool
IsSuccess returns true when this get item offers batch forbidden response has a 2xx status code
func (*GetItemOffersBatchForbidden) String ¶
func (o *GetItemOffersBatchForbidden) String() string
type GetItemOffersBatchInternalServerError ¶
type GetItemOffersBatchInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.Errors }
GetItemOffersBatchInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetItemOffersBatchInternalServerError ¶
func NewGetItemOffersBatchInternalServerError() *GetItemOffersBatchInternalServerError
NewGetItemOffersBatchInternalServerError creates a GetItemOffersBatchInternalServerError with default headers values
func (*GetItemOffersBatchInternalServerError) Error ¶
func (o *GetItemOffersBatchInternalServerError) Error() string
func (*GetItemOffersBatchInternalServerError) GetPayload ¶
func (o *GetItemOffersBatchInternalServerError) GetPayload() *product_pricing_v0_models.Errors
func (*GetItemOffersBatchInternalServerError) IsClientError ¶
func (o *GetItemOffersBatchInternalServerError) IsClientError() bool
IsClientError returns true when this get item offers batch internal server error response has a 4xx status code
func (*GetItemOffersBatchInternalServerError) IsCode ¶
func (o *GetItemOffersBatchInternalServerError) IsCode(code int) bool
IsCode returns true when this get item offers batch internal server error response a status code equal to that given
func (*GetItemOffersBatchInternalServerError) IsRedirect ¶
func (o *GetItemOffersBatchInternalServerError) IsRedirect() bool
IsRedirect returns true when this get item offers batch internal server error response has a 3xx status code
func (*GetItemOffersBatchInternalServerError) IsServerError ¶
func (o *GetItemOffersBatchInternalServerError) IsServerError() bool
IsServerError returns true when this get item offers batch internal server error response has a 5xx status code
func (*GetItemOffersBatchInternalServerError) IsSuccess ¶
func (o *GetItemOffersBatchInternalServerError) IsSuccess() bool
IsSuccess returns true when this get item offers batch internal server error response has a 2xx status code
func (*GetItemOffersBatchInternalServerError) String ¶
func (o *GetItemOffersBatchInternalServerError) String() string
type GetItemOffersBatchNotFound ¶
type GetItemOffersBatchNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.Errors }
GetItemOffersBatchNotFound describes a response with status code 404, with default header values.
The specified resource does not exist.
func NewGetItemOffersBatchNotFound ¶
func NewGetItemOffersBatchNotFound() *GetItemOffersBatchNotFound
NewGetItemOffersBatchNotFound creates a GetItemOffersBatchNotFound with default headers values
func (*GetItemOffersBatchNotFound) Error ¶
func (o *GetItemOffersBatchNotFound) Error() string
func (*GetItemOffersBatchNotFound) GetPayload ¶
func (o *GetItemOffersBatchNotFound) GetPayload() *product_pricing_v0_models.Errors
func (*GetItemOffersBatchNotFound) IsClientError ¶
func (o *GetItemOffersBatchNotFound) IsClientError() bool
IsClientError returns true when this get item offers batch not found response has a 4xx status code
func (*GetItemOffersBatchNotFound) IsCode ¶
func (o *GetItemOffersBatchNotFound) IsCode(code int) bool
IsCode returns true when this get item offers batch not found response a status code equal to that given
func (*GetItemOffersBatchNotFound) IsRedirect ¶
func (o *GetItemOffersBatchNotFound) IsRedirect() bool
IsRedirect returns true when this get item offers batch not found response has a 3xx status code
func (*GetItemOffersBatchNotFound) IsServerError ¶
func (o *GetItemOffersBatchNotFound) IsServerError() bool
IsServerError returns true when this get item offers batch not found response has a 5xx status code
func (*GetItemOffersBatchNotFound) IsSuccess ¶
func (o *GetItemOffersBatchNotFound) IsSuccess() bool
IsSuccess returns true when this get item offers batch not found response has a 2xx status code
func (*GetItemOffersBatchNotFound) String ¶
func (o *GetItemOffersBatchNotFound) String() string
type GetItemOffersBatchOK ¶
type GetItemOffersBatchOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetItemOffersBatchResponse }
GetItemOffersBatchOK describes a response with status code 200, with default header values.
Indicates that requests were run in batch. Check the batch response status lines for information on whether a batch request succeeded.
func NewGetItemOffersBatchOK ¶
func NewGetItemOffersBatchOK() *GetItemOffersBatchOK
NewGetItemOffersBatchOK creates a GetItemOffersBatchOK with default headers values
func (*GetItemOffersBatchOK) Error ¶
func (o *GetItemOffersBatchOK) Error() string
func (*GetItemOffersBatchOK) GetPayload ¶
func (o *GetItemOffersBatchOK) GetPayload() *product_pricing_v0_models.GetItemOffersBatchResponse
func (*GetItemOffersBatchOK) IsClientError ¶
func (o *GetItemOffersBatchOK) IsClientError() bool
IsClientError returns true when this get item offers batch o k response has a 4xx status code
func (*GetItemOffersBatchOK) IsCode ¶
func (o *GetItemOffersBatchOK) IsCode(code int) bool
IsCode returns true when this get item offers batch o k response a status code equal to that given
func (*GetItemOffersBatchOK) IsRedirect ¶
func (o *GetItemOffersBatchOK) IsRedirect() bool
IsRedirect returns true when this get item offers batch o k response has a 3xx status code
func (*GetItemOffersBatchOK) IsServerError ¶
func (o *GetItemOffersBatchOK) IsServerError() bool
IsServerError returns true when this get item offers batch o k response has a 5xx status code
func (*GetItemOffersBatchOK) IsSuccess ¶
func (o *GetItemOffersBatchOK) IsSuccess() bool
IsSuccess returns true when this get item offers batch o k response has a 2xx status code
func (*GetItemOffersBatchOK) String ¶
func (o *GetItemOffersBatchOK) String() string
type GetItemOffersBatchParams ¶
type GetItemOffersBatchParams struct { // GetItemOffersBatchRequestBody. GetItemOffersBatchRequestBody *product_pricing_v0_models.GetItemOffersBatchRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetItemOffersBatchParams contains all the parameters to send to the API endpoint
for the get item offers batch operation. Typically these are written to a http.Request.
func NewGetItemOffersBatchParams ¶
func NewGetItemOffersBatchParams() *GetItemOffersBatchParams
NewGetItemOffersBatchParams creates a new GetItemOffersBatchParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetItemOffersBatchParamsWithContext ¶
func NewGetItemOffersBatchParamsWithContext(ctx context.Context) *GetItemOffersBatchParams
NewGetItemOffersBatchParamsWithContext creates a new GetItemOffersBatchParams object with the ability to set a context for a request.
func NewGetItemOffersBatchParamsWithHTTPClient ¶
func NewGetItemOffersBatchParamsWithHTTPClient(client *http.Client) *GetItemOffersBatchParams
NewGetItemOffersBatchParamsWithHTTPClient creates a new GetItemOffersBatchParams object with the ability to set a custom HTTPClient for a request.
func NewGetItemOffersBatchParamsWithTimeout ¶
func NewGetItemOffersBatchParamsWithTimeout(timeout time.Duration) *GetItemOffersBatchParams
NewGetItemOffersBatchParamsWithTimeout creates a new GetItemOffersBatchParams object with the ability to set a timeout on a request.
func (*GetItemOffersBatchParams) SetContext ¶
func (o *GetItemOffersBatchParams) SetContext(ctx context.Context)
SetContext adds the context to the get item offers batch params
func (*GetItemOffersBatchParams) SetDefaults ¶
func (o *GetItemOffersBatchParams) SetDefaults()
SetDefaults hydrates default values in the get item offers batch params (not the query body).
All values with no default are reset to their zero value.
func (*GetItemOffersBatchParams) SetGetItemOffersBatchRequestBody ¶
func (o *GetItemOffersBatchParams) SetGetItemOffersBatchRequestBody(getItemOffersBatchRequestBody *product_pricing_v0_models.GetItemOffersBatchRequest)
SetGetItemOffersBatchRequestBody adds the getItemOffersBatchRequestBody to the get item offers batch params
func (*GetItemOffersBatchParams) SetHTTPClient ¶
func (o *GetItemOffersBatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get item offers batch params
func (*GetItemOffersBatchParams) SetTimeout ¶
func (o *GetItemOffersBatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get item offers batch params
func (*GetItemOffersBatchParams) WithContext ¶
func (o *GetItemOffersBatchParams) WithContext(ctx context.Context) *GetItemOffersBatchParams
WithContext adds the context to the get item offers batch params
func (*GetItemOffersBatchParams) WithDefaults ¶
func (o *GetItemOffersBatchParams) WithDefaults() *GetItemOffersBatchParams
WithDefaults hydrates default values in the get item offers batch params (not the query body).
All values with no default are reset to their zero value.
func (*GetItemOffersBatchParams) WithGetItemOffersBatchRequestBody ¶
func (o *GetItemOffersBatchParams) WithGetItemOffersBatchRequestBody(getItemOffersBatchRequestBody *product_pricing_v0_models.GetItemOffersBatchRequest) *GetItemOffersBatchParams
WithGetItemOffersBatchRequestBody adds the getItemOffersBatchRequestBody to the get item offers batch params
func (*GetItemOffersBatchParams) WithHTTPClient ¶
func (o *GetItemOffersBatchParams) WithHTTPClient(client *http.Client) *GetItemOffersBatchParams
WithHTTPClient adds the HTTPClient to the get item offers batch params
func (*GetItemOffersBatchParams) WithTimeout ¶
func (o *GetItemOffersBatchParams) WithTimeout(timeout time.Duration) *GetItemOffersBatchParams
WithTimeout adds the timeout to the get item offers batch params
func (*GetItemOffersBatchParams) WriteToRequest ¶
func (o *GetItemOffersBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetItemOffersBatchReader ¶
type GetItemOffersBatchReader struct {
// contains filtered or unexported fields
}
GetItemOffersBatchReader is a Reader for the GetItemOffersBatch structure.
func (*GetItemOffersBatchReader) ReadResponse ¶
func (o *GetItemOffersBatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetItemOffersBatchServiceUnavailable ¶
type GetItemOffersBatchServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetItemOffersBatchServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetItemOffersBatchServiceUnavailable ¶
func NewGetItemOffersBatchServiceUnavailable() *GetItemOffersBatchServiceUnavailable
NewGetItemOffersBatchServiceUnavailable creates a GetItemOffersBatchServiceUnavailable with default headers values
func (*GetItemOffersBatchServiceUnavailable) Error ¶
func (o *GetItemOffersBatchServiceUnavailable) Error() string
func (*GetItemOffersBatchServiceUnavailable) GetPayload ¶
func (o *GetItemOffersBatchServiceUnavailable) GetPayload() *product_pricing_v0_models.Errors
func (*GetItemOffersBatchServiceUnavailable) IsClientError ¶
func (o *GetItemOffersBatchServiceUnavailable) IsClientError() bool
IsClientError returns true when this get item offers batch service unavailable response has a 4xx status code
func (*GetItemOffersBatchServiceUnavailable) IsCode ¶
func (o *GetItemOffersBatchServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get item offers batch service unavailable response a status code equal to that given
func (*GetItemOffersBatchServiceUnavailable) IsRedirect ¶
func (o *GetItemOffersBatchServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get item offers batch service unavailable response has a 3xx status code
func (*GetItemOffersBatchServiceUnavailable) IsServerError ¶
func (o *GetItemOffersBatchServiceUnavailable) IsServerError() bool
IsServerError returns true when this get item offers batch service unavailable response has a 5xx status code
func (*GetItemOffersBatchServiceUnavailable) IsSuccess ¶
func (o *GetItemOffersBatchServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get item offers batch service unavailable response has a 2xx status code
func (*GetItemOffersBatchServiceUnavailable) String ¶
func (o *GetItemOffersBatchServiceUnavailable) String() string
type GetItemOffersBatchTooManyRequests ¶
type GetItemOffersBatchTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.Errors }
GetItemOffersBatchTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetItemOffersBatchTooManyRequests ¶
func NewGetItemOffersBatchTooManyRequests() *GetItemOffersBatchTooManyRequests
NewGetItemOffersBatchTooManyRequests creates a GetItemOffersBatchTooManyRequests with default headers values
func (*GetItemOffersBatchTooManyRequests) Error ¶
func (o *GetItemOffersBatchTooManyRequests) Error() string
func (*GetItemOffersBatchTooManyRequests) GetPayload ¶
func (o *GetItemOffersBatchTooManyRequests) GetPayload() *product_pricing_v0_models.Errors
func (*GetItemOffersBatchTooManyRequests) IsClientError ¶
func (o *GetItemOffersBatchTooManyRequests) IsClientError() bool
IsClientError returns true when this get item offers batch too many requests response has a 4xx status code
func (*GetItemOffersBatchTooManyRequests) IsCode ¶
func (o *GetItemOffersBatchTooManyRequests) IsCode(code int) bool
IsCode returns true when this get item offers batch too many requests response a status code equal to that given
func (*GetItemOffersBatchTooManyRequests) IsRedirect ¶
func (o *GetItemOffersBatchTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get item offers batch too many requests response has a 3xx status code
func (*GetItemOffersBatchTooManyRequests) IsServerError ¶
func (o *GetItemOffersBatchTooManyRequests) IsServerError() bool
IsServerError returns true when this get item offers batch too many requests response has a 5xx status code
func (*GetItemOffersBatchTooManyRequests) IsSuccess ¶
func (o *GetItemOffersBatchTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get item offers batch too many requests response has a 2xx status code
func (*GetItemOffersBatchTooManyRequests) String ¶
func (o *GetItemOffersBatchTooManyRequests) String() string
type GetItemOffersBatchUnauthorized ¶
GetItemOffersBatchUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetItemOffersBatchUnauthorized ¶
func NewGetItemOffersBatchUnauthorized() *GetItemOffersBatchUnauthorized
NewGetItemOffersBatchUnauthorized creates a GetItemOffersBatchUnauthorized with default headers values
func (*GetItemOffersBatchUnauthorized) Error ¶
func (o *GetItemOffersBatchUnauthorized) Error() string
func (*GetItemOffersBatchUnauthorized) GetPayload ¶
func (o *GetItemOffersBatchUnauthorized) GetPayload() *product_pricing_v0_models.Errors
func (*GetItemOffersBatchUnauthorized) IsClientError ¶
func (o *GetItemOffersBatchUnauthorized) IsClientError() bool
IsClientError returns true when this get item offers batch unauthorized response has a 4xx status code
func (*GetItemOffersBatchUnauthorized) IsCode ¶
func (o *GetItemOffersBatchUnauthorized) IsCode(code int) bool
IsCode returns true when this get item offers batch unauthorized response a status code equal to that given
func (*GetItemOffersBatchUnauthorized) IsRedirect ¶
func (o *GetItemOffersBatchUnauthorized) IsRedirect() bool
IsRedirect returns true when this get item offers batch unauthorized response has a 3xx status code
func (*GetItemOffersBatchUnauthorized) IsServerError ¶
func (o *GetItemOffersBatchUnauthorized) IsServerError() bool
IsServerError returns true when this get item offers batch unauthorized response has a 5xx status code
func (*GetItemOffersBatchUnauthorized) IsSuccess ¶
func (o *GetItemOffersBatchUnauthorized) IsSuccess() bool
IsSuccess returns true when this get item offers batch unauthorized response has a 2xx status code
func (*GetItemOffersBatchUnauthorized) String ¶
func (o *GetItemOffersBatchUnauthorized) String() string
type GetItemOffersForbidden ¶
type GetItemOffersForbidden struct { /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetOffersResponse }
GetItemOffersForbidden describes a response with status code 403, with default header values.
Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetItemOffersForbidden ¶
func NewGetItemOffersForbidden() *GetItemOffersForbidden
NewGetItemOffersForbidden creates a GetItemOffersForbidden with default headers values
func (*GetItemOffersForbidden) Error ¶
func (o *GetItemOffersForbidden) Error() string
func (*GetItemOffersForbidden) GetPayload ¶
func (o *GetItemOffersForbidden) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetItemOffersForbidden) IsClientError ¶
func (o *GetItemOffersForbidden) IsClientError() bool
IsClientError returns true when this get item offers forbidden response has a 4xx status code
func (*GetItemOffersForbidden) IsCode ¶
func (o *GetItemOffersForbidden) IsCode(code int) bool
IsCode returns true when this get item offers forbidden response a status code equal to that given
func (*GetItemOffersForbidden) IsRedirect ¶
func (o *GetItemOffersForbidden) IsRedirect() bool
IsRedirect returns true when this get item offers forbidden response has a 3xx status code
func (*GetItemOffersForbidden) IsServerError ¶
func (o *GetItemOffersForbidden) IsServerError() bool
IsServerError returns true when this get item offers forbidden response has a 5xx status code
func (*GetItemOffersForbidden) IsSuccess ¶
func (o *GetItemOffersForbidden) IsSuccess() bool
IsSuccess returns true when this get item offers forbidden response has a 2xx status code
func (*GetItemOffersForbidden) String ¶
func (o *GetItemOffersForbidden) String() string
type GetItemOffersInternalServerError ¶
type GetItemOffersInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetOffersResponse }
GetItemOffersInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetItemOffersInternalServerError ¶
func NewGetItemOffersInternalServerError() *GetItemOffersInternalServerError
NewGetItemOffersInternalServerError creates a GetItemOffersInternalServerError with default headers values
func (*GetItemOffersInternalServerError) Error ¶
func (o *GetItemOffersInternalServerError) Error() string
func (*GetItemOffersInternalServerError) GetPayload ¶
func (o *GetItemOffersInternalServerError) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetItemOffersInternalServerError) IsClientError ¶
func (o *GetItemOffersInternalServerError) IsClientError() bool
IsClientError returns true when this get item offers internal server error response has a 4xx status code
func (*GetItemOffersInternalServerError) IsCode ¶
func (o *GetItemOffersInternalServerError) IsCode(code int) bool
IsCode returns true when this get item offers internal server error response a status code equal to that given
func (*GetItemOffersInternalServerError) IsRedirect ¶
func (o *GetItemOffersInternalServerError) IsRedirect() bool
IsRedirect returns true when this get item offers internal server error response has a 3xx status code
func (*GetItemOffersInternalServerError) IsServerError ¶
func (o *GetItemOffersInternalServerError) IsServerError() bool
IsServerError returns true when this get item offers internal server error response has a 5xx status code
func (*GetItemOffersInternalServerError) IsSuccess ¶
func (o *GetItemOffersInternalServerError) IsSuccess() bool
IsSuccess returns true when this get item offers internal server error response has a 2xx status code
func (*GetItemOffersInternalServerError) String ¶
func (o *GetItemOffersInternalServerError) String() string
type GetItemOffersNotFound ¶
type GetItemOffersNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetOffersResponse }
GetItemOffersNotFound describes a response with status code 404, with default header values.
The specified resource does not exist.
func NewGetItemOffersNotFound ¶
func NewGetItemOffersNotFound() *GetItemOffersNotFound
NewGetItemOffersNotFound creates a GetItemOffersNotFound with default headers values
func (*GetItemOffersNotFound) Error ¶
func (o *GetItemOffersNotFound) Error() string
func (*GetItemOffersNotFound) GetPayload ¶
func (o *GetItemOffersNotFound) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetItemOffersNotFound) IsClientError ¶
func (o *GetItemOffersNotFound) IsClientError() bool
IsClientError returns true when this get item offers not found response has a 4xx status code
func (*GetItemOffersNotFound) IsCode ¶
func (o *GetItemOffersNotFound) IsCode(code int) bool
IsCode returns true when this get item offers not found response a status code equal to that given
func (*GetItemOffersNotFound) IsRedirect ¶
func (o *GetItemOffersNotFound) IsRedirect() bool
IsRedirect returns true when this get item offers not found response has a 3xx status code
func (*GetItemOffersNotFound) IsServerError ¶
func (o *GetItemOffersNotFound) IsServerError() bool
IsServerError returns true when this get item offers not found response has a 5xx status code
func (*GetItemOffersNotFound) IsSuccess ¶
func (o *GetItemOffersNotFound) IsSuccess() bool
IsSuccess returns true when this get item offers not found response has a 2xx status code
func (*GetItemOffersNotFound) String ¶
func (o *GetItemOffersNotFound) String() string
type GetItemOffersOK ¶
type GetItemOffersOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetOffersResponse }
GetItemOffersOK describes a response with status code 200, with default header values.
Success.
func NewGetItemOffersOK ¶
func NewGetItemOffersOK() *GetItemOffersOK
NewGetItemOffersOK creates a GetItemOffersOK with default headers values
func (*GetItemOffersOK) Error ¶
func (o *GetItemOffersOK) Error() string
func (*GetItemOffersOK) GetPayload ¶
func (o *GetItemOffersOK) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetItemOffersOK) IsClientError ¶
func (o *GetItemOffersOK) IsClientError() bool
IsClientError returns true when this get item offers o k response has a 4xx status code
func (*GetItemOffersOK) IsCode ¶
func (o *GetItemOffersOK) IsCode(code int) bool
IsCode returns true when this get item offers o k response a status code equal to that given
func (*GetItemOffersOK) IsRedirect ¶
func (o *GetItemOffersOK) IsRedirect() bool
IsRedirect returns true when this get item offers o k response has a 3xx status code
func (*GetItemOffersOK) IsServerError ¶
func (o *GetItemOffersOK) IsServerError() bool
IsServerError returns true when this get item offers o k response has a 5xx status code
func (*GetItemOffersOK) IsSuccess ¶
func (o *GetItemOffersOK) IsSuccess() bool
IsSuccess returns true when this get item offers o k response has a 2xx status code
func (*GetItemOffersOK) String ¶
func (o *GetItemOffersOK) String() string
type GetItemOffersParams ¶
type GetItemOffersParams struct { /* Asin. The Amazon Standard Identification Number (ASIN) of the item. */ Asin string /* CustomerType. Indicates whether to request Consumer or Business offers. Default is Consumer. */ CustomerType *string /* ItemCondition. Filters the offer listings to be considered based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. */ ItemCondition string /* MarketplaceID. A marketplace identifier. Specifies the marketplace for which prices are returned. */ MarketplaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetItemOffersParams contains all the parameters to send to the API endpoint
for the get item offers operation. Typically these are written to a http.Request.
func NewGetItemOffersParams ¶
func NewGetItemOffersParams() *GetItemOffersParams
NewGetItemOffersParams creates a new GetItemOffersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetItemOffersParamsWithContext ¶
func NewGetItemOffersParamsWithContext(ctx context.Context) *GetItemOffersParams
NewGetItemOffersParamsWithContext creates a new GetItemOffersParams object with the ability to set a context for a request.
func NewGetItemOffersParamsWithHTTPClient ¶
func NewGetItemOffersParamsWithHTTPClient(client *http.Client) *GetItemOffersParams
NewGetItemOffersParamsWithHTTPClient creates a new GetItemOffersParams object with the ability to set a custom HTTPClient for a request.
func NewGetItemOffersParamsWithTimeout ¶
func NewGetItemOffersParamsWithTimeout(timeout time.Duration) *GetItemOffersParams
NewGetItemOffersParamsWithTimeout creates a new GetItemOffersParams object with the ability to set a timeout on a request.
func (*GetItemOffersParams) SetAsin ¶
func (o *GetItemOffersParams) SetAsin(asin string)
SetAsin adds the asin to the get item offers params
func (*GetItemOffersParams) SetContext ¶
func (o *GetItemOffersParams) SetContext(ctx context.Context)
SetContext adds the context to the get item offers params
func (*GetItemOffersParams) SetCustomerType ¶
func (o *GetItemOffersParams) SetCustomerType(customerType *string)
SetCustomerType adds the customerType to the get item offers params
func (*GetItemOffersParams) SetDefaults ¶
func (o *GetItemOffersParams) SetDefaults()
SetDefaults hydrates default values in the get item offers params (not the query body).
All values with no default are reset to their zero value.
func (*GetItemOffersParams) SetHTTPClient ¶
func (o *GetItemOffersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get item offers params
func (*GetItemOffersParams) SetItemCondition ¶
func (o *GetItemOffersParams) SetItemCondition(itemCondition string)
SetItemCondition adds the itemCondition to the get item offers params
func (*GetItemOffersParams) SetMarketplaceID ¶
func (o *GetItemOffersParams) SetMarketplaceID(marketplaceID string)
SetMarketplaceID adds the marketplaceId to the get item offers params
func (*GetItemOffersParams) SetTimeout ¶
func (o *GetItemOffersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get item offers params
func (*GetItemOffersParams) WithAsin ¶
func (o *GetItemOffersParams) WithAsin(asin string) *GetItemOffersParams
WithAsin adds the asin to the get item offers params
func (*GetItemOffersParams) WithContext ¶
func (o *GetItemOffersParams) WithContext(ctx context.Context) *GetItemOffersParams
WithContext adds the context to the get item offers params
func (*GetItemOffersParams) WithCustomerType ¶
func (o *GetItemOffersParams) WithCustomerType(customerType *string) *GetItemOffersParams
WithCustomerType adds the customerType to the get item offers params
func (*GetItemOffersParams) WithDefaults ¶
func (o *GetItemOffersParams) WithDefaults() *GetItemOffersParams
WithDefaults hydrates default values in the get item offers params (not the query body).
All values with no default are reset to their zero value.
func (*GetItemOffersParams) WithHTTPClient ¶
func (o *GetItemOffersParams) WithHTTPClient(client *http.Client) *GetItemOffersParams
WithHTTPClient adds the HTTPClient to the get item offers params
func (*GetItemOffersParams) WithItemCondition ¶
func (o *GetItemOffersParams) WithItemCondition(itemCondition string) *GetItemOffersParams
WithItemCondition adds the itemCondition to the get item offers params
func (*GetItemOffersParams) WithMarketplaceID ¶
func (o *GetItemOffersParams) WithMarketplaceID(marketplaceID string) *GetItemOffersParams
WithMarketplaceID adds the marketplaceID to the get item offers params
func (*GetItemOffersParams) WithTimeout ¶
func (o *GetItemOffersParams) WithTimeout(timeout time.Duration) *GetItemOffersParams
WithTimeout adds the timeout to the get item offers params
func (*GetItemOffersParams) WriteToRequest ¶
func (o *GetItemOffersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetItemOffersReader ¶
type GetItemOffersReader struct {
// contains filtered or unexported fields
}
GetItemOffersReader is a Reader for the GetItemOffers structure.
func (*GetItemOffersReader) ReadResponse ¶
func (o *GetItemOffersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetItemOffersServiceUnavailable ¶
GetItemOffersServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetItemOffersServiceUnavailable ¶
func NewGetItemOffersServiceUnavailable() *GetItemOffersServiceUnavailable
NewGetItemOffersServiceUnavailable creates a GetItemOffersServiceUnavailable with default headers values
func (*GetItemOffersServiceUnavailable) Error ¶
func (o *GetItemOffersServiceUnavailable) Error() string
func (*GetItemOffersServiceUnavailable) GetPayload ¶
func (o *GetItemOffersServiceUnavailable) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetItemOffersServiceUnavailable) IsClientError ¶
func (o *GetItemOffersServiceUnavailable) IsClientError() bool
IsClientError returns true when this get item offers service unavailable response has a 4xx status code
func (*GetItemOffersServiceUnavailable) IsCode ¶
func (o *GetItemOffersServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get item offers service unavailable response a status code equal to that given
func (*GetItemOffersServiceUnavailable) IsRedirect ¶
func (o *GetItemOffersServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get item offers service unavailable response has a 3xx status code
func (*GetItemOffersServiceUnavailable) IsServerError ¶
func (o *GetItemOffersServiceUnavailable) IsServerError() bool
IsServerError returns true when this get item offers service unavailable response has a 5xx status code
func (*GetItemOffersServiceUnavailable) IsSuccess ¶
func (o *GetItemOffersServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get item offers service unavailable response has a 2xx status code
func (*GetItemOffersServiceUnavailable) String ¶
func (o *GetItemOffersServiceUnavailable) String() string
type GetItemOffersTooManyRequests ¶
type GetItemOffersTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetOffersResponse }
GetItemOffersTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetItemOffersTooManyRequests ¶
func NewGetItemOffersTooManyRequests() *GetItemOffersTooManyRequests
NewGetItemOffersTooManyRequests creates a GetItemOffersTooManyRequests with default headers values
func (*GetItemOffersTooManyRequests) Error ¶
func (o *GetItemOffersTooManyRequests) Error() string
func (*GetItemOffersTooManyRequests) GetPayload ¶
func (o *GetItemOffersTooManyRequests) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetItemOffersTooManyRequests) IsClientError ¶
func (o *GetItemOffersTooManyRequests) IsClientError() bool
IsClientError returns true when this get item offers too many requests response has a 4xx status code
func (*GetItemOffersTooManyRequests) IsCode ¶
func (o *GetItemOffersTooManyRequests) IsCode(code int) bool
IsCode returns true when this get item offers too many requests response a status code equal to that given
func (*GetItemOffersTooManyRequests) IsRedirect ¶
func (o *GetItemOffersTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get item offers too many requests response has a 3xx status code
func (*GetItemOffersTooManyRequests) IsServerError ¶
func (o *GetItemOffersTooManyRequests) IsServerError() bool
IsServerError returns true when this get item offers too many requests response has a 5xx status code
func (*GetItemOffersTooManyRequests) IsSuccess ¶
func (o *GetItemOffersTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get item offers too many requests response has a 2xx status code
func (*GetItemOffersTooManyRequests) String ¶
func (o *GetItemOffersTooManyRequests) String() string
type GetItemOffersUnauthorized ¶
GetItemOffersUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetItemOffersUnauthorized ¶
func NewGetItemOffersUnauthorized() *GetItemOffersUnauthorized
NewGetItemOffersUnauthorized creates a GetItemOffersUnauthorized with default headers values
func (*GetItemOffersUnauthorized) Error ¶
func (o *GetItemOffersUnauthorized) Error() string
func (*GetItemOffersUnauthorized) GetPayload ¶
func (o *GetItemOffersUnauthorized) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetItemOffersUnauthorized) IsClientError ¶
func (o *GetItemOffersUnauthorized) IsClientError() bool
IsClientError returns true when this get item offers unauthorized response has a 4xx status code
func (*GetItemOffersUnauthorized) IsCode ¶
func (o *GetItemOffersUnauthorized) IsCode(code int) bool
IsCode returns true when this get item offers unauthorized response a status code equal to that given
func (*GetItemOffersUnauthorized) IsRedirect ¶
func (o *GetItemOffersUnauthorized) IsRedirect() bool
IsRedirect returns true when this get item offers unauthorized response has a 3xx status code
func (*GetItemOffersUnauthorized) IsServerError ¶
func (o *GetItemOffersUnauthorized) IsServerError() bool
IsServerError returns true when this get item offers unauthorized response has a 5xx status code
func (*GetItemOffersUnauthorized) IsSuccess ¶
func (o *GetItemOffersUnauthorized) IsSuccess() bool
IsSuccess returns true when this get item offers unauthorized response has a 2xx status code
func (*GetItemOffersUnauthorized) String ¶
func (o *GetItemOffersUnauthorized) String() string
type GetListingOffersBadRequest ¶
type GetListingOffersBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetOffersResponse }
GetListingOffersBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetListingOffersBadRequest ¶
func NewGetListingOffersBadRequest() *GetListingOffersBadRequest
NewGetListingOffersBadRequest creates a GetListingOffersBadRequest with default headers values
func (*GetListingOffersBadRequest) Error ¶
func (o *GetListingOffersBadRequest) Error() string
func (*GetListingOffersBadRequest) GetPayload ¶
func (o *GetListingOffersBadRequest) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetListingOffersBadRequest) IsClientError ¶
func (o *GetListingOffersBadRequest) IsClientError() bool
IsClientError returns true when this get listing offers bad request response has a 4xx status code
func (*GetListingOffersBadRequest) IsCode ¶
func (o *GetListingOffersBadRequest) IsCode(code int) bool
IsCode returns true when this get listing offers bad request response a status code equal to that given
func (*GetListingOffersBadRequest) IsRedirect ¶
func (o *GetListingOffersBadRequest) IsRedirect() bool
IsRedirect returns true when this get listing offers bad request response has a 3xx status code
func (*GetListingOffersBadRequest) IsServerError ¶
func (o *GetListingOffersBadRequest) IsServerError() bool
IsServerError returns true when this get listing offers bad request response has a 5xx status code
func (*GetListingOffersBadRequest) IsSuccess ¶
func (o *GetListingOffersBadRequest) IsSuccess() bool
IsSuccess returns true when this get listing offers bad request response has a 2xx status code
func (*GetListingOffersBadRequest) String ¶
func (o *GetListingOffersBadRequest) String() string
type GetListingOffersBatchBadRequest ¶
type GetListingOffersBatchBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.Errors }
GetListingOffersBatchBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetListingOffersBatchBadRequest ¶
func NewGetListingOffersBatchBadRequest() *GetListingOffersBatchBadRequest
NewGetListingOffersBatchBadRequest creates a GetListingOffersBatchBadRequest with default headers values
func (*GetListingOffersBatchBadRequest) Error ¶
func (o *GetListingOffersBatchBadRequest) Error() string
func (*GetListingOffersBatchBadRequest) GetPayload ¶
func (o *GetListingOffersBatchBadRequest) GetPayload() *product_pricing_v0_models.Errors
func (*GetListingOffersBatchBadRequest) IsClientError ¶
func (o *GetListingOffersBatchBadRequest) IsClientError() bool
IsClientError returns true when this get listing offers batch bad request response has a 4xx status code
func (*GetListingOffersBatchBadRequest) IsCode ¶
func (o *GetListingOffersBatchBadRequest) IsCode(code int) bool
IsCode returns true when this get listing offers batch bad request response a status code equal to that given
func (*GetListingOffersBatchBadRequest) IsRedirect ¶
func (o *GetListingOffersBatchBadRequest) IsRedirect() bool
IsRedirect returns true when this get listing offers batch bad request response has a 3xx status code
func (*GetListingOffersBatchBadRequest) IsServerError ¶
func (o *GetListingOffersBatchBadRequest) IsServerError() bool
IsServerError returns true when this get listing offers batch bad request response has a 5xx status code
func (*GetListingOffersBatchBadRequest) IsSuccess ¶
func (o *GetListingOffersBatchBadRequest) IsSuccess() bool
IsSuccess returns true when this get listing offers batch bad request response has a 2xx status code
func (*GetListingOffersBatchBadRequest) String ¶
func (o *GetListingOffersBatchBadRequest) String() string
type GetListingOffersBatchForbidden ¶
type GetListingOffersBatchForbidden struct { /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.Errors }
GetListingOffersBatchForbidden describes a response with status code 403, with default header values.
Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetListingOffersBatchForbidden ¶
func NewGetListingOffersBatchForbidden() *GetListingOffersBatchForbidden
NewGetListingOffersBatchForbidden creates a GetListingOffersBatchForbidden with default headers values
func (*GetListingOffersBatchForbidden) Error ¶
func (o *GetListingOffersBatchForbidden) Error() string
func (*GetListingOffersBatchForbidden) GetPayload ¶
func (o *GetListingOffersBatchForbidden) GetPayload() *product_pricing_v0_models.Errors
func (*GetListingOffersBatchForbidden) IsClientError ¶
func (o *GetListingOffersBatchForbidden) IsClientError() bool
IsClientError returns true when this get listing offers batch forbidden response has a 4xx status code
func (*GetListingOffersBatchForbidden) IsCode ¶
func (o *GetListingOffersBatchForbidden) IsCode(code int) bool
IsCode returns true when this get listing offers batch forbidden response a status code equal to that given
func (*GetListingOffersBatchForbidden) IsRedirect ¶
func (o *GetListingOffersBatchForbidden) IsRedirect() bool
IsRedirect returns true when this get listing offers batch forbidden response has a 3xx status code
func (*GetListingOffersBatchForbidden) IsServerError ¶
func (o *GetListingOffersBatchForbidden) IsServerError() bool
IsServerError returns true when this get listing offers batch forbidden response has a 5xx status code
func (*GetListingOffersBatchForbidden) IsSuccess ¶
func (o *GetListingOffersBatchForbidden) IsSuccess() bool
IsSuccess returns true when this get listing offers batch forbidden response has a 2xx status code
func (*GetListingOffersBatchForbidden) String ¶
func (o *GetListingOffersBatchForbidden) String() string
type GetListingOffersBatchInternalServerError ¶
type GetListingOffersBatchInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.Errors }
GetListingOffersBatchInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetListingOffersBatchInternalServerError ¶
func NewGetListingOffersBatchInternalServerError() *GetListingOffersBatchInternalServerError
NewGetListingOffersBatchInternalServerError creates a GetListingOffersBatchInternalServerError with default headers values
func (*GetListingOffersBatchInternalServerError) Error ¶
func (o *GetListingOffersBatchInternalServerError) Error() string
func (*GetListingOffersBatchInternalServerError) GetPayload ¶
func (o *GetListingOffersBatchInternalServerError) GetPayload() *product_pricing_v0_models.Errors
func (*GetListingOffersBatchInternalServerError) IsClientError ¶
func (o *GetListingOffersBatchInternalServerError) IsClientError() bool
IsClientError returns true when this get listing offers batch internal server error response has a 4xx status code
func (*GetListingOffersBatchInternalServerError) IsCode ¶
func (o *GetListingOffersBatchInternalServerError) IsCode(code int) bool
IsCode returns true when this get listing offers batch internal server error response a status code equal to that given
func (*GetListingOffersBatchInternalServerError) IsRedirect ¶
func (o *GetListingOffersBatchInternalServerError) IsRedirect() bool
IsRedirect returns true when this get listing offers batch internal server error response has a 3xx status code
func (*GetListingOffersBatchInternalServerError) IsServerError ¶
func (o *GetListingOffersBatchInternalServerError) IsServerError() bool
IsServerError returns true when this get listing offers batch internal server error response has a 5xx status code
func (*GetListingOffersBatchInternalServerError) IsSuccess ¶
func (o *GetListingOffersBatchInternalServerError) IsSuccess() bool
IsSuccess returns true when this get listing offers batch internal server error response has a 2xx status code
func (*GetListingOffersBatchInternalServerError) String ¶
func (o *GetListingOffersBatchInternalServerError) String() string
type GetListingOffersBatchNotFound ¶
type GetListingOffersBatchNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.Errors }
GetListingOffersBatchNotFound describes a response with status code 404, with default header values.
The specified resource does not exist.
func NewGetListingOffersBatchNotFound ¶
func NewGetListingOffersBatchNotFound() *GetListingOffersBatchNotFound
NewGetListingOffersBatchNotFound creates a GetListingOffersBatchNotFound with default headers values
func (*GetListingOffersBatchNotFound) Error ¶
func (o *GetListingOffersBatchNotFound) Error() string
func (*GetListingOffersBatchNotFound) GetPayload ¶
func (o *GetListingOffersBatchNotFound) GetPayload() *product_pricing_v0_models.Errors
func (*GetListingOffersBatchNotFound) IsClientError ¶
func (o *GetListingOffersBatchNotFound) IsClientError() bool
IsClientError returns true when this get listing offers batch not found response has a 4xx status code
func (*GetListingOffersBatchNotFound) IsCode ¶
func (o *GetListingOffersBatchNotFound) IsCode(code int) bool
IsCode returns true when this get listing offers batch not found response a status code equal to that given
func (*GetListingOffersBatchNotFound) IsRedirect ¶
func (o *GetListingOffersBatchNotFound) IsRedirect() bool
IsRedirect returns true when this get listing offers batch not found response has a 3xx status code
func (*GetListingOffersBatchNotFound) IsServerError ¶
func (o *GetListingOffersBatchNotFound) IsServerError() bool
IsServerError returns true when this get listing offers batch not found response has a 5xx status code
func (*GetListingOffersBatchNotFound) IsSuccess ¶
func (o *GetListingOffersBatchNotFound) IsSuccess() bool
IsSuccess returns true when this get listing offers batch not found response has a 2xx status code
func (*GetListingOffersBatchNotFound) String ¶
func (o *GetListingOffersBatchNotFound) String() string
type GetListingOffersBatchOK ¶
type GetListingOffersBatchOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetListingOffersBatchResponse }
GetListingOffersBatchOK describes a response with status code 200, with default header values.
Indicates that requests were run in batch. Check the batch response status lines for information on whether a batch request succeeded.
func NewGetListingOffersBatchOK ¶
func NewGetListingOffersBatchOK() *GetListingOffersBatchOK
NewGetListingOffersBatchOK creates a GetListingOffersBatchOK with default headers values
func (*GetListingOffersBatchOK) Error ¶
func (o *GetListingOffersBatchOK) Error() string
func (*GetListingOffersBatchOK) GetPayload ¶
func (o *GetListingOffersBatchOK) GetPayload() *product_pricing_v0_models.GetListingOffersBatchResponse
func (*GetListingOffersBatchOK) IsClientError ¶
func (o *GetListingOffersBatchOK) IsClientError() bool
IsClientError returns true when this get listing offers batch o k response has a 4xx status code
func (*GetListingOffersBatchOK) IsCode ¶
func (o *GetListingOffersBatchOK) IsCode(code int) bool
IsCode returns true when this get listing offers batch o k response a status code equal to that given
func (*GetListingOffersBatchOK) IsRedirect ¶
func (o *GetListingOffersBatchOK) IsRedirect() bool
IsRedirect returns true when this get listing offers batch o k response has a 3xx status code
func (*GetListingOffersBatchOK) IsServerError ¶
func (o *GetListingOffersBatchOK) IsServerError() bool
IsServerError returns true when this get listing offers batch o k response has a 5xx status code
func (*GetListingOffersBatchOK) IsSuccess ¶
func (o *GetListingOffersBatchOK) IsSuccess() bool
IsSuccess returns true when this get listing offers batch o k response has a 2xx status code
func (*GetListingOffersBatchOK) String ¶
func (o *GetListingOffersBatchOK) String() string
type GetListingOffersBatchParams ¶
type GetListingOffersBatchParams struct { // GetListingOffersBatchRequestBody. GetListingOffersBatchRequestBody *product_pricing_v0_models.GetListingOffersBatchRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetListingOffersBatchParams contains all the parameters to send to the API endpoint
for the get listing offers batch operation. Typically these are written to a http.Request.
func NewGetListingOffersBatchParams ¶
func NewGetListingOffersBatchParams() *GetListingOffersBatchParams
NewGetListingOffersBatchParams creates a new GetListingOffersBatchParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetListingOffersBatchParamsWithContext ¶
func NewGetListingOffersBatchParamsWithContext(ctx context.Context) *GetListingOffersBatchParams
NewGetListingOffersBatchParamsWithContext creates a new GetListingOffersBatchParams object with the ability to set a context for a request.
func NewGetListingOffersBatchParamsWithHTTPClient ¶
func NewGetListingOffersBatchParamsWithHTTPClient(client *http.Client) *GetListingOffersBatchParams
NewGetListingOffersBatchParamsWithHTTPClient creates a new GetListingOffersBatchParams object with the ability to set a custom HTTPClient for a request.
func NewGetListingOffersBatchParamsWithTimeout ¶
func NewGetListingOffersBatchParamsWithTimeout(timeout time.Duration) *GetListingOffersBatchParams
NewGetListingOffersBatchParamsWithTimeout creates a new GetListingOffersBatchParams object with the ability to set a timeout on a request.
func (*GetListingOffersBatchParams) SetContext ¶
func (o *GetListingOffersBatchParams) SetContext(ctx context.Context)
SetContext adds the context to the get listing offers batch params
func (*GetListingOffersBatchParams) SetDefaults ¶
func (o *GetListingOffersBatchParams) SetDefaults()
SetDefaults hydrates default values in the get listing offers batch params (not the query body).
All values with no default are reset to their zero value.
func (*GetListingOffersBatchParams) SetGetListingOffersBatchRequestBody ¶
func (o *GetListingOffersBatchParams) SetGetListingOffersBatchRequestBody(getListingOffersBatchRequestBody *product_pricing_v0_models.GetListingOffersBatchRequest)
SetGetListingOffersBatchRequestBody adds the getListingOffersBatchRequestBody to the get listing offers batch params
func (*GetListingOffersBatchParams) SetHTTPClient ¶
func (o *GetListingOffersBatchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get listing offers batch params
func (*GetListingOffersBatchParams) SetTimeout ¶
func (o *GetListingOffersBatchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get listing offers batch params
func (*GetListingOffersBatchParams) WithContext ¶
func (o *GetListingOffersBatchParams) WithContext(ctx context.Context) *GetListingOffersBatchParams
WithContext adds the context to the get listing offers batch params
func (*GetListingOffersBatchParams) WithDefaults ¶
func (o *GetListingOffersBatchParams) WithDefaults() *GetListingOffersBatchParams
WithDefaults hydrates default values in the get listing offers batch params (not the query body).
All values with no default are reset to their zero value.
func (*GetListingOffersBatchParams) WithGetListingOffersBatchRequestBody ¶
func (o *GetListingOffersBatchParams) WithGetListingOffersBatchRequestBody(getListingOffersBatchRequestBody *product_pricing_v0_models.GetListingOffersBatchRequest) *GetListingOffersBatchParams
WithGetListingOffersBatchRequestBody adds the getListingOffersBatchRequestBody to the get listing offers batch params
func (*GetListingOffersBatchParams) WithHTTPClient ¶
func (o *GetListingOffersBatchParams) WithHTTPClient(client *http.Client) *GetListingOffersBatchParams
WithHTTPClient adds the HTTPClient to the get listing offers batch params
func (*GetListingOffersBatchParams) WithTimeout ¶
func (o *GetListingOffersBatchParams) WithTimeout(timeout time.Duration) *GetListingOffersBatchParams
WithTimeout adds the timeout to the get listing offers batch params
func (*GetListingOffersBatchParams) WriteToRequest ¶
func (o *GetListingOffersBatchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetListingOffersBatchReader ¶
type GetListingOffersBatchReader struct {
// contains filtered or unexported fields
}
GetListingOffersBatchReader is a Reader for the GetListingOffersBatch structure.
func (*GetListingOffersBatchReader) ReadResponse ¶
func (o *GetListingOffersBatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetListingOffersBatchServiceUnavailable ¶
type GetListingOffersBatchServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetListingOffersBatchServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetListingOffersBatchServiceUnavailable ¶
func NewGetListingOffersBatchServiceUnavailable() *GetListingOffersBatchServiceUnavailable
NewGetListingOffersBatchServiceUnavailable creates a GetListingOffersBatchServiceUnavailable with default headers values
func (*GetListingOffersBatchServiceUnavailable) Error ¶
func (o *GetListingOffersBatchServiceUnavailable) Error() string
func (*GetListingOffersBatchServiceUnavailable) GetPayload ¶
func (o *GetListingOffersBatchServiceUnavailable) GetPayload() *product_pricing_v0_models.Errors
func (*GetListingOffersBatchServiceUnavailable) IsClientError ¶
func (o *GetListingOffersBatchServiceUnavailable) IsClientError() bool
IsClientError returns true when this get listing offers batch service unavailable response has a 4xx status code
func (*GetListingOffersBatchServiceUnavailable) IsCode ¶
func (o *GetListingOffersBatchServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get listing offers batch service unavailable response a status code equal to that given
func (*GetListingOffersBatchServiceUnavailable) IsRedirect ¶
func (o *GetListingOffersBatchServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get listing offers batch service unavailable response has a 3xx status code
func (*GetListingOffersBatchServiceUnavailable) IsServerError ¶
func (o *GetListingOffersBatchServiceUnavailable) IsServerError() bool
IsServerError returns true when this get listing offers batch service unavailable response has a 5xx status code
func (*GetListingOffersBatchServiceUnavailable) IsSuccess ¶
func (o *GetListingOffersBatchServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get listing offers batch service unavailable response has a 2xx status code
func (*GetListingOffersBatchServiceUnavailable) String ¶
func (o *GetListingOffersBatchServiceUnavailable) String() string
type GetListingOffersBatchTooManyRequests ¶
type GetListingOffersBatchTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.Errors }
GetListingOffersBatchTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetListingOffersBatchTooManyRequests ¶
func NewGetListingOffersBatchTooManyRequests() *GetListingOffersBatchTooManyRequests
NewGetListingOffersBatchTooManyRequests creates a GetListingOffersBatchTooManyRequests with default headers values
func (*GetListingOffersBatchTooManyRequests) Error ¶
func (o *GetListingOffersBatchTooManyRequests) Error() string
func (*GetListingOffersBatchTooManyRequests) GetPayload ¶
func (o *GetListingOffersBatchTooManyRequests) GetPayload() *product_pricing_v0_models.Errors
func (*GetListingOffersBatchTooManyRequests) IsClientError ¶
func (o *GetListingOffersBatchTooManyRequests) IsClientError() bool
IsClientError returns true when this get listing offers batch too many requests response has a 4xx status code
func (*GetListingOffersBatchTooManyRequests) IsCode ¶
func (o *GetListingOffersBatchTooManyRequests) IsCode(code int) bool
IsCode returns true when this get listing offers batch too many requests response a status code equal to that given
func (*GetListingOffersBatchTooManyRequests) IsRedirect ¶
func (o *GetListingOffersBatchTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get listing offers batch too many requests response has a 3xx status code
func (*GetListingOffersBatchTooManyRequests) IsServerError ¶
func (o *GetListingOffersBatchTooManyRequests) IsServerError() bool
IsServerError returns true when this get listing offers batch too many requests response has a 5xx status code
func (*GetListingOffersBatchTooManyRequests) IsSuccess ¶
func (o *GetListingOffersBatchTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get listing offers batch too many requests response has a 2xx status code
func (*GetListingOffersBatchTooManyRequests) String ¶
func (o *GetListingOffersBatchTooManyRequests) String() string
type GetListingOffersBatchUnauthorized ¶
GetListingOffersBatchUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetListingOffersBatchUnauthorized ¶
func NewGetListingOffersBatchUnauthorized() *GetListingOffersBatchUnauthorized
NewGetListingOffersBatchUnauthorized creates a GetListingOffersBatchUnauthorized with default headers values
func (*GetListingOffersBatchUnauthorized) Error ¶
func (o *GetListingOffersBatchUnauthorized) Error() string
func (*GetListingOffersBatchUnauthorized) GetPayload ¶
func (o *GetListingOffersBatchUnauthorized) GetPayload() *product_pricing_v0_models.Errors
func (*GetListingOffersBatchUnauthorized) IsClientError ¶
func (o *GetListingOffersBatchUnauthorized) IsClientError() bool
IsClientError returns true when this get listing offers batch unauthorized response has a 4xx status code
func (*GetListingOffersBatchUnauthorized) IsCode ¶
func (o *GetListingOffersBatchUnauthorized) IsCode(code int) bool
IsCode returns true when this get listing offers batch unauthorized response a status code equal to that given
func (*GetListingOffersBatchUnauthorized) IsRedirect ¶
func (o *GetListingOffersBatchUnauthorized) IsRedirect() bool
IsRedirect returns true when this get listing offers batch unauthorized response has a 3xx status code
func (*GetListingOffersBatchUnauthorized) IsServerError ¶
func (o *GetListingOffersBatchUnauthorized) IsServerError() bool
IsServerError returns true when this get listing offers batch unauthorized response has a 5xx status code
func (*GetListingOffersBatchUnauthorized) IsSuccess ¶
func (o *GetListingOffersBatchUnauthorized) IsSuccess() bool
IsSuccess returns true when this get listing offers batch unauthorized response has a 2xx status code
func (*GetListingOffersBatchUnauthorized) String ¶
func (o *GetListingOffersBatchUnauthorized) String() string
type GetListingOffersForbidden ¶
type GetListingOffersForbidden struct { /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetOffersResponse }
GetListingOffersForbidden describes a response with status code 403, with default header values.
Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetListingOffersForbidden ¶
func NewGetListingOffersForbidden() *GetListingOffersForbidden
NewGetListingOffersForbidden creates a GetListingOffersForbidden with default headers values
func (*GetListingOffersForbidden) Error ¶
func (o *GetListingOffersForbidden) Error() string
func (*GetListingOffersForbidden) GetPayload ¶
func (o *GetListingOffersForbidden) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetListingOffersForbidden) IsClientError ¶
func (o *GetListingOffersForbidden) IsClientError() bool
IsClientError returns true when this get listing offers forbidden response has a 4xx status code
func (*GetListingOffersForbidden) IsCode ¶
func (o *GetListingOffersForbidden) IsCode(code int) bool
IsCode returns true when this get listing offers forbidden response a status code equal to that given
func (*GetListingOffersForbidden) IsRedirect ¶
func (o *GetListingOffersForbidden) IsRedirect() bool
IsRedirect returns true when this get listing offers forbidden response has a 3xx status code
func (*GetListingOffersForbidden) IsServerError ¶
func (o *GetListingOffersForbidden) IsServerError() bool
IsServerError returns true when this get listing offers forbidden response has a 5xx status code
func (*GetListingOffersForbidden) IsSuccess ¶
func (o *GetListingOffersForbidden) IsSuccess() bool
IsSuccess returns true when this get listing offers forbidden response has a 2xx status code
func (*GetListingOffersForbidden) String ¶
func (o *GetListingOffersForbidden) String() string
type GetListingOffersInternalServerError ¶
type GetListingOffersInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetOffersResponse }
GetListingOffersInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetListingOffersInternalServerError ¶
func NewGetListingOffersInternalServerError() *GetListingOffersInternalServerError
NewGetListingOffersInternalServerError creates a GetListingOffersInternalServerError with default headers values
func (*GetListingOffersInternalServerError) Error ¶
func (o *GetListingOffersInternalServerError) Error() string
func (*GetListingOffersInternalServerError) GetPayload ¶
func (o *GetListingOffersInternalServerError) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetListingOffersInternalServerError) IsClientError ¶
func (o *GetListingOffersInternalServerError) IsClientError() bool
IsClientError returns true when this get listing offers internal server error response has a 4xx status code
func (*GetListingOffersInternalServerError) IsCode ¶
func (o *GetListingOffersInternalServerError) IsCode(code int) bool
IsCode returns true when this get listing offers internal server error response a status code equal to that given
func (*GetListingOffersInternalServerError) IsRedirect ¶
func (o *GetListingOffersInternalServerError) IsRedirect() bool
IsRedirect returns true when this get listing offers internal server error response has a 3xx status code
func (*GetListingOffersInternalServerError) IsServerError ¶
func (o *GetListingOffersInternalServerError) IsServerError() bool
IsServerError returns true when this get listing offers internal server error response has a 5xx status code
func (*GetListingOffersInternalServerError) IsSuccess ¶
func (o *GetListingOffersInternalServerError) IsSuccess() bool
IsSuccess returns true when this get listing offers internal server error response has a 2xx status code
func (*GetListingOffersInternalServerError) String ¶
func (o *GetListingOffersInternalServerError) String() string
type GetListingOffersNotFound ¶
type GetListingOffersNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetOffersResponse }
GetListingOffersNotFound describes a response with status code 404, with default header values.
The specified resource does not exist.
func NewGetListingOffersNotFound ¶
func NewGetListingOffersNotFound() *GetListingOffersNotFound
NewGetListingOffersNotFound creates a GetListingOffersNotFound with default headers values
func (*GetListingOffersNotFound) Error ¶
func (o *GetListingOffersNotFound) Error() string
func (*GetListingOffersNotFound) GetPayload ¶
func (o *GetListingOffersNotFound) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetListingOffersNotFound) IsClientError ¶
func (o *GetListingOffersNotFound) IsClientError() bool
IsClientError returns true when this get listing offers not found response has a 4xx status code
func (*GetListingOffersNotFound) IsCode ¶
func (o *GetListingOffersNotFound) IsCode(code int) bool
IsCode returns true when this get listing offers not found response a status code equal to that given
func (*GetListingOffersNotFound) IsRedirect ¶
func (o *GetListingOffersNotFound) IsRedirect() bool
IsRedirect returns true when this get listing offers not found response has a 3xx status code
func (*GetListingOffersNotFound) IsServerError ¶
func (o *GetListingOffersNotFound) IsServerError() bool
IsServerError returns true when this get listing offers not found response has a 5xx status code
func (*GetListingOffersNotFound) IsSuccess ¶
func (o *GetListingOffersNotFound) IsSuccess() bool
IsSuccess returns true when this get listing offers not found response has a 2xx status code
func (*GetListingOffersNotFound) String ¶
func (o *GetListingOffersNotFound) String() string
type GetListingOffersOK ¶
type GetListingOffersOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetOffersResponse }
GetListingOffersOK describes a response with status code 200, with default header values.
Success.
func NewGetListingOffersOK ¶
func NewGetListingOffersOK() *GetListingOffersOK
NewGetListingOffersOK creates a GetListingOffersOK with default headers values
func (*GetListingOffersOK) Error ¶
func (o *GetListingOffersOK) Error() string
func (*GetListingOffersOK) GetPayload ¶
func (o *GetListingOffersOK) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetListingOffersOK) IsClientError ¶
func (o *GetListingOffersOK) IsClientError() bool
IsClientError returns true when this get listing offers o k response has a 4xx status code
func (*GetListingOffersOK) IsCode ¶
func (o *GetListingOffersOK) IsCode(code int) bool
IsCode returns true when this get listing offers o k response a status code equal to that given
func (*GetListingOffersOK) IsRedirect ¶
func (o *GetListingOffersOK) IsRedirect() bool
IsRedirect returns true when this get listing offers o k response has a 3xx status code
func (*GetListingOffersOK) IsServerError ¶
func (o *GetListingOffersOK) IsServerError() bool
IsServerError returns true when this get listing offers o k response has a 5xx status code
func (*GetListingOffersOK) IsSuccess ¶
func (o *GetListingOffersOK) IsSuccess() bool
IsSuccess returns true when this get listing offers o k response has a 2xx status code
func (*GetListingOffersOK) String ¶
func (o *GetListingOffersOK) String() string
type GetListingOffersParams ¶
type GetListingOffersParams struct { /* CustomerType. Indicates whether to request Consumer or Business offers. Default is Consumer. */ CustomerType *string /* ItemCondition. Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. */ ItemCondition string /* MarketplaceID. A marketplace identifier. Specifies the marketplace for which prices are returned. */ MarketplaceID string /* SellerSKU. Identifies an item in the given marketplace. SellerSKU is qualified by the seller's SellerId, which is included with every operation that you submit. */ SellerSKU string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetListingOffersParams contains all the parameters to send to the API endpoint
for the get listing offers operation. Typically these are written to a http.Request.
func NewGetListingOffersParams ¶
func NewGetListingOffersParams() *GetListingOffersParams
NewGetListingOffersParams creates a new GetListingOffersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetListingOffersParamsWithContext ¶
func NewGetListingOffersParamsWithContext(ctx context.Context) *GetListingOffersParams
NewGetListingOffersParamsWithContext creates a new GetListingOffersParams object with the ability to set a context for a request.
func NewGetListingOffersParamsWithHTTPClient ¶
func NewGetListingOffersParamsWithHTTPClient(client *http.Client) *GetListingOffersParams
NewGetListingOffersParamsWithHTTPClient creates a new GetListingOffersParams object with the ability to set a custom HTTPClient for a request.
func NewGetListingOffersParamsWithTimeout ¶
func NewGetListingOffersParamsWithTimeout(timeout time.Duration) *GetListingOffersParams
NewGetListingOffersParamsWithTimeout creates a new GetListingOffersParams object with the ability to set a timeout on a request.
func (*GetListingOffersParams) SetContext ¶
func (o *GetListingOffersParams) SetContext(ctx context.Context)
SetContext adds the context to the get listing offers params
func (*GetListingOffersParams) SetCustomerType ¶
func (o *GetListingOffersParams) SetCustomerType(customerType *string)
SetCustomerType adds the customerType to the get listing offers params
func (*GetListingOffersParams) SetDefaults ¶
func (o *GetListingOffersParams) SetDefaults()
SetDefaults hydrates default values in the get listing offers params (not the query body).
All values with no default are reset to their zero value.
func (*GetListingOffersParams) SetHTTPClient ¶
func (o *GetListingOffersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get listing offers params
func (*GetListingOffersParams) SetItemCondition ¶
func (o *GetListingOffersParams) SetItemCondition(itemCondition string)
SetItemCondition adds the itemCondition to the get listing offers params
func (*GetListingOffersParams) SetMarketplaceID ¶
func (o *GetListingOffersParams) SetMarketplaceID(marketplaceID string)
SetMarketplaceID adds the marketplaceId to the get listing offers params
func (*GetListingOffersParams) SetSellerSKU ¶
func (o *GetListingOffersParams) SetSellerSKU(sellerSKU string)
SetSellerSKU adds the sellerSKU to the get listing offers params
func (*GetListingOffersParams) SetTimeout ¶
func (o *GetListingOffersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get listing offers params
func (*GetListingOffersParams) WithContext ¶
func (o *GetListingOffersParams) WithContext(ctx context.Context) *GetListingOffersParams
WithContext adds the context to the get listing offers params
func (*GetListingOffersParams) WithCustomerType ¶
func (o *GetListingOffersParams) WithCustomerType(customerType *string) *GetListingOffersParams
WithCustomerType adds the customerType to the get listing offers params
func (*GetListingOffersParams) WithDefaults ¶
func (o *GetListingOffersParams) WithDefaults() *GetListingOffersParams
WithDefaults hydrates default values in the get listing offers params (not the query body).
All values with no default are reset to their zero value.
func (*GetListingOffersParams) WithHTTPClient ¶
func (o *GetListingOffersParams) WithHTTPClient(client *http.Client) *GetListingOffersParams
WithHTTPClient adds the HTTPClient to the get listing offers params
func (*GetListingOffersParams) WithItemCondition ¶
func (o *GetListingOffersParams) WithItemCondition(itemCondition string) *GetListingOffersParams
WithItemCondition adds the itemCondition to the get listing offers params
func (*GetListingOffersParams) WithMarketplaceID ¶
func (o *GetListingOffersParams) WithMarketplaceID(marketplaceID string) *GetListingOffersParams
WithMarketplaceID adds the marketplaceID to the get listing offers params
func (*GetListingOffersParams) WithSellerSKU ¶
func (o *GetListingOffersParams) WithSellerSKU(sellerSKU string) *GetListingOffersParams
WithSellerSKU adds the sellerSKU to the get listing offers params
func (*GetListingOffersParams) WithTimeout ¶
func (o *GetListingOffersParams) WithTimeout(timeout time.Duration) *GetListingOffersParams
WithTimeout adds the timeout to the get listing offers params
func (*GetListingOffersParams) WriteToRequest ¶
func (o *GetListingOffersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetListingOffersReader ¶
type GetListingOffersReader struct {
// contains filtered or unexported fields
}
GetListingOffersReader is a Reader for the GetListingOffers structure.
func (*GetListingOffersReader) ReadResponse ¶
func (o *GetListingOffersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetListingOffersServiceUnavailable ¶
GetListingOffersServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetListingOffersServiceUnavailable ¶
func NewGetListingOffersServiceUnavailable() *GetListingOffersServiceUnavailable
NewGetListingOffersServiceUnavailable creates a GetListingOffersServiceUnavailable with default headers values
func (*GetListingOffersServiceUnavailable) Error ¶
func (o *GetListingOffersServiceUnavailable) Error() string
func (*GetListingOffersServiceUnavailable) GetPayload ¶
func (o *GetListingOffersServiceUnavailable) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetListingOffersServiceUnavailable) IsClientError ¶
func (o *GetListingOffersServiceUnavailable) IsClientError() bool
IsClientError returns true when this get listing offers service unavailable response has a 4xx status code
func (*GetListingOffersServiceUnavailable) IsCode ¶
func (o *GetListingOffersServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get listing offers service unavailable response a status code equal to that given
func (*GetListingOffersServiceUnavailable) IsRedirect ¶
func (o *GetListingOffersServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get listing offers service unavailable response has a 3xx status code
func (*GetListingOffersServiceUnavailable) IsServerError ¶
func (o *GetListingOffersServiceUnavailable) IsServerError() bool
IsServerError returns true when this get listing offers service unavailable response has a 5xx status code
func (*GetListingOffersServiceUnavailable) IsSuccess ¶
func (o *GetListingOffersServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get listing offers service unavailable response has a 2xx status code
func (*GetListingOffersServiceUnavailable) String ¶
func (o *GetListingOffersServiceUnavailable) String() string
type GetListingOffersTooManyRequests ¶
type GetListingOffersTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetOffersResponse }
GetListingOffersTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetListingOffersTooManyRequests ¶
func NewGetListingOffersTooManyRequests() *GetListingOffersTooManyRequests
NewGetListingOffersTooManyRequests creates a GetListingOffersTooManyRequests with default headers values
func (*GetListingOffersTooManyRequests) Error ¶
func (o *GetListingOffersTooManyRequests) Error() string
func (*GetListingOffersTooManyRequests) GetPayload ¶
func (o *GetListingOffersTooManyRequests) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetListingOffersTooManyRequests) IsClientError ¶
func (o *GetListingOffersTooManyRequests) IsClientError() bool
IsClientError returns true when this get listing offers too many requests response has a 4xx status code
func (*GetListingOffersTooManyRequests) IsCode ¶
func (o *GetListingOffersTooManyRequests) IsCode(code int) bool
IsCode returns true when this get listing offers too many requests response a status code equal to that given
func (*GetListingOffersTooManyRequests) IsRedirect ¶
func (o *GetListingOffersTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get listing offers too many requests response has a 3xx status code
func (*GetListingOffersTooManyRequests) IsServerError ¶
func (o *GetListingOffersTooManyRequests) IsServerError() bool
IsServerError returns true when this get listing offers too many requests response has a 5xx status code
func (*GetListingOffersTooManyRequests) IsSuccess ¶
func (o *GetListingOffersTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get listing offers too many requests response has a 2xx status code
func (*GetListingOffersTooManyRequests) String ¶
func (o *GetListingOffersTooManyRequests) String() string
type GetListingOffersUnauthorized ¶
GetListingOffersUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetListingOffersUnauthorized ¶
func NewGetListingOffersUnauthorized() *GetListingOffersUnauthorized
NewGetListingOffersUnauthorized creates a GetListingOffersUnauthorized with default headers values
func (*GetListingOffersUnauthorized) Error ¶
func (o *GetListingOffersUnauthorized) Error() string
func (*GetListingOffersUnauthorized) GetPayload ¶
func (o *GetListingOffersUnauthorized) GetPayload() *product_pricing_v0_models.GetOffersResponse
func (*GetListingOffersUnauthorized) IsClientError ¶
func (o *GetListingOffersUnauthorized) IsClientError() bool
IsClientError returns true when this get listing offers unauthorized response has a 4xx status code
func (*GetListingOffersUnauthorized) IsCode ¶
func (o *GetListingOffersUnauthorized) IsCode(code int) bool
IsCode returns true when this get listing offers unauthorized response a status code equal to that given
func (*GetListingOffersUnauthorized) IsRedirect ¶
func (o *GetListingOffersUnauthorized) IsRedirect() bool
IsRedirect returns true when this get listing offers unauthorized response has a 3xx status code
func (*GetListingOffersUnauthorized) IsServerError ¶
func (o *GetListingOffersUnauthorized) IsServerError() bool
IsServerError returns true when this get listing offers unauthorized response has a 5xx status code
func (*GetListingOffersUnauthorized) IsSuccess ¶
func (o *GetListingOffersUnauthorized) IsSuccess() bool
IsSuccess returns true when this get listing offers unauthorized response has a 2xx status code
func (*GetListingOffersUnauthorized) String ¶
func (o *GetListingOffersUnauthorized) String() string
type GetPricingBadRequest ¶
type GetPricingBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetPricingResponse }
GetPricingBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetPricingBadRequest ¶
func NewGetPricingBadRequest() *GetPricingBadRequest
NewGetPricingBadRequest creates a GetPricingBadRequest with default headers values
func (*GetPricingBadRequest) Error ¶
func (o *GetPricingBadRequest) Error() string
func (*GetPricingBadRequest) GetPayload ¶
func (o *GetPricingBadRequest) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetPricingBadRequest) IsClientError ¶
func (o *GetPricingBadRequest) IsClientError() bool
IsClientError returns true when this get pricing bad request response has a 4xx status code
func (*GetPricingBadRequest) IsCode ¶
func (o *GetPricingBadRequest) IsCode(code int) bool
IsCode returns true when this get pricing bad request response a status code equal to that given
func (*GetPricingBadRequest) IsRedirect ¶
func (o *GetPricingBadRequest) IsRedirect() bool
IsRedirect returns true when this get pricing bad request response has a 3xx status code
func (*GetPricingBadRequest) IsServerError ¶
func (o *GetPricingBadRequest) IsServerError() bool
IsServerError returns true when this get pricing bad request response has a 5xx status code
func (*GetPricingBadRequest) IsSuccess ¶
func (o *GetPricingBadRequest) IsSuccess() bool
IsSuccess returns true when this get pricing bad request response has a 2xx status code
func (*GetPricingBadRequest) String ¶
func (o *GetPricingBadRequest) String() string
type GetPricingForbidden ¶
type GetPricingForbidden struct { /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetPricingResponse }
GetPricingForbidden describes a response with status code 403, with default header values.
Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
func NewGetPricingForbidden ¶
func NewGetPricingForbidden() *GetPricingForbidden
NewGetPricingForbidden creates a GetPricingForbidden with default headers values
func (*GetPricingForbidden) Error ¶
func (o *GetPricingForbidden) Error() string
func (*GetPricingForbidden) GetPayload ¶
func (o *GetPricingForbidden) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetPricingForbidden) IsClientError ¶
func (o *GetPricingForbidden) IsClientError() bool
IsClientError returns true when this get pricing forbidden response has a 4xx status code
func (*GetPricingForbidden) IsCode ¶
func (o *GetPricingForbidden) IsCode(code int) bool
IsCode returns true when this get pricing forbidden response a status code equal to that given
func (*GetPricingForbidden) IsRedirect ¶
func (o *GetPricingForbidden) IsRedirect() bool
IsRedirect returns true when this get pricing forbidden response has a 3xx status code
func (*GetPricingForbidden) IsServerError ¶
func (o *GetPricingForbidden) IsServerError() bool
IsServerError returns true when this get pricing forbidden response has a 5xx status code
func (*GetPricingForbidden) IsSuccess ¶
func (o *GetPricingForbidden) IsSuccess() bool
IsSuccess returns true when this get pricing forbidden response has a 2xx status code
func (*GetPricingForbidden) String ¶
func (o *GetPricingForbidden) String() string
type GetPricingInternalServerError ¶
type GetPricingInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetPricingResponse }
GetPricingInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetPricingInternalServerError ¶
func NewGetPricingInternalServerError() *GetPricingInternalServerError
NewGetPricingInternalServerError creates a GetPricingInternalServerError with default headers values
func (*GetPricingInternalServerError) Error ¶
func (o *GetPricingInternalServerError) Error() string
func (*GetPricingInternalServerError) GetPayload ¶
func (o *GetPricingInternalServerError) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetPricingInternalServerError) IsClientError ¶
func (o *GetPricingInternalServerError) IsClientError() bool
IsClientError returns true when this get pricing internal server error response has a 4xx status code
func (*GetPricingInternalServerError) IsCode ¶
func (o *GetPricingInternalServerError) IsCode(code int) bool
IsCode returns true when this get pricing internal server error response a status code equal to that given
func (*GetPricingInternalServerError) IsRedirect ¶
func (o *GetPricingInternalServerError) IsRedirect() bool
IsRedirect returns true when this get pricing internal server error response has a 3xx status code
func (*GetPricingInternalServerError) IsServerError ¶
func (o *GetPricingInternalServerError) IsServerError() bool
IsServerError returns true when this get pricing internal server error response has a 5xx status code
func (*GetPricingInternalServerError) IsSuccess ¶
func (o *GetPricingInternalServerError) IsSuccess() bool
IsSuccess returns true when this get pricing internal server error response has a 2xx status code
func (*GetPricingInternalServerError) String ¶
func (o *GetPricingInternalServerError) String() string
type GetPricingNotFound ¶
type GetPricingNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetPricingResponse }
GetPricingNotFound describes a response with status code 404, with default header values.
The specified resource does not exist.
func NewGetPricingNotFound ¶
func NewGetPricingNotFound() *GetPricingNotFound
NewGetPricingNotFound creates a GetPricingNotFound with default headers values
func (*GetPricingNotFound) Error ¶
func (o *GetPricingNotFound) Error() string
func (*GetPricingNotFound) GetPayload ¶
func (o *GetPricingNotFound) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetPricingNotFound) IsClientError ¶
func (o *GetPricingNotFound) IsClientError() bool
IsClientError returns true when this get pricing not found response has a 4xx status code
func (*GetPricingNotFound) IsCode ¶
func (o *GetPricingNotFound) IsCode(code int) bool
IsCode returns true when this get pricing not found response a status code equal to that given
func (*GetPricingNotFound) IsRedirect ¶
func (o *GetPricingNotFound) IsRedirect() bool
IsRedirect returns true when this get pricing not found response has a 3xx status code
func (*GetPricingNotFound) IsServerError ¶
func (o *GetPricingNotFound) IsServerError() bool
IsServerError returns true when this get pricing not found response has a 5xx status code
func (*GetPricingNotFound) IsSuccess ¶
func (o *GetPricingNotFound) IsSuccess() bool
IsSuccess returns true when this get pricing not found response has a 2xx status code
func (*GetPricingNotFound) String ¶
func (o *GetPricingNotFound) String() string
type GetPricingOK ¶
type GetPricingOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetPricingResponse }
GetPricingOK describes a response with status code 200, with default header values.
Success.
func NewGetPricingOK ¶
func NewGetPricingOK() *GetPricingOK
NewGetPricingOK creates a GetPricingOK with default headers values
func (*GetPricingOK) Error ¶
func (o *GetPricingOK) Error() string
func (*GetPricingOK) GetPayload ¶
func (o *GetPricingOK) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetPricingOK) IsClientError ¶
func (o *GetPricingOK) IsClientError() bool
IsClientError returns true when this get pricing o k response has a 4xx status code
func (*GetPricingOK) IsCode ¶
func (o *GetPricingOK) IsCode(code int) bool
IsCode returns true when this get pricing o k response a status code equal to that given
func (*GetPricingOK) IsRedirect ¶
func (o *GetPricingOK) IsRedirect() bool
IsRedirect returns true when this get pricing o k response has a 3xx status code
func (*GetPricingOK) IsServerError ¶
func (o *GetPricingOK) IsServerError() bool
IsServerError returns true when this get pricing o k response has a 5xx status code
func (*GetPricingOK) IsSuccess ¶
func (o *GetPricingOK) IsSuccess() bool
IsSuccess returns true when this get pricing o k response has a 2xx status code
func (*GetPricingOK) String ¶
func (o *GetPricingOK) String() string
type GetPricingParams ¶
type GetPricingParams struct { /* Asins. A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace. */ Asins []string /* ItemCondition. Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. */ ItemCondition *string /* ItemType. Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. */ ItemType string /* MarketplaceID. A marketplace identifier. Specifies the marketplace for which prices are returned. */ MarketplaceID string /* OfferType. Indicates whether to request pricing information for the seller's B2C or B2B offers. Default is B2C. */ OfferType *string /* Skus. A list of up to twenty seller SKU values used to identify items in the given marketplace. */ Skus []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPricingParams contains all the parameters to send to the API endpoint
for the get pricing operation. Typically these are written to a http.Request.
func NewGetPricingParams ¶
func NewGetPricingParams() *GetPricingParams
NewGetPricingParams creates a new GetPricingParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPricingParamsWithContext ¶
func NewGetPricingParamsWithContext(ctx context.Context) *GetPricingParams
NewGetPricingParamsWithContext creates a new GetPricingParams object with the ability to set a context for a request.
func NewGetPricingParamsWithHTTPClient ¶
func NewGetPricingParamsWithHTTPClient(client *http.Client) *GetPricingParams
NewGetPricingParamsWithHTTPClient creates a new GetPricingParams object with the ability to set a custom HTTPClient for a request.
func NewGetPricingParamsWithTimeout ¶
func NewGetPricingParamsWithTimeout(timeout time.Duration) *GetPricingParams
NewGetPricingParamsWithTimeout creates a new GetPricingParams object with the ability to set a timeout on a request.
func (*GetPricingParams) SetAsins ¶
func (o *GetPricingParams) SetAsins(asins []string)
SetAsins adds the asins to the get pricing params
func (*GetPricingParams) SetContext ¶
func (o *GetPricingParams) SetContext(ctx context.Context)
SetContext adds the context to the get pricing params
func (*GetPricingParams) SetDefaults ¶
func (o *GetPricingParams) SetDefaults()
SetDefaults hydrates default values in the get pricing params (not the query body).
All values with no default are reset to their zero value.
func (*GetPricingParams) SetHTTPClient ¶
func (o *GetPricingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get pricing params
func (*GetPricingParams) SetItemCondition ¶
func (o *GetPricingParams) SetItemCondition(itemCondition *string)
SetItemCondition adds the itemCondition to the get pricing params
func (*GetPricingParams) SetItemType ¶
func (o *GetPricingParams) SetItemType(itemType string)
SetItemType adds the itemType to the get pricing params
func (*GetPricingParams) SetMarketplaceID ¶
func (o *GetPricingParams) SetMarketplaceID(marketplaceID string)
SetMarketplaceID adds the marketplaceId to the get pricing params
func (*GetPricingParams) SetOfferType ¶
func (o *GetPricingParams) SetOfferType(offerType *string)
SetOfferType adds the offerType to the get pricing params
func (*GetPricingParams) SetSkus ¶
func (o *GetPricingParams) SetSkus(skus []string)
SetSkus adds the skus to the get pricing params
func (*GetPricingParams) SetTimeout ¶
func (o *GetPricingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get pricing params
func (*GetPricingParams) WithAsins ¶
func (o *GetPricingParams) WithAsins(asins []string) *GetPricingParams
WithAsins adds the asins to the get pricing params
func (*GetPricingParams) WithContext ¶
func (o *GetPricingParams) WithContext(ctx context.Context) *GetPricingParams
WithContext adds the context to the get pricing params
func (*GetPricingParams) WithDefaults ¶
func (o *GetPricingParams) WithDefaults() *GetPricingParams
WithDefaults hydrates default values in the get pricing params (not the query body).
All values with no default are reset to their zero value.
func (*GetPricingParams) WithHTTPClient ¶
func (o *GetPricingParams) WithHTTPClient(client *http.Client) *GetPricingParams
WithHTTPClient adds the HTTPClient to the get pricing params
func (*GetPricingParams) WithItemCondition ¶
func (o *GetPricingParams) WithItemCondition(itemCondition *string) *GetPricingParams
WithItemCondition adds the itemCondition to the get pricing params
func (*GetPricingParams) WithItemType ¶
func (o *GetPricingParams) WithItemType(itemType string) *GetPricingParams
WithItemType adds the itemType to the get pricing params
func (*GetPricingParams) WithMarketplaceID ¶
func (o *GetPricingParams) WithMarketplaceID(marketplaceID string) *GetPricingParams
WithMarketplaceID adds the marketplaceID to the get pricing params
func (*GetPricingParams) WithOfferType ¶
func (o *GetPricingParams) WithOfferType(offerType *string) *GetPricingParams
WithOfferType adds the offerType to the get pricing params
func (*GetPricingParams) WithSkus ¶
func (o *GetPricingParams) WithSkus(skus []string) *GetPricingParams
WithSkus adds the skus to the get pricing params
func (*GetPricingParams) WithTimeout ¶
func (o *GetPricingParams) WithTimeout(timeout time.Duration) *GetPricingParams
WithTimeout adds the timeout to the get pricing params
func (*GetPricingParams) WriteToRequest ¶
func (o *GetPricingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPricingReader ¶
type GetPricingReader struct {
// contains filtered or unexported fields
}
GetPricingReader is a Reader for the GetPricing structure.
func (*GetPricingReader) ReadResponse ¶
func (o *GetPricingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPricingServiceUnavailable ¶
GetPricingServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetPricingServiceUnavailable ¶
func NewGetPricingServiceUnavailable() *GetPricingServiceUnavailable
NewGetPricingServiceUnavailable creates a GetPricingServiceUnavailable with default headers values
func (*GetPricingServiceUnavailable) Error ¶
func (o *GetPricingServiceUnavailable) Error() string
func (*GetPricingServiceUnavailable) GetPayload ¶
func (o *GetPricingServiceUnavailable) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetPricingServiceUnavailable) IsClientError ¶
func (o *GetPricingServiceUnavailable) IsClientError() bool
IsClientError returns true when this get pricing service unavailable response has a 4xx status code
func (*GetPricingServiceUnavailable) IsCode ¶
func (o *GetPricingServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get pricing service unavailable response a status code equal to that given
func (*GetPricingServiceUnavailable) IsRedirect ¶
func (o *GetPricingServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get pricing service unavailable response has a 3xx status code
func (*GetPricingServiceUnavailable) IsServerError ¶
func (o *GetPricingServiceUnavailable) IsServerError() bool
IsServerError returns true when this get pricing service unavailable response has a 5xx status code
func (*GetPricingServiceUnavailable) IsSuccess ¶
func (o *GetPricingServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get pricing service unavailable response has a 2xx status code
func (*GetPricingServiceUnavailable) String ¶
func (o *GetPricingServiceUnavailable) String() string
type GetPricingTooManyRequests ¶
type GetPricingTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference ID. */ XAmznRequestID string Payload *product_pricing_v0_models.GetPricingResponse }
GetPricingTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetPricingTooManyRequests ¶
func NewGetPricingTooManyRequests() *GetPricingTooManyRequests
NewGetPricingTooManyRequests creates a GetPricingTooManyRequests with default headers values
func (*GetPricingTooManyRequests) Error ¶
func (o *GetPricingTooManyRequests) Error() string
func (*GetPricingTooManyRequests) GetPayload ¶
func (o *GetPricingTooManyRequests) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetPricingTooManyRequests) IsClientError ¶
func (o *GetPricingTooManyRequests) IsClientError() bool
IsClientError returns true when this get pricing too many requests response has a 4xx status code
func (*GetPricingTooManyRequests) IsCode ¶
func (o *GetPricingTooManyRequests) IsCode(code int) bool
IsCode returns true when this get pricing too many requests response a status code equal to that given
func (*GetPricingTooManyRequests) IsRedirect ¶
func (o *GetPricingTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get pricing too many requests response has a 3xx status code
func (*GetPricingTooManyRequests) IsServerError ¶
func (o *GetPricingTooManyRequests) IsServerError() bool
IsServerError returns true when this get pricing too many requests response has a 5xx status code
func (*GetPricingTooManyRequests) IsSuccess ¶
func (o *GetPricingTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get pricing too many requests response has a 2xx status code
func (*GetPricingTooManyRequests) String ¶
func (o *GetPricingTooManyRequests) String() string
type GetPricingUnauthorized ¶
GetPricingUnauthorized describes a response with status code 401, with default header values.
The request's Authorization header is not formatted correctly or does not contain a valid token.
func NewGetPricingUnauthorized ¶
func NewGetPricingUnauthorized() *GetPricingUnauthorized
NewGetPricingUnauthorized creates a GetPricingUnauthorized with default headers values
func (*GetPricingUnauthorized) Error ¶
func (o *GetPricingUnauthorized) Error() string
func (*GetPricingUnauthorized) GetPayload ¶
func (o *GetPricingUnauthorized) GetPayload() *product_pricing_v0_models.GetPricingResponse
func (*GetPricingUnauthorized) IsClientError ¶
func (o *GetPricingUnauthorized) IsClientError() bool
IsClientError returns true when this get pricing unauthorized response has a 4xx status code
func (*GetPricingUnauthorized) IsCode ¶
func (o *GetPricingUnauthorized) IsCode(code int) bool
IsCode returns true when this get pricing unauthorized response a status code equal to that given
func (*GetPricingUnauthorized) IsRedirect ¶
func (o *GetPricingUnauthorized) IsRedirect() bool
IsRedirect returns true when this get pricing unauthorized response has a 3xx status code
func (*GetPricingUnauthorized) IsServerError ¶
func (o *GetPricingUnauthorized) IsServerError() bool
IsServerError returns true when this get pricing unauthorized response has a 5xx status code
func (*GetPricingUnauthorized) IsSuccess ¶
func (o *GetPricingUnauthorized) IsSuccess() bool
IsSuccess returns true when this get pricing unauthorized response has a 2xx status code
func (*GetPricingUnauthorized) String ¶
func (o *GetPricingUnauthorized) String() string
Source Files ¶
- get_competitive_pricing_parameters.go
- get_competitive_pricing_responses.go
- get_item_offers_batch_parameters.go
- get_item_offers_batch_responses.go
- get_item_offers_parameters.go
- get_item_offers_responses.go
- get_listing_offers_batch_parameters.go
- get_listing_offers_batch_responses.go
- get_listing_offers_parameters.go
- get_listing_offers_responses.go
- get_pricing_parameters.go
- get_pricing_responses.go
- product_pricing_client.go