Documentation ¶
Index ¶
- type Client
- func (a *Client) GetInvoiceStatus(params *GetInvoiceStatusParams, opts ...ClientOption) (*GetInvoiceStatusOK, error)
- func (a *Client) GetShipmentDetails(params *GetShipmentDetailsParams, opts ...ClientOption) (*GetShipmentDetailsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SubmitInvoice(params *SubmitInvoiceParams, opts ...ClientOption) (*SubmitInvoiceOK, error)
- type ClientOption
- type ClientService
- type GetInvoiceStatusBadRequest
- func (o *GetInvoiceStatusBadRequest) Error() string
- func (o *GetInvoiceStatusBadRequest) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
- func (o *GetInvoiceStatusBadRequest) IsClientError() bool
- func (o *GetInvoiceStatusBadRequest) IsCode(code int) bool
- func (o *GetInvoiceStatusBadRequest) IsRedirect() bool
- func (o *GetInvoiceStatusBadRequest) IsServerError() bool
- func (o *GetInvoiceStatusBadRequest) IsSuccess() bool
- func (o *GetInvoiceStatusBadRequest) String() string
- type GetInvoiceStatusForbidden
- func (o *GetInvoiceStatusForbidden) Error() string
- func (o *GetInvoiceStatusForbidden) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
- func (o *GetInvoiceStatusForbidden) IsClientError() bool
- func (o *GetInvoiceStatusForbidden) IsCode(code int) bool
- func (o *GetInvoiceStatusForbidden) IsRedirect() bool
- func (o *GetInvoiceStatusForbidden) IsServerError() bool
- func (o *GetInvoiceStatusForbidden) IsSuccess() bool
- func (o *GetInvoiceStatusForbidden) String() string
- type GetInvoiceStatusInternalServerError
- func (o *GetInvoiceStatusInternalServerError) Error() string
- func (o *GetInvoiceStatusInternalServerError) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
- func (o *GetInvoiceStatusInternalServerError) IsClientError() bool
- func (o *GetInvoiceStatusInternalServerError) IsCode(code int) bool
- func (o *GetInvoiceStatusInternalServerError) IsRedirect() bool
- func (o *GetInvoiceStatusInternalServerError) IsServerError() bool
- func (o *GetInvoiceStatusInternalServerError) IsSuccess() bool
- func (o *GetInvoiceStatusInternalServerError) String() string
- type GetInvoiceStatusNotFound
- func (o *GetInvoiceStatusNotFound) Error() string
- func (o *GetInvoiceStatusNotFound) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
- func (o *GetInvoiceStatusNotFound) IsClientError() bool
- func (o *GetInvoiceStatusNotFound) IsCode(code int) bool
- func (o *GetInvoiceStatusNotFound) IsRedirect() bool
- func (o *GetInvoiceStatusNotFound) IsServerError() bool
- func (o *GetInvoiceStatusNotFound) IsSuccess() bool
- func (o *GetInvoiceStatusNotFound) String() string
- type GetInvoiceStatusOK
- func (o *GetInvoiceStatusOK) Error() string
- func (o *GetInvoiceStatusOK) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
- func (o *GetInvoiceStatusOK) IsClientError() bool
- func (o *GetInvoiceStatusOK) IsCode(code int) bool
- func (o *GetInvoiceStatusOK) IsRedirect() bool
- func (o *GetInvoiceStatusOK) IsServerError() bool
- func (o *GetInvoiceStatusOK) IsSuccess() bool
- func (o *GetInvoiceStatusOK) String() string
- type GetInvoiceStatusParams
- func NewGetInvoiceStatusParams() *GetInvoiceStatusParams
- func NewGetInvoiceStatusParamsWithContext(ctx context.Context) *GetInvoiceStatusParams
- func NewGetInvoiceStatusParamsWithHTTPClient(client *http.Client) *GetInvoiceStatusParams
- func NewGetInvoiceStatusParamsWithTimeout(timeout time.Duration) *GetInvoiceStatusParams
- func (o *GetInvoiceStatusParams) SetContext(ctx context.Context)
- func (o *GetInvoiceStatusParams) SetDefaults()
- func (o *GetInvoiceStatusParams) SetHTTPClient(client *http.Client)
- func (o *GetInvoiceStatusParams) SetShipmentID(shipmentID string)
- func (o *GetInvoiceStatusParams) SetTimeout(timeout time.Duration)
- func (o *GetInvoiceStatusParams) WithContext(ctx context.Context) *GetInvoiceStatusParams
- func (o *GetInvoiceStatusParams) WithDefaults() *GetInvoiceStatusParams
- func (o *GetInvoiceStatusParams) WithHTTPClient(client *http.Client) *GetInvoiceStatusParams
- func (o *GetInvoiceStatusParams) WithShipmentID(shipmentID string) *GetInvoiceStatusParams
- func (o *GetInvoiceStatusParams) WithTimeout(timeout time.Duration) *GetInvoiceStatusParams
- func (o *GetInvoiceStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInvoiceStatusReader
- type GetInvoiceStatusServiceUnavailable
- func (o *GetInvoiceStatusServiceUnavailable) Error() string
- func (o *GetInvoiceStatusServiceUnavailable) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
- func (o *GetInvoiceStatusServiceUnavailable) IsClientError() bool
- func (o *GetInvoiceStatusServiceUnavailable) IsCode(code int) bool
- func (o *GetInvoiceStatusServiceUnavailable) IsRedirect() bool
- func (o *GetInvoiceStatusServiceUnavailable) IsServerError() bool
- func (o *GetInvoiceStatusServiceUnavailable) IsSuccess() bool
- func (o *GetInvoiceStatusServiceUnavailable) String() string
- type GetInvoiceStatusTooManyRequests
- func (o *GetInvoiceStatusTooManyRequests) Error() string
- func (o *GetInvoiceStatusTooManyRequests) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
- func (o *GetInvoiceStatusTooManyRequests) IsClientError() bool
- func (o *GetInvoiceStatusTooManyRequests) IsCode(code int) bool
- func (o *GetInvoiceStatusTooManyRequests) IsRedirect() bool
- func (o *GetInvoiceStatusTooManyRequests) IsServerError() bool
- func (o *GetInvoiceStatusTooManyRequests) IsSuccess() bool
- func (o *GetInvoiceStatusTooManyRequests) String() string
- type GetInvoiceStatusUnauthorized
- func (o *GetInvoiceStatusUnauthorized) Error() string
- func (o *GetInvoiceStatusUnauthorized) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
- func (o *GetInvoiceStatusUnauthorized) IsClientError() bool
- func (o *GetInvoiceStatusUnauthorized) IsCode(code int) bool
- func (o *GetInvoiceStatusUnauthorized) IsRedirect() bool
- func (o *GetInvoiceStatusUnauthorized) IsServerError() bool
- func (o *GetInvoiceStatusUnauthorized) IsSuccess() bool
- func (o *GetInvoiceStatusUnauthorized) String() string
- type GetInvoiceStatusUnsupportedMediaType
- func (o *GetInvoiceStatusUnsupportedMediaType) Error() string
- func (o *GetInvoiceStatusUnsupportedMediaType) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
- func (o *GetInvoiceStatusUnsupportedMediaType) IsClientError() bool
- func (o *GetInvoiceStatusUnsupportedMediaType) IsCode(code int) bool
- func (o *GetInvoiceStatusUnsupportedMediaType) IsRedirect() bool
- func (o *GetInvoiceStatusUnsupportedMediaType) IsServerError() bool
- func (o *GetInvoiceStatusUnsupportedMediaType) IsSuccess() bool
- func (o *GetInvoiceStatusUnsupportedMediaType) String() string
- type GetShipmentDetailsBadRequest
- func (o *GetShipmentDetailsBadRequest) Error() string
- func (o *GetShipmentDetailsBadRequest) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
- func (o *GetShipmentDetailsBadRequest) IsClientError() bool
- func (o *GetShipmentDetailsBadRequest) IsCode(code int) bool
- func (o *GetShipmentDetailsBadRequest) IsRedirect() bool
- func (o *GetShipmentDetailsBadRequest) IsServerError() bool
- func (o *GetShipmentDetailsBadRequest) IsSuccess() bool
- func (o *GetShipmentDetailsBadRequest) String() string
- type GetShipmentDetailsForbidden
- func (o *GetShipmentDetailsForbidden) Error() string
- func (o *GetShipmentDetailsForbidden) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
- func (o *GetShipmentDetailsForbidden) IsClientError() bool
- func (o *GetShipmentDetailsForbidden) IsCode(code int) bool
- func (o *GetShipmentDetailsForbidden) IsRedirect() bool
- func (o *GetShipmentDetailsForbidden) IsServerError() bool
- func (o *GetShipmentDetailsForbidden) IsSuccess() bool
- func (o *GetShipmentDetailsForbidden) String() string
- type GetShipmentDetailsInternalServerError
- func (o *GetShipmentDetailsInternalServerError) Error() string
- func (o *GetShipmentDetailsInternalServerError) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
- func (o *GetShipmentDetailsInternalServerError) IsClientError() bool
- func (o *GetShipmentDetailsInternalServerError) IsCode(code int) bool
- func (o *GetShipmentDetailsInternalServerError) IsRedirect() bool
- func (o *GetShipmentDetailsInternalServerError) IsServerError() bool
- func (o *GetShipmentDetailsInternalServerError) IsSuccess() bool
- func (o *GetShipmentDetailsInternalServerError) String() string
- type GetShipmentDetailsNotFound
- func (o *GetShipmentDetailsNotFound) Error() string
- func (o *GetShipmentDetailsNotFound) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
- func (o *GetShipmentDetailsNotFound) IsClientError() bool
- func (o *GetShipmentDetailsNotFound) IsCode(code int) bool
- func (o *GetShipmentDetailsNotFound) IsRedirect() bool
- func (o *GetShipmentDetailsNotFound) IsServerError() bool
- func (o *GetShipmentDetailsNotFound) IsSuccess() bool
- func (o *GetShipmentDetailsNotFound) String() string
- type GetShipmentDetailsOK
- func (o *GetShipmentDetailsOK) Error() string
- func (o *GetShipmentDetailsOK) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
- func (o *GetShipmentDetailsOK) IsClientError() bool
- func (o *GetShipmentDetailsOK) IsCode(code int) bool
- func (o *GetShipmentDetailsOK) IsRedirect() bool
- func (o *GetShipmentDetailsOK) IsServerError() bool
- func (o *GetShipmentDetailsOK) IsSuccess() bool
- func (o *GetShipmentDetailsOK) String() string
- type GetShipmentDetailsParams
- func NewGetShipmentDetailsParams() *GetShipmentDetailsParams
- func NewGetShipmentDetailsParamsWithContext(ctx context.Context) *GetShipmentDetailsParams
- func NewGetShipmentDetailsParamsWithHTTPClient(client *http.Client) *GetShipmentDetailsParams
- func NewGetShipmentDetailsParamsWithTimeout(timeout time.Duration) *GetShipmentDetailsParams
- func (o *GetShipmentDetailsParams) SetContext(ctx context.Context)
- func (o *GetShipmentDetailsParams) SetDefaults()
- func (o *GetShipmentDetailsParams) SetHTTPClient(client *http.Client)
- func (o *GetShipmentDetailsParams) SetShipmentID(shipmentID string)
- func (o *GetShipmentDetailsParams) SetTimeout(timeout time.Duration)
- func (o *GetShipmentDetailsParams) WithContext(ctx context.Context) *GetShipmentDetailsParams
- func (o *GetShipmentDetailsParams) WithDefaults() *GetShipmentDetailsParams
- func (o *GetShipmentDetailsParams) WithHTTPClient(client *http.Client) *GetShipmentDetailsParams
- func (o *GetShipmentDetailsParams) WithShipmentID(shipmentID string) *GetShipmentDetailsParams
- func (o *GetShipmentDetailsParams) WithTimeout(timeout time.Duration) *GetShipmentDetailsParams
- func (o *GetShipmentDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetShipmentDetailsReader
- type GetShipmentDetailsServiceUnavailable
- func (o *GetShipmentDetailsServiceUnavailable) Error() string
- func (o *GetShipmentDetailsServiceUnavailable) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
- func (o *GetShipmentDetailsServiceUnavailable) IsClientError() bool
- func (o *GetShipmentDetailsServiceUnavailable) IsCode(code int) bool
- func (o *GetShipmentDetailsServiceUnavailable) IsRedirect() bool
- func (o *GetShipmentDetailsServiceUnavailable) IsServerError() bool
- func (o *GetShipmentDetailsServiceUnavailable) IsSuccess() bool
- func (o *GetShipmentDetailsServiceUnavailable) String() string
- type GetShipmentDetailsTooManyRequests
- func (o *GetShipmentDetailsTooManyRequests) Error() string
- func (o *GetShipmentDetailsTooManyRequests) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
- func (o *GetShipmentDetailsTooManyRequests) IsClientError() bool
- func (o *GetShipmentDetailsTooManyRequests) IsCode(code int) bool
- func (o *GetShipmentDetailsTooManyRequests) IsRedirect() bool
- func (o *GetShipmentDetailsTooManyRequests) IsServerError() bool
- func (o *GetShipmentDetailsTooManyRequests) IsSuccess() bool
- func (o *GetShipmentDetailsTooManyRequests) String() string
- type GetShipmentDetailsUnauthorized
- func (o *GetShipmentDetailsUnauthorized) Error() string
- func (o *GetShipmentDetailsUnauthorized) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
- func (o *GetShipmentDetailsUnauthorized) IsClientError() bool
- func (o *GetShipmentDetailsUnauthorized) IsCode(code int) bool
- func (o *GetShipmentDetailsUnauthorized) IsRedirect() bool
- func (o *GetShipmentDetailsUnauthorized) IsServerError() bool
- func (o *GetShipmentDetailsUnauthorized) IsSuccess() bool
- func (o *GetShipmentDetailsUnauthorized) String() string
- type GetShipmentDetailsUnsupportedMediaType
- func (o *GetShipmentDetailsUnsupportedMediaType) Error() string
- func (o *GetShipmentDetailsUnsupportedMediaType) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
- func (o *GetShipmentDetailsUnsupportedMediaType) IsClientError() bool
- func (o *GetShipmentDetailsUnsupportedMediaType) IsCode(code int) bool
- func (o *GetShipmentDetailsUnsupportedMediaType) IsRedirect() bool
- func (o *GetShipmentDetailsUnsupportedMediaType) IsServerError() bool
- func (o *GetShipmentDetailsUnsupportedMediaType) IsSuccess() bool
- func (o *GetShipmentDetailsUnsupportedMediaType) String() string
- type SubmitInvoiceBadRequest
- func (o *SubmitInvoiceBadRequest) Error() string
- func (o *SubmitInvoiceBadRequest) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
- func (o *SubmitInvoiceBadRequest) IsClientError() bool
- func (o *SubmitInvoiceBadRequest) IsCode(code int) bool
- func (o *SubmitInvoiceBadRequest) IsRedirect() bool
- func (o *SubmitInvoiceBadRequest) IsServerError() bool
- func (o *SubmitInvoiceBadRequest) IsSuccess() bool
- func (o *SubmitInvoiceBadRequest) String() string
- type SubmitInvoiceForbidden
- func (o *SubmitInvoiceForbidden) Error() string
- func (o *SubmitInvoiceForbidden) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
- func (o *SubmitInvoiceForbidden) IsClientError() bool
- func (o *SubmitInvoiceForbidden) IsCode(code int) bool
- func (o *SubmitInvoiceForbidden) IsRedirect() bool
- func (o *SubmitInvoiceForbidden) IsServerError() bool
- func (o *SubmitInvoiceForbidden) IsSuccess() bool
- func (o *SubmitInvoiceForbidden) String() string
- type SubmitInvoiceInternalServerError
- func (o *SubmitInvoiceInternalServerError) Error() string
- func (o *SubmitInvoiceInternalServerError) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
- func (o *SubmitInvoiceInternalServerError) IsClientError() bool
- func (o *SubmitInvoiceInternalServerError) IsCode(code int) bool
- func (o *SubmitInvoiceInternalServerError) IsRedirect() bool
- func (o *SubmitInvoiceInternalServerError) IsServerError() bool
- func (o *SubmitInvoiceInternalServerError) IsSuccess() bool
- func (o *SubmitInvoiceInternalServerError) String() string
- type SubmitInvoiceNotFound
- func (o *SubmitInvoiceNotFound) Error() string
- func (o *SubmitInvoiceNotFound) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
- func (o *SubmitInvoiceNotFound) IsClientError() bool
- func (o *SubmitInvoiceNotFound) IsCode(code int) bool
- func (o *SubmitInvoiceNotFound) IsRedirect() bool
- func (o *SubmitInvoiceNotFound) IsServerError() bool
- func (o *SubmitInvoiceNotFound) IsSuccess() bool
- func (o *SubmitInvoiceNotFound) String() string
- type SubmitInvoiceOK
- func (o *SubmitInvoiceOK) Error() string
- func (o *SubmitInvoiceOK) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
- func (o *SubmitInvoiceOK) IsClientError() bool
- func (o *SubmitInvoiceOK) IsCode(code int) bool
- func (o *SubmitInvoiceOK) IsRedirect() bool
- func (o *SubmitInvoiceOK) IsServerError() bool
- func (o *SubmitInvoiceOK) IsSuccess() bool
- func (o *SubmitInvoiceOK) String() string
- type SubmitInvoiceParams
- func (o *SubmitInvoiceParams) SetBody(body *shipment_invoicing_v0_models.SubmitInvoiceRequest)
- func (o *SubmitInvoiceParams) SetContext(ctx context.Context)
- func (o *SubmitInvoiceParams) SetDefaults()
- func (o *SubmitInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *SubmitInvoiceParams) SetShipmentID(shipmentID string)
- func (o *SubmitInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *SubmitInvoiceParams) WithBody(body *shipment_invoicing_v0_models.SubmitInvoiceRequest) *SubmitInvoiceParams
- func (o *SubmitInvoiceParams) WithContext(ctx context.Context) *SubmitInvoiceParams
- func (o *SubmitInvoiceParams) WithDefaults() *SubmitInvoiceParams
- func (o *SubmitInvoiceParams) WithHTTPClient(client *http.Client) *SubmitInvoiceParams
- func (o *SubmitInvoiceParams) WithShipmentID(shipmentID string) *SubmitInvoiceParams
- func (o *SubmitInvoiceParams) WithTimeout(timeout time.Duration) *SubmitInvoiceParams
- func (o *SubmitInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubmitInvoiceReader
- type SubmitInvoiceServiceUnavailable
- func (o *SubmitInvoiceServiceUnavailable) Error() string
- func (o *SubmitInvoiceServiceUnavailable) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
- func (o *SubmitInvoiceServiceUnavailable) IsClientError() bool
- func (o *SubmitInvoiceServiceUnavailable) IsCode(code int) bool
- func (o *SubmitInvoiceServiceUnavailable) IsRedirect() bool
- func (o *SubmitInvoiceServiceUnavailable) IsServerError() bool
- func (o *SubmitInvoiceServiceUnavailable) IsSuccess() bool
- func (o *SubmitInvoiceServiceUnavailable) String() string
- type SubmitInvoiceTooManyRequests
- func (o *SubmitInvoiceTooManyRequests) Error() string
- func (o *SubmitInvoiceTooManyRequests) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
- func (o *SubmitInvoiceTooManyRequests) IsClientError() bool
- func (o *SubmitInvoiceTooManyRequests) IsCode(code int) bool
- func (o *SubmitInvoiceTooManyRequests) IsRedirect() bool
- func (o *SubmitInvoiceTooManyRequests) IsServerError() bool
- func (o *SubmitInvoiceTooManyRequests) IsSuccess() bool
- func (o *SubmitInvoiceTooManyRequests) String() string
- type SubmitInvoiceUnauthorized
- func (o *SubmitInvoiceUnauthorized) Error() string
- func (o *SubmitInvoiceUnauthorized) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
- func (o *SubmitInvoiceUnauthorized) IsClientError() bool
- func (o *SubmitInvoiceUnauthorized) IsCode(code int) bool
- func (o *SubmitInvoiceUnauthorized) IsRedirect() bool
- func (o *SubmitInvoiceUnauthorized) IsServerError() bool
- func (o *SubmitInvoiceUnauthorized) IsSuccess() bool
- func (o *SubmitInvoiceUnauthorized) String() string
- type SubmitInvoiceUnsupportedMediaType
- func (o *SubmitInvoiceUnsupportedMediaType) Error() string
- func (o *SubmitInvoiceUnsupportedMediaType) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
- func (o *SubmitInvoiceUnsupportedMediaType) IsClientError() bool
- func (o *SubmitInvoiceUnsupportedMediaType) IsCode(code int) bool
- func (o *SubmitInvoiceUnsupportedMediaType) IsRedirect() bool
- func (o *SubmitInvoiceUnsupportedMediaType) IsServerError() bool
- func (o *SubmitInvoiceUnsupportedMediaType) IsSuccess() bool
- func (o *SubmitInvoiceUnsupportedMediaType) 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 shipment invoice API
func (*Client) GetInvoiceStatus ¶
func (a *Client) GetInvoiceStatus(params *GetInvoiceStatusParams, opts ...ClientOption) (*GetInvoiceStatusOK, error)
GetInvoiceStatus Returns the invoice status for the shipment you specify.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetShipmentDetails ¶
func (a *Client) GetShipmentDetails(params *GetShipmentDetailsParams, opts ...ClientOption) (*GetShipmentDetailsOK, error)
GetShipmentDetails Returns the shipment details required to issue an invoice for the specified shipment.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SubmitInvoice ¶
func (a *Client) SubmitInvoice(params *SubmitInvoiceParams, opts ...ClientOption) (*SubmitInvoiceOK, error)
SubmitInvoice Submits a shipment invoice document for a given shipment.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 1.133 | 25 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetInvoiceStatus(params *GetInvoiceStatusParams, opts ...ClientOption) (*GetInvoiceStatusOK, error) GetShipmentDetails(params *GetShipmentDetailsParams, opts ...ClientOption) (*GetShipmentDetailsOK, error) SubmitInvoice(params *SubmitInvoiceParams, opts ...ClientOption) (*SubmitInvoiceOK, 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 shipment invoice API client.
type GetInvoiceStatusBadRequest ¶
type GetInvoiceStatusBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipment_invoicing_v0_models.GetInvoiceStatusResponse }
GetInvoiceStatusBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetInvoiceStatusBadRequest ¶
func NewGetInvoiceStatusBadRequest() *GetInvoiceStatusBadRequest
NewGetInvoiceStatusBadRequest creates a GetInvoiceStatusBadRequest with default headers values
func (*GetInvoiceStatusBadRequest) Error ¶
func (o *GetInvoiceStatusBadRequest) Error() string
func (*GetInvoiceStatusBadRequest) GetPayload ¶
func (o *GetInvoiceStatusBadRequest) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
func (*GetInvoiceStatusBadRequest) IsClientError ¶
func (o *GetInvoiceStatusBadRequest) IsClientError() bool
IsClientError returns true when this get invoice status bad request response has a 4xx status code
func (*GetInvoiceStatusBadRequest) IsCode ¶
func (o *GetInvoiceStatusBadRequest) IsCode(code int) bool
IsCode returns true when this get invoice status bad request response a status code equal to that given
func (*GetInvoiceStatusBadRequest) IsRedirect ¶
func (o *GetInvoiceStatusBadRequest) IsRedirect() bool
IsRedirect returns true when this get invoice status bad request response has a 3xx status code
func (*GetInvoiceStatusBadRequest) IsServerError ¶
func (o *GetInvoiceStatusBadRequest) IsServerError() bool
IsServerError returns true when this get invoice status bad request response has a 5xx status code
func (*GetInvoiceStatusBadRequest) IsSuccess ¶
func (o *GetInvoiceStatusBadRequest) IsSuccess() bool
IsSuccess returns true when this get invoice status bad request response has a 2xx status code
func (*GetInvoiceStatusBadRequest) String ¶
func (o *GetInvoiceStatusBadRequest) String() string
type GetInvoiceStatusForbidden ¶
type GetInvoiceStatusForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipment_invoicing_v0_models.GetInvoiceStatusResponse }
GetInvoiceStatusForbidden 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 NewGetInvoiceStatusForbidden ¶
func NewGetInvoiceStatusForbidden() *GetInvoiceStatusForbidden
NewGetInvoiceStatusForbidden creates a GetInvoiceStatusForbidden with default headers values
func (*GetInvoiceStatusForbidden) Error ¶
func (o *GetInvoiceStatusForbidden) Error() string
func (*GetInvoiceStatusForbidden) GetPayload ¶
func (o *GetInvoiceStatusForbidden) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
func (*GetInvoiceStatusForbidden) IsClientError ¶
func (o *GetInvoiceStatusForbidden) IsClientError() bool
IsClientError returns true when this get invoice status forbidden response has a 4xx status code
func (*GetInvoiceStatusForbidden) IsCode ¶
func (o *GetInvoiceStatusForbidden) IsCode(code int) bool
IsCode returns true when this get invoice status forbidden response a status code equal to that given
func (*GetInvoiceStatusForbidden) IsRedirect ¶
func (o *GetInvoiceStatusForbidden) IsRedirect() bool
IsRedirect returns true when this get invoice status forbidden response has a 3xx status code
func (*GetInvoiceStatusForbidden) IsServerError ¶
func (o *GetInvoiceStatusForbidden) IsServerError() bool
IsServerError returns true when this get invoice status forbidden response has a 5xx status code
func (*GetInvoiceStatusForbidden) IsSuccess ¶
func (o *GetInvoiceStatusForbidden) IsSuccess() bool
IsSuccess returns true when this get invoice status forbidden response has a 2xx status code
func (*GetInvoiceStatusForbidden) String ¶
func (o *GetInvoiceStatusForbidden) String() string
type GetInvoiceStatusInternalServerError ¶
type GetInvoiceStatusInternalServerError 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 *shipment_invoicing_v0_models.GetInvoiceStatusResponse }
GetInvoiceStatusInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetInvoiceStatusInternalServerError ¶
func NewGetInvoiceStatusInternalServerError() *GetInvoiceStatusInternalServerError
NewGetInvoiceStatusInternalServerError creates a GetInvoiceStatusInternalServerError with default headers values
func (*GetInvoiceStatusInternalServerError) Error ¶
func (o *GetInvoiceStatusInternalServerError) Error() string
func (*GetInvoiceStatusInternalServerError) GetPayload ¶
func (o *GetInvoiceStatusInternalServerError) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
func (*GetInvoiceStatusInternalServerError) IsClientError ¶
func (o *GetInvoiceStatusInternalServerError) IsClientError() bool
IsClientError returns true when this get invoice status internal server error response has a 4xx status code
func (*GetInvoiceStatusInternalServerError) IsCode ¶
func (o *GetInvoiceStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this get invoice status internal server error response a status code equal to that given
func (*GetInvoiceStatusInternalServerError) IsRedirect ¶
func (o *GetInvoiceStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this get invoice status internal server error response has a 3xx status code
func (*GetInvoiceStatusInternalServerError) IsServerError ¶
func (o *GetInvoiceStatusInternalServerError) IsServerError() bool
IsServerError returns true when this get invoice status internal server error response has a 5xx status code
func (*GetInvoiceStatusInternalServerError) IsSuccess ¶
func (o *GetInvoiceStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this get invoice status internal server error response has a 2xx status code
func (*GetInvoiceStatusInternalServerError) String ¶
func (o *GetInvoiceStatusInternalServerError) String() string
type GetInvoiceStatusNotFound ¶
type GetInvoiceStatusNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipment_invoicing_v0_models.GetInvoiceStatusResponse }
GetInvoiceStatusNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetInvoiceStatusNotFound ¶
func NewGetInvoiceStatusNotFound() *GetInvoiceStatusNotFound
NewGetInvoiceStatusNotFound creates a GetInvoiceStatusNotFound with default headers values
func (*GetInvoiceStatusNotFound) Error ¶
func (o *GetInvoiceStatusNotFound) Error() string
func (*GetInvoiceStatusNotFound) GetPayload ¶
func (o *GetInvoiceStatusNotFound) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
func (*GetInvoiceStatusNotFound) IsClientError ¶
func (o *GetInvoiceStatusNotFound) IsClientError() bool
IsClientError returns true when this get invoice status not found response has a 4xx status code
func (*GetInvoiceStatusNotFound) IsCode ¶
func (o *GetInvoiceStatusNotFound) IsCode(code int) bool
IsCode returns true when this get invoice status not found response a status code equal to that given
func (*GetInvoiceStatusNotFound) IsRedirect ¶
func (o *GetInvoiceStatusNotFound) IsRedirect() bool
IsRedirect returns true when this get invoice status not found response has a 3xx status code
func (*GetInvoiceStatusNotFound) IsServerError ¶
func (o *GetInvoiceStatusNotFound) IsServerError() bool
IsServerError returns true when this get invoice status not found response has a 5xx status code
func (*GetInvoiceStatusNotFound) IsSuccess ¶
func (o *GetInvoiceStatusNotFound) IsSuccess() bool
IsSuccess returns true when this get invoice status not found response has a 2xx status code
func (*GetInvoiceStatusNotFound) String ¶
func (o *GetInvoiceStatusNotFound) String() string
type GetInvoiceStatusOK ¶
type GetInvoiceStatusOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipment_invoicing_v0_models.GetInvoiceStatusResponse }
GetInvoiceStatusOK describes a response with status code 200, with default header values.
Success.
func NewGetInvoiceStatusOK ¶
func NewGetInvoiceStatusOK() *GetInvoiceStatusOK
NewGetInvoiceStatusOK creates a GetInvoiceStatusOK with default headers values
func (*GetInvoiceStatusOK) Error ¶
func (o *GetInvoiceStatusOK) Error() string
func (*GetInvoiceStatusOK) GetPayload ¶
func (o *GetInvoiceStatusOK) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
func (*GetInvoiceStatusOK) IsClientError ¶
func (o *GetInvoiceStatusOK) IsClientError() bool
IsClientError returns true when this get invoice status o k response has a 4xx status code
func (*GetInvoiceStatusOK) IsCode ¶
func (o *GetInvoiceStatusOK) IsCode(code int) bool
IsCode returns true when this get invoice status o k response a status code equal to that given
func (*GetInvoiceStatusOK) IsRedirect ¶
func (o *GetInvoiceStatusOK) IsRedirect() bool
IsRedirect returns true when this get invoice status o k response has a 3xx status code
func (*GetInvoiceStatusOK) IsServerError ¶
func (o *GetInvoiceStatusOK) IsServerError() bool
IsServerError returns true when this get invoice status o k response has a 5xx status code
func (*GetInvoiceStatusOK) IsSuccess ¶
func (o *GetInvoiceStatusOK) IsSuccess() bool
IsSuccess returns true when this get invoice status o k response has a 2xx status code
func (*GetInvoiceStatusOK) String ¶
func (o *GetInvoiceStatusOK) String() string
type GetInvoiceStatusParams ¶
type GetInvoiceStatusParams struct { /* ShipmentID. The shipment identifier for the shipment. */ ShipmentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInvoiceStatusParams contains all the parameters to send to the API endpoint
for the get invoice status operation. Typically these are written to a http.Request.
func NewGetInvoiceStatusParams ¶
func NewGetInvoiceStatusParams() *GetInvoiceStatusParams
NewGetInvoiceStatusParams creates a new GetInvoiceStatusParams 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 NewGetInvoiceStatusParamsWithContext ¶
func NewGetInvoiceStatusParamsWithContext(ctx context.Context) *GetInvoiceStatusParams
NewGetInvoiceStatusParamsWithContext creates a new GetInvoiceStatusParams object with the ability to set a context for a request.
func NewGetInvoiceStatusParamsWithHTTPClient ¶
func NewGetInvoiceStatusParamsWithHTTPClient(client *http.Client) *GetInvoiceStatusParams
NewGetInvoiceStatusParamsWithHTTPClient creates a new GetInvoiceStatusParams object with the ability to set a custom HTTPClient for a request.
func NewGetInvoiceStatusParamsWithTimeout ¶
func NewGetInvoiceStatusParamsWithTimeout(timeout time.Duration) *GetInvoiceStatusParams
NewGetInvoiceStatusParamsWithTimeout creates a new GetInvoiceStatusParams object with the ability to set a timeout on a request.
func (*GetInvoiceStatusParams) SetContext ¶
func (o *GetInvoiceStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the get invoice status params
func (*GetInvoiceStatusParams) SetDefaults ¶
func (o *GetInvoiceStatusParams) SetDefaults()
SetDefaults hydrates default values in the get invoice status params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceStatusParams) SetHTTPClient ¶
func (o *GetInvoiceStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get invoice status params
func (*GetInvoiceStatusParams) SetShipmentID ¶
func (o *GetInvoiceStatusParams) SetShipmentID(shipmentID string)
SetShipmentID adds the shipmentId to the get invoice status params
func (*GetInvoiceStatusParams) SetTimeout ¶
func (o *GetInvoiceStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get invoice status params
func (*GetInvoiceStatusParams) WithContext ¶
func (o *GetInvoiceStatusParams) WithContext(ctx context.Context) *GetInvoiceStatusParams
WithContext adds the context to the get invoice status params
func (*GetInvoiceStatusParams) WithDefaults ¶
func (o *GetInvoiceStatusParams) WithDefaults() *GetInvoiceStatusParams
WithDefaults hydrates default values in the get invoice status params (not the query body).
All values with no default are reset to their zero value.
func (*GetInvoiceStatusParams) WithHTTPClient ¶
func (o *GetInvoiceStatusParams) WithHTTPClient(client *http.Client) *GetInvoiceStatusParams
WithHTTPClient adds the HTTPClient to the get invoice status params
func (*GetInvoiceStatusParams) WithShipmentID ¶
func (o *GetInvoiceStatusParams) WithShipmentID(shipmentID string) *GetInvoiceStatusParams
WithShipmentID adds the shipmentID to the get invoice status params
func (*GetInvoiceStatusParams) WithTimeout ¶
func (o *GetInvoiceStatusParams) WithTimeout(timeout time.Duration) *GetInvoiceStatusParams
WithTimeout adds the timeout to the get invoice status params
func (*GetInvoiceStatusParams) WriteToRequest ¶
func (o *GetInvoiceStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInvoiceStatusReader ¶
type GetInvoiceStatusReader struct {
// contains filtered or unexported fields
}
GetInvoiceStatusReader is a Reader for the GetInvoiceStatus structure.
func (*GetInvoiceStatusReader) ReadResponse ¶
func (o *GetInvoiceStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInvoiceStatusServiceUnavailable ¶
GetInvoiceStatusServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetInvoiceStatusServiceUnavailable ¶
func NewGetInvoiceStatusServiceUnavailable() *GetInvoiceStatusServiceUnavailable
NewGetInvoiceStatusServiceUnavailable creates a GetInvoiceStatusServiceUnavailable with default headers values
func (*GetInvoiceStatusServiceUnavailable) Error ¶
func (o *GetInvoiceStatusServiceUnavailable) Error() string
func (*GetInvoiceStatusServiceUnavailable) GetPayload ¶
func (o *GetInvoiceStatusServiceUnavailable) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
func (*GetInvoiceStatusServiceUnavailable) IsClientError ¶
func (o *GetInvoiceStatusServiceUnavailable) IsClientError() bool
IsClientError returns true when this get invoice status service unavailable response has a 4xx status code
func (*GetInvoiceStatusServiceUnavailable) IsCode ¶
func (o *GetInvoiceStatusServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get invoice status service unavailable response a status code equal to that given
func (*GetInvoiceStatusServiceUnavailable) IsRedirect ¶
func (o *GetInvoiceStatusServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get invoice status service unavailable response has a 3xx status code
func (*GetInvoiceStatusServiceUnavailable) IsServerError ¶
func (o *GetInvoiceStatusServiceUnavailable) IsServerError() bool
IsServerError returns true when this get invoice status service unavailable response has a 5xx status code
func (*GetInvoiceStatusServiceUnavailable) IsSuccess ¶
func (o *GetInvoiceStatusServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get invoice status service unavailable response has a 2xx status code
func (*GetInvoiceStatusServiceUnavailable) String ¶
func (o *GetInvoiceStatusServiceUnavailable) String() string
type GetInvoiceStatusTooManyRequests ¶
type GetInvoiceStatusTooManyRequests 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 *shipment_invoicing_v0_models.GetInvoiceStatusResponse }
GetInvoiceStatusTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetInvoiceStatusTooManyRequests ¶
func NewGetInvoiceStatusTooManyRequests() *GetInvoiceStatusTooManyRequests
NewGetInvoiceStatusTooManyRequests creates a GetInvoiceStatusTooManyRequests with default headers values
func (*GetInvoiceStatusTooManyRequests) Error ¶
func (o *GetInvoiceStatusTooManyRequests) Error() string
func (*GetInvoiceStatusTooManyRequests) GetPayload ¶
func (o *GetInvoiceStatusTooManyRequests) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
func (*GetInvoiceStatusTooManyRequests) IsClientError ¶
func (o *GetInvoiceStatusTooManyRequests) IsClientError() bool
IsClientError returns true when this get invoice status too many requests response has a 4xx status code
func (*GetInvoiceStatusTooManyRequests) IsCode ¶
func (o *GetInvoiceStatusTooManyRequests) IsCode(code int) bool
IsCode returns true when this get invoice status too many requests response a status code equal to that given
func (*GetInvoiceStatusTooManyRequests) IsRedirect ¶
func (o *GetInvoiceStatusTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get invoice status too many requests response has a 3xx status code
func (*GetInvoiceStatusTooManyRequests) IsServerError ¶
func (o *GetInvoiceStatusTooManyRequests) IsServerError() bool
IsServerError returns true when this get invoice status too many requests response has a 5xx status code
func (*GetInvoiceStatusTooManyRequests) IsSuccess ¶
func (o *GetInvoiceStatusTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get invoice status too many requests response has a 2xx status code
func (*GetInvoiceStatusTooManyRequests) String ¶
func (o *GetInvoiceStatusTooManyRequests) String() string
type GetInvoiceStatusUnauthorized ¶
GetInvoiceStatusUnauthorized 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 NewGetInvoiceStatusUnauthorized ¶
func NewGetInvoiceStatusUnauthorized() *GetInvoiceStatusUnauthorized
NewGetInvoiceStatusUnauthorized creates a GetInvoiceStatusUnauthorized with default headers values
func (*GetInvoiceStatusUnauthorized) Error ¶
func (o *GetInvoiceStatusUnauthorized) Error() string
func (*GetInvoiceStatusUnauthorized) GetPayload ¶
func (o *GetInvoiceStatusUnauthorized) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
func (*GetInvoiceStatusUnauthorized) IsClientError ¶
func (o *GetInvoiceStatusUnauthorized) IsClientError() bool
IsClientError returns true when this get invoice status unauthorized response has a 4xx status code
func (*GetInvoiceStatusUnauthorized) IsCode ¶
func (o *GetInvoiceStatusUnauthorized) IsCode(code int) bool
IsCode returns true when this get invoice status unauthorized response a status code equal to that given
func (*GetInvoiceStatusUnauthorized) IsRedirect ¶
func (o *GetInvoiceStatusUnauthorized) IsRedirect() bool
IsRedirect returns true when this get invoice status unauthorized response has a 3xx status code
func (*GetInvoiceStatusUnauthorized) IsServerError ¶
func (o *GetInvoiceStatusUnauthorized) IsServerError() bool
IsServerError returns true when this get invoice status unauthorized response has a 5xx status code
func (*GetInvoiceStatusUnauthorized) IsSuccess ¶
func (o *GetInvoiceStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this get invoice status unauthorized response has a 2xx status code
func (*GetInvoiceStatusUnauthorized) String ¶
func (o *GetInvoiceStatusUnauthorized) String() string
type GetInvoiceStatusUnsupportedMediaType ¶
type GetInvoiceStatusUnsupportedMediaType 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 *shipment_invoicing_v0_models.GetInvoiceStatusResponse }
GetInvoiceStatusUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetInvoiceStatusUnsupportedMediaType ¶
func NewGetInvoiceStatusUnsupportedMediaType() *GetInvoiceStatusUnsupportedMediaType
NewGetInvoiceStatusUnsupportedMediaType creates a GetInvoiceStatusUnsupportedMediaType with default headers values
func (*GetInvoiceStatusUnsupportedMediaType) Error ¶
func (o *GetInvoiceStatusUnsupportedMediaType) Error() string
func (*GetInvoiceStatusUnsupportedMediaType) GetPayload ¶
func (o *GetInvoiceStatusUnsupportedMediaType) GetPayload() *shipment_invoicing_v0_models.GetInvoiceStatusResponse
func (*GetInvoiceStatusUnsupportedMediaType) IsClientError ¶
func (o *GetInvoiceStatusUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get invoice status unsupported media type response has a 4xx status code
func (*GetInvoiceStatusUnsupportedMediaType) IsCode ¶
func (o *GetInvoiceStatusUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get invoice status unsupported media type response a status code equal to that given
func (*GetInvoiceStatusUnsupportedMediaType) IsRedirect ¶
func (o *GetInvoiceStatusUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get invoice status unsupported media type response has a 3xx status code
func (*GetInvoiceStatusUnsupportedMediaType) IsServerError ¶
func (o *GetInvoiceStatusUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get invoice status unsupported media type response has a 5xx status code
func (*GetInvoiceStatusUnsupportedMediaType) IsSuccess ¶
func (o *GetInvoiceStatusUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get invoice status unsupported media type response has a 2xx status code
func (*GetInvoiceStatusUnsupportedMediaType) String ¶
func (o *GetInvoiceStatusUnsupportedMediaType) String() string
type GetShipmentDetailsBadRequest ¶
type GetShipmentDetailsBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipment_invoicing_v0_models.GetShipmentDetailsResponse }
GetShipmentDetailsBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetShipmentDetailsBadRequest ¶
func NewGetShipmentDetailsBadRequest() *GetShipmentDetailsBadRequest
NewGetShipmentDetailsBadRequest creates a GetShipmentDetailsBadRequest with default headers values
func (*GetShipmentDetailsBadRequest) Error ¶
func (o *GetShipmentDetailsBadRequest) Error() string
func (*GetShipmentDetailsBadRequest) GetPayload ¶
func (o *GetShipmentDetailsBadRequest) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
func (*GetShipmentDetailsBadRequest) IsClientError ¶
func (o *GetShipmentDetailsBadRequest) IsClientError() bool
IsClientError returns true when this get shipment details bad request response has a 4xx status code
func (*GetShipmentDetailsBadRequest) IsCode ¶
func (o *GetShipmentDetailsBadRequest) IsCode(code int) bool
IsCode returns true when this get shipment details bad request response a status code equal to that given
func (*GetShipmentDetailsBadRequest) IsRedirect ¶
func (o *GetShipmentDetailsBadRequest) IsRedirect() bool
IsRedirect returns true when this get shipment details bad request response has a 3xx status code
func (*GetShipmentDetailsBadRequest) IsServerError ¶
func (o *GetShipmentDetailsBadRequest) IsServerError() bool
IsServerError returns true when this get shipment details bad request response has a 5xx status code
func (*GetShipmentDetailsBadRequest) IsSuccess ¶
func (o *GetShipmentDetailsBadRequest) IsSuccess() bool
IsSuccess returns true when this get shipment details bad request response has a 2xx status code
func (*GetShipmentDetailsBadRequest) String ¶
func (o *GetShipmentDetailsBadRequest) String() string
type GetShipmentDetailsForbidden ¶
type GetShipmentDetailsForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipment_invoicing_v0_models.GetShipmentDetailsResponse }
GetShipmentDetailsForbidden 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 NewGetShipmentDetailsForbidden ¶
func NewGetShipmentDetailsForbidden() *GetShipmentDetailsForbidden
NewGetShipmentDetailsForbidden creates a GetShipmentDetailsForbidden with default headers values
func (*GetShipmentDetailsForbidden) Error ¶
func (o *GetShipmentDetailsForbidden) Error() string
func (*GetShipmentDetailsForbidden) GetPayload ¶
func (o *GetShipmentDetailsForbidden) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
func (*GetShipmentDetailsForbidden) IsClientError ¶
func (o *GetShipmentDetailsForbidden) IsClientError() bool
IsClientError returns true when this get shipment details forbidden response has a 4xx status code
func (*GetShipmentDetailsForbidden) IsCode ¶
func (o *GetShipmentDetailsForbidden) IsCode(code int) bool
IsCode returns true when this get shipment details forbidden response a status code equal to that given
func (*GetShipmentDetailsForbidden) IsRedirect ¶
func (o *GetShipmentDetailsForbidden) IsRedirect() bool
IsRedirect returns true when this get shipment details forbidden response has a 3xx status code
func (*GetShipmentDetailsForbidden) IsServerError ¶
func (o *GetShipmentDetailsForbidden) IsServerError() bool
IsServerError returns true when this get shipment details forbidden response has a 5xx status code
func (*GetShipmentDetailsForbidden) IsSuccess ¶
func (o *GetShipmentDetailsForbidden) IsSuccess() bool
IsSuccess returns true when this get shipment details forbidden response has a 2xx status code
func (*GetShipmentDetailsForbidden) String ¶
func (o *GetShipmentDetailsForbidden) String() string
type GetShipmentDetailsInternalServerError ¶
type GetShipmentDetailsInternalServerError 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 *shipment_invoicing_v0_models.GetShipmentDetailsResponse }
GetShipmentDetailsInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetShipmentDetailsInternalServerError ¶
func NewGetShipmentDetailsInternalServerError() *GetShipmentDetailsInternalServerError
NewGetShipmentDetailsInternalServerError creates a GetShipmentDetailsInternalServerError with default headers values
func (*GetShipmentDetailsInternalServerError) Error ¶
func (o *GetShipmentDetailsInternalServerError) Error() string
func (*GetShipmentDetailsInternalServerError) GetPayload ¶
func (o *GetShipmentDetailsInternalServerError) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
func (*GetShipmentDetailsInternalServerError) IsClientError ¶
func (o *GetShipmentDetailsInternalServerError) IsClientError() bool
IsClientError returns true when this get shipment details internal server error response has a 4xx status code
func (*GetShipmentDetailsInternalServerError) IsCode ¶
func (o *GetShipmentDetailsInternalServerError) IsCode(code int) bool
IsCode returns true when this get shipment details internal server error response a status code equal to that given
func (*GetShipmentDetailsInternalServerError) IsRedirect ¶
func (o *GetShipmentDetailsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get shipment details internal server error response has a 3xx status code
func (*GetShipmentDetailsInternalServerError) IsServerError ¶
func (o *GetShipmentDetailsInternalServerError) IsServerError() bool
IsServerError returns true when this get shipment details internal server error response has a 5xx status code
func (*GetShipmentDetailsInternalServerError) IsSuccess ¶
func (o *GetShipmentDetailsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get shipment details internal server error response has a 2xx status code
func (*GetShipmentDetailsInternalServerError) String ¶
func (o *GetShipmentDetailsInternalServerError) String() string
type GetShipmentDetailsNotFound ¶
type GetShipmentDetailsNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipment_invoicing_v0_models.GetShipmentDetailsResponse }
GetShipmentDetailsNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetShipmentDetailsNotFound ¶
func NewGetShipmentDetailsNotFound() *GetShipmentDetailsNotFound
NewGetShipmentDetailsNotFound creates a GetShipmentDetailsNotFound with default headers values
func (*GetShipmentDetailsNotFound) Error ¶
func (o *GetShipmentDetailsNotFound) Error() string
func (*GetShipmentDetailsNotFound) GetPayload ¶
func (o *GetShipmentDetailsNotFound) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
func (*GetShipmentDetailsNotFound) IsClientError ¶
func (o *GetShipmentDetailsNotFound) IsClientError() bool
IsClientError returns true when this get shipment details not found response has a 4xx status code
func (*GetShipmentDetailsNotFound) IsCode ¶
func (o *GetShipmentDetailsNotFound) IsCode(code int) bool
IsCode returns true when this get shipment details not found response a status code equal to that given
func (*GetShipmentDetailsNotFound) IsRedirect ¶
func (o *GetShipmentDetailsNotFound) IsRedirect() bool
IsRedirect returns true when this get shipment details not found response has a 3xx status code
func (*GetShipmentDetailsNotFound) IsServerError ¶
func (o *GetShipmentDetailsNotFound) IsServerError() bool
IsServerError returns true when this get shipment details not found response has a 5xx status code
func (*GetShipmentDetailsNotFound) IsSuccess ¶
func (o *GetShipmentDetailsNotFound) IsSuccess() bool
IsSuccess returns true when this get shipment details not found response has a 2xx status code
func (*GetShipmentDetailsNotFound) String ¶
func (o *GetShipmentDetailsNotFound) String() string
type GetShipmentDetailsOK ¶
type GetShipmentDetailsOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipment_invoicing_v0_models.GetShipmentDetailsResponse }
GetShipmentDetailsOK describes a response with status code 200, with default header values.
Success.
func NewGetShipmentDetailsOK ¶
func NewGetShipmentDetailsOK() *GetShipmentDetailsOK
NewGetShipmentDetailsOK creates a GetShipmentDetailsOK with default headers values
func (*GetShipmentDetailsOK) Error ¶
func (o *GetShipmentDetailsOK) Error() string
func (*GetShipmentDetailsOK) GetPayload ¶
func (o *GetShipmentDetailsOK) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
func (*GetShipmentDetailsOK) IsClientError ¶
func (o *GetShipmentDetailsOK) IsClientError() bool
IsClientError returns true when this get shipment details o k response has a 4xx status code
func (*GetShipmentDetailsOK) IsCode ¶
func (o *GetShipmentDetailsOK) IsCode(code int) bool
IsCode returns true when this get shipment details o k response a status code equal to that given
func (*GetShipmentDetailsOK) IsRedirect ¶
func (o *GetShipmentDetailsOK) IsRedirect() bool
IsRedirect returns true when this get shipment details o k response has a 3xx status code
func (*GetShipmentDetailsOK) IsServerError ¶
func (o *GetShipmentDetailsOK) IsServerError() bool
IsServerError returns true when this get shipment details o k response has a 5xx status code
func (*GetShipmentDetailsOK) IsSuccess ¶
func (o *GetShipmentDetailsOK) IsSuccess() bool
IsSuccess returns true when this get shipment details o k response has a 2xx status code
func (*GetShipmentDetailsOK) String ¶
func (o *GetShipmentDetailsOK) String() string
type GetShipmentDetailsParams ¶
type GetShipmentDetailsParams struct { /* ShipmentID. The identifier for the shipment. Get this value from the FBAOutboundShipmentStatus notification. For information about subscribing to notifications, see the [Notifications API Use Case Guide](doc:notifications-api-v1-use-case-guide). */ ShipmentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetShipmentDetailsParams contains all the parameters to send to the API endpoint
for the get shipment details operation. Typically these are written to a http.Request.
func NewGetShipmentDetailsParams ¶
func NewGetShipmentDetailsParams() *GetShipmentDetailsParams
NewGetShipmentDetailsParams creates a new GetShipmentDetailsParams 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 NewGetShipmentDetailsParamsWithContext ¶
func NewGetShipmentDetailsParamsWithContext(ctx context.Context) *GetShipmentDetailsParams
NewGetShipmentDetailsParamsWithContext creates a new GetShipmentDetailsParams object with the ability to set a context for a request.
func NewGetShipmentDetailsParamsWithHTTPClient ¶
func NewGetShipmentDetailsParamsWithHTTPClient(client *http.Client) *GetShipmentDetailsParams
NewGetShipmentDetailsParamsWithHTTPClient creates a new GetShipmentDetailsParams object with the ability to set a custom HTTPClient for a request.
func NewGetShipmentDetailsParamsWithTimeout ¶
func NewGetShipmentDetailsParamsWithTimeout(timeout time.Duration) *GetShipmentDetailsParams
NewGetShipmentDetailsParamsWithTimeout creates a new GetShipmentDetailsParams object with the ability to set a timeout on a request.
func (*GetShipmentDetailsParams) SetContext ¶
func (o *GetShipmentDetailsParams) SetContext(ctx context.Context)
SetContext adds the context to the get shipment details params
func (*GetShipmentDetailsParams) SetDefaults ¶
func (o *GetShipmentDetailsParams) SetDefaults()
SetDefaults hydrates default values in the get shipment details params (not the query body).
All values with no default are reset to their zero value.
func (*GetShipmentDetailsParams) SetHTTPClient ¶
func (o *GetShipmentDetailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get shipment details params
func (*GetShipmentDetailsParams) SetShipmentID ¶
func (o *GetShipmentDetailsParams) SetShipmentID(shipmentID string)
SetShipmentID adds the shipmentId to the get shipment details params
func (*GetShipmentDetailsParams) SetTimeout ¶
func (o *GetShipmentDetailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get shipment details params
func (*GetShipmentDetailsParams) WithContext ¶
func (o *GetShipmentDetailsParams) WithContext(ctx context.Context) *GetShipmentDetailsParams
WithContext adds the context to the get shipment details params
func (*GetShipmentDetailsParams) WithDefaults ¶
func (o *GetShipmentDetailsParams) WithDefaults() *GetShipmentDetailsParams
WithDefaults hydrates default values in the get shipment details params (not the query body).
All values with no default are reset to their zero value.
func (*GetShipmentDetailsParams) WithHTTPClient ¶
func (o *GetShipmentDetailsParams) WithHTTPClient(client *http.Client) *GetShipmentDetailsParams
WithHTTPClient adds the HTTPClient to the get shipment details params
func (*GetShipmentDetailsParams) WithShipmentID ¶
func (o *GetShipmentDetailsParams) WithShipmentID(shipmentID string) *GetShipmentDetailsParams
WithShipmentID adds the shipmentID to the get shipment details params
func (*GetShipmentDetailsParams) WithTimeout ¶
func (o *GetShipmentDetailsParams) WithTimeout(timeout time.Duration) *GetShipmentDetailsParams
WithTimeout adds the timeout to the get shipment details params
func (*GetShipmentDetailsParams) WriteToRequest ¶
func (o *GetShipmentDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetShipmentDetailsReader ¶
type GetShipmentDetailsReader struct {
// contains filtered or unexported fields
}
GetShipmentDetailsReader is a Reader for the GetShipmentDetails structure.
func (*GetShipmentDetailsReader) ReadResponse ¶
func (o *GetShipmentDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetShipmentDetailsServiceUnavailable ¶
type GetShipmentDetailsServiceUnavailable struct { string XAmznRequestID string }XAmznRateLimitLimit
GetShipmentDetailsServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetShipmentDetailsServiceUnavailable ¶
func NewGetShipmentDetailsServiceUnavailable() *GetShipmentDetailsServiceUnavailable
NewGetShipmentDetailsServiceUnavailable creates a GetShipmentDetailsServiceUnavailable with default headers values
func (*GetShipmentDetailsServiceUnavailable) Error ¶
func (o *GetShipmentDetailsServiceUnavailable) Error() string
func (*GetShipmentDetailsServiceUnavailable) GetPayload ¶
func (o *GetShipmentDetailsServiceUnavailable) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
func (*GetShipmentDetailsServiceUnavailable) IsClientError ¶
func (o *GetShipmentDetailsServiceUnavailable) IsClientError() bool
IsClientError returns true when this get shipment details service unavailable response has a 4xx status code
func (*GetShipmentDetailsServiceUnavailable) IsCode ¶
func (o *GetShipmentDetailsServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get shipment details service unavailable response a status code equal to that given
func (*GetShipmentDetailsServiceUnavailable) IsRedirect ¶
func (o *GetShipmentDetailsServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get shipment details service unavailable response has a 3xx status code
func (*GetShipmentDetailsServiceUnavailable) IsServerError ¶
func (o *GetShipmentDetailsServiceUnavailable) IsServerError() bool
IsServerError returns true when this get shipment details service unavailable response has a 5xx status code
func (*GetShipmentDetailsServiceUnavailable) IsSuccess ¶
func (o *GetShipmentDetailsServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get shipment details service unavailable response has a 2xx status code
func (*GetShipmentDetailsServiceUnavailable) String ¶
func (o *GetShipmentDetailsServiceUnavailable) String() string
type GetShipmentDetailsTooManyRequests ¶
type GetShipmentDetailsTooManyRequests 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 *shipment_invoicing_v0_models.GetShipmentDetailsResponse }
GetShipmentDetailsTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetShipmentDetailsTooManyRequests ¶
func NewGetShipmentDetailsTooManyRequests() *GetShipmentDetailsTooManyRequests
NewGetShipmentDetailsTooManyRequests creates a GetShipmentDetailsTooManyRequests with default headers values
func (*GetShipmentDetailsTooManyRequests) Error ¶
func (o *GetShipmentDetailsTooManyRequests) Error() string
func (*GetShipmentDetailsTooManyRequests) GetPayload ¶
func (o *GetShipmentDetailsTooManyRequests) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
func (*GetShipmentDetailsTooManyRequests) IsClientError ¶
func (o *GetShipmentDetailsTooManyRequests) IsClientError() bool
IsClientError returns true when this get shipment details too many requests response has a 4xx status code
func (*GetShipmentDetailsTooManyRequests) IsCode ¶
func (o *GetShipmentDetailsTooManyRequests) IsCode(code int) bool
IsCode returns true when this get shipment details too many requests response a status code equal to that given
func (*GetShipmentDetailsTooManyRequests) IsRedirect ¶
func (o *GetShipmentDetailsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get shipment details too many requests response has a 3xx status code
func (*GetShipmentDetailsTooManyRequests) IsServerError ¶
func (o *GetShipmentDetailsTooManyRequests) IsServerError() bool
IsServerError returns true when this get shipment details too many requests response has a 5xx status code
func (*GetShipmentDetailsTooManyRequests) IsSuccess ¶
func (o *GetShipmentDetailsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get shipment details too many requests response has a 2xx status code
func (*GetShipmentDetailsTooManyRequests) String ¶
func (o *GetShipmentDetailsTooManyRequests) String() string
type GetShipmentDetailsUnauthorized ¶
GetShipmentDetailsUnauthorized 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 NewGetShipmentDetailsUnauthorized ¶
func NewGetShipmentDetailsUnauthorized() *GetShipmentDetailsUnauthorized
NewGetShipmentDetailsUnauthorized creates a GetShipmentDetailsUnauthorized with default headers values
func (*GetShipmentDetailsUnauthorized) Error ¶
func (o *GetShipmentDetailsUnauthorized) Error() string
func (*GetShipmentDetailsUnauthorized) GetPayload ¶
func (o *GetShipmentDetailsUnauthorized) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
func (*GetShipmentDetailsUnauthorized) IsClientError ¶
func (o *GetShipmentDetailsUnauthorized) IsClientError() bool
IsClientError returns true when this get shipment details unauthorized response has a 4xx status code
func (*GetShipmentDetailsUnauthorized) IsCode ¶
func (o *GetShipmentDetailsUnauthorized) IsCode(code int) bool
IsCode returns true when this get shipment details unauthorized response a status code equal to that given
func (*GetShipmentDetailsUnauthorized) IsRedirect ¶
func (o *GetShipmentDetailsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get shipment details unauthorized response has a 3xx status code
func (*GetShipmentDetailsUnauthorized) IsServerError ¶
func (o *GetShipmentDetailsUnauthorized) IsServerError() bool
IsServerError returns true when this get shipment details unauthorized response has a 5xx status code
func (*GetShipmentDetailsUnauthorized) IsSuccess ¶
func (o *GetShipmentDetailsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get shipment details unauthorized response has a 2xx status code
func (*GetShipmentDetailsUnauthorized) String ¶
func (o *GetShipmentDetailsUnauthorized) String() string
type GetShipmentDetailsUnsupportedMediaType ¶
type GetShipmentDetailsUnsupportedMediaType 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 *shipment_invoicing_v0_models.GetShipmentDetailsResponse }
GetShipmentDetailsUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetShipmentDetailsUnsupportedMediaType ¶
func NewGetShipmentDetailsUnsupportedMediaType() *GetShipmentDetailsUnsupportedMediaType
NewGetShipmentDetailsUnsupportedMediaType creates a GetShipmentDetailsUnsupportedMediaType with default headers values
func (*GetShipmentDetailsUnsupportedMediaType) Error ¶
func (o *GetShipmentDetailsUnsupportedMediaType) Error() string
func (*GetShipmentDetailsUnsupportedMediaType) GetPayload ¶
func (o *GetShipmentDetailsUnsupportedMediaType) GetPayload() *shipment_invoicing_v0_models.GetShipmentDetailsResponse
func (*GetShipmentDetailsUnsupportedMediaType) IsClientError ¶
func (o *GetShipmentDetailsUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get shipment details unsupported media type response has a 4xx status code
func (*GetShipmentDetailsUnsupportedMediaType) IsCode ¶
func (o *GetShipmentDetailsUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get shipment details unsupported media type response a status code equal to that given
func (*GetShipmentDetailsUnsupportedMediaType) IsRedirect ¶
func (o *GetShipmentDetailsUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get shipment details unsupported media type response has a 3xx status code
func (*GetShipmentDetailsUnsupportedMediaType) IsServerError ¶
func (o *GetShipmentDetailsUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get shipment details unsupported media type response has a 5xx status code
func (*GetShipmentDetailsUnsupportedMediaType) IsSuccess ¶
func (o *GetShipmentDetailsUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get shipment details unsupported media type response has a 2xx status code
func (*GetShipmentDetailsUnsupportedMediaType) String ¶
func (o *GetShipmentDetailsUnsupportedMediaType) String() string
type SubmitInvoiceBadRequest ¶
type SubmitInvoiceBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipment_invoicing_v0_models.SubmitInvoiceResponse }
SubmitInvoiceBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewSubmitInvoiceBadRequest ¶
func NewSubmitInvoiceBadRequest() *SubmitInvoiceBadRequest
NewSubmitInvoiceBadRequest creates a SubmitInvoiceBadRequest with default headers values
func (*SubmitInvoiceBadRequest) Error ¶
func (o *SubmitInvoiceBadRequest) Error() string
func (*SubmitInvoiceBadRequest) GetPayload ¶
func (o *SubmitInvoiceBadRequest) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
func (*SubmitInvoiceBadRequest) IsClientError ¶
func (o *SubmitInvoiceBadRequest) IsClientError() bool
IsClientError returns true when this submit invoice bad request response has a 4xx status code
func (*SubmitInvoiceBadRequest) IsCode ¶
func (o *SubmitInvoiceBadRequest) IsCode(code int) bool
IsCode returns true when this submit invoice bad request response a status code equal to that given
func (*SubmitInvoiceBadRequest) IsRedirect ¶
func (o *SubmitInvoiceBadRequest) IsRedirect() bool
IsRedirect returns true when this submit invoice bad request response has a 3xx status code
func (*SubmitInvoiceBadRequest) IsServerError ¶
func (o *SubmitInvoiceBadRequest) IsServerError() bool
IsServerError returns true when this submit invoice bad request response has a 5xx status code
func (*SubmitInvoiceBadRequest) IsSuccess ¶
func (o *SubmitInvoiceBadRequest) IsSuccess() bool
IsSuccess returns true when this submit invoice bad request response has a 2xx status code
func (*SubmitInvoiceBadRequest) String ¶
func (o *SubmitInvoiceBadRequest) String() string
type SubmitInvoiceForbidden ¶
type SubmitInvoiceForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *shipment_invoicing_v0_models.SubmitInvoiceResponse }
SubmitInvoiceForbidden 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 NewSubmitInvoiceForbidden ¶
func NewSubmitInvoiceForbidden() *SubmitInvoiceForbidden
NewSubmitInvoiceForbidden creates a SubmitInvoiceForbidden with default headers values
func (*SubmitInvoiceForbidden) Error ¶
func (o *SubmitInvoiceForbidden) Error() string
func (*SubmitInvoiceForbidden) GetPayload ¶
func (o *SubmitInvoiceForbidden) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
func (*SubmitInvoiceForbidden) IsClientError ¶
func (o *SubmitInvoiceForbidden) IsClientError() bool
IsClientError returns true when this submit invoice forbidden response has a 4xx status code
func (*SubmitInvoiceForbidden) IsCode ¶
func (o *SubmitInvoiceForbidden) IsCode(code int) bool
IsCode returns true when this submit invoice forbidden response a status code equal to that given
func (*SubmitInvoiceForbidden) IsRedirect ¶
func (o *SubmitInvoiceForbidden) IsRedirect() bool
IsRedirect returns true when this submit invoice forbidden response has a 3xx status code
func (*SubmitInvoiceForbidden) IsServerError ¶
func (o *SubmitInvoiceForbidden) IsServerError() bool
IsServerError returns true when this submit invoice forbidden response has a 5xx status code
func (*SubmitInvoiceForbidden) IsSuccess ¶
func (o *SubmitInvoiceForbidden) IsSuccess() bool
IsSuccess returns true when this submit invoice forbidden response has a 2xx status code
func (*SubmitInvoiceForbidden) String ¶
func (o *SubmitInvoiceForbidden) String() string
type SubmitInvoiceInternalServerError ¶
type SubmitInvoiceInternalServerError 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 *shipment_invoicing_v0_models.SubmitInvoiceResponse }
SubmitInvoiceInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewSubmitInvoiceInternalServerError ¶
func NewSubmitInvoiceInternalServerError() *SubmitInvoiceInternalServerError
NewSubmitInvoiceInternalServerError creates a SubmitInvoiceInternalServerError with default headers values
func (*SubmitInvoiceInternalServerError) Error ¶
func (o *SubmitInvoiceInternalServerError) Error() string
func (*SubmitInvoiceInternalServerError) GetPayload ¶
func (o *SubmitInvoiceInternalServerError) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
func (*SubmitInvoiceInternalServerError) IsClientError ¶
func (o *SubmitInvoiceInternalServerError) IsClientError() bool
IsClientError returns true when this submit invoice internal server error response has a 4xx status code
func (*SubmitInvoiceInternalServerError) IsCode ¶
func (o *SubmitInvoiceInternalServerError) IsCode(code int) bool
IsCode returns true when this submit invoice internal server error response a status code equal to that given
func (*SubmitInvoiceInternalServerError) IsRedirect ¶
func (o *SubmitInvoiceInternalServerError) IsRedirect() bool
IsRedirect returns true when this submit invoice internal server error response has a 3xx status code
func (*SubmitInvoiceInternalServerError) IsServerError ¶
func (o *SubmitInvoiceInternalServerError) IsServerError() bool
IsServerError returns true when this submit invoice internal server error response has a 5xx status code
func (*SubmitInvoiceInternalServerError) IsSuccess ¶
func (o *SubmitInvoiceInternalServerError) IsSuccess() bool
IsSuccess returns true when this submit invoice internal server error response has a 2xx status code
func (*SubmitInvoiceInternalServerError) String ¶
func (o *SubmitInvoiceInternalServerError) String() string
type SubmitInvoiceNotFound ¶
type SubmitInvoiceNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipment_invoicing_v0_models.SubmitInvoiceResponse }
SubmitInvoiceNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewSubmitInvoiceNotFound ¶
func NewSubmitInvoiceNotFound() *SubmitInvoiceNotFound
NewSubmitInvoiceNotFound creates a SubmitInvoiceNotFound with default headers values
func (*SubmitInvoiceNotFound) Error ¶
func (o *SubmitInvoiceNotFound) Error() string
func (*SubmitInvoiceNotFound) GetPayload ¶
func (o *SubmitInvoiceNotFound) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
func (*SubmitInvoiceNotFound) IsClientError ¶
func (o *SubmitInvoiceNotFound) IsClientError() bool
IsClientError returns true when this submit invoice not found response has a 4xx status code
func (*SubmitInvoiceNotFound) IsCode ¶
func (o *SubmitInvoiceNotFound) IsCode(code int) bool
IsCode returns true when this submit invoice not found response a status code equal to that given
func (*SubmitInvoiceNotFound) IsRedirect ¶
func (o *SubmitInvoiceNotFound) IsRedirect() bool
IsRedirect returns true when this submit invoice not found response has a 3xx status code
func (*SubmitInvoiceNotFound) IsServerError ¶
func (o *SubmitInvoiceNotFound) IsServerError() bool
IsServerError returns true when this submit invoice not found response has a 5xx status code
func (*SubmitInvoiceNotFound) IsSuccess ¶
func (o *SubmitInvoiceNotFound) IsSuccess() bool
IsSuccess returns true when this submit invoice not found response has a 2xx status code
func (*SubmitInvoiceNotFound) String ¶
func (o *SubmitInvoiceNotFound) String() string
type SubmitInvoiceOK ¶
type SubmitInvoiceOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *shipment_invoicing_v0_models.SubmitInvoiceResponse }
SubmitInvoiceOK describes a response with status code 200, with default header values.
Success.
func NewSubmitInvoiceOK ¶
func NewSubmitInvoiceOK() *SubmitInvoiceOK
NewSubmitInvoiceOK creates a SubmitInvoiceOK with default headers values
func (*SubmitInvoiceOK) Error ¶
func (o *SubmitInvoiceOK) Error() string
func (*SubmitInvoiceOK) GetPayload ¶
func (o *SubmitInvoiceOK) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
func (*SubmitInvoiceOK) IsClientError ¶
func (o *SubmitInvoiceOK) IsClientError() bool
IsClientError returns true when this submit invoice o k response has a 4xx status code
func (*SubmitInvoiceOK) IsCode ¶
func (o *SubmitInvoiceOK) IsCode(code int) bool
IsCode returns true when this submit invoice o k response a status code equal to that given
func (*SubmitInvoiceOK) IsRedirect ¶
func (o *SubmitInvoiceOK) IsRedirect() bool
IsRedirect returns true when this submit invoice o k response has a 3xx status code
func (*SubmitInvoiceOK) IsServerError ¶
func (o *SubmitInvoiceOK) IsServerError() bool
IsServerError returns true when this submit invoice o k response has a 5xx status code
func (*SubmitInvoiceOK) IsSuccess ¶
func (o *SubmitInvoiceOK) IsSuccess() bool
IsSuccess returns true when this submit invoice o k response has a 2xx status code
func (*SubmitInvoiceOK) String ¶
func (o *SubmitInvoiceOK) String() string
type SubmitInvoiceParams ¶
type SubmitInvoiceParams struct { // Body. Body *shipment_invoicing_v0_models.SubmitInvoiceRequest /* ShipmentID. The identifier for the shipment. */ ShipmentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SubmitInvoiceParams contains all the parameters to send to the API endpoint
for the submit invoice operation. Typically these are written to a http.Request.
func NewSubmitInvoiceParams ¶
func NewSubmitInvoiceParams() *SubmitInvoiceParams
NewSubmitInvoiceParams creates a new SubmitInvoiceParams 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 NewSubmitInvoiceParamsWithContext ¶
func NewSubmitInvoiceParamsWithContext(ctx context.Context) *SubmitInvoiceParams
NewSubmitInvoiceParamsWithContext creates a new SubmitInvoiceParams object with the ability to set a context for a request.
func NewSubmitInvoiceParamsWithHTTPClient ¶
func NewSubmitInvoiceParamsWithHTTPClient(client *http.Client) *SubmitInvoiceParams
NewSubmitInvoiceParamsWithHTTPClient creates a new SubmitInvoiceParams object with the ability to set a custom HTTPClient for a request.
func NewSubmitInvoiceParamsWithTimeout ¶
func NewSubmitInvoiceParamsWithTimeout(timeout time.Duration) *SubmitInvoiceParams
NewSubmitInvoiceParamsWithTimeout creates a new SubmitInvoiceParams object with the ability to set a timeout on a request.
func (*SubmitInvoiceParams) SetBody ¶
func (o *SubmitInvoiceParams) SetBody(body *shipment_invoicing_v0_models.SubmitInvoiceRequest)
SetBody adds the body to the submit invoice params
func (*SubmitInvoiceParams) SetContext ¶
func (o *SubmitInvoiceParams) SetContext(ctx context.Context)
SetContext adds the context to the submit invoice params
func (*SubmitInvoiceParams) SetDefaults ¶
func (o *SubmitInvoiceParams) SetDefaults()
SetDefaults hydrates default values in the submit invoice params (not the query body).
All values with no default are reset to their zero value.
func (*SubmitInvoiceParams) SetHTTPClient ¶
func (o *SubmitInvoiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the submit invoice params
func (*SubmitInvoiceParams) SetShipmentID ¶
func (o *SubmitInvoiceParams) SetShipmentID(shipmentID string)
SetShipmentID adds the shipmentId to the submit invoice params
func (*SubmitInvoiceParams) SetTimeout ¶
func (o *SubmitInvoiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the submit invoice params
func (*SubmitInvoiceParams) WithBody ¶
func (o *SubmitInvoiceParams) WithBody(body *shipment_invoicing_v0_models.SubmitInvoiceRequest) *SubmitInvoiceParams
WithBody adds the body to the submit invoice params
func (*SubmitInvoiceParams) WithContext ¶
func (o *SubmitInvoiceParams) WithContext(ctx context.Context) *SubmitInvoiceParams
WithContext adds the context to the submit invoice params
func (*SubmitInvoiceParams) WithDefaults ¶
func (o *SubmitInvoiceParams) WithDefaults() *SubmitInvoiceParams
WithDefaults hydrates default values in the submit invoice params (not the query body).
All values with no default are reset to their zero value.
func (*SubmitInvoiceParams) WithHTTPClient ¶
func (o *SubmitInvoiceParams) WithHTTPClient(client *http.Client) *SubmitInvoiceParams
WithHTTPClient adds the HTTPClient to the submit invoice params
func (*SubmitInvoiceParams) WithShipmentID ¶
func (o *SubmitInvoiceParams) WithShipmentID(shipmentID string) *SubmitInvoiceParams
WithShipmentID adds the shipmentID to the submit invoice params
func (*SubmitInvoiceParams) WithTimeout ¶
func (o *SubmitInvoiceParams) WithTimeout(timeout time.Duration) *SubmitInvoiceParams
WithTimeout adds the timeout to the submit invoice params
func (*SubmitInvoiceParams) WriteToRequest ¶
func (o *SubmitInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SubmitInvoiceReader ¶
type SubmitInvoiceReader struct {
// contains filtered or unexported fields
}
SubmitInvoiceReader is a Reader for the SubmitInvoice structure.
func (*SubmitInvoiceReader) ReadResponse ¶
func (o *SubmitInvoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SubmitInvoiceServiceUnavailable ¶
SubmitInvoiceServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewSubmitInvoiceServiceUnavailable ¶
func NewSubmitInvoiceServiceUnavailable() *SubmitInvoiceServiceUnavailable
NewSubmitInvoiceServiceUnavailable creates a SubmitInvoiceServiceUnavailable with default headers values
func (*SubmitInvoiceServiceUnavailable) Error ¶
func (o *SubmitInvoiceServiceUnavailable) Error() string
func (*SubmitInvoiceServiceUnavailable) GetPayload ¶
func (o *SubmitInvoiceServiceUnavailable) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
func (*SubmitInvoiceServiceUnavailable) IsClientError ¶
func (o *SubmitInvoiceServiceUnavailable) IsClientError() bool
IsClientError returns true when this submit invoice service unavailable response has a 4xx status code
func (*SubmitInvoiceServiceUnavailable) IsCode ¶
func (o *SubmitInvoiceServiceUnavailable) IsCode(code int) bool
IsCode returns true when this submit invoice service unavailable response a status code equal to that given
func (*SubmitInvoiceServiceUnavailable) IsRedirect ¶
func (o *SubmitInvoiceServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this submit invoice service unavailable response has a 3xx status code
func (*SubmitInvoiceServiceUnavailable) IsServerError ¶
func (o *SubmitInvoiceServiceUnavailable) IsServerError() bool
IsServerError returns true when this submit invoice service unavailable response has a 5xx status code
func (*SubmitInvoiceServiceUnavailable) IsSuccess ¶
func (o *SubmitInvoiceServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this submit invoice service unavailable response has a 2xx status code
func (*SubmitInvoiceServiceUnavailable) String ¶
func (o *SubmitInvoiceServiceUnavailable) String() string
type SubmitInvoiceTooManyRequests ¶
type SubmitInvoiceTooManyRequests 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 *shipment_invoicing_v0_models.SubmitInvoiceResponse }
SubmitInvoiceTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewSubmitInvoiceTooManyRequests ¶
func NewSubmitInvoiceTooManyRequests() *SubmitInvoiceTooManyRequests
NewSubmitInvoiceTooManyRequests creates a SubmitInvoiceTooManyRequests with default headers values
func (*SubmitInvoiceTooManyRequests) Error ¶
func (o *SubmitInvoiceTooManyRequests) Error() string
func (*SubmitInvoiceTooManyRequests) GetPayload ¶
func (o *SubmitInvoiceTooManyRequests) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
func (*SubmitInvoiceTooManyRequests) IsClientError ¶
func (o *SubmitInvoiceTooManyRequests) IsClientError() bool
IsClientError returns true when this submit invoice too many requests response has a 4xx status code
func (*SubmitInvoiceTooManyRequests) IsCode ¶
func (o *SubmitInvoiceTooManyRequests) IsCode(code int) bool
IsCode returns true when this submit invoice too many requests response a status code equal to that given
func (*SubmitInvoiceTooManyRequests) IsRedirect ¶
func (o *SubmitInvoiceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this submit invoice too many requests response has a 3xx status code
func (*SubmitInvoiceTooManyRequests) IsServerError ¶
func (o *SubmitInvoiceTooManyRequests) IsServerError() bool
IsServerError returns true when this submit invoice too many requests response has a 5xx status code
func (*SubmitInvoiceTooManyRequests) IsSuccess ¶
func (o *SubmitInvoiceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this submit invoice too many requests response has a 2xx status code
func (*SubmitInvoiceTooManyRequests) String ¶
func (o *SubmitInvoiceTooManyRequests) String() string
type SubmitInvoiceUnauthorized ¶
SubmitInvoiceUnauthorized 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 NewSubmitInvoiceUnauthorized ¶
func NewSubmitInvoiceUnauthorized() *SubmitInvoiceUnauthorized
NewSubmitInvoiceUnauthorized creates a SubmitInvoiceUnauthorized with default headers values
func (*SubmitInvoiceUnauthorized) Error ¶
func (o *SubmitInvoiceUnauthorized) Error() string
func (*SubmitInvoiceUnauthorized) GetPayload ¶
func (o *SubmitInvoiceUnauthorized) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
func (*SubmitInvoiceUnauthorized) IsClientError ¶
func (o *SubmitInvoiceUnauthorized) IsClientError() bool
IsClientError returns true when this submit invoice unauthorized response has a 4xx status code
func (*SubmitInvoiceUnauthorized) IsCode ¶
func (o *SubmitInvoiceUnauthorized) IsCode(code int) bool
IsCode returns true when this submit invoice unauthorized response a status code equal to that given
func (*SubmitInvoiceUnauthorized) IsRedirect ¶
func (o *SubmitInvoiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this submit invoice unauthorized response has a 3xx status code
func (*SubmitInvoiceUnauthorized) IsServerError ¶
func (o *SubmitInvoiceUnauthorized) IsServerError() bool
IsServerError returns true when this submit invoice unauthorized response has a 5xx status code
func (*SubmitInvoiceUnauthorized) IsSuccess ¶
func (o *SubmitInvoiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this submit invoice unauthorized response has a 2xx status code
func (*SubmitInvoiceUnauthorized) String ¶
func (o *SubmitInvoiceUnauthorized) String() string
type SubmitInvoiceUnsupportedMediaType ¶
type SubmitInvoiceUnsupportedMediaType 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 *shipment_invoicing_v0_models.SubmitInvoiceResponse }
SubmitInvoiceUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewSubmitInvoiceUnsupportedMediaType ¶
func NewSubmitInvoiceUnsupportedMediaType() *SubmitInvoiceUnsupportedMediaType
NewSubmitInvoiceUnsupportedMediaType creates a SubmitInvoiceUnsupportedMediaType with default headers values
func (*SubmitInvoiceUnsupportedMediaType) Error ¶
func (o *SubmitInvoiceUnsupportedMediaType) Error() string
func (*SubmitInvoiceUnsupportedMediaType) GetPayload ¶
func (o *SubmitInvoiceUnsupportedMediaType) GetPayload() *shipment_invoicing_v0_models.SubmitInvoiceResponse
func (*SubmitInvoiceUnsupportedMediaType) IsClientError ¶
func (o *SubmitInvoiceUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this submit invoice unsupported media type response has a 4xx status code
func (*SubmitInvoiceUnsupportedMediaType) IsCode ¶
func (o *SubmitInvoiceUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this submit invoice unsupported media type response a status code equal to that given
func (*SubmitInvoiceUnsupportedMediaType) IsRedirect ¶
func (o *SubmitInvoiceUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this submit invoice unsupported media type response has a 3xx status code
func (*SubmitInvoiceUnsupportedMediaType) IsServerError ¶
func (o *SubmitInvoiceUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this submit invoice unsupported media type response has a 5xx status code
func (*SubmitInvoiceUnsupportedMediaType) IsSuccess ¶
func (o *SubmitInvoiceUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this submit invoice unsupported media type response has a 2xx status code
func (*SubmitInvoiceUnsupportedMediaType) String ¶
func (o *SubmitInvoiceUnsupportedMediaType) String() string