vendor_orders

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: 11 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 vendor orders API

func (*Client) GetPurchaseOrder

func (a *Client) GetPurchaseOrder(params *GetPurchaseOrderParams, opts ...ClientOption) (*GetPurchaseOrderOK, error)
GetPurchaseOrder Returns a purchase order based on the purchaseOrderNumber value that you specify.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |

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) GetPurchaseOrders

func (a *Client) GetPurchaseOrders(params *GetPurchaseOrdersParams, opts ...ClientOption) (*GetPurchaseOrdersOK, error)
GetPurchaseOrders Returns a list of purchase orders created or changed during the time frame that you specify. You define the time frame using the createdAfter, createdBefore, changedAfter and changedBefore parameters. The date range to search must not be more than 7 days. You can choose to get only the purchase order numbers by setting includeDetails to false. You can then use the getPurchaseOrder operation to receive details for a specific purchase order.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |

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) GetPurchaseOrdersStatus

func (a *Client) GetPurchaseOrdersStatus(params *GetPurchaseOrdersStatusParams, opts ...ClientOption) (*GetPurchaseOrdersStatusOK, error)
GetPurchaseOrdersStatus Returns purchase order statuses based on the filters that you specify. Date range to search must not be more than 7 days. You can return a list of purchase order statuses using the available filters, or a single purchase order status by providing the purchase order number.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |

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) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) SubmitAcknowledgement

func (a *Client) SubmitAcknowledgement(params *SubmitAcknowledgementParams, opts ...ClientOption) (*SubmitAcknowledgementAccepted, error)
SubmitAcknowledgement Submits acknowledgements for one or more purchase orders.

**Usage Plan:**

| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |

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).

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetPurchaseOrder(params *GetPurchaseOrderParams, opts ...ClientOption) (*GetPurchaseOrderOK, error)

	GetPurchaseOrders(params *GetPurchaseOrdersParams, opts ...ClientOption) (*GetPurchaseOrdersOK, error)

	GetPurchaseOrdersStatus(params *GetPurchaseOrdersStatusParams, opts ...ClientOption) (*GetPurchaseOrdersStatusOK, error)

	SubmitAcknowledgement(params *SubmitAcknowledgementParams, opts ...ClientOption) (*SubmitAcknowledgementAccepted, 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 vendor orders API client.

type GetPurchaseOrderBadRequest

type GetPurchaseOrderBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrderResponse
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetPurchaseOrderBadRequest

func NewGetPurchaseOrderBadRequest() *GetPurchaseOrderBadRequest

NewGetPurchaseOrderBadRequest creates a GetPurchaseOrderBadRequest with default headers values

func (*GetPurchaseOrderBadRequest) Error

func (*GetPurchaseOrderBadRequest) GetPayload

func (*GetPurchaseOrderBadRequest) IsClientError

func (o *GetPurchaseOrderBadRequest) IsClientError() bool

IsClientError returns true when this get purchase order bad request response has a 4xx status code

func (*GetPurchaseOrderBadRequest) IsCode

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

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

func (*GetPurchaseOrderBadRequest) IsRedirect

func (o *GetPurchaseOrderBadRequest) IsRedirect() bool

IsRedirect returns true when this get purchase order bad request response has a 3xx status code

func (*GetPurchaseOrderBadRequest) IsServerError

func (o *GetPurchaseOrderBadRequest) IsServerError() bool

IsServerError returns true when this get purchase order bad request response has a 5xx status code

func (*GetPurchaseOrderBadRequest) IsSuccess

func (o *GetPurchaseOrderBadRequest) IsSuccess() bool

IsSuccess returns true when this get purchase order bad request response has a 2xx status code

func (*GetPurchaseOrderBadRequest) String

func (o *GetPurchaseOrderBadRequest) String() string

type GetPurchaseOrderForbidden

type GetPurchaseOrderForbidden 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrderResponse
}

GetPurchaseOrderForbidden describes a response with status code 403, with default header values.

Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.

func NewGetPurchaseOrderForbidden

func NewGetPurchaseOrderForbidden() *GetPurchaseOrderForbidden

NewGetPurchaseOrderForbidden creates a GetPurchaseOrderForbidden with default headers values

func (*GetPurchaseOrderForbidden) Error

func (o *GetPurchaseOrderForbidden) Error() string

func (*GetPurchaseOrderForbidden) GetPayload

func (*GetPurchaseOrderForbidden) IsClientError

func (o *GetPurchaseOrderForbidden) IsClientError() bool

IsClientError returns true when this get purchase order forbidden response has a 4xx status code

func (*GetPurchaseOrderForbidden) IsCode

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

IsCode returns true when this get purchase order forbidden response a status code equal to that given

func (*GetPurchaseOrderForbidden) IsRedirect

func (o *GetPurchaseOrderForbidden) IsRedirect() bool

IsRedirect returns true when this get purchase order forbidden response has a 3xx status code

func (*GetPurchaseOrderForbidden) IsServerError

func (o *GetPurchaseOrderForbidden) IsServerError() bool

IsServerError returns true when this get purchase order forbidden response has a 5xx status code

func (*GetPurchaseOrderForbidden) IsSuccess

func (o *GetPurchaseOrderForbidden) IsSuccess() bool

IsSuccess returns true when this get purchase order forbidden response has a 2xx status code

func (*GetPurchaseOrderForbidden) String

func (o *GetPurchaseOrderForbidden) String() string

type GetPurchaseOrderInternalServerError

type GetPurchaseOrderInternalServerError 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrderResponse
}

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

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

func NewGetPurchaseOrderInternalServerError

func NewGetPurchaseOrderInternalServerError() *GetPurchaseOrderInternalServerError

NewGetPurchaseOrderInternalServerError creates a GetPurchaseOrderInternalServerError with default headers values

func (*GetPurchaseOrderInternalServerError) Error

func (*GetPurchaseOrderInternalServerError) GetPayload

func (*GetPurchaseOrderInternalServerError) IsClientError

func (o *GetPurchaseOrderInternalServerError) IsClientError() bool

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

func (*GetPurchaseOrderInternalServerError) IsCode

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

func (*GetPurchaseOrderInternalServerError) IsRedirect

func (o *GetPurchaseOrderInternalServerError) IsRedirect() bool

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

func (*GetPurchaseOrderInternalServerError) IsServerError

func (o *GetPurchaseOrderInternalServerError) IsServerError() bool

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

func (*GetPurchaseOrderInternalServerError) IsSuccess

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

func (*GetPurchaseOrderInternalServerError) String

type GetPurchaseOrderNotFound

type GetPurchaseOrderNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrderResponse
}

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

The resource specified does not exist.

func NewGetPurchaseOrderNotFound

func NewGetPurchaseOrderNotFound() *GetPurchaseOrderNotFound

NewGetPurchaseOrderNotFound creates a GetPurchaseOrderNotFound with default headers values

func (*GetPurchaseOrderNotFound) Error

func (o *GetPurchaseOrderNotFound) Error() string

func (*GetPurchaseOrderNotFound) GetPayload

func (*GetPurchaseOrderNotFound) IsClientError

func (o *GetPurchaseOrderNotFound) IsClientError() bool

IsClientError returns true when this get purchase order not found response has a 4xx status code

func (*GetPurchaseOrderNotFound) IsCode

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

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

func (*GetPurchaseOrderNotFound) IsRedirect

func (o *GetPurchaseOrderNotFound) IsRedirect() bool

IsRedirect returns true when this get purchase order not found response has a 3xx status code

func (*GetPurchaseOrderNotFound) IsServerError

func (o *GetPurchaseOrderNotFound) IsServerError() bool

IsServerError returns true when this get purchase order not found response has a 5xx status code

func (*GetPurchaseOrderNotFound) IsSuccess

func (o *GetPurchaseOrderNotFound) IsSuccess() bool

IsSuccess returns true when this get purchase order not found response has a 2xx status code

func (*GetPurchaseOrderNotFound) String

func (o *GetPurchaseOrderNotFound) String() string

type GetPurchaseOrderOK

type GetPurchaseOrderOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrderResponse
}

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

Success.

func NewGetPurchaseOrderOK

func NewGetPurchaseOrderOK() *GetPurchaseOrderOK

NewGetPurchaseOrderOK creates a GetPurchaseOrderOK with default headers values

func (*GetPurchaseOrderOK) Error

func (o *GetPurchaseOrderOK) Error() string

func (*GetPurchaseOrderOK) GetPayload

func (*GetPurchaseOrderOK) IsClientError

func (o *GetPurchaseOrderOK) IsClientError() bool

IsClientError returns true when this get purchase order o k response has a 4xx status code

func (*GetPurchaseOrderOK) IsCode

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

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

func (*GetPurchaseOrderOK) IsRedirect

func (o *GetPurchaseOrderOK) IsRedirect() bool

IsRedirect returns true when this get purchase order o k response has a 3xx status code

func (*GetPurchaseOrderOK) IsServerError

func (o *GetPurchaseOrderOK) IsServerError() bool

IsServerError returns true when this get purchase order o k response has a 5xx status code

func (*GetPurchaseOrderOK) IsSuccess

func (o *GetPurchaseOrderOK) IsSuccess() bool

IsSuccess returns true when this get purchase order o k response has a 2xx status code

func (*GetPurchaseOrderOK) String

func (o *GetPurchaseOrderOK) String() string

type GetPurchaseOrderParams

