product_pricing

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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) GetCompetitiveSummary added in v0.3.0

func (a *Client) GetCompetitiveSummary(params *GetCompetitiveSummaryParams, opts ...ClientOption) (*GetCompetitiveSummaryOK, error)
GetCompetitiveSummary Returns the competitive summary response including featured buying options for the ASIN and `marketplaceId` combination.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 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, refer to [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) GetFeaturedOfferExpectedPriceBatch

func (a *Client) GetFeaturedOfferExpectedPriceBatch(params *GetFeaturedOfferExpectedPriceBatchParams, opts ...ClientOption) (*GetFeaturedOfferExpectedPriceBatchOK, error)
GetFeaturedOfferExpectedPriceBatch Returns the set of responses that correspond to the batched list of up to 40 requests defined in the request body. The response for each successful (HTTP status code 200) request in the set includes the computed listing price at or below which a seller can expect to become the featured offer (before applicable promotions). This is called the featured offer expected price (FOEP). Featured offer is not guaranteed, because competing offers may change, and different offers may be featured based on other factors, including fulfillment capabilities to a specific customer. The response to an unsuccessful request includes the available error text.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 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, refer to [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) 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 {
	GetCompetitiveSummary(params *GetCompetitiveSummaryParams, opts ...ClientOption) (*GetCompetitiveSummaryOK, error)

	GetFeaturedOfferExpectedPriceBatch(params *GetFeaturedOfferExpectedPriceBatchParams, opts ...ClientOption) (*GetFeaturedOfferExpectedPriceBatchOK, 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 GetCompetitiveSummaryBadRequest added in v0.3.0

type GetCompetitiveSummaryBadRequest struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetCompetitiveSummaryBadRequest describes a response with status code 400, with default header values.

Request has missing or invalid parameters and cannot be parsed.

func NewGetCompetitiveSummaryBadRequest added in v0.3.0

func NewGetCompetitiveSummaryBadRequest() *GetCompetitiveSummaryBadRequest

NewGetCompetitiveSummaryBadRequest creates a GetCompetitiveSummaryBadRequest with default headers values

func (*GetCompetitiveSummaryBadRequest) Error added in v0.3.0

func (*GetCompetitiveSummaryBadRequest) GetPayload added in v0.3.0

func (*GetCompetitiveSummaryBadRequest) IsClientError added in v0.3.0

func (o *GetCompetitiveSummaryBadRequest) IsClientError() bool

IsClientError returns true when this get competitive summary bad request response has a 4xx status code

func (*GetCompetitiveSummaryBadRequest) IsCode added in v0.3.0

func (o *GetCompetitiveSummaryBadRequest) IsCode(code int) bool

IsCode returns true when this get competitive summary bad request response a status code equal to that given

func (*GetCompetitiveSummaryBadRequest) IsRedirect added in v0.3.0

func (o *GetCompetitiveSummaryBadRequest) IsRedirect() bool

IsRedirect returns true when this get competitive summary bad request response has a 3xx status code

func (*GetCompetitiveSummaryBadRequest) IsServerError added in v0.3.0

func (o *GetCompetitiveSummaryBadRequest) IsServerError() bool

IsServerError returns true when this get competitive summary bad request response has a 5xx status code

func (*GetCompetitiveSummaryBadRequest) IsSuccess added in v0.3.0

func (o *GetCompetitiveSummaryBadRequest) IsSuccess() bool

IsSuccess returns true when this get competitive summary bad request response has a 2xx status code

func (*GetCompetitiveSummaryBadRequest) String added in v0.3.0

type GetCompetitiveSummaryForbidden added in v0.3.0

type GetCompetitiveSummaryForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetCompetitiveSummaryForbidden 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 NewGetCompetitiveSummaryForbidden added in v0.3.0

func NewGetCompetitiveSummaryForbidden() *GetCompetitiveSummaryForbidden

NewGetCompetitiveSummaryForbidden creates a GetCompetitiveSummaryForbidden with default headers values

func (*GetCompetitiveSummaryForbidden) Error added in v0.3.0

func (*GetCompetitiveSummaryForbidden) GetPayload added in v0.3.0

func (*GetCompetitiveSummaryForbidden) IsClientError added in v0.3.0

func (o *GetCompetitiveSummaryForbidden) IsClientError() bool

IsClientError returns true when this get competitive summary forbidden response has a 4xx status code

func (*GetCompetitiveSummaryForbidden) IsCode added in v0.3.0

func (o *GetCompetitiveSummaryForbidden) IsCode(code int) bool

IsCode returns true when this get competitive summary forbidden response a status code equal to that given

func (*GetCompetitiveSummaryForbidden) IsRedirect added in v0.3.0

func (o *GetCompetitiveSummaryForbidden) IsRedirect() bool

IsRedirect returns true when this get competitive summary forbidden response has a 3xx status code

func (*GetCompetitiveSummaryForbidden) IsServerError added in v0.3.0

func (o *GetCompetitiveSummaryForbidden) IsServerError() bool

IsServerError returns true when this get competitive summary forbidden response has a 5xx status code

func (*GetCompetitiveSummaryForbidden) IsSuccess added in v0.3.0

func (o *GetCompetitiveSummaryForbidden) IsSuccess() bool

IsSuccess returns true when this get competitive summary forbidden response has a 2xx status code

func (*GetCompetitiveSummaryForbidden) String added in v0.3.0

type GetCompetitiveSummaryInternalServerError added in v0.3.0

type GetCompetitiveSummaryInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetCompetitiveSummaryInternalServerError describes a response with status code 500, with default header values.

An unexpected condition occurred that prevented the server from fulfilling the request.

func NewGetCompetitiveSummaryInternalServerError added in v0.3.0

func NewGetCompetitiveSummaryInternalServerError() *GetCompetitiveSummaryInternalServerError

NewGetCompetitiveSummaryInternalServerError creates a GetCompetitiveSummaryInternalServerError with default headers values

func (*GetCompetitiveSummaryInternalServerError) Error added in v0.3.0

func (*GetCompetitiveSummaryInternalServerError) GetPayload added in v0.3.0

func (*GetCompetitiveSummaryInternalServerError) IsClientError added in v0.3.0

IsClientError returns true when this get competitive summary internal server error response has a 4xx status code

func (*GetCompetitiveSummaryInternalServerError) IsCode added in v0.3.0

IsCode returns true when this get competitive summary internal server error response a status code equal to that given

func (*GetCompetitiveSummaryInternalServerError) IsRedirect added in v0.3.0

IsRedirect returns true when this get competitive summary internal server error response has a 3xx status code

func (*GetCompetitiveSummaryInternalServerError) IsServerError added in v0.3.0

IsServerError returns true when this get competitive summary internal server error response has a 5xx status code

func (*GetCompetitiveSummaryInternalServerError) IsSuccess added in v0.3.0

IsSuccess returns true when this get competitive summary internal server error response has a 2xx status code

func (*GetCompetitiveSummaryInternalServerError) String added in v0.3.0

type GetCompetitiveSummaryNotFound added in v0.3.0

type GetCompetitiveSummaryNotFound struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetCompetitiveSummaryNotFound describes a response with status code 404, with default header values.

The specified resource does not exist.

func NewGetCompetitiveSummaryNotFound added in v0.3.0

func NewGetCompetitiveSummaryNotFound() *GetCompetitiveSummaryNotFound

NewGetCompetitiveSummaryNotFound creates a GetCompetitiveSummaryNotFound with default headers values

func (*GetCompetitiveSummaryNotFound) Error added in v0.3.0

func (*GetCompetitiveSummaryNotFound) GetPayload added in v0.3.0

func (*GetCompetitiveSummaryNotFound) IsClientError added in v0.3.0

func (o *GetCompetitiveSummaryNotFound) IsClientError() bool

IsClientError returns true when this get competitive summary not found response has a 4xx status code

func (*GetCompetitiveSummaryNotFound) IsCode added in v0.3.0

func (o *GetCompetitiveSummaryNotFound) IsCode(code int) bool

IsCode returns true when this get competitive summary not found response a status code equal to that given

func (*GetCompetitiveSummaryNotFound) IsRedirect added in v0.3.0

func (o *GetCompetitiveSummaryNotFound) IsRedirect() bool

IsRedirect returns true when this get competitive summary not found response has a 3xx status code

func (*GetCompetitiveSummaryNotFound) IsServerError added in v0.3.0

func (o *GetCompetitiveSummaryNotFound) IsServerError() bool

IsServerError returns true when this get competitive summary not found response has a 5xx status code

func (*GetCompetitiveSummaryNotFound) IsSuccess added in v0.3.0

func (o *GetCompetitiveSummaryNotFound) IsSuccess() bool

IsSuccess returns true when this get competitive summary not found response has a 2xx status code

func (*GetCompetitiveSummaryNotFound) String added in v0.3.0

type GetCompetitiveSummaryOK added in v0.3.0

type GetCompetitiveSummaryOK struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.CompetitiveSummaryBatchResponse
}

GetCompetitiveSummaryOK describes a response with status code 200, with default header values.

Success.

func NewGetCompetitiveSummaryOK added in v0.3.0

func NewGetCompetitiveSummaryOK() *GetCompetitiveSummaryOK

NewGetCompetitiveSummaryOK creates a GetCompetitiveSummaryOK with default headers values

func (*GetCompetitiveSummaryOK) Error added in v0.3.0

func (o *GetCompetitiveSummaryOK) Error() string

func (*GetCompetitiveSummaryOK) GetPayload added in v0.3.0

func (*GetCompetitiveSummaryOK) IsClientError added in v0.3.0

func (o *GetCompetitiveSummaryOK) IsClientError() bool

IsClientError returns true when this get competitive summary o k response has a 4xx status code

func (*GetCompetitiveSummaryOK) IsCode added in v0.3.0

func (o *GetCompetitiveSummaryOK) IsCode(code int) bool

IsCode returns true when this get competitive summary o k response a status code equal to that given

func (*GetCompetitiveSummaryOK) IsRedirect added in v0.3.0

func (o *GetCompetitiveSummaryOK) IsRedirect() bool

IsRedirect returns true when this get competitive summary o k response has a 3xx status code

func (*GetCompetitiveSummaryOK) IsServerError added in v0.3.0

func (o *GetCompetitiveSummaryOK) IsServerError() bool

IsServerError returns true when this get competitive summary o k response has a 5xx status code

func (*GetCompetitiveSummaryOK) IsSuccess added in v0.3.0

func (o *GetCompetitiveSummaryOK) IsSuccess() bool

IsSuccess returns true when this get competitive summary o k response has a 2xx status code

func (*GetCompetitiveSummaryOK) String added in v0.3.0

func (o *GetCompetitiveSummaryOK) String() string

type GetCompetitiveSummaryParams added in v0.3.0

type GetCompetitiveSummaryParams struct {

	/* Requests.

	   The batch of `getCompetitiveSummary` requests.
	*/
	Requests *product_pricing_2022_05_01_models.CompetitiveSummaryBatchRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCompetitiveSummaryParams contains all the parameters to send to the API endpoint

for the get competitive summary operation.

Typically these are written to a http.Request.

func NewGetCompetitiveSummaryParams added in v0.3.0

func NewGetCompetitiveSummaryParams() *GetCompetitiveSummaryParams

NewGetCompetitiveSummaryParams creates a new GetCompetitiveSummaryParams 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 NewGetCompetitiveSummaryParamsWithContext added in v0.3.0

func NewGetCompetitiveSummaryParamsWithContext(ctx context.Context) *GetCompetitiveSummaryParams

NewGetCompetitiveSummaryParamsWithContext creates a new GetCompetitiveSummaryParams object with the ability to set a context for a request.

func NewGetCompetitiveSummaryParamsWithHTTPClient added in v0.3.0

func NewGetCompetitiveSummaryParamsWithHTTPClient(client *http.Client) *GetCompetitiveSummaryParams

NewGetCompetitiveSummaryParamsWithHTTPClient creates a new GetCompetitiveSummaryParams object with the ability to set a custom HTTPClient for a request.

func NewGetCompetitiveSummaryParamsWithTimeout added in v0.3.0

func NewGetCompetitiveSummaryParamsWithTimeout(timeout time.Duration) *GetCompetitiveSummaryParams

NewGetCompetitiveSummaryParamsWithTimeout creates a new GetCompetitiveSummaryParams object with the ability to set a timeout on a request.

func (*GetCompetitiveSummaryParams) SetContext added in v0.3.0

func (o *GetCompetitiveSummaryParams) SetContext(ctx context.Context)

SetContext adds the context to the get competitive summary params

func (*GetCompetitiveSummaryParams) SetDefaults added in v0.3.0

func (o *GetCompetitiveSummaryParams) SetDefaults()

SetDefaults hydrates default values in the get competitive summary params (not the query body).

All values with no default are reset to their zero value.

func (*GetCompetitiveSummaryParams) SetHTTPClient added in v0.3.0

func (o *GetCompetitiveSummaryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get competitive summary params

func (*GetCompetitiveSummaryParams) SetRequests added in v0.3.0

SetRequests adds the requests to the get competitive summary params

func (*GetCompetitiveSummaryParams) SetTimeout added in v0.3.0

func (o *GetCompetitiveSummaryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get competitive summary params

func (*GetCompetitiveSummaryParams) WithContext added in v0.3.0

WithContext adds the context to the get competitive summary params

func (*GetCompetitiveSummaryParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get competitive summary params (not the query body).

All values with no default are reset to their zero value.

func (*GetCompetitiveSummaryParams) WithHTTPClient added in v0.3.0

WithHTTPClient adds the HTTPClient to the get competitive summary params

func (*GetCompetitiveSummaryParams) WithRequests added in v0.3.0

WithRequests adds the requests to the get competitive summary params

func (*GetCompetitiveSummaryParams) WithTimeout added in v0.3.0

WithTimeout adds the timeout to the get competitive summary params

func (*GetCompetitiveSummaryParams) WriteToRequest added in v0.3.0

WriteToRequest writes these params to a swagger request

type GetCompetitiveSummaryReader added in v0.3.0

type GetCompetitiveSummaryReader struct {
	// contains filtered or unexported fields
}

GetCompetitiveSummaryReader is a Reader for the GetCompetitiveSummary structure.

func (*GetCompetitiveSummaryReader) ReadResponse added in v0.3.0

func (o *GetCompetitiveSummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCompetitiveSummaryServiceUnavailable added in v0.3.0

type GetCompetitiveSummaryServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetCompetitiveSummaryServiceUnavailable describes a response with status code 503, with default header values.

Temporary overloading or maintenance of the server.

func NewGetCompetitiveSummaryServiceUnavailable added in v0.3.0

func NewGetCompetitiveSummaryServiceUnavailable() *GetCompetitiveSummaryServiceUnavailable

NewGetCompetitiveSummaryServiceUnavailable creates a GetCompetitiveSummaryServiceUnavailable with default headers values

func (*GetCompetitiveSummaryServiceUnavailable) Error added in v0.3.0

func (*GetCompetitiveSummaryServiceUnavailable) GetPayload added in v0.3.0

func (*GetCompetitiveSummaryServiceUnavailable) IsClientError added in v0.3.0

func (o *GetCompetitiveSummaryServiceUnavailable) IsClientError() bool

IsClientError returns true when this get competitive summary service unavailable response has a 4xx status code

func (*GetCompetitiveSummaryServiceUnavailable) IsCode added in v0.3.0

IsCode returns true when this get competitive summary service unavailable response a status code equal to that given

func (*GetCompetitiveSummaryServiceUnavailable) IsRedirect added in v0.3.0

IsRedirect returns true when this get competitive summary service unavailable response has a 3xx status code

func (*GetCompetitiveSummaryServiceUnavailable) IsServerError added in v0.3.0

func (o *GetCompetitiveSummaryServiceUnavailable) IsServerError() bool

IsServerError returns true when this get competitive summary service unavailable response has a 5xx status code

func (*GetCompetitiveSummaryServiceUnavailable) IsSuccess added in v0.3.0

IsSuccess returns true when this get competitive summary service unavailable response has a 2xx status code

func (*GetCompetitiveSummaryServiceUnavailable) String added in v0.3.0

type GetCompetitiveSummaryTooManyRequests added in v0.3.0

type GetCompetitiveSummaryTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetCompetitiveSummaryTooManyRequests describes a response with status code 429, with default header values.

The frequency of requests was greater than allowed.

func NewGetCompetitiveSummaryTooManyRequests added in v0.3.0

func NewGetCompetitiveSummaryTooManyRequests() *GetCompetitiveSummaryTooManyRequests

NewGetCompetitiveSummaryTooManyRequests creates a GetCompetitiveSummaryTooManyRequests with default headers values

func (*GetCompetitiveSummaryTooManyRequests) Error added in v0.3.0

func (*GetCompetitiveSummaryTooManyRequests) GetPayload added in v0.3.0

func (*GetCompetitiveSummaryTooManyRequests) IsClientError added in v0.3.0

func (o *GetCompetitiveSummaryTooManyRequests) IsClientError() bool

IsClientError returns true when this get competitive summary too many requests response has a 4xx status code

func (*GetCompetitiveSummaryTooManyRequests) IsCode added in v0.3.0

IsCode returns true when this get competitive summary too many requests response a status code equal to that given

func (*GetCompetitiveSummaryTooManyRequests) IsRedirect added in v0.3.0

IsRedirect returns true when this get competitive summary too many requests response has a 3xx status code

func (*GetCompetitiveSummaryTooManyRequests) IsServerError added in v0.3.0

func (o *GetCompetitiveSummaryTooManyRequests) IsServerError() bool

IsServerError returns true when this get competitive summary too many requests response has a 5xx status code

func (*GetCompetitiveSummaryTooManyRequests) IsSuccess added in v0.3.0

IsSuccess returns true when this get competitive summary too many requests response has a 2xx status code

func (*GetCompetitiveSummaryTooManyRequests) String added in v0.3.0

type GetFeaturedOfferExpectedPriceBatchBadRequest

type GetFeaturedOfferExpectedPriceBatchBadRequest struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetFeaturedOfferExpectedPriceBatchBadRequest describes a response with status code 400, with default header values.

Request has missing or invalid parameters and cannot be parsed.

func NewGetFeaturedOfferExpectedPriceBatchBadRequest

func NewGetFeaturedOfferExpectedPriceBatchBadRequest() *GetFeaturedOfferExpectedPriceBatchBadRequest

NewGetFeaturedOfferExpectedPriceBatchBadRequest creates a GetFeaturedOfferExpectedPriceBatchBadRequest with default headers values

func (*GetFeaturedOfferExpectedPriceBatchBadRequest) Error

func (*GetFeaturedOfferExpectedPriceBatchBadRequest) GetPayload

func (*GetFeaturedOfferExpectedPriceBatchBadRequest) IsClientError

IsClientError returns true when this get featured offer expected price batch bad request response has a 4xx status code

func (*GetFeaturedOfferExpectedPriceBatchBadRequest) IsCode

IsCode returns true when this get featured offer expected price batch bad request response a status code equal to that given

func (*GetFeaturedOfferExpectedPriceBatchBadRequest) IsRedirect

IsRedirect returns true when this get featured offer expected price batch bad request response has a 3xx status code

func (*GetFeaturedOfferExpectedPriceBatchBadRequest) IsServerError

IsServerError returns true when this get featured offer expected price batch bad request response has a 5xx status code

func (*GetFeaturedOfferExpectedPriceBatchBadRequest) IsSuccess

IsSuccess returns true when this get featured offer expected price batch bad request response has a 2xx status code

func (*GetFeaturedOfferExpectedPriceBatchBadRequest) String

type GetFeaturedOfferExpectedPriceBatchForbidden

type GetFeaturedOfferExpectedPriceBatchForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetFeaturedOfferExpectedPriceBatchForbidden 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 NewGetFeaturedOfferExpectedPriceBatchForbidden

func NewGetFeaturedOfferExpectedPriceBatchForbidden() *GetFeaturedOfferExpectedPriceBatchForbidden

NewGetFeaturedOfferExpectedPriceBatchForbidden creates a GetFeaturedOfferExpectedPriceBatchForbidden with default headers values

func (*GetFeaturedOfferExpectedPriceBatchForbidden) Error

func (*GetFeaturedOfferExpectedPriceBatchForbidden) GetPayload

func (*GetFeaturedOfferExpectedPriceBatchForbidden) IsClientError

IsClientError returns true when this get featured offer expected price batch forbidden response has a 4xx status code

func (*GetFeaturedOfferExpectedPriceBatchForbidden) IsCode

IsCode returns true when this get featured offer expected price batch forbidden response a status code equal to that given

func (*GetFeaturedOfferExpectedPriceBatchForbidden) IsRedirect

IsRedirect returns true when this get featured offer expected price batch forbidden response has a 3xx status code

func (*GetFeaturedOfferExpectedPriceBatchForbidden) IsServerError

IsServerError returns true when this get featured offer expected price batch forbidden response has a 5xx status code

func (*GetFeaturedOfferExpectedPriceBatchForbidden) IsSuccess

IsSuccess returns true when this get featured offer expected price batch forbidden response has a 2xx status code

func (*GetFeaturedOfferExpectedPriceBatchForbidden) String

type GetFeaturedOfferExpectedPriceBatchInternalServerError

type GetFeaturedOfferExpectedPriceBatchInternalServerError struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetFeaturedOfferExpectedPriceBatchInternalServerError describes a response with status code 500, with default header values.

An unexpected condition occurred that prevented the server from fulfilling the request.

func NewGetFeaturedOfferExpectedPriceBatchInternalServerError

func NewGetFeaturedOfferExpectedPriceBatchInternalServerError() *GetFeaturedOfferExpectedPriceBatchInternalServerError

NewGetFeaturedOfferExpectedPriceBatchInternalServerError creates a GetFeaturedOfferExpectedPriceBatchInternalServerError with default headers values

func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) Error

func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) GetPayload

func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) IsClientError

IsClientError returns true when this get featured offer expected price batch internal server error response has a 4xx status code

func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) IsCode

IsCode returns true when this get featured offer expected price batch internal server error response a status code equal to that given

func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) IsRedirect

IsRedirect returns true when this get featured offer expected price batch internal server error response has a 3xx status code

func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) IsServerError

