Documentation ¶
Index ¶
- type Client
- func (a *Client) GetOrder(params *GetOrderParams, opts ...ClientOption) (*GetOrderOK, error)
- func (a *Client) GetOrders(params *GetOrdersParams, opts ...ClientOption) (*GetOrdersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SubmitAcknowledgement(params *SubmitAcknowledgementParams, opts ...ClientOption) (*SubmitAcknowledgementAccepted, error)
- type ClientOption
- type ClientService
- type GetOrderBadRequest
- func (o *GetOrderBadRequest) Error() string
- func (o *GetOrderBadRequest) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrderBadRequest) IsClientError() bool
- func (o *GetOrderBadRequest) IsCode(code int) bool
- func (o *GetOrderBadRequest) IsRedirect() bool
- func (o *GetOrderBadRequest) IsServerError() bool
- func (o *GetOrderBadRequest) IsSuccess() bool
- func (o *GetOrderBadRequest) String() string
- type GetOrderForbidden
- func (o *GetOrderForbidden) Error() string
- func (o *GetOrderForbidden) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrderForbidden) IsClientError() bool
- func (o *GetOrderForbidden) IsCode(code int) bool
- func (o *GetOrderForbidden) IsRedirect() bool
- func (o *GetOrderForbidden) IsServerError() bool
- func (o *GetOrderForbidden) IsSuccess() bool
- func (o *GetOrderForbidden) String() string
- type GetOrderInternalServerError
- func (o *GetOrderInternalServerError) Error() string
- func (o *GetOrderInternalServerError) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrderInternalServerError) IsClientError() bool
- func (o *GetOrderInternalServerError) IsCode(code int) bool
- func (o *GetOrderInternalServerError) IsRedirect() bool
- func (o *GetOrderInternalServerError) IsServerError() bool
- func (o *GetOrderInternalServerError) IsSuccess() bool
- func (o *GetOrderInternalServerError) String() string
- type GetOrderNotFound
- func (o *GetOrderNotFound) Error() string
- func (o *GetOrderNotFound) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrderNotFound) IsClientError() bool
- func (o *GetOrderNotFound) IsCode(code int) bool
- func (o *GetOrderNotFound) IsRedirect() bool
- func (o *GetOrderNotFound) IsServerError() bool
- func (o *GetOrderNotFound) IsSuccess() bool
- func (o *GetOrderNotFound) String() string
- type GetOrderOK
- func (o *GetOrderOK) Error() string
- func (o *GetOrderOK) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.Order
- func (o *GetOrderOK) IsClientError() bool
- func (o *GetOrderOK) IsCode(code int) bool
- func (o *GetOrderOK) IsRedirect() bool
- func (o *GetOrderOK) IsServerError() bool
- func (o *GetOrderOK) IsSuccess() bool
- func (o *GetOrderOK) String() string
- type GetOrderParams
- func (o *GetOrderParams) SetContext(ctx context.Context)
- func (o *GetOrderParams) SetDefaults()
- func (o *GetOrderParams) SetHTTPClient(client *http.Client)
- func (o *GetOrderParams) SetPurchaseOrderNumber(purchaseOrderNumber string)
- func (o *GetOrderParams) SetTimeout(timeout time.Duration)
- func (o *GetOrderParams) WithContext(ctx context.Context) *GetOrderParams
- func (o *GetOrderParams) WithDefaults() *GetOrderParams
- func (o *GetOrderParams) WithHTTPClient(client *http.Client) *GetOrderParams
- func (o *GetOrderParams) WithPurchaseOrderNumber(purchaseOrderNumber string) *GetOrderParams
- func (o *GetOrderParams) WithTimeout(timeout time.Duration) *GetOrderParams
- func (o *GetOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrderReader
- type GetOrderServiceUnavailable
- func (o *GetOrderServiceUnavailable) Error() string
- func (o *GetOrderServiceUnavailable) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrderServiceUnavailable) IsClientError() bool
- func (o *GetOrderServiceUnavailable) IsCode(code int) bool
- func (o *GetOrderServiceUnavailable) IsRedirect() bool
- func (o *GetOrderServiceUnavailable) IsServerError() bool
- func (o *GetOrderServiceUnavailable) IsSuccess() bool
- func (o *GetOrderServiceUnavailable) String() string
- type GetOrderTooManyRequests
- func (o *GetOrderTooManyRequests) Error() string
- func (o *GetOrderTooManyRequests) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrderTooManyRequests) IsClientError() bool
- func (o *GetOrderTooManyRequests) IsCode(code int) bool
- func (o *GetOrderTooManyRequests) IsRedirect() bool
- func (o *GetOrderTooManyRequests) IsServerError() bool
- func (o *GetOrderTooManyRequests) IsSuccess() bool
- func (o *GetOrderTooManyRequests) String() string
- type GetOrderUnauthorized
- func (o *GetOrderUnauthorized) Error() string
- func (o *GetOrderUnauthorized) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrderUnauthorized) IsClientError() bool
- func (o *GetOrderUnauthorized) IsCode(code int) bool
- func (o *GetOrderUnauthorized) IsRedirect() bool
- func (o *GetOrderUnauthorized) IsServerError() bool
- func (o *GetOrderUnauthorized) IsSuccess() bool
- func (o *GetOrderUnauthorized) String() string
- type GetOrderUnsupportedMediaType
- func (o *GetOrderUnsupportedMediaType) Error() string
- func (o *GetOrderUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrderUnsupportedMediaType) IsClientError() bool
- func (o *GetOrderUnsupportedMediaType) IsCode(code int) bool
- func (o *GetOrderUnsupportedMediaType) IsRedirect() bool
- func (o *GetOrderUnsupportedMediaType) IsServerError() bool
- func (o *GetOrderUnsupportedMediaType) IsSuccess() bool
- func (o *GetOrderUnsupportedMediaType) String() string
- type GetOrdersBadRequest
- func (o *GetOrdersBadRequest) Error() string
- func (o *GetOrdersBadRequest) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrdersBadRequest) IsClientError() bool
- func (o *GetOrdersBadRequest) IsCode(code int) bool
- func (o *GetOrdersBadRequest) IsRedirect() bool
- func (o *GetOrdersBadRequest) IsServerError() bool
- func (o *GetOrdersBadRequest) IsSuccess() bool
- func (o *GetOrdersBadRequest) String() string
- type GetOrdersForbidden
- func (o *GetOrdersForbidden) Error() string
- func (o *GetOrdersForbidden) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrdersForbidden) IsClientError() bool
- func (o *GetOrdersForbidden) IsCode(code int) bool
- func (o *GetOrdersForbidden) IsRedirect() bool
- func (o *GetOrdersForbidden) IsServerError() bool
- func (o *GetOrdersForbidden) IsSuccess() bool
- func (o *GetOrdersForbidden) String() string
- type GetOrdersInternalServerError
- func (o *GetOrdersInternalServerError) Error() string
- func (o *GetOrdersInternalServerError) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrdersInternalServerError) IsClientError() bool
- func (o *GetOrdersInternalServerError) IsCode(code int) bool
- func (o *GetOrdersInternalServerError) IsRedirect() bool
- func (o *GetOrdersInternalServerError) IsServerError() bool
- func (o *GetOrdersInternalServerError) IsSuccess() bool
- func (o *GetOrdersInternalServerError) String() string
- type GetOrdersNotFound
- func (o *GetOrdersNotFound) Error() string
- func (o *GetOrdersNotFound) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrdersNotFound) IsClientError() bool
- func (o *GetOrdersNotFound) IsCode(code int) bool
- func (o *GetOrdersNotFound) IsRedirect() bool
- func (o *GetOrdersNotFound) IsServerError() bool
- func (o *GetOrdersNotFound) IsSuccess() bool
- func (o *GetOrdersNotFound) String() string
- type GetOrdersOK
- func (o *GetOrdersOK) Error() string
- func (o *GetOrdersOK) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.OrderList
- func (o *GetOrdersOK) IsClientError() bool
- func (o *GetOrdersOK) IsCode(code int) bool
- func (o *GetOrdersOK) IsRedirect() bool
- func (o *GetOrdersOK) IsServerError() bool
- func (o *GetOrdersOK) IsSuccess() bool
- func (o *GetOrdersOK) String() string
- type GetOrdersParams
- func (o *GetOrdersParams) SetContext(ctx context.Context)
- func (o *GetOrdersParams) SetCreatedAfter(createdAfter strfmt.DateTime)
- func (o *GetOrdersParams) SetCreatedBefore(createdBefore strfmt.DateTime)
- func (o *GetOrdersParams) SetDefaults()
- func (o *GetOrdersParams) SetHTTPClient(client *http.Client)
- func (o *GetOrdersParams) SetIncludeDetails(includeDetails *string)
- func (o *GetOrdersParams) SetLimit(limit *int64)
- func (o *GetOrdersParams) SetNextToken(nextToken *string)
- func (o *GetOrdersParams) SetShipFromPartyID(shipFromPartyID *string)
- func (o *GetOrdersParams) SetSortOrder(sortOrder *string)
- func (o *GetOrdersParams) SetStatus(status *string)
- func (o *GetOrdersParams) SetTimeout(timeout time.Duration)
- func (o *GetOrdersParams) WithContext(ctx context.Context) *GetOrdersParams
- func (o *GetOrdersParams) WithCreatedAfter(createdAfter strfmt.DateTime) *GetOrdersParams
- func (o *GetOrdersParams) WithCreatedBefore(createdBefore strfmt.DateTime) *GetOrdersParams
- func (o *GetOrdersParams) WithDefaults() *GetOrdersParams
- func (o *GetOrdersParams) WithHTTPClient(client *http.Client) *GetOrdersParams
- func (o *GetOrdersParams) WithIncludeDetails(includeDetails *string) *GetOrdersParams
- func (o *GetOrdersParams) WithLimit(limit *int64) *GetOrdersParams
- func (o *GetOrdersParams) WithNextToken(nextToken *string) *GetOrdersParams
- func (o *GetOrdersParams) WithShipFromPartyID(shipFromPartyID *string) *GetOrdersParams
- func (o *GetOrdersParams) WithSortOrder(sortOrder *string) *GetOrdersParams
- func (o *GetOrdersParams) WithStatus(status *string) *GetOrdersParams
- func (o *GetOrdersParams) WithTimeout(timeout time.Duration) *GetOrdersParams
- func (o *GetOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrdersReader
- type GetOrdersServiceUnavailable
- func (o *GetOrdersServiceUnavailable) Error() string
- func (o *GetOrdersServiceUnavailable) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrdersServiceUnavailable) IsClientError() bool
- func (o *GetOrdersServiceUnavailable) IsCode(code int) bool
- func (o *GetOrdersServiceUnavailable) IsRedirect() bool
- func (o *GetOrdersServiceUnavailable) IsServerError() bool
- func (o *GetOrdersServiceUnavailable) IsSuccess() bool
- func (o *GetOrdersServiceUnavailable) String() string
- type GetOrdersTooManyRequests
- func (o *GetOrdersTooManyRequests) Error() string
- func (o *GetOrdersTooManyRequests) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrdersTooManyRequests) IsClientError() bool
- func (o *GetOrdersTooManyRequests) IsCode(code int) bool
- func (o *GetOrdersTooManyRequests) IsRedirect() bool
- func (o *GetOrdersTooManyRequests) IsServerError() bool
- func (o *GetOrdersTooManyRequests) IsSuccess() bool
- func (o *GetOrdersTooManyRequests) String() string
- type GetOrdersUnsupportedMediaType
- func (o *GetOrdersUnsupportedMediaType) Error() string
- func (o *GetOrdersUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *GetOrdersUnsupportedMediaType) IsClientError() bool
- func (o *GetOrdersUnsupportedMediaType) IsCode(code int) bool
- func (o *GetOrdersUnsupportedMediaType) IsRedirect() bool
- func (o *GetOrdersUnsupportedMediaType) IsServerError() bool
- func (o *GetOrdersUnsupportedMediaType) IsSuccess() bool
- func (o *GetOrdersUnsupportedMediaType) String() string
- type SubmitAcknowledgementAccepted
- func (o *SubmitAcknowledgementAccepted) Error() string
- func (o *SubmitAcknowledgementAccepted) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.TransactionID
- func (o *SubmitAcknowledgementAccepted) IsClientError() bool
- func (o *SubmitAcknowledgementAccepted) IsCode(code int) bool
- func (o *SubmitAcknowledgementAccepted) IsRedirect() bool
- func (o *SubmitAcknowledgementAccepted) IsServerError() bool
- func (o *SubmitAcknowledgementAccepted) IsSuccess() bool
- func (o *SubmitAcknowledgementAccepted) String() string
- type SubmitAcknowledgementBadRequest
- func (o *SubmitAcknowledgementBadRequest) Error() string
- func (o *SubmitAcknowledgementBadRequest) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *SubmitAcknowledgementBadRequest) IsClientError() bool
- func (o *SubmitAcknowledgementBadRequest) IsCode(code int) bool
- func (o *SubmitAcknowledgementBadRequest) IsRedirect() bool
- func (o *SubmitAcknowledgementBadRequest) IsServerError() bool
- func (o *SubmitAcknowledgementBadRequest) IsSuccess() bool
- func (o *SubmitAcknowledgementBadRequest) String() string
- type SubmitAcknowledgementForbidden
- func (o *SubmitAcknowledgementForbidden) Error() string
- func (o *SubmitAcknowledgementForbidden) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *SubmitAcknowledgementForbidden) IsClientError() bool
- func (o *SubmitAcknowledgementForbidden) IsCode(code int) bool
- func (o *SubmitAcknowledgementForbidden) IsRedirect() bool
- func (o *SubmitAcknowledgementForbidden) IsServerError() bool
- func (o *SubmitAcknowledgementForbidden) IsSuccess() bool
- func (o *SubmitAcknowledgementForbidden) String() string
- type SubmitAcknowledgementInternalServerError
- func (o *SubmitAcknowledgementInternalServerError) Error() string
- func (o *SubmitAcknowledgementInternalServerError) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *SubmitAcknowledgementInternalServerError) IsClientError() bool
- func (o *SubmitAcknowledgementInternalServerError) IsCode(code int) bool
- func (o *SubmitAcknowledgementInternalServerError) IsRedirect() bool
- func (o *SubmitAcknowledgementInternalServerError) IsServerError() bool
- func (o *SubmitAcknowledgementInternalServerError) IsSuccess() bool
- func (o *SubmitAcknowledgementInternalServerError) String() string
- type SubmitAcknowledgementNotFound
- func (o *SubmitAcknowledgementNotFound) Error() string
- func (o *SubmitAcknowledgementNotFound) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *SubmitAcknowledgementNotFound) IsClientError() bool
- func (o *SubmitAcknowledgementNotFound) IsCode(code int) bool
- func (o *SubmitAcknowledgementNotFound) IsRedirect() bool
- func (o *SubmitAcknowledgementNotFound) IsServerError() bool
- func (o *SubmitAcknowledgementNotFound) IsSuccess() bool
- func (o *SubmitAcknowledgementNotFound) String() string
- type SubmitAcknowledgementParams
- func NewSubmitAcknowledgementParams() *SubmitAcknowledgementParams
- func NewSubmitAcknowledgementParamsWithContext(ctx context.Context) *SubmitAcknowledgementParams
- func NewSubmitAcknowledgementParamsWithHTTPClient(client *http.Client) *SubmitAcknowledgementParams
- func NewSubmitAcknowledgementParamsWithTimeout(timeout time.Duration) *SubmitAcknowledgementParams
- func (o *SubmitAcknowledgementParams) SetBody(...)
- func (o *SubmitAcknowledgementParams) SetContext(ctx context.Context)
- func (o *SubmitAcknowledgementParams) SetDefaults()
- func (o *SubmitAcknowledgementParams) SetHTTPClient(client *http.Client)
- func (o *SubmitAcknowledgementParams) SetTimeout(timeout time.Duration)
- func (o *SubmitAcknowledgementParams) WithBody(...) *SubmitAcknowledgementParams
- func (o *SubmitAcknowledgementParams) WithContext(ctx context.Context) *SubmitAcknowledgementParams
- func (o *SubmitAcknowledgementParams) WithDefaults() *SubmitAcknowledgementParams
- func (o *SubmitAcknowledgementParams) WithHTTPClient(client *http.Client) *SubmitAcknowledgementParams
- func (o *SubmitAcknowledgementParams) WithTimeout(timeout time.Duration) *SubmitAcknowledgementParams
- func (o *SubmitAcknowledgementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubmitAcknowledgementReader
- type SubmitAcknowledgementRequestEntityTooLarge
- func (o *SubmitAcknowledgementRequestEntityTooLarge) Error() string
- func (o *SubmitAcknowledgementRequestEntityTooLarge) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *SubmitAcknowledgementRequestEntityTooLarge) IsClientError() bool
- func (o *SubmitAcknowledgementRequestEntityTooLarge) IsCode(code int) bool
- func (o *SubmitAcknowledgementRequestEntityTooLarge) IsRedirect() bool
- func (o *SubmitAcknowledgementRequestEntityTooLarge) IsServerError() bool
- func (o *SubmitAcknowledgementRequestEntityTooLarge) IsSuccess() bool
- func (o *SubmitAcknowledgementRequestEntityTooLarge) String() string
- type SubmitAcknowledgementServiceUnavailable
- func (o *SubmitAcknowledgementServiceUnavailable) Error() string
- func (o *SubmitAcknowledgementServiceUnavailable) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *SubmitAcknowledgementServiceUnavailable) IsClientError() bool
- func (o *SubmitAcknowledgementServiceUnavailable) IsCode(code int) bool
- func (o *SubmitAcknowledgementServiceUnavailable) IsRedirect() bool
- func (o *SubmitAcknowledgementServiceUnavailable) IsServerError() bool
- func (o *SubmitAcknowledgementServiceUnavailable) IsSuccess() bool
- func (o *SubmitAcknowledgementServiceUnavailable) String() string
- type SubmitAcknowledgementTooManyRequests
- func (o *SubmitAcknowledgementTooManyRequests) Error() string
- func (o *SubmitAcknowledgementTooManyRequests) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *SubmitAcknowledgementTooManyRequests) IsClientError() bool
- func (o *SubmitAcknowledgementTooManyRequests) IsCode(code int) bool
- func (o *SubmitAcknowledgementTooManyRequests) IsRedirect() bool
- func (o *SubmitAcknowledgementTooManyRequests) IsServerError() bool
- func (o *SubmitAcknowledgementTooManyRequests) IsSuccess() bool
- func (o *SubmitAcknowledgementTooManyRequests) String() string
- type SubmitAcknowledgementUnsupportedMediaType
- func (o *SubmitAcknowledgementUnsupportedMediaType) Error() string
- func (o *SubmitAcknowledgementUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
- func (o *SubmitAcknowledgementUnsupportedMediaType) IsClientError() bool
- func (o *SubmitAcknowledgementUnsupportedMediaType) IsCode(code int) bool
- func (o *SubmitAcknowledgementUnsupportedMediaType) IsRedirect() bool
- func (o *SubmitAcknowledgementUnsupportedMediaType) IsServerError() bool
- func (o *SubmitAcknowledgementUnsupportedMediaType) IsSuccess() bool
- func (o *SubmitAcknowledgementUnsupportedMediaType) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for 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) GetPayload ¶
func (o *GetOrderBadRequest) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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) GetPayload ¶
func (o *GetOrderForbidden) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 (o *GetOrderInternalServerError) Error() string
func (*GetOrderInternalServerError) GetPayload ¶
func (o *GetOrderInternalServerError) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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) GetPayload ¶
func (o *GetOrderNotFound) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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) GetPayload ¶
func (o *GetOrderOK) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.Order
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 ¶
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 (o *GetOrderServiceUnavailable) Error() string
func (*GetOrderServiceUnavailable) GetPayload ¶
func (o *GetOrderServiceUnavailable) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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) GetPayload ¶
func (o *GetOrderTooManyRequests) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 ¶
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) GetPayload ¶
func (o *GetOrderUnauthorized) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 (o *GetOrderUnsupportedMediaType) Error() string
func (*GetOrderUnsupportedMediaType) GetPayload ¶
func (o *GetOrderUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 ¶
func (o *GetOrderUnsupportedMediaType) String() 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) GetPayload ¶
func (o *GetOrdersBadRequest) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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) GetPayload ¶
func (o *GetOrdersForbidden) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 (o *GetOrdersInternalServerError) Error() string
func (*GetOrdersInternalServerError) GetPayload ¶
func (o *GetOrdersInternalServerError) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 ¶
func (o *GetOrdersInternalServerError) String() 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) GetPayload ¶
func (o *GetOrdersNotFound) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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) GetPayload ¶
func (o *GetOrdersOK) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.OrderList
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 ¶
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 (o *GetOrdersServiceUnavailable) Error() string
func (*GetOrdersServiceUnavailable) GetPayload ¶
func (o *GetOrdersServiceUnavailable) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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) GetPayload ¶
func (o *GetOrdersTooManyRequests) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 (o *GetOrdersUnsupportedMediaType) Error() string
func (*GetOrdersUnsupportedMediaType) GetPayload ¶
func (o *GetOrdersUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 ¶
func (o *GetOrdersUnsupportedMediaType) String() 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 (o *SubmitAcknowledgementAccepted) Error() string
func (*SubmitAcknowledgementAccepted) GetPayload ¶
func (o *SubmitAcknowledgementAccepted) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.TransactionID
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 ¶
func (o *SubmitAcknowledgementAccepted) String() 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 (o *SubmitAcknowledgementBadRequest) Error() string
func (*SubmitAcknowledgementBadRequest) GetPayload ¶
func (o *SubmitAcknowledgementBadRequest) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 ¶
func (o *SubmitAcknowledgementBadRequest) String() 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 (o *SubmitAcknowledgementForbidden) Error() string
func (*SubmitAcknowledgementForbidden) GetPayload ¶
func (o *SubmitAcknowledgementForbidden) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 ¶
func (o *SubmitAcknowledgementForbidden) String() 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 (o *SubmitAcknowledgementInternalServerError) Error() string
func (*SubmitAcknowledgementInternalServerError) GetPayload ¶
func (o *SubmitAcknowledgementInternalServerError) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
func (*SubmitAcknowledgementInternalServerError) IsClientError ¶
func (o *SubmitAcknowledgementInternalServerError) IsClientError() bool
IsClientError returns true when this submit acknowledgement internal server error response has a 4xx status code
func (*SubmitAcknowledgementInternalServerError) IsCode ¶
func (o *SubmitAcknowledgementInternalServerError) IsCode(code int) bool
IsCode returns true when this submit acknowledgement internal server error response a status code equal to that given
func (*SubmitAcknowledgementInternalServerError) IsRedirect ¶
func (o *SubmitAcknowledgementInternalServerError) IsRedirect() bool
IsRedirect returns true when this submit acknowledgement internal server error response has a 3xx status code
func (*SubmitAcknowledgementInternalServerError) IsServerError ¶
func (o *SubmitAcknowledgementInternalServerError) IsServerError() bool
IsServerError returns true when this submit acknowledgement internal server error response has a 5xx status code
func (*SubmitAcknowledgementInternalServerError) IsSuccess ¶
func (o *SubmitAcknowledgementInternalServerError) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement internal server error response has a 2xx status code
func (*SubmitAcknowledgementInternalServerError) String ¶
func (o *SubmitAcknowledgementInternalServerError) String() 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 (o *SubmitAcknowledgementNotFound) Error() string
func (*SubmitAcknowledgementNotFound) GetPayload ¶
func (o *SubmitAcknowledgementNotFound) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 ¶
func (o *SubmitAcknowledgementNotFound) String() 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 ¶
func (o *SubmitAcknowledgementParams) SetBody(body *vendor_direct_fulfillment_orders_2021_12_28_models.SubmitAcknowledgementRequest)
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 ¶
func (o *SubmitAcknowledgementParams) WithBody(body *vendor_direct_fulfillment_orders_2021_12_28_models.SubmitAcknowledgementRequest) *SubmitAcknowledgementParams
WithBody adds the body to the submit acknowledgement params
func (*SubmitAcknowledgementParams) WithContext ¶
func (o *SubmitAcknowledgementParams) WithContext(ctx context.Context) *SubmitAcknowledgementParams
WithContext adds the context to the submit acknowledgement params
func (*SubmitAcknowledgementParams) WithDefaults ¶
func (o *SubmitAcknowledgementParams) WithDefaults() *SubmitAcknowledgementParams
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 ¶
func (o *SubmitAcknowledgementParams) WithHTTPClient(client *http.Client) *SubmitAcknowledgementParams
WithHTTPClient adds the HTTPClient to the submit acknowledgement params
func (*SubmitAcknowledgementParams) WithTimeout ¶
func (o *SubmitAcknowledgementParams) WithTimeout(timeout time.Duration) *SubmitAcknowledgementParams
WithTimeout adds the timeout to the submit acknowledgement params
func (*SubmitAcknowledgementParams) WriteToRequest ¶
func (o *SubmitAcknowledgementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SubmitAcknowledgementRequestEntityTooLarge) Error() string
func (*SubmitAcknowledgementRequestEntityTooLarge) GetPayload ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
func (*SubmitAcknowledgementRequestEntityTooLarge) IsClientError ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this submit acknowledgement request entity too large response has a 4xx status code
func (*SubmitAcknowledgementRequestEntityTooLarge) IsCode ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this submit acknowledgement request entity too large response a status code equal to that given
func (*SubmitAcknowledgementRequestEntityTooLarge) IsRedirect ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this submit acknowledgement request entity too large response has a 3xx status code
func (*SubmitAcknowledgementRequestEntityTooLarge) IsServerError ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this submit acknowledgement request entity too large response has a 5xx status code
func (*SubmitAcknowledgementRequestEntityTooLarge) IsSuccess ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement request entity too large response has a 2xx status code
func (*SubmitAcknowledgementRequestEntityTooLarge) String ¶
func (o *SubmitAcknowledgementRequestEntityTooLarge) String() string
type SubmitAcknowledgementServiceUnavailable ¶
type SubmitAcknowledgementServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
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 (o *SubmitAcknowledgementServiceUnavailable) Error() string
func (*SubmitAcknowledgementServiceUnavailable) GetPayload ¶
func (o *SubmitAcknowledgementServiceUnavailable) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 ¶
func (o *SubmitAcknowledgementServiceUnavailable) IsCode(code int) bool
IsCode returns true when this submit acknowledgement service unavailable response a status code equal to that given
func (*SubmitAcknowledgementServiceUnavailable) IsRedirect ¶
func (o *SubmitAcknowledgementServiceUnavailable) IsRedirect() bool
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 ¶
func (o *SubmitAcknowledgementServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement service unavailable response has a 2xx status code
func (*SubmitAcknowledgementServiceUnavailable) String ¶
func (o *SubmitAcknowledgementServiceUnavailable) String() 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 (o *SubmitAcknowledgementTooManyRequests) Error() string
func (*SubmitAcknowledgementTooManyRequests) GetPayload ¶
func (o *SubmitAcknowledgementTooManyRequests) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
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 ¶
func (o *SubmitAcknowledgementTooManyRequests) IsCode(code int) bool
IsCode returns true when this submit acknowledgement too many requests response a status code equal to that given
func (*SubmitAcknowledgementTooManyRequests) IsRedirect ¶
func (o *SubmitAcknowledgementTooManyRequests) IsRedirect() bool
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 ¶
func (o *SubmitAcknowledgementTooManyRequests) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement too many requests response has a 2xx status code
func (*SubmitAcknowledgementTooManyRequests) String ¶
func (o *SubmitAcknowledgementTooManyRequests) String() 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 (o *SubmitAcknowledgementUnsupportedMediaType) Error() string
func (*SubmitAcknowledgementUnsupportedMediaType) GetPayload ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_orders_2021_12_28_models.ErrorList
func (*SubmitAcknowledgementUnsupportedMediaType) IsClientError ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this submit acknowledgement unsupported media type response has a 4xx status code
func (*SubmitAcknowledgementUnsupportedMediaType) IsCode ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this submit acknowledgement unsupported media type response a status code equal to that given
func (*SubmitAcknowledgementUnsupportedMediaType) IsRedirect ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this submit acknowledgement unsupported media type response has a 3xx status code
func (*SubmitAcknowledgementUnsupportedMediaType) IsServerError ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this submit acknowledgement unsupported media type response has a 5xx status code
func (*SubmitAcknowledgementUnsupportedMediaType) IsSuccess ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this submit acknowledgement unsupported media type response has a 2xx status code
func (*SubmitAcknowledgementUnsupportedMediaType) String ¶
func (o *SubmitAcknowledgementUnsupportedMediaType) String() string