type GetPurchaseOrderParams struct {

	/* PurchaseOrderNumber.

	   The purchase order identifier for the order that you want. Formatting Notes: 8-character alpha-numeric code.
	*/
	PurchaseOrderNumber string

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

GetPurchaseOrderParams contains all the parameters to send to the API endpoint

for the get purchase order operation.

Typically these are written to a http.Request.

func NewGetPurchaseOrderParams

func NewGetPurchaseOrderParams() *GetPurchaseOrderParams

NewGetPurchaseOrderParams creates a new GetPurchaseOrderParams 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 NewGetPurchaseOrderParamsWithContext

func NewGetPurchaseOrderParamsWithContext(ctx context.Context) *GetPurchaseOrderParams

NewGetPurchaseOrderParamsWithContext creates a new GetPurchaseOrderParams object with the ability to set a context for a request.

func NewGetPurchaseOrderParamsWithHTTPClient

func NewGetPurchaseOrderParamsWithHTTPClient(client *http.Client) *GetPurchaseOrderParams

NewGetPurchaseOrderParamsWithHTTPClient creates a new GetPurchaseOrderParams object with the ability to set a custom HTTPClient for a request.

func NewGetPurchaseOrderParamsWithTimeout

func NewGetPurchaseOrderParamsWithTimeout(timeout time.Duration) *GetPurchaseOrderParams

NewGetPurchaseOrderParamsWithTimeout creates a new GetPurchaseOrderParams object with the ability to set a timeout on a request.

func (*GetPurchaseOrderParams) SetContext

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

SetContext adds the context to the get purchase order params

func (*GetPurchaseOrderParams) SetDefaults

func (o *GetPurchaseOrderParams) SetDefaults()

SetDefaults hydrates default values in the get purchase order params (not the query body).

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

func (*GetPurchaseOrderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get purchase order params

func (*GetPurchaseOrderParams) SetPurchaseOrderNumber

func (o *GetPurchaseOrderParams) SetPurchaseOrderNumber(purchaseOrderNumber string)

SetPurchaseOrderNumber adds the purchaseOrderNumber to the get purchase order params

func (*GetPurchaseOrderParams) SetTimeout

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

SetTimeout adds the timeout to the get purchase order params

func (*GetPurchaseOrderParams) WithContext

WithContext adds the context to the get purchase order params

func (*GetPurchaseOrderParams) WithDefaults

WithDefaults hydrates default values in the get purchase order params (not the query body).

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

func (*GetPurchaseOrderParams) WithHTTPClient

func (o *GetPurchaseOrderParams) WithHTTPClient(client *http.Client) *GetPurchaseOrderParams

WithHTTPClient adds the HTTPClient to the get purchase order params

func (*GetPurchaseOrderParams) WithPurchaseOrderNumber

func (o *GetPurchaseOrderParams) WithPurchaseOrderNumber(purchaseOrderNumber string) *GetPurchaseOrderParams

WithPurchaseOrderNumber adds the purchaseOrderNumber to the get purchase order params

func (*GetPurchaseOrderParams) WithTimeout

WithTimeout adds the timeout to the get purchase order params

func (*GetPurchaseOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPurchaseOrderReader

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

GetPurchaseOrderReader is a Reader for the GetPurchaseOrder structure.

func (*GetPurchaseOrderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPurchaseOrderServiceUnavailable

type GetPurchaseOrderServiceUnavailable 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrderResponse
}

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

Temporary overloading or maintenance of the server.

func NewGetPurchaseOrderServiceUnavailable

func NewGetPurchaseOrderServiceUnavailable() *GetPurchaseOrderServiceUnavailable

NewGetPurchaseOrderServiceUnavailable creates a GetPurchaseOrderServiceUnavailable with default headers values

func (*GetPurchaseOrderServiceUnavailable) Error

func (*GetPurchaseOrderServiceUnavailable) GetPayload

func (*GetPurchaseOrderServiceUnavailable) IsClientError

func (o *GetPurchaseOrderServiceUnavailable) IsClientError() bool

IsClientError returns true when this get purchase order service unavailable response has a 4xx status code

func (*GetPurchaseOrderServiceUnavailable) IsCode

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

func (*GetPurchaseOrderServiceUnavailable) IsRedirect

func (o *GetPurchaseOrderServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get purchase order service unavailable response has a 3xx status code

func (*GetPurchaseOrderServiceUnavailable) IsServerError

func (o *GetPurchaseOrderServiceUnavailable) IsServerError() bool

IsServerError returns true when this get purchase order service unavailable response has a 5xx status code

func (*GetPurchaseOrderServiceUnavailable) IsSuccess

IsSuccess returns true when this get purchase order service unavailable response has a 2xx status code

func (*GetPurchaseOrderServiceUnavailable) String

type GetPurchaseOrderTooManyRequests

type GetPurchaseOrderTooManyRequests 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrderResponse
}

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

The frequency of requests was greater than allowed.

func NewGetPurchaseOrderTooManyRequests

func NewGetPurchaseOrderTooManyRequests() *GetPurchaseOrderTooManyRequests

NewGetPurchaseOrderTooManyRequests creates a GetPurchaseOrderTooManyRequests with default headers values

func (*GetPurchaseOrderTooManyRequests) Error

func (*GetPurchaseOrderTooManyRequests) GetPayload

func (*GetPurchaseOrderTooManyRequests) IsClientError

func (o *GetPurchaseOrderTooManyRequests) IsClientError() bool

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

func (*GetPurchaseOrderTooManyRequests) IsCode

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

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

func (*GetPurchaseOrderTooManyRequests) IsRedirect

func (o *GetPurchaseOrderTooManyRequests) IsRedirect() bool

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

func (*GetPurchaseOrderTooManyRequests) IsServerError

func (o *GetPurchaseOrderTooManyRequests) IsServerError() bool

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

func (*GetPurchaseOrderTooManyRequests) IsSuccess

func (o *GetPurchaseOrderTooManyRequests) IsSuccess() bool

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

func (*GetPurchaseOrderTooManyRequests) String

type GetPurchaseOrderUnauthorized

type GetPurchaseOrderUnauthorized 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrderResponse
}

GetPurchaseOrderUnauthorized 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 NewGetPurchaseOrderUnauthorized

func NewGetPurchaseOrderUnauthorized() *GetPurchaseOrderUnauthorized

NewGetPurchaseOrderUnauthorized creates a GetPurchaseOrderUnauthorized with default headers values

func (*GetPurchaseOrderUnauthorized) Error

func (*GetPurchaseOrderUnauthorized) GetPayload

func (*GetPurchaseOrderUnauthorized) IsClientError

func (o *GetPurchaseOrderUnauthorized) IsClientError() bool

IsClientError returns true when this get purchase order unauthorized response has a 4xx status code

func (*GetPurchaseOrderUnauthorized) IsCode

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

IsCode returns true when this get purchase order unauthorized response a status code equal to that given

func (*GetPurchaseOrderUnauthorized) IsRedirect

func (o *GetPurchaseOrderUnauthorized) IsRedirect() bool

IsRedirect returns true when this get purchase order unauthorized response has a 3xx status code

func (*GetPurchaseOrderUnauthorized) IsServerError

func (o *GetPurchaseOrderUnauthorized) IsServerError() bool

IsServerError returns true when this get purchase order unauthorized response has a 5xx status code

func (*GetPurchaseOrderUnauthorized) IsSuccess

func (o *GetPurchaseOrderUnauthorized) IsSuccess() bool

IsSuccess returns true when this get purchase order unauthorized response has a 2xx status code

func (*GetPurchaseOrderUnauthorized) String

type GetPurchaseOrderUnsupportedMediaType

type GetPurchaseOrderUnsupportedMediaType 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrderResponse
}

GetPurchaseOrderUnsupportedMediaType describes a response with status code 415, with default header values.

The request payload is in an unsupported format.

func NewGetPurchaseOrderUnsupportedMediaType

func NewGetPurchaseOrderUnsupportedMediaType() *GetPurchaseOrderUnsupportedMediaType

NewGetPurchaseOrderUnsupportedMediaType creates a GetPurchaseOrderUnsupportedMediaType with default headers values

func (*GetPurchaseOrderUnsupportedMediaType) Error

func (*GetPurchaseOrderUnsupportedMediaType) GetPayload

func (*GetPurchaseOrderUnsupportedMediaType) IsClientError

func (o *GetPurchaseOrderUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get purchase order unsupported media type response has a 4xx status code

func (*GetPurchaseOrderUnsupportedMediaType) IsCode

IsCode returns true when this get purchase order unsupported media type response a status code equal to that given

func (*GetPurchaseOrderUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get purchase order unsupported media type response has a 3xx status code

func (*GetPurchaseOrderUnsupportedMediaType) IsServerError

func (o *GetPurchaseOrderUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get purchase order unsupported media type response has a 5xx status code

func (*GetPurchaseOrderUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get purchase order unsupported media type response has a 2xx status code

func (*GetPurchaseOrderUnsupportedMediaType) String

type GetPurchaseOrdersBadRequest

type GetPurchaseOrdersBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersResponse
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetPurchaseOrdersBadRequest

func NewGetPurchaseOrdersBadRequest() *GetPurchaseOrdersBadRequest

NewGetPurchaseOrdersBadRequest creates a GetPurchaseOrdersBadRequest with default headers values

func (*GetPurchaseOrdersBadRequest) Error

func (*GetPurchaseOrdersBadRequest) GetPayload

func (*GetPurchaseOrdersBadRequest) IsClientError

func (o *GetPurchaseOrdersBadRequest) IsClientError() bool

IsClientError returns true when this get purchase orders bad request response has a 4xx status code

func (*GetPurchaseOrdersBadRequest) IsCode

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

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

func (*GetPurchaseOrdersBadRequest) IsRedirect

func (o *GetPurchaseOrdersBadRequest) IsRedirect() bool

IsRedirect returns true when this get purchase orders bad request response has a 3xx status code

func (*GetPurchaseOrdersBadRequest) IsServerError

func (o *GetPurchaseOrdersBadRequest) IsServerError() bool

IsServerError returns true when this get purchase orders bad request response has a 5xx status code

func (*GetPurchaseOrdersBadRequest) IsSuccess

func (o *GetPurchaseOrdersBadRequest) IsSuccess() bool

IsSuccess returns true when this get purchase orders bad request response has a 2xx status code

func (*GetPurchaseOrdersBadRequest) String

func (o *GetPurchaseOrdersBadRequest) String() string

type GetPurchaseOrdersForbidden

type GetPurchaseOrdersForbidden 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersResponse
}

GetPurchaseOrdersForbidden describes a response with status code 403, with default header values.

Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.

func NewGetPurchaseOrdersForbidden

func NewGetPurchaseOrdersForbidden() *GetPurchaseOrdersForbidden

NewGetPurchaseOrdersForbidden creates a GetPurchaseOrdersForbidden with default headers values

func (*GetPurchaseOrdersForbidden) Error

func (*GetPurchaseOrdersForbidden) GetPayload

func (*GetPurchaseOrdersForbidden) IsClientError

func (o *GetPurchaseOrdersForbidden) IsClientError() bool

IsClientError returns true when this get purchase orders forbidden response has a 4xx status code

func (*GetPurchaseOrdersForbidden) IsCode

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

IsCode returns true when this get purchase orders forbidden response a status code equal to that given

func (*GetPurchaseOrdersForbidden) IsRedirect

func (o *GetPurchaseOrdersForbidden) IsRedirect() bool

IsRedirect returns true when this get purchase orders forbidden response has a 3xx status code

func (*GetPurchaseOrdersForbidden) IsServerError

func (o *GetPurchaseOrdersForbidden) IsServerError() bool

IsServerError returns true when this get purchase orders forbidden response has a 5xx status code

func (*GetPurchaseOrdersForbidden) IsSuccess

func (o *GetPurchaseOrdersForbidden) IsSuccess() bool

IsSuccess returns true when this get purchase orders forbidden response has a 2xx status code

func (*GetPurchaseOrdersForbidden) String

func (o *GetPurchaseOrdersForbidden) String() string

type GetPurchaseOrdersInternalServerError

type GetPurchaseOrdersInternalServerError 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersResponse
}

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

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

func NewGetPurchaseOrdersInternalServerError

func NewGetPurchaseOrdersInternalServerError() *GetPurchaseOrdersInternalServerError

NewGetPurchaseOrdersInternalServerError creates a GetPurchaseOrdersInternalServerError with default headers values

func (*GetPurchaseOrdersInternalServerError) Error

func (*GetPurchaseOrdersInternalServerError) GetPayload

func (*GetPurchaseOrdersInternalServerError) IsClientError

func (o *GetPurchaseOrdersInternalServerError) IsClientError() bool

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

func (*GetPurchaseOrdersInternalServerError) IsCode

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

func (*GetPurchaseOrdersInternalServerError) IsRedirect

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

func (*GetPurchaseOrdersInternalServerError) IsServerError

func (o *GetPurchaseOrdersInternalServerError) IsServerError() bool

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

func (*GetPurchaseOrdersInternalServerError) IsSuccess

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

func (*GetPurchaseOrdersInternalServerError) String

type GetPurchaseOrdersNotFound

type GetPurchaseOrdersNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersResponse
}

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

The resource specified does not exist.

func NewGetPurchaseOrdersNotFound

func NewGetPurchaseOrdersNotFound() *GetPurchaseOrdersNotFound

NewGetPurchaseOrdersNotFound creates a GetPurchaseOrdersNotFound with default headers values

func (*GetPurchaseOrdersNotFound) Error

func (o *GetPurchaseOrdersNotFound) Error() string

func (*GetPurchaseOrdersNotFound) GetPayload

func (*GetPurchaseOrdersNotFound) IsClientError

func (o *GetPurchaseOrdersNotFound) IsClientError() bool

IsClientError returns true when this get purchase orders not found response has a 4xx status code

func (*GetPurchaseOrdersNotFound) IsCode

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

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

func (*GetPurchaseOrdersNotFound) IsRedirect

func (o *GetPurchaseOrdersNotFound) IsRedirect() bool

IsRedirect returns true when this get purchase orders not found response has a 3xx status code

func (*GetPurchaseOrdersNotFound) IsServerError

func (o *GetPurchaseOrdersNotFound) IsServerError() bool

IsServerError returns true when this get purchase orders not found response has a 5xx status code

func (*GetPurchaseOrdersNotFound) IsSuccess

func (o *GetPurchaseOrdersNotFound) IsSuccess() bool

IsSuccess returns true when this get purchase orders not found response has a 2xx status code

func (*GetPurchaseOrdersNotFound) String

func (o *GetPurchaseOrdersNotFound) String() string

type GetPurchaseOrdersOK

type GetPurchaseOrdersOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersResponse
}

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

Success.

func NewGetPurchaseOrdersOK

func NewGetPurchaseOrdersOK() *GetPurchaseOrdersOK

NewGetPurchaseOrdersOK creates a GetPurchaseOrdersOK with default headers values

func (*GetPurchaseOrdersOK) Error

func (o *GetPurchaseOrdersOK) Error() string

func (*GetPurchaseOrdersOK) GetPayload

func (*GetPurchaseOrdersOK) IsClientError

func (o *GetPurchaseOrdersOK) IsClientError() bool

IsClientError returns true when this get purchase orders o k response has a 4xx status code

func (*GetPurchaseOrdersOK) IsCode

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

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

func (*GetPurchaseOrdersOK) IsRedirect

func (o *GetPurchaseOrdersOK) IsRedirect() bool

IsRedirect returns true when this get purchase orders o k response has a 3xx status code

func (*GetPurchaseOrdersOK) IsServerError

func (o *GetPurchaseOrdersOK) IsServerError() bool

IsServerError returns true when this get purchase orders o k response has a 5xx status code

func (*GetPurchaseOrdersOK) IsSuccess

func (o *GetPurchaseOrdersOK) IsSuccess() bool

IsSuccess returns true when this get purchase orders o k response has a 2xx status code

func (*GetPurchaseOrdersOK) String

func (o *GetPurchaseOrdersOK) String() string

type GetPurchaseOrdersParams

type GetPurchaseOrdersParams struct {

	/* ChangedAfter.

	   Purchase orders that changed after this timestamp will be included in the result. Must be in ISO-8601 date/time format.

	   Format: date-time
	*/
	ChangedAfter *strfmt.DateTime

	/* ChangedBefore.

	   Purchase orders that changed before this timestamp will be included in the result. Must be in ISO-8601 date/time format.

	   Format: date-time
	*/
	ChangedBefore *strfmt.DateTime

	/* CreatedAfter.

	   Purchase orders that became available after this time will be included in the result. Must be in ISO-8601 date/time format.

	   Format: date-time
	*/
	CreatedAfter *strfmt.DateTime

	/* CreatedBefore.

	   Purchase orders that became available before this time will be included in the result. Must be in ISO-8601 date/time format.

	   Format: date-time
	*/
	CreatedBefore *strfmt.DateTime

	/* IncludeDetails.

	   When true, returns purchase orders with complete details. Otherwise, only purchase order numbers are returned. Default value is true.

	   Format: boolean
	*/
	IncludeDetails *string

	/* IsPOChanged.

	   When true, returns purchase orders which were modified after the order was placed. Vendors are required to pull the changed purchase order and fulfill the updated purchase order and not the original one. Default value is false.

	   Format: boolean
	*/
	IsPOChanged *string

	/* Limit.

	   The limit to the number of records returned. Default value is 100 records.

	   Format: int64
	*/
	Limit *int64

	/* NextToken.

	   Used for pagination when there is more purchase orders than the specified result size limit. The token value is returned in the previous API call
	*/
	NextToken *string

	/* OrderingVendorCode.

	   Filters purchase orders based on the specified ordering vendor code. This value should be same as 'sellingParty.partyId' in the purchase order. If not included in the filter, all purchase orders for all of the vendor codes that exist in the vendor group used to authorize the API client application are returned.
	*/
	OrderingVendorCode *string

	/* PoItemState.

	   Current state of the purchase order item. If this value is Cancelled, this API will return purchase orders which have one or more items cancelled by Amazon with updated item quantity as zero.
	*/
	PoItemState *string

	/* PurchaseOrderState.

	   Filters purchase orders based on the purchase order state.
	*/
	PurchaseOrderState *string

	/* SortOrder.

	   Sort in ascending or descending order by purchase order creation date.
	*/
	SortOrder *string

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

GetPurchaseOrdersParams contains all the parameters to send to the API endpoint

for the get purchase orders operation.

Typically these are written to a http.Request.

func NewGetPurchaseOrdersParams

func NewGetPurchaseOrdersParams() *GetPurchaseOrdersParams

NewGetPurchaseOrdersParams creates a new GetPurchaseOrdersParams 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 NewGetPurchaseOrdersParamsWithContext

func NewGetPurchaseOrdersParamsWithContext(ctx context.Context) *GetPurchaseOrdersParams

NewGetPurchaseOrdersParamsWithContext creates a new GetPurchaseOrdersParams object with the ability to set a context for a request.

func NewGetPurchaseOrdersParamsWithHTTPClient

func NewGetPurchaseOrdersParamsWithHTTPClient(client *http.Client) *GetPurchaseOrdersParams

NewGetPurchaseOrdersParamsWithHTTPClient creates a new GetPurchaseOrdersParams object with the ability to set a custom HTTPClient for a request.

func NewGetPurchaseOrdersParamsWithTimeout

func NewGetPurchaseOrdersParamsWithTimeout(timeout time.Duration) *GetPurchaseOrdersParams

NewGetPurchaseOrdersParamsWithTimeout creates a new GetPurchaseOrdersParams object with the ability to set a timeout on a request.

func (*GetPurchaseOrdersParams) SetChangedAfter

func (o *GetPurchaseOrdersParams) SetChangedAfter(changedAfter *strfmt.DateTime)

SetChangedAfter adds the changedAfter to the get purchase orders params

func (*GetPurchaseOrdersParams) SetChangedBefore

func (o *GetPurchaseOrdersParams) SetChangedBefore(changedBefore *strfmt.DateTime)

SetChangedBefore adds the changedBefore to the get purchase orders params

func (*GetPurchaseOrdersParams) SetContext

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

SetContext adds the context to the get purchase orders params

func (*GetPurchaseOrdersParams) SetCreatedAfter

func (o *GetPurchaseOrdersParams) SetCreatedAfter(createdAfter *strfmt.DateTime)

SetCreatedAfter adds the createdAfter to the get purchase orders params

func (*GetPurchaseOrdersParams) SetCreatedBefore

func (o *GetPurchaseOrdersParams) SetCreatedBefore(createdBefore *strfmt.DateTime)

SetCreatedBefore adds the createdBefore to the get purchase orders params

func (*GetPurchaseOrdersParams) SetDefaults

func (o *GetPurchaseOrdersParams) SetDefaults()

SetDefaults hydrates default values in the get purchase orders params (not the query body).

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

func (*GetPurchaseOrdersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get purchase orders params

func (*GetPurchaseOrdersParams) SetIncludeDetails

func (o *GetPurchaseOrdersParams) SetIncludeDetails(includeDetails *string)

SetIncludeDetails adds the includeDetails to the get purchase orders params

func (*GetPurchaseOrdersParams) SetIsPOChanged

func (o *GetPurchaseOrdersParams) SetIsPOChanged(isPOChanged *string)

SetIsPOChanged adds the isPOChanged to the get purchase orders params

func (*GetPurchaseOrdersParams) SetLimit

func (o *GetPurchaseOrdersParams) SetLimit(limit *int64)

SetLimit adds the limit to the get purchase orders params

func (*GetPurchaseOrdersParams) SetNextToken

func (o *GetPurchaseOrdersParams) SetNextToken(nextToken *string)

SetNextToken adds the nextToken to the get purchase orders params

func (*GetPurchaseOrdersParams) SetOrderingVendorCode

func (o *GetPurchaseOrdersParams) SetOrderingVendorCode(orderingVendorCode *string)

SetOrderingVendorCode adds the orderingVendorCode to the get purchase orders params

func (*GetPurchaseOrdersParams) SetPoItemState

func (o *GetPurchaseOrdersParams) SetPoItemState(poItemState *string)

SetPoItemState adds the poItemState to the get purchase orders params

func (*GetPurchaseOrdersParams) SetPurchaseOrderState

func (o *GetPurchaseOrdersParams) SetPurchaseOrderState(purchaseOrderState *string)

SetPurchaseOrderState adds the purchaseOrderState to the get purchase orders params

func (*GetPurchaseOrdersParams) SetSortOrder

func (o *GetPurchaseOrdersParams) SetSortOrder(sortOrder *string)

SetSortOrder adds the sortOrder to the get purchase orders params

func (*GetPurchaseOrdersParams) SetTimeout

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

SetTimeout adds the timeout to the get purchase orders params

func (*GetPurchaseOrdersParams) WithChangedAfter

func (o *GetPurchaseOrdersParams) WithChangedAfter(changedAfter *strfmt.DateTime) *GetPurchaseOrdersParams

WithChangedAfter adds the changedAfter to the get purchase orders params

func (*GetPurchaseOrdersParams) WithChangedBefore

func (o *GetPurchaseOrdersParams) WithChangedBefore(changedBefore *strfmt.DateTime) *GetPurchaseOrdersParams

WithChangedBefore adds the changedBefore to the get purchase orders params

func (*GetPurchaseOrdersParams) WithContext

WithContext adds the context to the get purchase orders params

func (*GetPurchaseOrdersParams) WithCreatedAfter

func (o *GetPurchaseOrdersParams) WithCreatedAfter(createdAfter *strfmt.DateTime) *GetPurchaseOrdersParams

WithCreatedAfter adds the createdAfter to the get purchase orders params

func (*GetPurchaseOrdersParams) WithCreatedBefore

func (o *GetPurchaseOrdersParams) WithCreatedBefore(createdBefore *strfmt.DateTime) *GetPurchaseOrdersParams

WithCreatedBefore adds the createdBefore to the get purchase orders params

func (*GetPurchaseOrdersParams) WithDefaults

WithDefaults hydrates default values in the get purchase orders params (not the query body).

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

func (*GetPurchaseOrdersParams) WithHTTPClient

func (o *GetPurchaseOrdersParams) WithHTTPClient(client *http.Client) *GetPurchaseOrdersParams

WithHTTPClient adds the HTTPClient to the get purchase orders params

func (*GetPurchaseOrdersParams) WithIncludeDetails

func (o *GetPurchaseOrdersParams) WithIncludeDetails(includeDetails *string) *GetPurchaseOrdersParams

WithIncludeDetails adds the includeDetails to the get purchase orders params

func (*GetPurchaseOrdersParams) WithIsPOChanged

func (o *GetPurchaseOrdersParams) WithIsPOChanged(isPOChanged *string) *GetPurchaseOrdersParams

WithIsPOChanged adds the isPOChanged to the get purchase orders params

func (*GetPurchaseOrdersParams) WithLimit

WithLimit adds the limit to the get purchase orders params

func (*GetPurchaseOrdersParams) WithNextToken

func (o *GetPurchaseOrdersParams) WithNextToken(nextToken *string) *GetPurchaseOrdersParams

WithNextToken adds the nextToken to the get purchase orders params

func (*GetPurchaseOrdersParams) WithOrderingVendorCode

func (o *GetPurchaseOrdersParams) WithOrderingVendorCode(orderingVendorCode *string) *GetPurchaseOrdersParams

WithOrderingVendorCode adds the orderingVendorCode to the get purchase orders params

func (*GetPurchaseOrdersParams) WithPoItemState

func (o *GetPurchaseOrdersParams) WithPoItemState(poItemState *string) *GetPurchaseOrdersParams

WithPoItemState adds the poItemState to the get purchase orders params

func (*GetPurchaseOrdersParams) WithPurchaseOrderState

func (o *GetPurchaseOrdersParams) WithPurchaseOrderState(purchaseOrderState *string) *GetPurchaseOrdersParams

WithPurchaseOrderState adds the purchaseOrderState to the get purchase orders params

func (*GetPurchaseOrdersParams) WithSortOrder

func (o *GetPurchaseOrdersParams) WithSortOrder(sortOrder *string) *GetPurchaseOrdersParams

WithSortOrder adds the sortOrder to the get purchase orders params

func (*GetPurchaseOrdersParams) WithTimeout

WithTimeout adds the timeout to the get purchase orders params

func (*GetPurchaseOrdersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPurchaseOrdersReader

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

GetPurchaseOrdersReader is a Reader for the GetPurchaseOrders structure.

func (*GetPurchaseOrdersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPurchaseOrdersServiceUnavailable

type GetPurchaseOrdersServiceUnavailable 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersResponse
}

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

Temporary overloading or maintenance of the server.

func NewGetPurchaseOrdersServiceUnavailable

func NewGetPurchaseOrdersServiceUnavailable() *GetPurchaseOrdersServiceUnavailable

NewGetPurchaseOrdersServiceUnavailable creates a GetPurchaseOrdersServiceUnavailable with default headers values

func (*GetPurchaseOrdersServiceUnavailable) Error

func (*GetPurchaseOrdersServiceUnavailable) GetPayload

func (*GetPurchaseOrdersServiceUnavailable) IsClientError

func (o *GetPurchaseOrdersServiceUnavailable) IsClientError() bool

IsClientError returns true when this get purchase orders service unavailable response has a 4xx status code

func (*GetPurchaseOrdersServiceUnavailable) IsCode

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

func (*GetPurchaseOrdersServiceUnavailable) IsRedirect

func (o *GetPurchaseOrdersServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get purchase orders service unavailable response has a 3xx status code

func (*GetPurchaseOrdersServiceUnavailable) IsServerError

func (o *GetPurchaseOrdersServiceUnavailable) IsServerError() bool

IsServerError returns true when this get purchase orders service unavailable response has a 5xx status code

func (*GetPurchaseOrdersServiceUnavailable) IsSuccess

IsSuccess returns true when this get purchase orders service unavailable response has a 2xx status code

func (*GetPurchaseOrdersServiceUnavailable) String

type GetPurchaseOrdersStatusBadRequest

type GetPurchaseOrdersStatusBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersStatusResponse
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetPurchaseOrdersStatusBadRequest

func NewGetPurchaseOrdersStatusBadRequest() *GetPurchaseOrdersStatusBadRequest

NewGetPurchaseOrdersStatusBadRequest creates a GetPurchaseOrdersStatusBadRequest with default headers values

func (*GetPurchaseOrdersStatusBadRequest) Error

func (*GetPurchaseOrdersStatusBadRequest) GetPayload

func (*GetPurchaseOrdersStatusBadRequest) IsClientError

func (o *GetPurchaseOrdersStatusBadRequest) IsClientError() bool

IsClientError returns true when this get purchase orders status bad request response has a 4xx status code

func (*GetPurchaseOrdersStatusBadRequest) IsCode

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

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

func (*GetPurchaseOrdersStatusBadRequest) IsRedirect

func (o *GetPurchaseOrdersStatusBadRequest) IsRedirect() bool

IsRedirect returns true when this get purchase orders status bad request response has a 3xx status code

func (*GetPurchaseOrdersStatusBadRequest) IsServerError

func (o *GetPurchaseOrdersStatusBadRequest) IsServerError() bool

IsServerError returns true when this get purchase orders status bad request response has a 5xx status code

func (*GetPurchaseOrdersStatusBadRequest) IsSuccess

func (o *GetPurchaseOrdersStatusBadRequest) IsSuccess() bool

IsSuccess returns true when this get purchase orders status bad request response has a 2xx status code

func (*GetPurchaseOrdersStatusBadRequest) String

type GetPurchaseOrdersStatusForbidden

type GetPurchaseOrdersStatusForbidden 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersStatusResponse
}

GetPurchaseOrdersStatusForbidden describes a response with status code 403, with default header values.

Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.

func NewGetPurchaseOrdersStatusForbidden

func NewGetPurchaseOrdersStatusForbidden() *GetPurchaseOrdersStatusForbidden

NewGetPurchaseOrdersStatusForbidden creates a GetPurchaseOrdersStatusForbidden with default headers values

func (*GetPurchaseOrdersStatusForbidden) Error

func (*GetPurchaseOrdersStatusForbidden) GetPayload

func (*GetPurchaseOrdersStatusForbidden) IsClientError

func (o *GetPurchaseOrdersStatusForbidden) IsClientError() bool

IsClientError returns true when this get purchase orders status forbidden response has a 4xx status code

func (*GetPurchaseOrdersStatusForbidden) IsCode

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

IsCode returns true when this get purchase orders status forbidden response a status code equal to that given

func (*GetPurchaseOrdersStatusForbidden) IsRedirect

func (o *GetPurchaseOrdersStatusForbidden) IsRedirect() bool

IsRedirect returns true when this get purchase orders status forbidden response has a 3xx status code

func (*GetPurchaseOrdersStatusForbidden) IsServerError

func (o *GetPurchaseOrdersStatusForbidden) IsServerError() bool

IsServerError returns true when this get purchase orders status forbidden response has a 5xx status code

func (*GetPurchaseOrdersStatusForbidden) IsSuccess

func (o *GetPurchaseOrdersStatusForbidden) IsSuccess() bool

IsSuccess returns true when this get purchase orders status forbidden response has a 2xx status code

func (*GetPurchaseOrdersStatusForbidden) String

type GetPurchaseOrdersStatusInternalServerError

type GetPurchaseOrdersStatusInternalServerError 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersStatusResponse
}

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

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

func NewGetPurchaseOrdersStatusInternalServerError

func NewGetPurchaseOrdersStatusInternalServerError() *GetPurchaseOrdersStatusInternalServerError

NewGetPurchaseOrdersStatusInternalServerError creates a GetPurchaseOrdersStatusInternalServerError with default headers values

func (*GetPurchaseOrdersStatusInternalServerError) Error

func (*GetPurchaseOrdersStatusInternalServerError) GetPayload

func (*GetPurchaseOrdersStatusInternalServerError) IsClientError

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

func (*GetPurchaseOrdersStatusInternalServerError) IsCode

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

func (*GetPurchaseOrdersStatusInternalServerError) IsRedirect

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

func (*GetPurchaseOrdersStatusInternalServerError) IsServerError

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

func (*GetPurchaseOrdersStatusInternalServerError) IsSuccess

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

func (*GetPurchaseOrdersStatusInternalServerError) String

type GetPurchaseOrdersStatusNotFound

type GetPurchaseOrdersStatusNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersStatusResponse
}

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

The resource specified does not exist.

func NewGetPurchaseOrdersStatusNotFound

func NewGetPurchaseOrdersStatusNotFound() *GetPurchaseOrdersStatusNotFound

NewGetPurchaseOrdersStatusNotFound creates a GetPurchaseOrdersStatusNotFound with default headers values

func (*GetPurchaseOrdersStatusNotFound) Error

func (*GetPurchaseOrdersStatusNotFound) GetPayload

func (*GetPurchaseOrdersStatusNotFound) IsClientError

func (o *GetPurchaseOrdersStatusNotFound) IsClientError() bool

IsClientError returns true when this get purchase orders status not found response has a 4xx status code

func (*GetPurchaseOrdersStatusNotFound) IsCode

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

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

func (*GetPurchaseOrdersStatusNotFound) IsRedirect

func (o *GetPurchaseOrdersStatusNotFound) IsRedirect() bool

IsRedirect returns true when this get purchase orders status not found response has a 3xx status code

func (*GetPurchaseOrdersStatusNotFound) IsServerError

func (o *GetPurchaseOrdersStatusNotFound) IsServerError() bool

IsServerError returns true when this get purchase orders status not found response has a 5xx status code

func (*GetPurchaseOrdersStatusNotFound) IsSuccess

func (o *GetPurchaseOrdersStatusNotFound) IsSuccess() bool

IsSuccess returns true when this get purchase orders status not found response has a 2xx status code

func (*GetPurchaseOrdersStatusNotFound) String

type GetPurchaseOrdersStatusOK

type GetPurchaseOrdersStatusOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersStatusResponse
}

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

Success.

func NewGetPurchaseOrdersStatusOK

func NewGetPurchaseOrdersStatusOK() *GetPurchaseOrdersStatusOK

NewGetPurchaseOrdersStatusOK creates a GetPurchaseOrdersStatusOK with default headers values

func (*GetPurchaseOrdersStatusOK) Error

func (o *GetPurchaseOrdersStatusOK) Error() string

func (*GetPurchaseOrdersStatusOK) GetPayload

func (*GetPurchaseOrdersStatusOK) IsClientError

func (o *GetPurchaseOrdersStatusOK) IsClientError() bool

IsClientError returns true when this get purchase orders status o k response has a 4xx status code

func (*GetPurchaseOrdersStatusOK) IsCode

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

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

func (*GetPurchaseOrdersStatusOK) IsRedirect

func (o *GetPurchaseOrdersStatusOK) IsRedirect() bool

IsRedirect returns true when this get purchase orders status o k response has a 3xx status code

func (*GetPurchaseOrdersStatusOK) IsServerError

func (o *GetPurchaseOrdersStatusOK) IsServerError() bool

IsServerError returns true when this get purchase orders status o k response has a 5xx status code

func (*GetPurchaseOrdersStatusOK) IsSuccess

func (o *GetPurchaseOrdersStatusOK) IsSuccess() bool

IsSuccess returns true when this get purchase orders status o k response has a 2xx status code

func (*GetPurchaseOrdersStatusOK) String

func (o *GetPurchaseOrdersStatusOK) String() string

type GetPurchaseOrdersStatusParams

type GetPurchaseOrdersStatusParams struct {

	/* CreatedAfter.

	   Purchase orders that became available after this timestamp will be included in the result. Must be in ISO-8601 date/time format.

	   Format: date-time
	*/
	CreatedAfter *strfmt.DateTime

	/* CreatedBefore.

	   Purchase orders that became available before this timestamp will be included in the result. Must be in ISO-8601 date/time format.

	   Format: date-time
	*/
	CreatedBefore *strfmt.DateTime

	/* ItemConfirmationStatus.

	   Filters purchase orders based on their item confirmation status. If the item confirmation status is not included in the filter, purchase orders for all confirmation statuses are included.
	*/
	ItemConfirmationStatus *string

	/* ItemReceiveStatus.

	   Filters purchase orders based on the purchase order's item receive status. If the item receive status is not included in the filter, purchase orders for all receive statuses are included.
	*/
	ItemReceiveStatus *string

	/* Limit.

	   The limit to the number of records returned. Default value is 100 records.

	   Format: int64
	*/
	Limit *int64

	/* NextToken.

	   Used for pagination when there are more purchase orders than the specified result size limit.
	*/
	NextToken *string

	/* OrderingVendorCode.

	   Filters purchase orders based on the specified ordering vendor code. This value should be same as 'sellingParty.partyId' in the purchase order. If not included in filter, all purchase orders for all the vendor codes that exist in the vendor group used to authorize API client application are returned.
	*/
	OrderingVendorCode *string

	/* PurchaseOrderNumber.

	   Provides purchase order status for the specified purchase order number.
	*/
	PurchaseOrderNumber *string

	/* PurchaseOrderStatus.

	   Filters purchase orders based on the specified purchase order status. If not included in filter, this will return purchase orders for all statuses.
	*/
	PurchaseOrderStatus *string

	/* ShipToPartyID.

	   Filters purchase orders for a specific buyer's Fulfillment Center/warehouse by providing ship to location id here. This value should be same as 'shipToParty.partyId' in the purchase order. If not included in filter, this will return purchase orders for all the buyer's warehouses used for vendor group purchase orders.
	*/
	ShipToPartyID *string

	/* SortOrder.

	   Sort in ascending or descending order by purchase order creation date.
	*/
	SortOrder *string

	/* UpdatedAfter.

	   Purchase orders for which the last purchase order update happened after this timestamp will be included in the result. Must be in ISO-8601 date/time format.

	   Format: date-time
	*/
	UpdatedAfter *strfmt.DateTime

	/* UpdatedBefore.

	   Purchase orders for which the last purchase order update happened before this timestamp will be included in the result. Must be in ISO-8601 date/time format.

	   Format: date-time
	*/
	UpdatedBefore *strfmt.DateTime

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

GetPurchaseOrdersStatusParams contains all the parameters to send to the API endpoint

for the get purchase orders status operation.

Typically these are written to a http.Request.

func NewGetPurchaseOrdersStatusParams

func NewGetPurchaseOrdersStatusParams() *GetPurchaseOrdersStatusParams

NewGetPurchaseOrdersStatusParams creates a new GetPurchaseOrdersStatusParams 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 NewGetPurchaseOrdersStatusParamsWithContext

func NewGetPurchaseOrdersStatusParamsWithContext(ctx context.Context) *GetPurchaseOrdersStatusParams

NewGetPurchaseOrdersStatusParamsWithContext creates a new GetPurchaseOrdersStatusParams object with the ability to set a context for a request.

func NewGetPurchaseOrdersStatusParamsWithHTTPClient

func NewGetPurchaseOrdersStatusParamsWithHTTPClient(client *http.Client) *GetPurchaseOrdersStatusParams

NewGetPurchaseOrdersStatusParamsWithHTTPClient creates a new GetPurchaseOrdersStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetPurchaseOrdersStatusParamsWithTimeout

func NewGetPurchaseOrdersStatusParamsWithTimeout(timeout time.Duration) *GetPurchaseOrdersStatusParams

NewGetPurchaseOrdersStatusParamsWithTimeout creates a new GetPurchaseOrdersStatusParams object with the ability to set a timeout on a request.

func (*GetPurchaseOrdersStatusParams) SetContext

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

SetContext adds the context to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetCreatedAfter

func (o *GetPurchaseOrdersStatusParams) SetCreatedAfter(createdAfter *strfmt.DateTime)

SetCreatedAfter adds the createdAfter to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetCreatedBefore

func (o *GetPurchaseOrdersStatusParams) SetCreatedBefore(createdBefore *strfmt.DateTime)

SetCreatedBefore adds the createdBefore to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetDefaults

func (o *GetPurchaseOrdersStatusParams) SetDefaults()

SetDefaults hydrates default values in the get purchase orders status params (not the query body).

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

func (*GetPurchaseOrdersStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetItemConfirmationStatus

func (o *GetPurchaseOrdersStatusParams) SetItemConfirmationStatus(itemConfirmationStatus *string)

SetItemConfirmationStatus adds the itemConfirmationStatus to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetItemReceiveStatus

func (o *GetPurchaseOrdersStatusParams) SetItemReceiveStatus(itemReceiveStatus *string)

SetItemReceiveStatus adds the itemReceiveStatus to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetLimit

func (o *GetPurchaseOrdersStatusParams) SetLimit(limit *int64)

SetLimit adds the limit to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetNextToken

func (o *GetPurchaseOrdersStatusParams) SetNextToken(nextToken *string)

SetNextToken adds the nextToken to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetOrderingVendorCode

func (o *GetPurchaseOrdersStatusParams) SetOrderingVendorCode(orderingVendorCode *string)

SetOrderingVendorCode adds the orderingVendorCode to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetPurchaseOrderNumber

func (o *GetPurchaseOrdersStatusParams) SetPurchaseOrderNumber(purchaseOrderNumber *string)

SetPurchaseOrderNumber adds the purchaseOrderNumber to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetPurchaseOrderStatus

func (o *GetPurchaseOrdersStatusParams) SetPurchaseOrderStatus(purchaseOrderStatus *string)

SetPurchaseOrderStatus adds the purchaseOrderStatus to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetShipToPartyID

func (o *GetPurchaseOrdersStatusParams) SetShipToPartyID(shipToPartyID *string)

SetShipToPartyID adds the shipToPartyId to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetSortOrder

func (o *GetPurchaseOrdersStatusParams) SetSortOrder(sortOrder *string)

SetSortOrder adds the sortOrder to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetTimeout

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

SetTimeout adds the timeout to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetUpdatedAfter

func (o *GetPurchaseOrdersStatusParams) SetUpdatedAfter(updatedAfter *strfmt.DateTime)

SetUpdatedAfter adds the updatedAfter to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) SetUpdatedBefore

func (o *GetPurchaseOrdersStatusParams) SetUpdatedBefore(updatedBefore *strfmt.DateTime)

SetUpdatedBefore adds the updatedBefore to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithContext

WithContext adds the context to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithCreatedAfter

func (o *GetPurchaseOrdersStatusParams) WithCreatedAfter(createdAfter *strfmt.DateTime) *GetPurchaseOrdersStatusParams

WithCreatedAfter adds the createdAfter to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithCreatedBefore

func (o *GetPurchaseOrdersStatusParams) WithCreatedBefore(createdBefore *strfmt.DateTime) *GetPurchaseOrdersStatusParams

WithCreatedBefore adds the createdBefore to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithDefaults

WithDefaults hydrates default values in the get purchase orders status params (not the query body).

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

func (*GetPurchaseOrdersStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithItemConfirmationStatus

func (o *GetPurchaseOrdersStatusParams) WithItemConfirmationStatus(itemConfirmationStatus *string) *GetPurchaseOrdersStatusParams

WithItemConfirmationStatus adds the itemConfirmationStatus to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithItemReceiveStatus

func (o *GetPurchaseOrdersStatusParams) WithItemReceiveStatus(itemReceiveStatus *string) *GetPurchaseOrdersStatusParams

WithItemReceiveStatus adds the itemReceiveStatus to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithLimit

WithLimit adds the limit to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithNextToken

WithNextToken adds the nextToken to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithOrderingVendorCode

func (o *GetPurchaseOrdersStatusParams) WithOrderingVendorCode(orderingVendorCode *string) *GetPurchaseOrdersStatusParams

WithOrderingVendorCode adds the orderingVendorCode to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithPurchaseOrderNumber

func (o *GetPurchaseOrdersStatusParams) WithPurchaseOrderNumber(purchaseOrderNumber *string) *GetPurchaseOrdersStatusParams

WithPurchaseOrderNumber adds the purchaseOrderNumber to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithPurchaseOrderStatus

func (o *GetPurchaseOrdersStatusParams) WithPurchaseOrderStatus(purchaseOrderStatus *string) *GetPurchaseOrdersStatusParams

WithPurchaseOrderStatus adds the purchaseOrderStatus to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithShipToPartyID

func (o *GetPurchaseOrdersStatusParams) WithShipToPartyID(shipToPartyID *string) *GetPurchaseOrdersStatusParams

WithShipToPartyID adds the shipToPartyID to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithSortOrder

WithSortOrder adds the sortOrder to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithTimeout

WithTimeout adds the timeout to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithUpdatedAfter

func (o *GetPurchaseOrdersStatusParams) WithUpdatedAfter(updatedAfter *strfmt.DateTime) *GetPurchaseOrdersStatusParams

WithUpdatedAfter adds the updatedAfter to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WithUpdatedBefore

func (o *GetPurchaseOrdersStatusParams) WithUpdatedBefore(updatedBefore *strfmt.DateTime) *GetPurchaseOrdersStatusParams

WithUpdatedBefore adds the updatedBefore to the get purchase orders status params

func (*GetPurchaseOrdersStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPurchaseOrdersStatusReader

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

GetPurchaseOrdersStatusReader is a Reader for the GetPurchaseOrdersStatus structure.

func (*GetPurchaseOrdersStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPurchaseOrdersStatusServiceUnavailable

type GetPurchaseOrdersStatusServiceUnavailable 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersStatusResponse
}

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

Temporary overloading or maintenance of the server.

func NewGetPurchaseOrdersStatusServiceUnavailable

func NewGetPurchaseOrdersStatusServiceUnavailable() *GetPurchaseOrdersStatusServiceUnavailable

NewGetPurchaseOrdersStatusServiceUnavailable creates a GetPurchaseOrdersStatusServiceUnavailable with default headers values

func (*GetPurchaseOrdersStatusServiceUnavailable) Error

func (*GetPurchaseOrdersStatusServiceUnavailable) GetPayload

func (*GetPurchaseOrdersStatusServiceUnavailable) IsClientError

IsClientError returns true when this get purchase orders status service unavailable response has a 4xx status code

func (*GetPurchaseOrdersStatusServiceUnavailable) IsCode

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

func (*GetPurchaseOrdersStatusServiceUnavailable) IsRedirect

IsRedirect returns true when this get purchase orders status service unavailable response has a 3xx status code

func (*GetPurchaseOrdersStatusServiceUnavailable) IsServerError

IsServerError returns true when this get purchase orders status service unavailable response has a 5xx status code

func (*GetPurchaseOrdersStatusServiceUnavailable) IsSuccess

IsSuccess returns true when this get purchase orders status service unavailable response has a 2xx status code

func (*GetPurchaseOrdersStatusServiceUnavailable) String

type GetPurchaseOrdersStatusTooManyRequests

type GetPurchaseOrdersStatusTooManyRequests 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersStatusResponse
}

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

The frequency of requests was greater than allowed.

func NewGetPurchaseOrdersStatusTooManyRequests

func NewGetPurchaseOrdersStatusTooManyRequests() *GetPurchaseOrdersStatusTooManyRequests

NewGetPurchaseOrdersStatusTooManyRequests creates a GetPurchaseOrdersStatusTooManyRequests with default headers values

func (*GetPurchaseOrdersStatusTooManyRequests) Error

func (*GetPurchaseOrdersStatusTooManyRequests) GetPayload

func (*GetPurchaseOrdersStatusTooManyRequests) IsClientError

func (o *GetPurchaseOrdersStatusTooManyRequests) IsClientError() bool

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

func (*GetPurchaseOrdersStatusTooManyRequests) IsCode

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

func (*GetPurchaseOrdersStatusTooManyRequests) IsRedirect

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

func (*GetPurchaseOrdersStatusTooManyRequests) IsServerError

func (o *GetPurchaseOrdersStatusTooManyRequests) IsServerError() bool

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

func (*GetPurchaseOrdersStatusTooManyRequests) IsSuccess

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

func (*GetPurchaseOrdersStatusTooManyRequests) String

type GetPurchaseOrdersStatusUnsupportedMediaType

type GetPurchaseOrdersStatusUnsupportedMediaType 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersStatusResponse
}

GetPurchaseOrdersStatusUnsupportedMediaType describes a response with status code 415, with default header values.

The request payload is in an unsupported format.

func NewGetPurchaseOrdersStatusUnsupportedMediaType

func NewGetPurchaseOrdersStatusUnsupportedMediaType() *GetPurchaseOrdersStatusUnsupportedMediaType

NewGetPurchaseOrdersStatusUnsupportedMediaType creates a GetPurchaseOrdersStatusUnsupportedMediaType with default headers values

func (*GetPurchaseOrdersStatusUnsupportedMediaType) Error

func (*GetPurchaseOrdersStatusUnsupportedMediaType) GetPayload

func (*GetPurchaseOrdersStatusUnsupportedMediaType) IsClientError

IsClientError returns true when this get purchase orders status unsupported media type response has a 4xx status code

func (*GetPurchaseOrdersStatusUnsupportedMediaType) IsCode

IsCode returns true when this get purchase orders status unsupported media type response a status code equal to that given

func (*GetPurchaseOrdersStatusUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get purchase orders status unsupported media type response has a 3xx status code

func (*GetPurchaseOrdersStatusUnsupportedMediaType) IsServerError

IsServerError returns true when this get purchase orders status unsupported media type response has a 5xx status code

func (*GetPurchaseOrdersStatusUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get purchase orders status unsupported media type response has a 2xx status code

func (*GetPurchaseOrdersStatusUnsupportedMediaType) String

type GetPurchaseOrdersTooManyRequests

type GetPurchaseOrdersTooManyRequests 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersResponse
}

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

The frequency of requests was greater than allowed.

func NewGetPurchaseOrdersTooManyRequests

func NewGetPurchaseOrdersTooManyRequests() *GetPurchaseOrdersTooManyRequests

NewGetPurchaseOrdersTooManyRequests creates a GetPurchaseOrdersTooManyRequests with default headers values

func (*GetPurchaseOrdersTooManyRequests) Error

func (*GetPurchaseOrdersTooManyRequests) GetPayload

func (*GetPurchaseOrdersTooManyRequests) IsClientError

func (o *GetPurchaseOrdersTooManyRequests) IsClientError() bool

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

func (*GetPurchaseOrdersTooManyRequests) IsCode

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

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

func (*GetPurchaseOrdersTooManyRequests) IsRedirect

func (o *GetPurchaseOrdersTooManyRequests) IsRedirect() bool

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

func (*GetPurchaseOrdersTooManyRequests) IsServerError

func (o *GetPurchaseOrdersTooManyRequests) IsServerError() bool

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

func (*GetPurchaseOrdersTooManyRequests) IsSuccess

func (o *GetPurchaseOrdersTooManyRequests) IsSuccess() bool

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

func (*GetPurchaseOrdersTooManyRequests) String

type GetPurchaseOrdersUnsupportedMediaType

type GetPurchaseOrdersUnsupportedMediaType 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.GetPurchaseOrdersResponse
}

GetPurchaseOrdersUnsupportedMediaType describes a response with status code 415, with default header values.

The request payload is in an unsupported format.

func NewGetPurchaseOrdersUnsupportedMediaType

func NewGetPurchaseOrdersUnsupportedMediaType() *GetPurchaseOrdersUnsupportedMediaType

NewGetPurchaseOrdersUnsupportedMediaType creates a GetPurchaseOrdersUnsupportedMediaType with default headers values

func (*GetPurchaseOrdersUnsupportedMediaType) Error

func (*GetPurchaseOrdersUnsupportedMediaType) GetPayload

func (*GetPurchaseOrdersUnsupportedMediaType) IsClientError

func (o *GetPurchaseOrdersUnsupportedMediaType) IsClientError() bool

IsClientError returns true when this get purchase orders unsupported media type response has a 4xx status code

func (*GetPurchaseOrdersUnsupportedMediaType) IsCode

IsCode returns true when this get purchase orders unsupported media type response a status code equal to that given

func (*GetPurchaseOrdersUnsupportedMediaType) IsRedirect

IsRedirect returns true when this get purchase orders unsupported media type response has a 3xx status code

func (*GetPurchaseOrdersUnsupportedMediaType) IsServerError

func (o *GetPurchaseOrdersUnsupportedMediaType) IsServerError() bool

IsServerError returns true when this get purchase orders unsupported media type response has a 5xx status code

func (*GetPurchaseOrdersUnsupportedMediaType) IsSuccess

IsSuccess returns true when this get purchase orders unsupported media type response has a 2xx status code

func (*GetPurchaseOrdersUnsupportedMediaType) String

type SubmitAcknowledgementAccepted

type SubmitAcknowledgementAccepted struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.SubmitAcknowledgementResponse
}

SubmitAcknowledgementAccepted describes a response with status code 202, with default header values.

Success.

func NewSubmitAcknowledgementAccepted

func NewSubmitAcknowledgementAccepted() *SubmitAcknowledgementAccepted

NewSubmitAcknowledgementAccepted creates a SubmitAcknowledgementAccepted with default headers values

func (*SubmitAcknowledgementAccepted) Error

func (*SubmitAcknowledgementAccepted) GetPayload

func (*SubmitAcknowledgementAccepted) IsClientError

func (o *SubmitAcknowledgementAccepted) IsClientError() bool

IsClientError returns true when this submit acknowledgement accepted response has a 4xx status code

func (*SubmitAcknowledgementAccepted) IsCode

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

IsCode returns true when this submit acknowledgement accepted response a status code equal to that given

func (*SubmitAcknowledgementAccepted) IsRedirect

func (o *SubmitAcknowledgementAccepted) IsRedirect() bool

IsRedirect returns true when this submit acknowledgement accepted response has a 3xx status code

func (*SubmitAcknowledgementAccepted) IsServerError

func (o *SubmitAcknowledgementAccepted) IsServerError() bool

IsServerError returns true when this submit acknowledgement accepted response has a 5xx status code

func (*SubmitAcknowledgementAccepted) IsSuccess

func (o *SubmitAcknowledgementAccepted) IsSuccess() bool

IsSuccess returns true when this submit acknowledgement accepted response has a 2xx status code

func (*SubmitAcknowledgementAccepted) String

type SubmitAcknowledgementBadRequest

type SubmitAcknowledgementBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.SubmitAcknowledgementResponse
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewSubmitAcknowledgementBadRequest

func NewSubmitAcknowledgementBadRequest() *SubmitAcknowledgementBadRequest

NewSubmitAcknowledgementBadRequest creates a SubmitAcknowledgementBadRequest with default headers values

func (*SubmitAcknowledgementBadRequest) Error

func (*SubmitAcknowledgementBadRequest) GetPayload

func (*SubmitAcknowledgementBadRequest) IsClientError

func (o *SubmitAcknowledgementBadRequest) IsClientError() bool

IsClientError returns true when this submit acknowledgement bad request response has a 4xx status code

func (*SubmitAcknowledgementBadRequest) IsCode

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

IsCode returns true when this submit acknowledgement bad request response a status code equal to that given

func (*SubmitAcknowledgementBadRequest) IsRedirect

func (o *SubmitAcknowledgementBadRequest) IsRedirect() bool

IsRedirect returns true when this submit acknowledgement bad request response has a 3xx status code

func (*SubmitAcknowledgementBadRequest) IsServerError

func (o *SubmitAcknowledgementBadRequest) IsServerError() bool

IsServerError returns true when this submit acknowledgement bad request response has a 5xx status code

func (*SubmitAcknowledgementBadRequest) IsSuccess

func (o *SubmitAcknowledgementBadRequest) IsSuccess() bool

IsSuccess returns true when this submit acknowledgement bad request response has a 2xx status code

func (*SubmitAcknowledgementBadRequest) String

type SubmitAcknowledgementForbidden

type SubmitAcknowledgementForbidden 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.SubmitAcknowledgementResponse
}