IsServerError returns true when this get featured offer expected price batch internal server error response has a 5xx status code

func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) IsSuccess

IsSuccess returns true when this get featured offer expected price batch internal server error response has a 2xx status code

func (*GetFeaturedOfferExpectedPriceBatchInternalServerError) String

type GetFeaturedOfferExpectedPriceBatchNotFound

type GetFeaturedOfferExpectedPriceBatchNotFound struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetFeaturedOfferExpectedPriceBatchNotFound describes a response with status code 404, with default header values.

The specified resource does not exist.

func NewGetFeaturedOfferExpectedPriceBatchNotFound

func NewGetFeaturedOfferExpectedPriceBatchNotFound() *GetFeaturedOfferExpectedPriceBatchNotFound

NewGetFeaturedOfferExpectedPriceBatchNotFound creates a GetFeaturedOfferExpectedPriceBatchNotFound with default headers values

func (*GetFeaturedOfferExpectedPriceBatchNotFound) Error

func (*GetFeaturedOfferExpectedPriceBatchNotFound) GetPayload

func (*GetFeaturedOfferExpectedPriceBatchNotFound) IsClientError

IsClientError returns true when this get featured offer expected price batch not found response has a 4xx status code

func (*GetFeaturedOfferExpectedPriceBatchNotFound) IsCode

