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

func (a *Client) GetOrder(params *GetOrderParams, opts ...ClientOption) (*GetOrderOK, error)
GetOrder Returns purchase order information for the purchaseOrderNumber 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) GetOrders

func (a *Client) GetOrders(params *GetOrdersParams, opts ...ClientOption) (*GetOrdersOK, error)
GetOrders Returns a list of purchase orders created during the time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both parameters. You can choose to get only the purchase order numbers by setting the includeDetails parameter to false. In that case, the operation returns a list of purchase order numbers. You can then call the getOrder operation to return the details of a specific 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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).

func (*Client) SetTransport

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

SetTransport changes the transport on the client

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 then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetOrder(params *GetOrderParams, opts ...ClientOption) (*GetOrderOK, error)

	GetOrders(params *GetOrdersParams, opts ...ClientOption) (*GetOrdersOK, 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 GetOrderBadRequest

type GetOrderBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetOrderBadRequest

func NewGetOrderBadRequest() *GetOrderBadRequest

NewGetOrderBadRequest creates a GetOrderBadRequest with default headers values

func (*GetOrderBadRequest) Error

func (o *GetOrderBadRequest) Error() string

func (*GetOrderBadRequest) IsClientError

func (o *GetOrderBadRequest) IsClientError() bool

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

func (*GetOrderBadRequest) IsCode

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

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

func (*GetOrderBadRequest) IsRedirect

func (o *GetOrderBadRequest) IsRedirect() bool

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

func (*GetOrderBadRequest) IsServerError

func (o *GetOrderBadRequest) IsServerError() bool

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

func (*GetOrderBadRequest) IsSuccess

func (o *GetOrderBadRequest) IsSuccess() bool

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

func (*GetOrderBadRequest) String

func (o *GetOrderBadRequest) String() string

type GetOrderForbidden

type GetOrderForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

GetOrderForbidden 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 NewGetOrderForbidden

func NewGetOrderForbidden() *GetOrderForbidden

NewGetOrderForbidden creates a GetOrderForbidden with default headers values

func (*GetOrderForbidden) Error

func (o *GetOrderForbidden) Error() string

func (*GetOrderForbidden) IsClientError

func (o *GetOrderForbidden) IsClientError() bool

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

func (*GetOrderForbidden) IsCode

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

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

func (*GetOrderForbidden) IsRedirect

func (o *GetOrderForbidden) IsRedirect() bool

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

func (*GetOrderForbidden) IsServerError

func (o *GetOrderForbidden) IsServerError() bool

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

func (*GetOrderForbidden) IsSuccess

func (o *GetOrderForbidden) IsSuccess() bool

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

func (*GetOrderForbidden) String

func (o *GetOrderForbidden) String() string

type GetOrderInternalServerError

type GetOrderInternalServerError 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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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

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

func NewGetOrderInternalServerError

func NewGetOrderInternalServerError() *GetOrderInternalServerError

NewGetOrderInternalServerError creates a GetOrderInternalServerError with default headers values

func (*GetOrderInternalServerError) Error

func (*GetOrderInternalServerError) GetPayload

func (*GetOrderInternalServerError) IsClientError

func (o *GetOrderInternalServerError) IsClientError() bool

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

func (*GetOrderInternalServerError) IsCode

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

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

func (*GetOrderInternalServerError) IsRedirect

func (o *GetOrderInternalServerError) IsRedirect() bool

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

func (*GetOrderInternalServerError) IsServerError

func (o *GetOrderInternalServerError) IsServerError() bool

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

func (*GetOrderInternalServerError) IsSuccess

func (o *GetOrderInternalServerError) IsSuccess() bool

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

func (*GetOrderInternalServerError) String

func (o *GetOrderInternalServerError) String() string

type GetOrderNotFound

type GetOrderNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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

The resource specified does not exist.

func NewGetOrderNotFound

func NewGetOrderNotFound() *GetOrderNotFound

NewGetOrderNotFound creates a GetOrderNotFound with default headers values

func (*GetOrderNotFound) Error

func (o *GetOrderNotFound) Error() string

func (*GetOrderNotFound) IsClientError

func (o *GetOrderNotFound) IsClientError() bool

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

func (*GetOrderNotFound) IsCode

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

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

func (*GetOrderNotFound) IsRedirect

func (o *GetOrderNotFound) IsRedirect() bool

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

func (*GetOrderNotFound) IsServerError

func (o *GetOrderNotFound) IsServerError() bool

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

func (*GetOrderNotFound) IsSuccess

func (o *GetOrderNotFound) IsSuccess() bool

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

func (*GetOrderNotFound) String

func (o *GetOrderNotFound) String() string

type GetOrderOK

type GetOrderOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_orders_2021_12_28_models.Order
}

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