SubmitAcknowledgementForbidden describes a response with status code 403, with default header values.

Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.

func NewSubmitAcknowledgementForbidden

func NewSubmitAcknowledgementForbidden() *SubmitAcknowledgementForbidden

NewSubmitAcknowledgementForbidden creates a SubmitAcknowledgementForbidden with default headers values

func (*SubmitAcknowledgementForbidden) Error

func (*SubmitAcknowledgementForbidden) GetPayload

func (*SubmitAcknowledgementForbidden) IsClientError

func (o *SubmitAcknowledgementForbidden) IsClientError() bool

IsClientError returns true when this submit acknowledgement forbidden response has a 4xx status code

func (*SubmitAcknowledgementForbidden) IsCode

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

IsCode returns true when this submit acknowledgement forbidden response a status code equal to that given

func (*SubmitAcknowledgementForbidden) IsRedirect

func (o *SubmitAcknowledgementForbidden) IsRedirect() bool

IsRedirect returns true when this submit acknowledgement forbidden response has a 3xx status code

func (*SubmitAcknowledgementForbidden) IsServerError

func (o *SubmitAcknowledgementForbidden) IsServerError() bool

IsServerError returns true when this submit acknowledgement forbidden response has a 5xx status code

func (*SubmitAcknowledgementForbidden) IsSuccess