IsCode returns true when this get featured offer expected price batch not found response a status code equal to that given

func (*GetFeaturedOfferExpectedPriceBatchNotFound) IsRedirect

IsRedirect returns true when this get featured offer expected price batch not found response has a 3xx status code

func (*GetFeaturedOfferExpectedPriceBatchNotFound) IsServerError

IsServerError returns true when this get featured offer expected price batch not found response has a 5xx status code

func (*GetFeaturedOfferExpectedPriceBatchNotFound) IsSuccess

IsSuccess returns true when this get featured offer expected price batch not found response has a 2xx status code

func (*GetFeaturedOfferExpectedPriceBatchNotFound) String

type GetFeaturedOfferExpectedPriceBatchOK

type GetFeaturedOfferExpectedPriceBatchOK struct {

	/* Your rate limit (requests per second) for this operation.
	 */
	XAmznRateLimitLimit string

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.GetFeaturedOfferExpectedPriceBatchResponse
}

GetFeaturedOfferExpectedPriceBatchOK describes a response with status code 200, with default header values.

Success.

func NewGetFeaturedOfferExpectedPriceBatchOK

func NewGetFeaturedOfferExpectedPriceBatchOK() *GetFeaturedOfferExpectedPriceBatchOK

NewGetFeaturedOfferExpectedPriceBatchOK creates a GetFeaturedOfferExpectedPriceBatchOK with default headers values

