shipment_invoice

package
v0.24.10 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*GetInvoiceStatusBadRequest) GetPayload

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 (*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 (*GetInvoiceStatusInternalServerError) GetPayload

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

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

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

func (*GetInvoiceStatusInternalServerError) 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 (*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 (*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

WithContext adds the context to the get invoice status params

func (*GetInvoiceStatusParams) WithDefaults

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

WithTimeout adds the timeout to the get invoice status params

func (*GetInvoiceStatusParams) WriteToRequest

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

type GetInvoiceStatusServiceUnavailable 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
}

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 (*GetInvoiceStatusServiceUnavailable) GetPayload

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

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

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

func (*GetInvoiceStatusServiceUnavailable) 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 (*GetInvoiceStatusTooManyRequests) GetPayload

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

type GetInvoiceStatusUnauthorized

type GetInvoiceStatusUnauthorized 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
}

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 (*GetInvoiceStatusUnauthorized) GetPayload

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

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 (*GetInvoiceStatusUnsupportedMediaType) GetPayload

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

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

func (*GetInvoiceStatusUnsupportedMediaType) IsRedirect

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

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

func (*GetInvoiceStatusUnsupportedMediaType) 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 (*GetShipmentDetailsBadRequest) GetPayload

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

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 (*GetShipmentDetailsForbidden) GetPayload

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 (*GetShipmentDetailsInternalServerError) GetPayload

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

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

func (*GetShipmentDetailsInternalServerError) IsRedirect

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

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

func (*GetShipmentDetailsInternalServerError) 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 (*GetShipmentDetailsNotFound) GetPayload

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 (*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

WithContext adds the context to the get shipment details params

func (*GetShipmentDetailsParams) WithDefaults

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

WithTimeout adds the timeout to the get shipment details params

func (*GetShipmentDetailsParams) WriteToRequest

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 {

	/* 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
}

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 (*GetShipmentDetailsServiceUnavailable) GetPayload

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

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

func (*GetShipmentDetailsServiceUnavailable) IsRedirect

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

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

func (*GetShipmentDetailsServiceUnavailable) 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 (*GetShipmentDetailsTooManyRequests) GetPayload

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

type GetShipmentDetailsUnauthorized

type GetShipmentDetailsUnauthorized 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
}

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 (*GetShipmentDetailsUnauthorized) GetPayload

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

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 (*GetShipmentDetailsUnsupportedMediaType) GetPayload

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

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

func (*GetShipmentDetailsUnsupportedMediaType) IsRedirect

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

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

func (*GetShipmentDetailsUnsupportedMediaType) 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 (*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 (*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 (*SubmitInvoiceInternalServerError) GetPayload

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

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 (*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 (*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

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

WithBody adds the body to the submit invoice params

func (*SubmitInvoiceParams) WithContext

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

type SubmitInvoiceServiceUnavailable 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
}

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 (*SubmitInvoiceServiceUnavailable) GetPayload

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

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 (*SubmitInvoiceTooManyRequests) GetPayload

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

type SubmitInvoiceUnauthorized

type SubmitInvoiceUnauthorized 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
}

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 (*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 (*SubmitInvoiceUnsupportedMediaType) GetPayload

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

Jump to

Keyboard shortcuts

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