func (o *SubmitAcknowledgementForbidden) IsSuccess() bool

IsSuccess returns true when this submit acknowledgement forbidden response has a 2xx status code

func (*SubmitAcknowledgementForbidden) String

type SubmitAcknowledgementInternalServerError

type SubmitAcknowledgementInternalServerError 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.SubmitAcknowledgementResponse
}

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

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

func NewSubmitAcknowledgementInternalServerError

func NewSubmitAcknowledgementInternalServerError() *SubmitAcknowledgementInternalServerError

NewSubmitAcknowledgementInternalServerError creates a SubmitAcknowledgementInternalServerError with default headers values

func (*SubmitAcknowledgementInternalServerError) Error

func (*SubmitAcknowledgementInternalServerError) GetPayload

func (*SubmitAcknowledgementInternalServerError) IsClientError

IsClientError returns true when this submit acknowledgement internal server error response has a 4xx status code

func (*SubmitAcknowledgementInternalServerError) IsCode

IsCode returns true when this submit acknowledgement internal server error response a status code equal to that given

func (*SubmitAcknowledgementInternalServerError) IsRedirect

IsRedirect returns true when this submit acknowledgement internal server error response has a 3xx status code

func (*SubmitAcknowledgementInternalServerError) IsServerError

IsServerError returns true when this submit acknowledgement internal server error response has a 5xx status code