func (*GetFeaturedOfferExpectedPriceBatchOK) Error

func (*GetFeaturedOfferExpectedPriceBatchOK) IsClientError

func (o *GetFeaturedOfferExpectedPriceBatchOK) IsClientError() bool

IsClientError returns true when this get featured offer expected price batch o k response has a 4xx status code

func (*GetFeaturedOfferExpectedPriceBatchOK) IsCode

IsCode returns true when this get featured offer expected price batch o k response a status code equal to that given

func (*GetFeaturedOfferExpectedPriceBatchOK) IsRedirect

IsRedirect returns true when this get featured offer expected price batch o k response has a 3xx status code

func (*GetFeaturedOfferExpectedPriceBatchOK) IsServerError

func (o *GetFeaturedOfferExpectedPriceBatchOK) IsServerError() bool

IsServerError returns true when this get featured offer expected price batch o k response has a 5xx status code

func (*GetFeaturedOfferExpectedPriceBatchOK) IsSuccess

IsSuccess returns true when this get featured offer expected price batch o k response has a 2xx status code

func (*GetFeaturedOfferExpectedPriceBatchOK) String

type GetFeaturedOfferExpectedPriceBatchParams

type GetFeaturedOfferExpectedPriceBatchParams struct {

	// GetFeaturedOfferExpectedPriceBatchRequestBody.
	GetFeaturedOfferExpectedPriceBatchRequestBody *product_pricing_2022_05_01_models.GetFeaturedOfferExpectedPriceBatchRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetFeaturedOfferExpectedPriceBatchParams contains all the parameters to send to the API endpoint

for the get featured offer expected price batch operation.

Typically these are written to a http.Request.

func NewGetFeaturedOfferExpectedPriceBatchParams

func NewGetFeaturedOfferExpectedPriceBatchParams() *GetFeaturedOfferExpectedPriceBatchParams

NewGetFeaturedOfferExpectedPriceBatchParams creates a new GetFeaturedOfferExpectedPriceBatchParams 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 NewGetFeaturedOfferExpectedPriceBatchParamsWithContext

func NewGetFeaturedOfferExpectedPriceBatchParamsWithContext(ctx context.Context) *GetFeaturedOfferExpectedPriceBatchParams

NewGetFeaturedOfferExpectedPriceBatchParamsWithContext creates a new GetFeaturedOfferExpectedPriceBatchParams object with the ability to set a context for a request.

func NewGetFeaturedOfferExpectedPriceBatchParamsWithHTTPClient

func NewGetFeaturedOfferExpectedPriceBatchParamsWithHTTPClient(client *http.Client) *GetFeaturedOfferExpectedPriceBatchParams

NewGetFeaturedOfferExpectedPriceBatchParamsWithHTTPClient creates a new GetFeaturedOfferExpectedPriceBatchParams object with the ability to set a custom HTTPClient for a request.

func NewGetFeaturedOfferExpectedPriceBatchParamsWithTimeout

func NewGetFeaturedOfferExpectedPriceBatchParamsWithTimeout(timeout time.Duration) *GetFeaturedOfferExpectedPriceBatchParams

NewGetFeaturedOfferExpectedPriceBatchParamsWithTimeout creates a new GetFeaturedOfferExpectedPriceBatchParams object with the ability to set a timeout on a request.

func (*GetFeaturedOfferExpectedPriceBatchParams) SetContext

SetContext adds the context to the get featured offer expected price batch params

func (*GetFeaturedOfferExpectedPriceBatchParams) SetDefaults

SetDefaults hydrates default values in the get featured offer expected price batch params (not the query body).

All values with no default are reset to their zero value.

func (*GetFeaturedOfferExpectedPriceBatchParams) SetGetFeaturedOfferExpectedPriceBatchRequestBody

func (o *GetFeaturedOfferExpectedPriceBatchParams) SetGetFeaturedOfferExpectedPriceBatchRequestBody(getFeaturedOfferExpectedPriceBatchRequestBody *product_pricing_2022_05_01_models.GetFeaturedOfferExpectedPriceBatchRequest)

SetGetFeaturedOfferExpectedPriceBatchRequestBody adds the getFeaturedOfferExpectedPriceBatchRequestBody to the get featured offer expected price batch params

func (*GetFeaturedOfferExpectedPriceBatchParams) SetHTTPClient

func (o *GetFeaturedOfferExpectedPriceBatchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get featured offer expected price batch params

func (*GetFeaturedOfferExpectedPriceBatchParams) SetTimeout

SetTimeout adds the timeout to the get featured offer expected price batch params

func (*GetFeaturedOfferExpectedPriceBatchParams) WithContext

WithContext adds the context to the get featured offer expected price batch params

func (*GetFeaturedOfferExpectedPriceBatchParams) WithDefaults

WithDefaults hydrates default values in the get featured offer expected price batch params (not the query body).

All values with no default are reset to their zero value.

func (*GetFeaturedOfferExpectedPriceBatchParams) WithGetFeaturedOfferExpectedPriceBatchRequestBody

func (o *GetFeaturedOfferExpectedPriceBatchParams) WithGetFeaturedOfferExpectedPriceBatchRequestBody(getFeaturedOfferExpectedPriceBatchRequestBody *product_pricing_2022_05_01_models.GetFeaturedOfferExpectedPriceBatchRequest) *GetFeaturedOfferExpectedPriceBatchParams

WithGetFeaturedOfferExpectedPriceBatchRequestBody adds the getFeaturedOfferExpectedPriceBatchRequestBody to the get featured offer expected price batch params

func (*GetFeaturedOfferExpectedPriceBatchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get featured offer expected price batch params

func (*GetFeaturedOfferExpectedPriceBatchParams) WithTimeout

WithTimeout adds the timeout to the get featured offer expected price batch params

func (*GetFeaturedOfferExpectedPriceBatchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFeaturedOfferExpectedPriceBatchReader

type GetFeaturedOfferExpectedPriceBatchReader struct {
	// contains filtered or unexported fields
}

GetFeaturedOfferExpectedPriceBatchReader is a Reader for the GetFeaturedOfferExpectedPriceBatch structure.

func (*GetFeaturedOfferExpectedPriceBatchReader) ReadResponse

func (o *GetFeaturedOfferExpectedPriceBatchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetFeaturedOfferExpectedPriceBatchServiceUnavailable

type GetFeaturedOfferExpectedPriceBatchServiceUnavailable struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetFeaturedOfferExpectedPriceBatchServiceUnavailable describes a response with status code 503, with default header values.

Temporary overloading or maintenance of the server.

func NewGetFeaturedOfferExpectedPriceBatchServiceUnavailable

func NewGetFeaturedOfferExpectedPriceBatchServiceUnavailable() *GetFeaturedOfferExpectedPriceBatchServiceUnavailable

NewGetFeaturedOfferExpectedPriceBatchServiceUnavailable creates a GetFeaturedOfferExpectedPriceBatchServiceUnavailable with default headers values

func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) Error

func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) GetPayload

func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsClientError

IsClientError returns true when this get featured offer expected price batch service unavailable response has a 4xx status code

func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsCode

IsCode returns true when this get featured offer expected price batch service unavailable response a status code equal to that given

func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsRedirect

IsRedirect returns true when this get featured offer expected price batch service unavailable response has a 3xx status code

func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsServerError

IsServerError returns true when this get featured offer expected price batch service unavailable response has a 5xx status code

func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) IsSuccess

IsSuccess returns true when this get featured offer expected price batch service unavailable response has a 2xx status code

func (*GetFeaturedOfferExpectedPriceBatchServiceUnavailable) String

type GetFeaturedOfferExpectedPriceBatchTooManyRequests

type GetFeaturedOfferExpectedPriceBatchTooManyRequests struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetFeaturedOfferExpectedPriceBatchTooManyRequests describes a response with status code 429, with default header values.

The frequency of requests was greater than allowed.

func NewGetFeaturedOfferExpectedPriceBatchTooManyRequests

func NewGetFeaturedOfferExpectedPriceBatchTooManyRequests() *GetFeaturedOfferExpectedPriceBatchTooManyRequests

NewGetFeaturedOfferExpectedPriceBatchTooManyRequests creates a GetFeaturedOfferExpectedPriceBatchTooManyRequests with default headers values

func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) Error

func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) GetPayload