Success.

func NewGetOrderOK

func NewGetOrderOK() *GetOrderOK

NewGetOrderOK creates a GetOrderOK with default headers values

func (*GetOrderOK) Error

func (o *GetOrderOK) Error() string

func (*GetOrderOK) IsClientError

func (o *GetOrderOK) IsClientError() bool

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

func (*GetOrderOK) IsCode

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

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

func (*GetOrderOK) IsRedirect

func (o *GetOrderOK) IsRedirect() bool

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

func (*GetOrderOK) IsServerError

func (o *GetOrderOK) IsServerError() bool

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

func (*GetOrderOK) IsSuccess

func (o *GetOrderOK) IsSuccess() bool

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

func (*GetOrderOK) String

func (o *GetOrderOK) String() string

type GetOrderParams

type GetOrderParams struct {

	/* PurchaseOrderNumber.

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

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

GetOrderParams contains all the parameters to send to the API endpoint

for the get order operation.

Typically these are written to a http.Request.

func NewGetOrderParams

func NewGetOrderParams() *GetOrderParams

NewGetOrderParams creates a new GetOrderParams 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 NewGetOrderParamsWithContext

func NewGetOrderParamsWithContext(ctx context.Context) *GetOrderParams

NewGetOrderParamsWithContext creates a new GetOrderParams object with the ability to set a context for a request.

func NewGetOrderParamsWithHTTPClient

func NewGetOrderParamsWithHTTPClient(client *http.Client) *GetOrderParams

NewGetOrderParamsWithHTTPClient creates a new GetOrderParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrderParamsWithTimeout

func NewGetOrderParamsWithTimeout(timeout time.Duration) *GetOrderParams

NewGetOrderParamsWithTimeout creates a new GetOrderParams object with the ability to set a timeout on a request.

func (*GetOrderParams) SetContext

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

SetContext adds the context to the get order params

func (*GetOrderParams) SetDefaults

func (o *GetOrderParams) SetDefaults()

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

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

func (*GetOrderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get order params

func (*GetOrderParams) SetPurchaseOrderNumber

func (o *GetOrderParams) SetPurchaseOrderNumber(purchaseOrderNumber string)

SetPurchaseOrderNumber adds the purchaseOrderNumber to the get order params

func (*GetOrderParams) SetTimeout

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

SetTimeout adds the timeout to the get order params

func (*GetOrderParams) WithContext

func (o *GetOrderParams) WithContext(ctx context.Context) *GetOrderParams

WithContext adds the context to the get order params

func (*GetOrderParams) WithDefaults

func (o *GetOrderParams) WithDefaults() *GetOrderParams

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

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

func (*GetOrderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get order params

func (*GetOrderParams) WithPurchaseOrderNumber

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

WithPurchaseOrderNumber adds the purchaseOrderNumber to the get order params

func (*GetOrderParams) WithTimeout

func (o *GetOrderParams) WithTimeout(timeout time.Duration) *GetOrderParams

WithTimeout adds the timeout to the get order params

func (*GetOrderParams) WriteToRequest

func (o *GetOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOrderReader

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

GetOrderReader is a Reader for the GetOrder structure.

func (*GetOrderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrderServiceUnavailable

type GetOrderServiceUnavailable 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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetOrderServiceUnavailable

func NewGetOrderServiceUnavailable() *GetOrderServiceUnavailable

NewGetOrderServiceUnavailable creates a GetOrderServiceUnavailable with default headers values

func (*GetOrderServiceUnavailable) Error

func (*GetOrderServiceUnavailable) GetPayload

func (*GetOrderServiceUnavailable) IsClientError

func (o *GetOrderServiceUnavailable) IsClientError() bool

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

func (*GetOrderServiceUnavailable) IsCode

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

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

func (*GetOrderServiceUnavailable) IsRedirect

func (o *GetOrderServiceUnavailable) IsRedirect() bool

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

func (*GetOrderServiceUnavailable) IsServerError

func (o *GetOrderServiceUnavailable) IsServerError() bool

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

func (*GetOrderServiceUnavailable) IsSuccess

func (o *GetOrderServiceUnavailable) IsSuccess() bool

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

func (*GetOrderServiceUnavailable) String

func (o *GetOrderServiceUnavailable) String() string

type GetOrderTooManyRequests

type GetOrderTooManyRequests 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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetOrderTooManyRequests

func NewGetOrderTooManyRequests() *GetOrderTooManyRequests

NewGetOrderTooManyRequests creates a GetOrderTooManyRequests with default headers values

func (*GetOrderTooManyRequests) Error

func (o *GetOrderTooManyRequests) Error() string

func (*GetOrderTooManyRequests) IsClientError

func (o *GetOrderTooManyRequests) IsClientError() bool

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

func (*GetOrderTooManyRequests) IsCode

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

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

func (*GetOrderTooManyRequests) IsRedirect

func (o *GetOrderTooManyRequests) IsRedirect() bool

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

func (*GetOrderTooManyRequests) IsServerError

func (o *GetOrderTooManyRequests) IsServerError() bool

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

func (*GetOrderTooManyRequests) IsSuccess

func (o *GetOrderTooManyRequests) IsSuccess() bool

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

func (*GetOrderTooManyRequests) String

func (o *GetOrderTooManyRequests) String() string

type GetOrderUnauthorized

type GetOrderUnauthorized 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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

GetOrderUnauthorized 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 NewGetOrderUnauthorized

func NewGetOrderUnauthorized() *GetOrderUnauthorized

NewGetOrderUnauthorized creates a GetOrderUnauthorized with default headers values

func (*GetOrderUnauthorized) Error

func (o *GetOrderUnauthorized) Error() string

func (*GetOrderUnauthorized) IsClientError

func (o *GetOrderUnauthorized) IsClientError() bool

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

func (*GetOrderUnauthorized) IsCode

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

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

func (*GetOrderUnauthorized) IsRedirect

func (o *GetOrderUnauthorized) IsRedirect() bool

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

func (*GetOrderUnauthorized) IsServerError

func (o *GetOrderUnauthorized) IsServerError() bool

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

func (*GetOrderUnauthorized) IsSuccess

func (o *GetOrderUnauthorized) IsSuccess() bool

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

func (*GetOrderUnauthorized) String

func (o *GetOrderUnauthorized) String() string

type GetOrderUnsupportedMediaType

type GetOrderUnsupportedMediaType 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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetOrderUnsupportedMediaType

func NewGetOrderUnsupportedMediaType() *GetOrderUnsupportedMediaType

NewGetOrderUnsupportedMediaType creates a GetOrderUnsupportedMediaType with default headers values

func (*GetOrderUnsupportedMediaType) Error

func (*GetOrderUnsupportedMediaType) GetPayload

func (*GetOrderUnsupportedMediaType) IsClientError

func (o *GetOrderUnsupportedMediaType) IsClientError() bool

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

func (*GetOrderUnsupportedMediaType) IsCode

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

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

func (*GetOrderUnsupportedMediaType) IsRedirect

func (o *GetOrderUnsupportedMediaType) IsRedirect() bool

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

func (*GetOrderUnsupportedMediaType) IsServerError

func (o *GetOrderUnsupportedMediaType) IsServerError() bool

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

func (*GetOrderUnsupportedMediaType) IsSuccess

func (o *GetOrderUnsupportedMediaType) IsSuccess() bool

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

func (*GetOrderUnsupportedMediaType) String

type GetOrdersBadRequest

type GetOrdersBadRequest struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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

Request has missing or invalid parameters and cannot be parsed.

func NewGetOrdersBadRequest

func NewGetOrdersBadRequest() *GetOrdersBadRequest

NewGetOrdersBadRequest creates a GetOrdersBadRequest with default headers values

func (*GetOrdersBadRequest) Error

func (o *GetOrdersBadRequest) Error() string

func (*GetOrdersBadRequest) IsClientError

func (o *GetOrdersBadRequest) IsClientError() bool

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

func (*GetOrdersBadRequest) IsCode

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

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

func (*GetOrdersBadRequest) IsRedirect

func (o *GetOrdersBadRequest) IsRedirect() bool

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

func (*GetOrdersBadRequest) IsServerError

func (o *GetOrdersBadRequest) IsServerError() bool

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

func (*GetOrdersBadRequest) IsSuccess

func (o *GetOrdersBadRequest) IsSuccess() bool

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

func (*GetOrdersBadRequest) String

func (o *GetOrdersBadRequest) String() string

type GetOrdersForbidden

type GetOrdersForbidden struct {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

GetOrdersForbidden 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 NewGetOrdersForbidden

func NewGetOrdersForbidden() *GetOrdersForbidden

NewGetOrdersForbidden creates a GetOrdersForbidden with default headers values

func (*GetOrdersForbidden) Error

func (o *GetOrdersForbidden) Error() string

func (*GetOrdersForbidden) IsClientError

func (o *GetOrdersForbidden) IsClientError() bool

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

func (*GetOrdersForbidden) IsCode

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

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

func (*GetOrdersForbidden) IsRedirect

func (o *GetOrdersForbidden) IsRedirect() bool

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

func (*GetOrdersForbidden) IsServerError

func (o *GetOrdersForbidden) IsServerError() bool

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

func (*GetOrdersForbidden) IsSuccess

func (o *GetOrdersForbidden) IsSuccess() bool

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

func (*GetOrdersForbidden) String

func (o *GetOrdersForbidden) String() string

type GetOrdersInternalServerError

type GetOrdersInternalServerError 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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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

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

func NewGetOrdersInternalServerError

func NewGetOrdersInternalServerError() *GetOrdersInternalServerError

NewGetOrdersInternalServerError creates a GetOrdersInternalServerError with default headers values

func (*GetOrdersInternalServerError) Error

func (*GetOrdersInternalServerError) GetPayload

func (*GetOrdersInternalServerError) IsClientError

func (o *GetOrdersInternalServerError) IsClientError() bool

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

func (*GetOrdersInternalServerError) IsCode

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

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

func (*GetOrdersInternalServerError) IsRedirect

func (o *GetOrdersInternalServerError) IsRedirect() bool

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

func (*GetOrdersInternalServerError) IsServerError

func (o *GetOrdersInternalServerError) IsServerError() bool

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

func (*GetOrdersInternalServerError) IsSuccess

func (o *GetOrdersInternalServerError) IsSuccess() bool

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

func (*GetOrdersInternalServerError) String

type GetOrdersNotFound

type GetOrdersNotFound struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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

The resource specified does not exist.

func NewGetOrdersNotFound

func NewGetOrdersNotFound() *GetOrdersNotFound

NewGetOrdersNotFound creates a GetOrdersNotFound with default headers values

func (*GetOrdersNotFound) Error

func (o *GetOrdersNotFound) Error() string

func (*GetOrdersNotFound) IsClientError

func (o *GetOrdersNotFound) IsClientError() bool

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

func (*GetOrdersNotFound) IsCode

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

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

func (*GetOrdersNotFound) IsRedirect

func (o *GetOrdersNotFound) IsRedirect() bool

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

func (*GetOrdersNotFound) IsServerError

func (o *GetOrdersNotFound) IsServerError() bool

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

func (*GetOrdersNotFound) IsSuccess

func (o *GetOrdersNotFound) IsSuccess() bool

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

func (*GetOrdersNotFound) String

func (o *GetOrdersNotFound) String() string

type GetOrdersOK

type GetOrdersOK struct {

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

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_orders_2021_12_28_models.OrderList
}

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

Success.

func NewGetOrdersOK

func NewGetOrdersOK() *GetOrdersOK

NewGetOrdersOK creates a GetOrdersOK with default headers values

func (*GetOrdersOK) Error

func (o *GetOrdersOK) Error() string

func (*GetOrdersOK) IsClientError

func (o *GetOrdersOK) IsClientError() bool

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

func (*GetOrdersOK) IsCode

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

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

func (*GetOrdersOK) IsRedirect

func (o *GetOrdersOK) IsRedirect() bool

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

func (*GetOrdersOK) IsServerError

func (o *GetOrdersOK) IsServerError() bool

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

func (*GetOrdersOK) IsSuccess

func (o *GetOrdersOK) IsSuccess() bool

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

func (*GetOrdersOK) String

func (o *GetOrdersOK) String() string

type GetOrdersParams

type GetOrdersParams struct {

	/* CreatedAfter.

	   Purchase orders that became available after this date and 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 date and 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 the complete purchase order details. Otherwise, only purchase order numbers are returned.

	   Format: boolean
	   Default: "true"
	*/
	IncludeDetails *string

	/* Limit.

	   The limit to the number of purchase orders returned.

	   Format: int64
	*/
	Limit *int64

	/* NextToken.

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

	/* ShipFromPartyID.

	   The vendor warehouse identifier for the fulfillment warehouse. If not specified, the result will contain orders for all warehouses.
	*/
	ShipFromPartyID *string

	/* SortOrder.

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

	/* Status.

	   Returns only the purchase orders that match the specified status. If not specified, the result will contain orders that match any status.
	*/
	Status *string

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

GetOrdersParams contains all the parameters to send to the API endpoint

for the get orders operation.

Typically these are written to a http.Request.

func NewGetOrdersParams

func NewGetOrdersParams() *GetOrdersParams

NewGetOrdersParams creates a new GetOrdersParams 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 NewGetOrdersParamsWithContext

func NewGetOrdersParamsWithContext(ctx context.Context) *GetOrdersParams

NewGetOrdersParamsWithContext creates a new GetOrdersParams object with the ability to set a context for a request.

func NewGetOrdersParamsWithHTTPClient

func NewGetOrdersParamsWithHTTPClient(client *http.Client) *GetOrdersParams

NewGetOrdersParamsWithHTTPClient creates a new GetOrdersParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrdersParamsWithTimeout

func NewGetOrdersParamsWithTimeout(timeout time.Duration) *GetOrdersParams

NewGetOrdersParamsWithTimeout creates a new GetOrdersParams object with the ability to set a timeout on a request.

func (*GetOrdersParams) SetContext

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

SetContext adds the context to the get orders params

func (*GetOrdersParams) SetCreatedAfter

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

SetCreatedAfter adds the createdAfter to the get orders params

func (*GetOrdersParams) SetCreatedBefore

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

SetCreatedBefore adds the createdBefore to the get orders params

func (*GetOrdersParams) SetDefaults

func (o *GetOrdersParams) SetDefaults()

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

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

func (*GetOrdersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get orders params

func (*GetOrdersParams) SetIncludeDetails

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

SetIncludeDetails adds the includeDetails to the get orders params

func (*GetOrdersParams) SetLimit

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

SetLimit adds the limit to the get orders params

func (*GetOrdersParams) SetNextToken

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

SetNextToken adds the nextToken to the get orders params

func (*GetOrdersParams) SetShipFromPartyID

func (o *GetOrdersParams) SetShipFromPartyID(shipFromPartyID *string)

SetShipFromPartyID adds the shipFromPartyId to the get orders params

func (*GetOrdersParams) SetSortOrder

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

SetSortOrder adds the sortOrder to the get orders params

func (*GetOrdersParams) SetStatus

func (o *GetOrdersParams) SetStatus(status *string)

SetStatus adds the status to the get orders params

func (*GetOrdersParams) SetTimeout

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

SetTimeout adds the timeout to the get orders params

func (*GetOrdersParams) WithContext

func (o *GetOrdersParams) WithContext(ctx context.Context) *GetOrdersParams

WithContext adds the context to the get orders params

func (*GetOrdersParams) WithCreatedAfter

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

WithCreatedAfter adds the createdAfter to the get orders params

func (*GetOrdersParams) WithCreatedBefore

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

WithCreatedBefore adds the createdBefore to the get orders params

func (*GetOrdersParams) WithDefaults

func (o *GetOrdersParams) WithDefaults() *GetOrdersParams

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

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

func (*GetOrdersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get orders params

func (*GetOrdersParams) WithIncludeDetails

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

WithIncludeDetails adds the includeDetails to the get orders params

func (*GetOrdersParams) WithLimit

func (o *GetOrdersParams) WithLimit(limit *int64) *GetOrdersParams

WithLimit adds the limit to the get orders params

func (*GetOrdersParams) WithNextToken

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

WithNextToken adds the nextToken to the get orders params

func (*GetOrdersParams) WithShipFromPartyID

func (o *GetOrdersParams) WithShipFromPartyID(shipFromPartyID *string) *GetOrdersParams

WithShipFromPartyID adds the shipFromPartyID to the get orders params

func (*GetOrdersParams) WithSortOrder

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

WithSortOrder adds the sortOrder to the get orders params

func (*GetOrdersParams) WithStatus

func (o *GetOrdersParams) WithStatus(status *string) *GetOrdersParams

WithStatus adds the status to the get orders params

func (*GetOrdersParams) WithTimeout

func (o *GetOrdersParams) WithTimeout(timeout time.Duration) *GetOrdersParams

WithTimeout adds the timeout to the get orders params

func (*GetOrdersParams) WriteToRequest

func (o *GetOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetOrdersReader

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

GetOrdersReader is a Reader for the GetOrders structure.

func (*GetOrdersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrdersServiceUnavailable

type GetOrdersServiceUnavailable 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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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

Temporary overloading or maintenance of the server.

func NewGetOrdersServiceUnavailable

func NewGetOrdersServiceUnavailable() *GetOrdersServiceUnavailable

NewGetOrdersServiceUnavailable creates a GetOrdersServiceUnavailable with default headers values

func (*GetOrdersServiceUnavailable) Error

func (*GetOrdersServiceUnavailable) GetPayload

func (*GetOrdersServiceUnavailable) IsClientError

func (o *GetOrdersServiceUnavailable) IsClientError() bool

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

func (*GetOrdersServiceUnavailable) IsCode

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

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

func (*GetOrdersServiceUnavailable) IsRedirect

func (o *GetOrdersServiceUnavailable) IsRedirect() bool

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

func (*GetOrdersServiceUnavailable) IsServerError

func (o *GetOrdersServiceUnavailable) IsServerError() bool

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

func (*GetOrdersServiceUnavailable) IsSuccess

func (o *GetOrdersServiceUnavailable) IsSuccess() bool

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

func (*GetOrdersServiceUnavailable) String

func (o *GetOrdersServiceUnavailable) String() string

type GetOrdersTooManyRequests

type GetOrdersTooManyRequests 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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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

The frequency of requests was greater than allowed.

func NewGetOrdersTooManyRequests

func NewGetOrdersTooManyRequests() *GetOrdersTooManyRequests

NewGetOrdersTooManyRequests creates a GetOrdersTooManyRequests with default headers values

func (*GetOrdersTooManyRequests) Error

func (o *GetOrdersTooManyRequests) Error() string

func (*GetOrdersTooManyRequests) IsClientError

func (o *GetOrdersTooManyRequests) IsClientError() bool

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

func (*GetOrdersTooManyRequests) IsCode

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

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

func (*GetOrdersTooManyRequests) IsRedirect

func (o *GetOrdersTooManyRequests) IsRedirect() bool

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

func (*GetOrdersTooManyRequests) IsServerError

func (o *GetOrdersTooManyRequests) IsServerError() bool

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

func (*GetOrdersTooManyRequests) IsSuccess

func (o *GetOrdersTooManyRequests) IsSuccess() bool

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

func (*GetOrdersTooManyRequests) String

func (o *GetOrdersTooManyRequests) String() string

type GetOrdersUnsupportedMediaType

type GetOrdersUnsupportedMediaType 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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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

The request payload is in an unsupported format.

func NewGetOrdersUnsupportedMediaType

func NewGetOrdersUnsupportedMediaType() *GetOrdersUnsupportedMediaType

NewGetOrdersUnsupportedMediaType creates a GetOrdersUnsupportedMediaType with default headers values

func (*GetOrdersUnsupportedMediaType) Error

func (*GetOrdersUnsupportedMediaType) GetPayload

func (*GetOrdersUnsupportedMediaType) IsClientError

func (o *GetOrdersUnsupportedMediaType) IsClientError() bool

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

func (*GetOrdersUnsupportedMediaType) IsCode

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

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

func (*GetOrdersUnsupportedMediaType) IsRedirect

func (o *GetOrdersUnsupportedMediaType) IsRedirect() bool

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

func (*GetOrdersUnsupportedMediaType) IsServerError

func (o *GetOrdersUnsupportedMediaType) IsServerError() bool

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

func (*GetOrdersUnsupportedMediaType) IsSuccess

func (o *GetOrdersUnsupportedMediaType) IsSuccess() bool

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

func (*GetOrdersUnsupportedMediaType) 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_direct_fulfillment_orders_2021_12_28_models.TransactionID
}

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) 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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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 {

	/* Unique request reference identifier.
	 */
	XAmznRequestID string

	Payload *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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_direct_fulfillment_orders_2021_12_28_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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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_direct_fulfillment_orders_2021_12_28_models.ErrorList
}

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