func (*SubmitAcknowledgementInternalServerError) IsSuccess

IsSuccess returns true when this submit acknowledgement internal server error response has a 2xx status code

func (*SubmitAcknowledgementInternalServerError) String

type SubmitAcknowledgementNotFound

type SubmitAcknowledgementNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.SubmitAcknowledgementResponse
}

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

The resource specified does not exist.

func NewSubmitAcknowledgementNotFound

func NewSubmitAcknowledgementNotFound() *SubmitAcknowledgementNotFound

NewSubmitAcknowledgementNotFound creates a SubmitAcknowledgementNotFound with default headers values

func (*SubmitAcknowledgementNotFound) Error

func (*SubmitAcknowledgementNotFound) GetPayload

func (*SubmitAcknowledgementNotFound) IsClientError

func (o *SubmitAcknowledgementNotFound) IsClientError() bool

IsClientError returns true when this submit acknowledgement not found response has a 4xx status code

func (*SubmitAcknowledgementNotFound) IsCode

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

IsCode returns true when this submit acknowledgement not found response a status code equal to that given

func (*SubmitAcknowledgementNotFound) IsRedirect

func (o *SubmitAcknowledgementNotFound) IsRedirect() bool

IsRedirect returns true when this submit acknowledgement not found response has a 3xx status code

