Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type SubmitInvoicesAccepted
- func (o *SubmitInvoicesAccepted) Error() string
- func (o *SubmitInvoicesAccepted) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
- func (o *SubmitInvoicesAccepted) IsClientError() bool
- func (o *SubmitInvoicesAccepted) IsCode(code int) bool
- func (o *SubmitInvoicesAccepted) IsRedirect() bool
- func (o *SubmitInvoicesAccepted) IsServerError() bool
- func (o *SubmitInvoicesAccepted) IsSuccess() bool
- func (o *SubmitInvoicesAccepted) String() string
- type SubmitInvoicesBadRequest
- func (o *SubmitInvoicesBadRequest) Error() string
- func (o *SubmitInvoicesBadRequest) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
- func (o *SubmitInvoicesBadRequest) IsClientError() bool
- func (o *SubmitInvoicesBadRequest) IsCode(code int) bool
- func (o *SubmitInvoicesBadRequest) IsRedirect() bool
- func (o *SubmitInvoicesBadRequest) IsServerError() bool
- func (o *SubmitInvoicesBadRequest) IsSuccess() bool
- func (o *SubmitInvoicesBadRequest) String() string
- type SubmitInvoicesForbidden
- func (o *SubmitInvoicesForbidden) Error() string
- func (o *SubmitInvoicesForbidden) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
- func (o *SubmitInvoicesForbidden) IsClientError() bool
- func (o *SubmitInvoicesForbidden) IsCode(code int) bool
- func (o *SubmitInvoicesForbidden) IsRedirect() bool
- func (o *SubmitInvoicesForbidden) IsServerError() bool
- func (o *SubmitInvoicesForbidden) IsSuccess() bool
- func (o *SubmitInvoicesForbidden) String() string
- type SubmitInvoicesInternalServerError
- func (o *SubmitInvoicesInternalServerError) Error() string
- func (o *SubmitInvoicesInternalServerError) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
- func (o *SubmitInvoicesInternalServerError) IsClientError() bool
- func (o *SubmitInvoicesInternalServerError) IsCode(code int) bool
- func (o *SubmitInvoicesInternalServerError) IsRedirect() bool
- func (o *SubmitInvoicesInternalServerError) IsServerError() bool
- func (o *SubmitInvoicesInternalServerError) IsSuccess() bool
- func (o *SubmitInvoicesInternalServerError) String() string
- type SubmitInvoicesNotFound
- func (o *SubmitInvoicesNotFound) Error() string
- func (o *SubmitInvoicesNotFound) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
- func (o *SubmitInvoicesNotFound) IsClientError() bool
- func (o *SubmitInvoicesNotFound) IsCode(code int) bool
- func (o *SubmitInvoicesNotFound) IsRedirect() bool
- func (o *SubmitInvoicesNotFound) IsServerError() bool
- func (o *SubmitInvoicesNotFound) IsSuccess() bool
- func (o *SubmitInvoicesNotFound) String() string
- type SubmitInvoicesParams
- func NewSubmitInvoicesParams() *SubmitInvoicesParams
- func NewSubmitInvoicesParamsWithContext(ctx context.Context) *SubmitInvoicesParams
- func NewSubmitInvoicesParamsWithHTTPClient(client *http.Client) *SubmitInvoicesParams
- func NewSubmitInvoicesParamsWithTimeout(timeout time.Duration) *SubmitInvoicesParams
- func (o *SubmitInvoicesParams) SetBody(body *vendor_invoices_models.SubmitInvoicesRequest)
- func (o *SubmitInvoicesParams) SetContext(ctx context.Context)
- func (o *SubmitInvoicesParams) SetDefaults()
- func (o *SubmitInvoicesParams) SetHTTPClient(client *http.Client)
- func (o *SubmitInvoicesParams) SetTimeout(timeout time.Duration)
- func (o *SubmitInvoicesParams) WithBody(body *vendor_invoices_models.SubmitInvoicesRequest) *SubmitInvoicesParams
- func (o *SubmitInvoicesParams) WithContext(ctx context.Context) *SubmitInvoicesParams
- func (o *SubmitInvoicesParams) WithDefaults() *SubmitInvoicesParams
- func (o *SubmitInvoicesParams) WithHTTPClient(client *http.Client) *SubmitInvoicesParams
- func (o *SubmitInvoicesParams) WithTimeout(timeout time.Duration) *SubmitInvoicesParams
- func (o *SubmitInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SubmitInvoicesReader
- type SubmitInvoicesRequestEntityTooLarge
- func (o *SubmitInvoicesRequestEntityTooLarge) Error() string
- func (o *SubmitInvoicesRequestEntityTooLarge) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
- func (o *SubmitInvoicesRequestEntityTooLarge) IsClientError() bool
- func (o *SubmitInvoicesRequestEntityTooLarge) IsCode(code int) bool
- func (o *SubmitInvoicesRequestEntityTooLarge) IsRedirect() bool
- func (o *SubmitInvoicesRequestEntityTooLarge) IsServerError() bool
- func (o *SubmitInvoicesRequestEntityTooLarge) IsSuccess() bool
- func (o *SubmitInvoicesRequestEntityTooLarge) String() string
- type SubmitInvoicesServiceUnavailable
- func (o *SubmitInvoicesServiceUnavailable) Error() string
- func (o *SubmitInvoicesServiceUnavailable) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
- func (o *SubmitInvoicesServiceUnavailable) IsClientError() bool
- func (o *SubmitInvoicesServiceUnavailable) IsCode(code int) bool
- func (o *SubmitInvoicesServiceUnavailable) IsRedirect() bool
- func (o *SubmitInvoicesServiceUnavailable) IsServerError() bool
- func (o *SubmitInvoicesServiceUnavailable) IsSuccess() bool
- func (o *SubmitInvoicesServiceUnavailable) String() string
- type SubmitInvoicesTooManyRequests
- func (o *SubmitInvoicesTooManyRequests) Error() string
- func (o *SubmitInvoicesTooManyRequests) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
- func (o *SubmitInvoicesTooManyRequests) IsClientError() bool
- func (o *SubmitInvoicesTooManyRequests) IsCode(code int) bool
- func (o *SubmitInvoicesTooManyRequests) IsRedirect() bool
- func (o *SubmitInvoicesTooManyRequests) IsServerError() bool
- func (o *SubmitInvoicesTooManyRequests) IsSuccess() bool
- func (o *SubmitInvoicesTooManyRequests) String() string
- type SubmitInvoicesUnsupportedMediaType
- func (o *SubmitInvoicesUnsupportedMediaType) Error() string
- func (o *SubmitInvoicesUnsupportedMediaType) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
- func (o *SubmitInvoicesUnsupportedMediaType) IsClientError() bool
- func (o *SubmitInvoicesUnsupportedMediaType) IsCode(code int) bool
- func (o *SubmitInvoicesUnsupportedMediaType) IsRedirect() bool
- func (o *SubmitInvoicesUnsupportedMediaType) IsServerError() bool
- func (o *SubmitInvoicesUnsupportedMediaType) IsSuccess() bool
- func (o *SubmitInvoicesUnsupportedMediaType) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for vendor payments API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SubmitInvoices ¶
func (a *Client) SubmitInvoices(params *SubmitInvoicesParams, opts ...ClientOption) (*SubmitInvoicesAccepted, error)
SubmitInvoices Submit new invoices to Amazon.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { SubmitInvoices(params *SubmitInvoicesParams, opts ...ClientOption) (*SubmitInvoicesAccepted, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new vendor payments API client.
type SubmitInvoicesAccepted ¶
type SubmitInvoicesAccepted struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_invoices_models.SubmitInvoicesResponse }
SubmitInvoicesAccepted describes a response with status code 202, with default header values.
Success.
func NewSubmitInvoicesAccepted ¶
func NewSubmitInvoicesAccepted() *SubmitInvoicesAccepted
NewSubmitInvoicesAccepted creates a SubmitInvoicesAccepted with default headers values
func (*SubmitInvoicesAccepted) Error ¶
func (o *SubmitInvoicesAccepted) Error() string
func (*SubmitInvoicesAccepted) GetPayload ¶
func (o *SubmitInvoicesAccepted) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
func (*SubmitInvoicesAccepted) IsClientError ¶
func (o *SubmitInvoicesAccepted) IsClientError() bool
IsClientError returns true when this submit invoices accepted response has a 4xx status code
func (*SubmitInvoicesAccepted) IsCode ¶
func (o *SubmitInvoicesAccepted) IsCode(code int) bool
IsCode returns true when this submit invoices accepted response a status code equal to that given
func (*SubmitInvoicesAccepted) IsRedirect ¶
func (o *SubmitInvoicesAccepted) IsRedirect() bool
IsRedirect returns true when this submit invoices accepted response has a 3xx status code
func (*SubmitInvoicesAccepted) IsServerError ¶
func (o *SubmitInvoicesAccepted) IsServerError() bool
IsServerError returns true when this submit invoices accepted response has a 5xx status code
func (*SubmitInvoicesAccepted) IsSuccess ¶
func (o *SubmitInvoicesAccepted) IsSuccess() bool
IsSuccess returns true when this submit invoices accepted response has a 2xx status code
func (*SubmitInvoicesAccepted) String ¶
func (o *SubmitInvoicesAccepted) String() string
type SubmitInvoicesBadRequest ¶
type SubmitInvoicesBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_invoices_models.SubmitInvoicesResponse }
SubmitInvoicesBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewSubmitInvoicesBadRequest ¶
func NewSubmitInvoicesBadRequest() *SubmitInvoicesBadRequest
NewSubmitInvoicesBadRequest creates a SubmitInvoicesBadRequest with default headers values
func (*SubmitInvoicesBadRequest) Error ¶
func (o *SubmitInvoicesBadRequest) Error() string
func (*SubmitInvoicesBadRequest) GetPayload ¶
func (o *SubmitInvoicesBadRequest) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
func (*SubmitInvoicesBadRequest) IsClientError ¶
func (o *SubmitInvoicesBadRequest) IsClientError() bool
IsClientError returns true when this submit invoices bad request response has a 4xx status code
func (*SubmitInvoicesBadRequest) IsCode ¶
func (o *SubmitInvoicesBadRequest) IsCode(code int) bool
IsCode returns true when this submit invoices bad request response a status code equal to that given
func (*SubmitInvoicesBadRequest) IsRedirect ¶
func (o *SubmitInvoicesBadRequest) IsRedirect() bool
IsRedirect returns true when this submit invoices bad request response has a 3xx status code
func (*SubmitInvoicesBadRequest) IsServerError ¶
func (o *SubmitInvoicesBadRequest) IsServerError() bool
IsServerError returns true when this submit invoices bad request response has a 5xx status code
func (*SubmitInvoicesBadRequest) IsSuccess ¶
func (o *SubmitInvoicesBadRequest) IsSuccess() bool
IsSuccess returns true when this submit invoices bad request response has a 2xx status code
func (*SubmitInvoicesBadRequest) String ¶
func (o *SubmitInvoicesBadRequest) String() string
type SubmitInvoicesForbidden ¶
type SubmitInvoicesForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_invoices_models.SubmitInvoicesResponse }
SubmitInvoicesForbidden 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 NewSubmitInvoicesForbidden ¶
func NewSubmitInvoicesForbidden() *SubmitInvoicesForbidden
NewSubmitInvoicesForbidden creates a SubmitInvoicesForbidden with default headers values
func (*SubmitInvoicesForbidden) Error ¶
func (o *SubmitInvoicesForbidden) Error() string
func (*SubmitInvoicesForbidden) GetPayload ¶
func (o *SubmitInvoicesForbidden) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
func (*SubmitInvoicesForbidden) IsClientError ¶
func (o *SubmitInvoicesForbidden) IsClientError() bool
IsClientError returns true when this submit invoices forbidden response has a 4xx status code
func (*SubmitInvoicesForbidden) IsCode ¶
func (o *SubmitInvoicesForbidden) IsCode(code int) bool
IsCode returns true when this submit invoices forbidden response a status code equal to that given
func (*SubmitInvoicesForbidden) IsRedirect ¶
func (o *SubmitInvoicesForbidden) IsRedirect() bool
IsRedirect returns true when this submit invoices forbidden response has a 3xx status code
func (*SubmitInvoicesForbidden) IsServerError ¶
func (o *SubmitInvoicesForbidden) IsServerError() bool
IsServerError returns true when this submit invoices forbidden response has a 5xx status code
func (*SubmitInvoicesForbidden) IsSuccess ¶
func (o *SubmitInvoicesForbidden) IsSuccess() bool
IsSuccess returns true when this submit invoices forbidden response has a 2xx status code
func (*SubmitInvoicesForbidden) String ¶
func (o *SubmitInvoicesForbidden) String() string
type SubmitInvoicesInternalServerError ¶
type SubmitInvoicesInternalServerError struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_invoices_models.SubmitInvoicesResponse }
SubmitInvoicesInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewSubmitInvoicesInternalServerError ¶
func NewSubmitInvoicesInternalServerError() *SubmitInvoicesInternalServerError
NewSubmitInvoicesInternalServerError creates a SubmitInvoicesInternalServerError with default headers values
func (*SubmitInvoicesInternalServerError) Error ¶
func (o *SubmitInvoicesInternalServerError) Error() string
func (*SubmitInvoicesInternalServerError) GetPayload ¶
func (o *SubmitInvoicesInternalServerError) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
func (*SubmitInvoicesInternalServerError) IsClientError ¶
func (o *SubmitInvoicesInternalServerError) IsClientError() bool
IsClientError returns true when this submit invoices internal server error response has a 4xx status code
func (*SubmitInvoicesInternalServerError) IsCode ¶
func (o *SubmitInvoicesInternalServerError) IsCode(code int) bool
IsCode returns true when this submit invoices internal server error response a status code equal to that given
func (*SubmitInvoicesInternalServerError) IsRedirect ¶
func (o *SubmitInvoicesInternalServerError) IsRedirect() bool
IsRedirect returns true when this submit invoices internal server error response has a 3xx status code
func (*SubmitInvoicesInternalServerError) IsServerError ¶
func (o *SubmitInvoicesInternalServerError) IsServerError() bool
IsServerError returns true when this submit invoices internal server error response has a 5xx status code
func (*SubmitInvoicesInternalServerError) IsSuccess ¶
func (o *SubmitInvoicesInternalServerError) IsSuccess() bool
IsSuccess returns true when this submit invoices internal server error response has a 2xx status code
func (*SubmitInvoicesInternalServerError) String ¶
func (o *SubmitInvoicesInternalServerError) String() string
type SubmitInvoicesNotFound ¶
type SubmitInvoicesNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* unique request reference identifier. */ XAmznRequestID string Payload *vendor_invoices_models.SubmitInvoicesResponse }
SubmitInvoicesNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewSubmitInvoicesNotFound ¶
func NewSubmitInvoicesNotFound() *SubmitInvoicesNotFound
NewSubmitInvoicesNotFound creates a SubmitInvoicesNotFound with default headers values
func (*SubmitInvoicesNotFound) Error ¶
func (o *SubmitInvoicesNotFound) Error() string
func (*SubmitInvoicesNotFound) GetPayload ¶
func (o *SubmitInvoicesNotFound) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
func (*SubmitInvoicesNotFound) IsClientError ¶
func (o *SubmitInvoicesNotFound) IsClientError() bool
IsClientError returns true when this submit invoices not found response has a 4xx status code
func (*SubmitInvoicesNotFound) IsCode ¶
func (o *SubmitInvoicesNotFound) IsCode(code int) bool
IsCode returns true when this submit invoices not found response a status code equal to that given
func (*SubmitInvoicesNotFound) IsRedirect ¶
func (o *SubmitInvoicesNotFound) IsRedirect() bool
IsRedirect returns true when this submit invoices not found response has a 3xx status code
func (*SubmitInvoicesNotFound) IsServerError ¶
func (o *SubmitInvoicesNotFound) IsServerError() bool
IsServerError returns true when this submit invoices not found response has a 5xx status code
func (*SubmitInvoicesNotFound) IsSuccess ¶
func (o *SubmitInvoicesNotFound) IsSuccess() bool
IsSuccess returns true when this submit invoices not found response has a 2xx status code
func (*SubmitInvoicesNotFound) String ¶
func (o *SubmitInvoicesNotFound) String() string
type SubmitInvoicesParams ¶
type SubmitInvoicesParams struct { // Body. Body *vendor_invoices_models.SubmitInvoicesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SubmitInvoicesParams contains all the parameters to send to the API endpoint
for the submit invoices operation. Typically these are written to a http.Request.
func NewSubmitInvoicesParams ¶
func NewSubmitInvoicesParams() *SubmitInvoicesParams
NewSubmitInvoicesParams creates a new SubmitInvoicesParams 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 NewSubmitInvoicesParamsWithContext ¶
func NewSubmitInvoicesParamsWithContext(ctx context.Context) *SubmitInvoicesParams
NewSubmitInvoicesParamsWithContext creates a new SubmitInvoicesParams object with the ability to set a context for a request.
func NewSubmitInvoicesParamsWithHTTPClient ¶
func NewSubmitInvoicesParamsWithHTTPClient(client *http.Client) *SubmitInvoicesParams
NewSubmitInvoicesParamsWithHTTPClient creates a new SubmitInvoicesParams object with the ability to set a custom HTTPClient for a request.
func NewSubmitInvoicesParamsWithTimeout ¶
func NewSubmitInvoicesParamsWithTimeout(timeout time.Duration) *SubmitInvoicesParams
NewSubmitInvoicesParamsWithTimeout creates a new SubmitInvoicesParams object with the ability to set a timeout on a request.
func (*SubmitInvoicesParams) SetBody ¶
func (o *SubmitInvoicesParams) SetBody(body *vendor_invoices_models.SubmitInvoicesRequest)
SetBody adds the body to the submit invoices params
func (*SubmitInvoicesParams) SetContext ¶
func (o *SubmitInvoicesParams) SetContext(ctx context.Context)
SetContext adds the context to the submit invoices params
func (*SubmitInvoicesParams) SetDefaults ¶
func (o *SubmitInvoicesParams) SetDefaults()
SetDefaults hydrates default values in the submit invoices params (not the query body).
All values with no default are reset to their zero value.
func (*SubmitInvoicesParams) SetHTTPClient ¶
func (o *SubmitInvoicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the submit invoices params
func (*SubmitInvoicesParams) SetTimeout ¶
func (o *SubmitInvoicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the submit invoices params
func (*SubmitInvoicesParams) WithBody ¶
func (o *SubmitInvoicesParams) WithBody(body *vendor_invoices_models.SubmitInvoicesRequest) *SubmitInvoicesParams
WithBody adds the body to the submit invoices params
func (*SubmitInvoicesParams) WithContext ¶
func (o *SubmitInvoicesParams) WithContext(ctx context.Context) *SubmitInvoicesParams
WithContext adds the context to the submit invoices params
func (*SubmitInvoicesParams) WithDefaults ¶
func (o *SubmitInvoicesParams) WithDefaults() *SubmitInvoicesParams
WithDefaults hydrates default values in the submit invoices params (not the query body).
All values with no default are reset to their zero value.
func (*SubmitInvoicesParams) WithHTTPClient ¶
func (o *SubmitInvoicesParams) WithHTTPClient(client *http.Client) *SubmitInvoicesParams
WithHTTPClient adds the HTTPClient to the submit invoices params
func (*SubmitInvoicesParams) WithTimeout ¶
func (o *SubmitInvoicesParams) WithTimeout(timeout time.Duration) *SubmitInvoicesParams
WithTimeout adds the timeout to the submit invoices params
func (*SubmitInvoicesParams) WriteToRequest ¶
func (o *SubmitInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SubmitInvoicesReader ¶
type SubmitInvoicesReader struct {
// contains filtered or unexported fields
}
SubmitInvoicesReader is a Reader for the SubmitInvoices structure.
func (*SubmitInvoicesReader) ReadResponse ¶
func (o *SubmitInvoicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SubmitInvoicesRequestEntityTooLarge ¶
type SubmitInvoicesRequestEntityTooLarge struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_invoices_models.SubmitInvoicesResponse }
SubmitInvoicesRequestEntityTooLarge describes a response with status code 413, with default header values.
The request size exceeded the maximum accepted size.
func NewSubmitInvoicesRequestEntityTooLarge ¶
func NewSubmitInvoicesRequestEntityTooLarge() *SubmitInvoicesRequestEntityTooLarge
NewSubmitInvoicesRequestEntityTooLarge creates a SubmitInvoicesRequestEntityTooLarge with default headers values
func (*SubmitInvoicesRequestEntityTooLarge) Error ¶
func (o *SubmitInvoicesRequestEntityTooLarge) Error() string
func (*SubmitInvoicesRequestEntityTooLarge) GetPayload ¶
func (o *SubmitInvoicesRequestEntityTooLarge) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
func (*SubmitInvoicesRequestEntityTooLarge) IsClientError ¶
func (o *SubmitInvoicesRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this submit invoices request entity too large response has a 4xx status code
func (*SubmitInvoicesRequestEntityTooLarge) IsCode ¶
func (o *SubmitInvoicesRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this submit invoices request entity too large response a status code equal to that given
func (*SubmitInvoicesRequestEntityTooLarge) IsRedirect ¶
func (o *SubmitInvoicesRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this submit invoices request entity too large response has a 3xx status code
func (*SubmitInvoicesRequestEntityTooLarge) IsServerError ¶
func (o *SubmitInvoicesRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this submit invoices request entity too large response has a 5xx status code
func (*SubmitInvoicesRequestEntityTooLarge) IsSuccess ¶
func (o *SubmitInvoicesRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this submit invoices request entity too large response has a 2xx status code
func (*SubmitInvoicesRequestEntityTooLarge) String ¶
func (o *SubmitInvoicesRequestEntityTooLarge) String() string
type SubmitInvoicesServiceUnavailable ¶
SubmitInvoicesServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewSubmitInvoicesServiceUnavailable ¶
func NewSubmitInvoicesServiceUnavailable() *SubmitInvoicesServiceUnavailable
NewSubmitInvoicesServiceUnavailable creates a SubmitInvoicesServiceUnavailable with default headers values
func (*SubmitInvoicesServiceUnavailable) Error ¶
func (o *SubmitInvoicesServiceUnavailable) Error() string
func (*SubmitInvoicesServiceUnavailable) GetPayload ¶
func (o *SubmitInvoicesServiceUnavailable) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
func (*SubmitInvoicesServiceUnavailable) IsClientError ¶
func (o *SubmitInvoicesServiceUnavailable) IsClientError() bool
IsClientError returns true when this submit invoices service unavailable response has a 4xx status code
func (*SubmitInvoicesServiceUnavailable) IsCode ¶
func (o *SubmitInvoicesServiceUnavailable) IsCode(code int) bool
IsCode returns true when this submit invoices service unavailable response a status code equal to that given
func (*SubmitInvoicesServiceUnavailable) IsRedirect ¶
func (o *SubmitInvoicesServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this submit invoices service unavailable response has a 3xx status code
func (*SubmitInvoicesServiceUnavailable) IsServerError ¶
func (o *SubmitInvoicesServiceUnavailable) IsServerError() bool
IsServerError returns true when this submit invoices service unavailable response has a 5xx status code
func (*SubmitInvoicesServiceUnavailable) IsSuccess ¶
func (o *SubmitInvoicesServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this submit invoices service unavailable response has a 2xx status code
func (*SubmitInvoicesServiceUnavailable) String ¶
func (o *SubmitInvoicesServiceUnavailable) String() string
type SubmitInvoicesTooManyRequests ¶
type SubmitInvoicesTooManyRequests struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_invoices_models.SubmitInvoicesResponse }
SubmitInvoicesTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewSubmitInvoicesTooManyRequests ¶
func NewSubmitInvoicesTooManyRequests() *SubmitInvoicesTooManyRequests
NewSubmitInvoicesTooManyRequests creates a SubmitInvoicesTooManyRequests with default headers values
func (*SubmitInvoicesTooManyRequests) Error ¶
func (o *SubmitInvoicesTooManyRequests) Error() string
func (*SubmitInvoicesTooManyRequests) GetPayload ¶
func (o *SubmitInvoicesTooManyRequests) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
func (*SubmitInvoicesTooManyRequests) IsClientError ¶
func (o *SubmitInvoicesTooManyRequests) IsClientError() bool
IsClientError returns true when this submit invoices too many requests response has a 4xx status code
func (*SubmitInvoicesTooManyRequests) IsCode ¶
func (o *SubmitInvoicesTooManyRequests) IsCode(code int) bool
IsCode returns true when this submit invoices too many requests response a status code equal to that given
func (*SubmitInvoicesTooManyRequests) IsRedirect ¶
func (o *SubmitInvoicesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this submit invoices too many requests response has a 3xx status code
func (*SubmitInvoicesTooManyRequests) IsServerError ¶
func (o *SubmitInvoicesTooManyRequests) IsServerError() bool
IsServerError returns true when this submit invoices too many requests response has a 5xx status code
func (*SubmitInvoicesTooManyRequests) IsSuccess ¶
func (o *SubmitInvoicesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this submit invoices too many requests response has a 2xx status code
func (*SubmitInvoicesTooManyRequests) String ¶
func (o *SubmitInvoicesTooManyRequests) String() string
type SubmitInvoicesUnsupportedMediaType ¶
type SubmitInvoicesUnsupportedMediaType struct { /* Your rate limit (requests per second) for this operation. _Note:_ For this status code, the rate limit header is deprecated and no longer returned. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_invoices_models.SubmitInvoicesResponse }
SubmitInvoicesUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewSubmitInvoicesUnsupportedMediaType ¶
func NewSubmitInvoicesUnsupportedMediaType() *SubmitInvoicesUnsupportedMediaType
NewSubmitInvoicesUnsupportedMediaType creates a SubmitInvoicesUnsupportedMediaType with default headers values
func (*SubmitInvoicesUnsupportedMediaType) Error ¶
func (o *SubmitInvoicesUnsupportedMediaType) Error() string
func (*SubmitInvoicesUnsupportedMediaType) GetPayload ¶
func (o *SubmitInvoicesUnsupportedMediaType) GetPayload() *vendor_invoices_models.SubmitInvoicesResponse
func (*SubmitInvoicesUnsupportedMediaType) IsClientError ¶
func (o *SubmitInvoicesUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this submit invoices unsupported media type response has a 4xx status code
func (*SubmitInvoicesUnsupportedMediaType) IsCode ¶
func (o *SubmitInvoicesUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this submit invoices unsupported media type response a status code equal to that given
func (*SubmitInvoicesUnsupportedMediaType) IsRedirect ¶
func (o *SubmitInvoicesUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this submit invoices unsupported media type response has a 3xx status code
func (*SubmitInvoicesUnsupportedMediaType) IsServerError ¶
func (o *SubmitInvoicesUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this submit invoices unsupported media type response has a 5xx status code
func (*SubmitInvoicesUnsupportedMediaType) IsSuccess ¶
func (o *SubmitInvoicesUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this submit invoices unsupported media type response has a 2xx status code
func (*SubmitInvoicesUnsupportedMediaType) String ¶
func (o *SubmitInvoicesUnsupportedMediaType) String() string