func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsClientError

IsClientError returns true when this get featured offer expected price batch too many requests response has a 4xx status code

func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsCode

IsCode returns true when this get featured offer expected price batch too many requests response a status code equal to that given

func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsRedirect

IsRedirect returns true when this get featured offer expected price batch too many requests response has a 3xx status code

func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsServerError

IsServerError returns true when this get featured offer expected price batch too many requests response has a 5xx status code

func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) IsSuccess

IsSuccess returns true when this get featured offer expected price batch too many requests response has a 2xx status code

func (*GetFeaturedOfferExpectedPriceBatchTooManyRequests) String

type GetFeaturedOfferExpectedPriceBatchUnauthorized

type GetFeaturedOfferExpectedPriceBatchUnauthorized struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *product_pricing_2022_05_01_models.Errors
}

GetFeaturedOfferExpectedPriceBatchUnauthorized 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 NewGetFeaturedOfferExpectedPriceBatchUnauthorized

func NewGetFeaturedOfferExpectedPriceBatchUnauthorized() *GetFeaturedOfferExpectedPriceBatchUnauthorized

NewGetFeaturedOfferExpectedPriceBatchUnauthorized creates a GetFeaturedOfferExpectedPriceBatchUnauthorized with default headers values

func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) Error

func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) GetPayload

func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) IsClientError

IsClientError returns true when this get featured offer expected price batch unauthorized response has a 4xx status code

func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) IsCode

IsCode returns true when this get featured offer expected price batch unauthorized response a status code equal to that given

func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) IsRedirect

IsRedirect returns true when this get featured offer expected price batch unauthorized response has a 3xx status code

func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) IsServerError

IsServerError returns true when this get featured offer expected price batch unauthorized response has a 5xx status code

func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) IsSuccess

IsSuccess returns true when this get featured offer expected price batch unauthorized response has a 2xx status code

func (*GetFeaturedOfferExpectedPriceBatchUnauthorized) String

Jump to

Keyboard shortcuts

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