func (*SubmitAcknowledgementNotFound) IsServerError

func (o *SubmitAcknowledgementNotFound) IsServerError() bool

IsServerError returns true when this submit acknowledgement not found response has a 5xx status code

func (*SubmitAcknowledgementNotFound) IsSuccess

func (o *SubmitAcknowledgementNotFound) IsSuccess() bool

IsSuccess returns true when this submit acknowledgement not found response has a 2xx status code

func (*SubmitAcknowledgementNotFound) String

type SubmitAcknowledgementParams

type SubmitAcknowledgementParams struct {

	// Body.
	Body *vendor_orders_models.SubmitAcknowledgementRequest

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

SubmitAcknowledgementParams contains all the parameters to send to the API endpoint

for the submit acknowledgement operation.

Typically these are written to a http.Request.

func NewSubmitAcknowledgementParams

func NewSubmitAcknowledgementParams() *SubmitAcknowledgementParams

NewSubmitAcknowledgementParams creates a new SubmitAcknowledgementParams 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 NewSubmitAcknowledgementParamsWithContext

func NewSubmitAcknowledgementParamsWithContext(ctx context.Context) *SubmitAcknowledgementParams

NewSubmitAcknowledgementParamsWithContext creates a new SubmitAcknowledgementParams object with the ability to set a context for a request.

func NewSubmitAcknowledgementParamsWithHTTPClient

func NewSubmitAcknowledgementParamsWithHTTPClient(client *http.Client) *SubmitAcknowledgementParams

NewSubmitAcknowledgementParamsWithHTTPClient creates a new SubmitAcknowledgementParams object with the ability to set a custom HTTPClient for a request.

func NewSubmitAcknowledgementParamsWithTimeout

func NewSubmitAcknowledgementParamsWithTimeout(timeout time.Duration) *SubmitAcknowledgementParams

NewSubmitAcknowledgementParamsWithTimeout creates a new SubmitAcknowledgementParams object with the ability to set a timeout on a request.

func (*SubmitAcknowledgementParams) SetBody

SetBody adds the body to the submit acknowledgement params

func (*SubmitAcknowledgementParams) SetContext

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

SetContext adds the context to the submit acknowledgement params

func (*SubmitAcknowledgementParams) SetDefaults

func (o *SubmitAcknowledgementParams) SetDefaults()

SetDefaults hydrates default values in the submit acknowledgement params (not the query body).

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

func (*SubmitAcknowledgementParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the submit acknowledgement params

func (*SubmitAcknowledgementParams) SetTimeout

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

SetTimeout adds the timeout to the submit acknowledgement params

func (*SubmitAcknowledgementParams) WithBody

WithBody adds the body to the submit acknowledgement params

func (*SubmitAcknowledgementParams) WithContext

WithContext adds the context to the submit acknowledgement params

func (*SubmitAcknowledgementParams) WithDefaults

WithDefaults hydrates default values in the submit acknowledgement params (not the query body).

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

func (*SubmitAcknowledgementParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the submit acknowledgement params

func (*SubmitAcknowledgementParams) WithTimeout

WithTimeout adds the timeout to the submit acknowledgement params

func (*SubmitAcknowledgementParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SubmitAcknowledgementReader

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

SubmitAcknowledgementReader is a Reader for the SubmitAcknowledgement structure.

func (*SubmitAcknowledgementReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SubmitAcknowledgementRequestEntityTooLarge

type SubmitAcknowledgementRequestEntityTooLarge 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.SubmitAcknowledgementResponse
}

SubmitAcknowledgementRequestEntityTooLarge describes a response with status code 413, with default header values.

The request size exceeded the maximum accepted size.

func NewSubmitAcknowledgementRequestEntityTooLarge

func NewSubmitAcknowledgementRequestEntityTooLarge() *SubmitAcknowledgementRequestEntityTooLarge

NewSubmitAcknowledgementRequestEntityTooLarge creates a SubmitAcknowledgementRequestEntityTooLarge with default headers values

func (*SubmitAcknowledgementRequestEntityTooLarge) Error

func (*SubmitAcknowledgementRequestEntityTooLarge) GetPayload

func (*SubmitAcknowledgementRequestEntityTooLarge) IsClientError

IsClientError returns true when this submit acknowledgement request entity too large response has a 4xx status code

func (*SubmitAcknowledgementRequestEntityTooLarge) IsCode

IsCode returns true when this submit acknowledgement request entity too large response a status code equal to that given

func (*SubmitAcknowledgementRequestEntityTooLarge) IsRedirect

IsRedirect returns true when this submit acknowledgement request entity too large response has a 3xx status code

func (*SubmitAcknowledgementRequestEntityTooLarge) IsServerError

IsServerError returns true when this submit acknowledgement request entity too large response has a 5xx status code

func (*SubmitAcknowledgementRequestEntityTooLarge) IsSuccess

IsSuccess returns true when this submit acknowledgement request entity too large response has a 2xx status code

func (*SubmitAcknowledgementRequestEntityTooLarge) String

type SubmitAcknowledgementServiceUnavailable

type SubmitAcknowledgementServiceUnavailable 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.SubmitAcknowledgementResponse
}

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

Temporary overloading or maintenance of the server.

func NewSubmitAcknowledgementServiceUnavailable

func NewSubmitAcknowledgementServiceUnavailable() *SubmitAcknowledgementServiceUnavailable

NewSubmitAcknowledgementServiceUnavailable creates a SubmitAcknowledgementServiceUnavailable with default headers values

func (*SubmitAcknowledgementServiceUnavailable) Error

func (*SubmitAcknowledgementServiceUnavailable) GetPayload

func (*SubmitAcknowledgementServiceUnavailable) IsClientError

func (o *SubmitAcknowledgementServiceUnavailable) IsClientError() bool

IsClientError returns true when this submit acknowledgement service unavailable response has a 4xx status code

func (*SubmitAcknowledgementServiceUnavailable) IsCode

IsCode returns true when this submit acknowledgement service unavailable response a status code equal to that given

func (*SubmitAcknowledgementServiceUnavailable) IsRedirect

IsRedirect returns true when this submit acknowledgement service unavailable response has a 3xx status code

func (*SubmitAcknowledgementServiceUnavailable) IsServerError

func (o *SubmitAcknowledgementServiceUnavailable) IsServerError() bool

IsServerError returns true when this submit acknowledgement service unavailable response has a 5xx status code

func (*SubmitAcknowledgementServiceUnavailable) IsSuccess

IsSuccess returns true when this submit acknowledgement service unavailable response has a 2xx status code

func (*SubmitAcknowledgementServiceUnavailable) String

type SubmitAcknowledgementTooManyRequests

type SubmitAcknowledgementTooManyRequests 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.SubmitAcknowledgementResponse
}

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

The frequency of requests was greater than allowed.

func NewSubmitAcknowledgementTooManyRequests

func NewSubmitAcknowledgementTooManyRequests() *SubmitAcknowledgementTooManyRequests

NewSubmitAcknowledgementTooManyRequests creates a SubmitAcknowledgementTooManyRequests with default headers values

func (*SubmitAcknowledgementTooManyRequests) Error

func (*SubmitAcknowledgementTooManyRequests) GetPayload

func (*SubmitAcknowledgementTooManyRequests) IsClientError

func (o *SubmitAcknowledgementTooManyRequests) IsClientError() bool

IsClientError returns true when this submit acknowledgement too many requests response has a 4xx status code

func (*SubmitAcknowledgementTooManyRequests) IsCode

IsCode returns true when this submit acknowledgement too many requests response a status code equal to that given

func (*SubmitAcknowledgementTooManyRequests) IsRedirect

IsRedirect returns true when this submit acknowledgement too many requests response has a 3xx status code

func (*SubmitAcknowledgementTooManyRequests) IsServerError

func (o *SubmitAcknowledgementTooManyRequests) IsServerError() bool

IsServerError returns true when this submit acknowledgement too many requests response has a 5xx status code

func (*SubmitAcknowledgementTooManyRequests) IsSuccess

IsSuccess returns true when this submit acknowledgement too many requests response has a 2xx status code

func (*SubmitAcknowledgementTooManyRequests) String

type SubmitAcknowledgementUnsupportedMediaType

type SubmitAcknowledgementUnsupportedMediaType 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 identifier.
	 */
	XAmznRequestID string

	Payload *vendor_orders_models.SubmitAcknowledgementResponse
}

SubmitAcknowledgementUnsupportedMediaType describes a response with status code 415, with default header values.

The request payload is in an unsupported format.

func NewSubmitAcknowledgementUnsupportedMediaType

func NewSubmitAcknowledgementUnsupportedMediaType() *SubmitAcknowledgementUnsupportedMediaType

NewSubmitAcknowledgementUnsupportedMediaType creates a SubmitAcknowledgementUnsupportedMediaType with default headers values

func (*SubmitAcknowledgementUnsupportedMediaType) Error

func (*SubmitAcknowledgementUnsupportedMediaType) GetPayload

func (*SubmitAcknowledgementUnsupportedMediaType) IsClientError

IsClientError returns true when this submit acknowledgement unsupported media type response has a 4xx status code

func (*SubmitAcknowledgementUnsupportedMediaType) IsCode

IsCode returns true when this submit acknowledgement unsupported media type response a status code equal to that given

func (*SubmitAcknowledgementUnsupportedMediaType) IsRedirect

IsRedirect returns true when this submit acknowledgement unsupported media type response has a 3xx status code

func (*SubmitAcknowledgementUnsupportedMediaType) IsServerError

IsServerError returns true when this submit acknowledgement unsupported media type response has a 5xx status code

func (*SubmitAcknowledgementUnsupportedMediaType) IsSuccess

IsSuccess returns true when this submit acknowledgement unsupported media type response has a 2xx status code

func (*SubmitAcknowledgementUnsupportedMediaType) String

Jump to

Keyboard shortcuts

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