Documentation ¶
Index ¶
- type Client
- func (a *Client) GetCustomerInvoice(params *GetCustomerInvoiceParams, opts ...ClientOption) (*GetCustomerInvoiceOK, error)
- func (a *Client) GetCustomerInvoices(params *GetCustomerInvoicesParams, opts ...ClientOption) (*GetCustomerInvoicesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetCustomerInvoiceBadRequest
- func (o *GetCustomerInvoiceBadRequest) Error() string
- func (o *GetCustomerInvoiceBadRequest) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoiceBadRequest) IsClientError() bool
- func (o *GetCustomerInvoiceBadRequest) IsCode(code int) bool
- func (o *GetCustomerInvoiceBadRequest) IsRedirect() bool
- func (o *GetCustomerInvoiceBadRequest) IsServerError() bool
- func (o *GetCustomerInvoiceBadRequest) IsSuccess() bool
- func (o *GetCustomerInvoiceBadRequest) String() string
- type GetCustomerInvoiceForbidden
- func (o *GetCustomerInvoiceForbidden) Error() string
- func (o *GetCustomerInvoiceForbidden) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoiceForbidden) IsClientError() bool
- func (o *GetCustomerInvoiceForbidden) IsCode(code int) bool
- func (o *GetCustomerInvoiceForbidden) IsRedirect() bool
- func (o *GetCustomerInvoiceForbidden) IsServerError() bool
- func (o *GetCustomerInvoiceForbidden) IsSuccess() bool
- func (o *GetCustomerInvoiceForbidden) String() string
- type GetCustomerInvoiceInternalServerError
- func (o *GetCustomerInvoiceInternalServerError) Error() string
- func (o *GetCustomerInvoiceInternalServerError) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoiceInternalServerError) IsClientError() bool
- func (o *GetCustomerInvoiceInternalServerError) IsCode(code int) bool
- func (o *GetCustomerInvoiceInternalServerError) IsRedirect() bool
- func (o *GetCustomerInvoiceInternalServerError) IsServerError() bool
- func (o *GetCustomerInvoiceInternalServerError) IsSuccess() bool
- func (o *GetCustomerInvoiceInternalServerError) String() string
- type GetCustomerInvoiceNotFound
- func (o *GetCustomerInvoiceNotFound) Error() string
- func (o *GetCustomerInvoiceNotFound) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoiceNotFound) IsClientError() bool
- func (o *GetCustomerInvoiceNotFound) IsCode(code int) bool
- func (o *GetCustomerInvoiceNotFound) IsRedirect() bool
- func (o *GetCustomerInvoiceNotFound) IsServerError() bool
- func (o *GetCustomerInvoiceNotFound) IsSuccess() bool
- func (o *GetCustomerInvoiceNotFound) String() string
- type GetCustomerInvoiceOK
- func (o *GetCustomerInvoiceOK) Error() string
- func (o *GetCustomerInvoiceOK) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.CustomerInvoice
- func (o *GetCustomerInvoiceOK) IsClientError() bool
- func (o *GetCustomerInvoiceOK) IsCode(code int) bool
- func (o *GetCustomerInvoiceOK) IsRedirect() bool
- func (o *GetCustomerInvoiceOK) IsServerError() bool
- func (o *GetCustomerInvoiceOK) IsSuccess() bool
- func (o *GetCustomerInvoiceOK) String() string
- type GetCustomerInvoiceParams
- func NewGetCustomerInvoiceParams() *GetCustomerInvoiceParams
- func NewGetCustomerInvoiceParamsWithContext(ctx context.Context) *GetCustomerInvoiceParams
- func NewGetCustomerInvoiceParamsWithHTTPClient(client *http.Client) *GetCustomerInvoiceParams
- func NewGetCustomerInvoiceParamsWithTimeout(timeout time.Duration) *GetCustomerInvoiceParams
- func (o *GetCustomerInvoiceParams) SetContext(ctx context.Context)
- func (o *GetCustomerInvoiceParams) SetDefaults()
- func (o *GetCustomerInvoiceParams) SetHTTPClient(client *http.Client)
- func (o *GetCustomerInvoiceParams) SetPurchaseOrderNumber(purchaseOrderNumber string)
- func (o *GetCustomerInvoiceParams) SetTimeout(timeout time.Duration)
- func (o *GetCustomerInvoiceParams) WithContext(ctx context.Context) *GetCustomerInvoiceParams
- func (o *GetCustomerInvoiceParams) WithDefaults() *GetCustomerInvoiceParams
- func (o *GetCustomerInvoiceParams) WithHTTPClient(client *http.Client) *GetCustomerInvoiceParams
- func (o *GetCustomerInvoiceParams) WithPurchaseOrderNumber(purchaseOrderNumber string) *GetCustomerInvoiceParams
- func (o *GetCustomerInvoiceParams) WithTimeout(timeout time.Duration) *GetCustomerInvoiceParams
- func (o *GetCustomerInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCustomerInvoiceReader
- type GetCustomerInvoiceServiceUnavailable
- func (o *GetCustomerInvoiceServiceUnavailable) Error() string
- func (o *GetCustomerInvoiceServiceUnavailable) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoiceServiceUnavailable) IsClientError() bool
- func (o *GetCustomerInvoiceServiceUnavailable) IsCode(code int) bool
- func (o *GetCustomerInvoiceServiceUnavailable) IsRedirect() bool
- func (o *GetCustomerInvoiceServiceUnavailable) IsServerError() bool
- func (o *GetCustomerInvoiceServiceUnavailable) IsSuccess() bool
- func (o *GetCustomerInvoiceServiceUnavailable) String() string
- type GetCustomerInvoiceTooManyRequests
- func (o *GetCustomerInvoiceTooManyRequests) Error() string
- func (o *GetCustomerInvoiceTooManyRequests) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoiceTooManyRequests) IsClientError() bool
- func (o *GetCustomerInvoiceTooManyRequests) IsCode(code int) bool
- func (o *GetCustomerInvoiceTooManyRequests) IsRedirect() bool
- func (o *GetCustomerInvoiceTooManyRequests) IsServerError() bool
- func (o *GetCustomerInvoiceTooManyRequests) IsSuccess() bool
- func (o *GetCustomerInvoiceTooManyRequests) String() string
- type GetCustomerInvoiceUnauthorized
- func (o *GetCustomerInvoiceUnauthorized) Error() string
- func (o *GetCustomerInvoiceUnauthorized) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoiceUnauthorized) IsClientError() bool
- func (o *GetCustomerInvoiceUnauthorized) IsCode(code int) bool
- func (o *GetCustomerInvoiceUnauthorized) IsRedirect() bool
- func (o *GetCustomerInvoiceUnauthorized) IsServerError() bool
- func (o *GetCustomerInvoiceUnauthorized) IsSuccess() bool
- func (o *GetCustomerInvoiceUnauthorized) String() string
- type GetCustomerInvoiceUnsupportedMediaType
- func (o *GetCustomerInvoiceUnsupportedMediaType) Error() string
- func (o *GetCustomerInvoiceUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoiceUnsupportedMediaType) IsClientError() bool
- func (o *GetCustomerInvoiceUnsupportedMediaType) IsCode(code int) bool
- func (o *GetCustomerInvoiceUnsupportedMediaType) IsRedirect() bool
- func (o *GetCustomerInvoiceUnsupportedMediaType) IsServerError() bool
- func (o *GetCustomerInvoiceUnsupportedMediaType) IsSuccess() bool
- func (o *GetCustomerInvoiceUnsupportedMediaType) String() string
- type GetCustomerInvoicesBadRequest
- func (o *GetCustomerInvoicesBadRequest) Error() string
- func (o *GetCustomerInvoicesBadRequest) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoicesBadRequest) IsClientError() bool
- func (o *GetCustomerInvoicesBadRequest) IsCode(code int) bool
- func (o *GetCustomerInvoicesBadRequest) IsRedirect() bool
- func (o *GetCustomerInvoicesBadRequest) IsServerError() bool
- func (o *GetCustomerInvoicesBadRequest) IsSuccess() bool
- func (o *GetCustomerInvoicesBadRequest) String() string
- type GetCustomerInvoicesForbidden
- func (o *GetCustomerInvoicesForbidden) Error() string
- func (o *GetCustomerInvoicesForbidden) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoicesForbidden) IsClientError() bool
- func (o *GetCustomerInvoicesForbidden) IsCode(code int) bool
- func (o *GetCustomerInvoicesForbidden) IsRedirect() bool
- func (o *GetCustomerInvoicesForbidden) IsServerError() bool
- func (o *GetCustomerInvoicesForbidden) IsSuccess() bool
- func (o *GetCustomerInvoicesForbidden) String() string
- type GetCustomerInvoicesInternalServerError
- func (o *GetCustomerInvoicesInternalServerError) Error() string
- func (o *GetCustomerInvoicesInternalServerError) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoicesInternalServerError) IsClientError() bool
- func (o *GetCustomerInvoicesInternalServerError) IsCode(code int) bool
- func (o *GetCustomerInvoicesInternalServerError) IsRedirect() bool
- func (o *GetCustomerInvoicesInternalServerError) IsServerError() bool
- func (o *GetCustomerInvoicesInternalServerError) IsSuccess() bool
- func (o *GetCustomerInvoicesInternalServerError) String() string
- type GetCustomerInvoicesNotFound
- func (o *GetCustomerInvoicesNotFound) Error() string
- func (o *GetCustomerInvoicesNotFound) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoicesNotFound) IsClientError() bool
- func (o *GetCustomerInvoicesNotFound) IsCode(code int) bool
- func (o *GetCustomerInvoicesNotFound) IsRedirect() bool
- func (o *GetCustomerInvoicesNotFound) IsServerError() bool
- func (o *GetCustomerInvoicesNotFound) IsSuccess() bool
- func (o *GetCustomerInvoicesNotFound) String() string
- type GetCustomerInvoicesOK
- func (o *GetCustomerInvoicesOK) Error() string
- func (o *GetCustomerInvoicesOK) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.CustomerInvoiceList
- func (o *GetCustomerInvoicesOK) IsClientError() bool
- func (o *GetCustomerInvoicesOK) IsCode(code int) bool
- func (o *GetCustomerInvoicesOK) IsRedirect() bool
- func (o *GetCustomerInvoicesOK) IsServerError() bool
- func (o *GetCustomerInvoicesOK) IsSuccess() bool
- func (o *GetCustomerInvoicesOK) String() string
- type GetCustomerInvoicesParams
- func NewGetCustomerInvoicesParams() *GetCustomerInvoicesParams
- func NewGetCustomerInvoicesParamsWithContext(ctx context.Context) *GetCustomerInvoicesParams
- func NewGetCustomerInvoicesParamsWithHTTPClient(client *http.Client) *GetCustomerInvoicesParams
- func NewGetCustomerInvoicesParamsWithTimeout(timeout time.Duration) *GetCustomerInvoicesParams
- func (o *GetCustomerInvoicesParams) SetContext(ctx context.Context)
- func (o *GetCustomerInvoicesParams) SetCreatedAfter(createdAfter strfmt.DateTime)
- func (o *GetCustomerInvoicesParams) SetCreatedBefore(createdBefore strfmt.DateTime)
- func (o *GetCustomerInvoicesParams) SetDefaults()
- func (o *GetCustomerInvoicesParams) SetHTTPClient(client *http.Client)
- func (o *GetCustomerInvoicesParams) SetLimit(limit *int64)
- func (o *GetCustomerInvoicesParams) SetNextToken(nextToken *string)
- func (o *GetCustomerInvoicesParams) SetShipFromPartyID(shipFromPartyID *string)
- func (o *GetCustomerInvoicesParams) SetSortOrder(sortOrder *string)
- func (o *GetCustomerInvoicesParams) SetTimeout(timeout time.Duration)
- func (o *GetCustomerInvoicesParams) WithContext(ctx context.Context) *GetCustomerInvoicesParams
- func (o *GetCustomerInvoicesParams) WithCreatedAfter(createdAfter strfmt.DateTime) *GetCustomerInvoicesParams
- func (o *GetCustomerInvoicesParams) WithCreatedBefore(createdBefore strfmt.DateTime) *GetCustomerInvoicesParams
- func (o *GetCustomerInvoicesParams) WithDefaults() *GetCustomerInvoicesParams
- func (o *GetCustomerInvoicesParams) WithHTTPClient(client *http.Client) *GetCustomerInvoicesParams
- func (o *GetCustomerInvoicesParams) WithLimit(limit *int64) *GetCustomerInvoicesParams
- func (o *GetCustomerInvoicesParams) WithNextToken(nextToken *string) *GetCustomerInvoicesParams
- func (o *GetCustomerInvoicesParams) WithShipFromPartyID(shipFromPartyID *string) *GetCustomerInvoicesParams
- func (o *GetCustomerInvoicesParams) WithSortOrder(sortOrder *string) *GetCustomerInvoicesParams
- func (o *GetCustomerInvoicesParams) WithTimeout(timeout time.Duration) *GetCustomerInvoicesParams
- func (o *GetCustomerInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCustomerInvoicesReader
- type GetCustomerInvoicesServiceUnavailable
- func (o *GetCustomerInvoicesServiceUnavailable) Error() string
- func (o *GetCustomerInvoicesServiceUnavailable) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoicesServiceUnavailable) IsClientError() bool
- func (o *GetCustomerInvoicesServiceUnavailable) IsCode(code int) bool
- func (o *GetCustomerInvoicesServiceUnavailable) IsRedirect() bool
- func (o *GetCustomerInvoicesServiceUnavailable) IsServerError() bool
- func (o *GetCustomerInvoicesServiceUnavailable) IsSuccess() bool
- func (o *GetCustomerInvoicesServiceUnavailable) String() string
- type GetCustomerInvoicesTooManyRequests
- func (o *GetCustomerInvoicesTooManyRequests) Error() string
- func (o *GetCustomerInvoicesTooManyRequests) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoicesTooManyRequests) IsClientError() bool
- func (o *GetCustomerInvoicesTooManyRequests) IsCode(code int) bool
- func (o *GetCustomerInvoicesTooManyRequests) IsRedirect() bool
- func (o *GetCustomerInvoicesTooManyRequests) IsServerError() bool
- func (o *GetCustomerInvoicesTooManyRequests) IsSuccess() bool
- func (o *GetCustomerInvoicesTooManyRequests) String() string
- type GetCustomerInvoicesUnsupportedMediaType
- func (o *GetCustomerInvoicesUnsupportedMediaType) Error() string
- func (o *GetCustomerInvoicesUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
- func (o *GetCustomerInvoicesUnsupportedMediaType) IsClientError() bool
- func (o *GetCustomerInvoicesUnsupportedMediaType) IsCode(code int) bool
- func (o *GetCustomerInvoicesUnsupportedMediaType) IsRedirect() bool
- func (o *GetCustomerInvoicesUnsupportedMediaType) IsServerError() bool
- func (o *GetCustomerInvoicesUnsupportedMediaType) IsSuccess() bool
- func (o *GetCustomerInvoicesUnsupportedMediaType) 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 customer invoices API
func (*Client) GetCustomerInvoice ¶
func (a *Client) GetCustomerInvoice(params *GetCustomerInvoiceParams, opts ...ClientOption) (*GetCustomerInvoiceOK, error)
GetCustomerInvoice Returns a customer invoice based on the purchaseOrderNumber that you specify.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) GetCustomerInvoices ¶
func (a *Client) GetCustomerInvoices(params *GetCustomerInvoicesParams, opts ...ClientOption) (*GetCustomerInvoicesOK, error)
GetCustomerInvoices Returns a list of customer invoices created during a time frame that you specify. You define the time frame using the createdAfter and createdBefore parameters. You must use both of these parameters. The date range to search must be no more than 7 days.
**Usage Plan:**
| Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 |
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetCustomerInvoice(params *GetCustomerInvoiceParams, opts ...ClientOption) (*GetCustomerInvoiceOK, error) GetCustomerInvoices(params *GetCustomerInvoicesParams, opts ...ClientOption) (*GetCustomerInvoicesOK, 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 customer invoices API client.
type GetCustomerInvoiceBadRequest ¶
type GetCustomerInvoiceBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList }
GetCustomerInvoiceBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetCustomerInvoiceBadRequest ¶
func NewGetCustomerInvoiceBadRequest() *GetCustomerInvoiceBadRequest
NewGetCustomerInvoiceBadRequest creates a GetCustomerInvoiceBadRequest with default headers values
func (*GetCustomerInvoiceBadRequest) Error ¶
func (o *GetCustomerInvoiceBadRequest) Error() string
func (*GetCustomerInvoiceBadRequest) GetPayload ¶
func (o *GetCustomerInvoiceBadRequest) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoiceBadRequest) IsClientError ¶
func (o *GetCustomerInvoiceBadRequest) IsClientError() bool
IsClientError returns true when this get customer invoice bad request response has a 4xx status code
func (*GetCustomerInvoiceBadRequest) IsCode ¶
func (o *GetCustomerInvoiceBadRequest) IsCode(code int) bool
IsCode returns true when this get customer invoice bad request response a status code equal to that given
func (*GetCustomerInvoiceBadRequest) IsRedirect ¶
func (o *GetCustomerInvoiceBadRequest) IsRedirect() bool
IsRedirect returns true when this get customer invoice bad request response has a 3xx status code
func (*GetCustomerInvoiceBadRequest) IsServerError ¶
func (o *GetCustomerInvoiceBadRequest) IsServerError() bool
IsServerError returns true when this get customer invoice bad request response has a 5xx status code
func (*GetCustomerInvoiceBadRequest) IsSuccess ¶
func (o *GetCustomerInvoiceBadRequest) IsSuccess() bool
IsSuccess returns true when this get customer invoice bad request response has a 2xx status code
func (*GetCustomerInvoiceBadRequest) String ¶
func (o *GetCustomerInvoiceBadRequest) String() string
type GetCustomerInvoiceForbidden ¶
type GetCustomerInvoiceForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList }
GetCustomerInvoiceForbidden 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 NewGetCustomerInvoiceForbidden ¶
func NewGetCustomerInvoiceForbidden() *GetCustomerInvoiceForbidden
NewGetCustomerInvoiceForbidden creates a GetCustomerInvoiceForbidden with default headers values
func (*GetCustomerInvoiceForbidden) Error ¶
func (o *GetCustomerInvoiceForbidden) Error() string
func (*GetCustomerInvoiceForbidden) GetPayload ¶
func (o *GetCustomerInvoiceForbidden) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoiceForbidden) IsClientError ¶
func (o *GetCustomerInvoiceForbidden) IsClientError() bool
IsClientError returns true when this get customer invoice forbidden response has a 4xx status code
func (*GetCustomerInvoiceForbidden) IsCode ¶
func (o *GetCustomerInvoiceForbidden) IsCode(code int) bool
IsCode returns true when this get customer invoice forbidden response a status code equal to that given
func (*GetCustomerInvoiceForbidden) IsRedirect ¶
func (o *GetCustomerInvoiceForbidden) IsRedirect() bool
IsRedirect returns true when this get customer invoice forbidden response has a 3xx status code
func (*GetCustomerInvoiceForbidden) IsServerError ¶
func (o *GetCustomerInvoiceForbidden) IsServerError() bool
IsServerError returns true when this get customer invoice forbidden response has a 5xx status code
func (*GetCustomerInvoiceForbidden) IsSuccess ¶
func (o *GetCustomerInvoiceForbidden) IsSuccess() bool
IsSuccess returns true when this get customer invoice forbidden response has a 2xx status code
func (*GetCustomerInvoiceForbidden) String ¶
func (o *GetCustomerInvoiceForbidden) String() string
type GetCustomerInvoiceInternalServerError ¶
type GetCustomerInvoiceInternalServerError struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList }
GetCustomerInvoiceInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetCustomerInvoiceInternalServerError ¶
func NewGetCustomerInvoiceInternalServerError() *GetCustomerInvoiceInternalServerError
NewGetCustomerInvoiceInternalServerError creates a GetCustomerInvoiceInternalServerError with default headers values
func (*GetCustomerInvoiceInternalServerError) Error ¶
func (o *GetCustomerInvoiceInternalServerError) Error() string
func (*GetCustomerInvoiceInternalServerError) GetPayload ¶
func (o *GetCustomerInvoiceInternalServerError) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoiceInternalServerError) IsClientError ¶
func (o *GetCustomerInvoiceInternalServerError) IsClientError() bool
IsClientError returns true when this get customer invoice internal server error response has a 4xx status code
func (*GetCustomerInvoiceInternalServerError) IsCode ¶
func (o *GetCustomerInvoiceInternalServerError) IsCode(code int) bool
IsCode returns true when this get customer invoice internal server error response a status code equal to that given
func (*GetCustomerInvoiceInternalServerError) IsRedirect ¶
func (o *GetCustomerInvoiceInternalServerError) IsRedirect() bool
IsRedirect returns true when this get customer invoice internal server error response has a 3xx status code
func (*GetCustomerInvoiceInternalServerError) IsServerError ¶
func (o *GetCustomerInvoiceInternalServerError) IsServerError() bool
IsServerError returns true when this get customer invoice internal server error response has a 5xx status code
func (*GetCustomerInvoiceInternalServerError) IsSuccess ¶
func (o *GetCustomerInvoiceInternalServerError) IsSuccess() bool
IsSuccess returns true when this get customer invoice internal server error response has a 2xx status code
func (*GetCustomerInvoiceInternalServerError) String ¶
func (o *GetCustomerInvoiceInternalServerError) String() string
type GetCustomerInvoiceNotFound ¶
type GetCustomerInvoiceNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList }
GetCustomerInvoiceNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetCustomerInvoiceNotFound ¶
func NewGetCustomerInvoiceNotFound() *GetCustomerInvoiceNotFound
NewGetCustomerInvoiceNotFound creates a GetCustomerInvoiceNotFound with default headers values
func (*GetCustomerInvoiceNotFound) Error ¶
func (o *GetCustomerInvoiceNotFound) Error() string
func (*GetCustomerInvoiceNotFound) GetPayload ¶
func (o *GetCustomerInvoiceNotFound) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoiceNotFound) IsClientError ¶
func (o *GetCustomerInvoiceNotFound) IsClientError() bool
IsClientError returns true when this get customer invoice not found response has a 4xx status code
func (*GetCustomerInvoiceNotFound) IsCode ¶
func (o *GetCustomerInvoiceNotFound) IsCode(code int) bool
IsCode returns true when this get customer invoice not found response a status code equal to that given
func (*GetCustomerInvoiceNotFound) IsRedirect ¶
func (o *GetCustomerInvoiceNotFound) IsRedirect() bool
IsRedirect returns true when this get customer invoice not found response has a 3xx status code
func (*GetCustomerInvoiceNotFound) IsServerError ¶
func (o *GetCustomerInvoiceNotFound) IsServerError() bool
IsServerError returns true when this get customer invoice not found response has a 5xx status code
func (*GetCustomerInvoiceNotFound) IsSuccess ¶
func (o *GetCustomerInvoiceNotFound) IsSuccess() bool
IsSuccess returns true when this get customer invoice not found response has a 2xx status code
func (*GetCustomerInvoiceNotFound) String ¶
func (o *GetCustomerInvoiceNotFound) String() string
type GetCustomerInvoiceOK ¶
type GetCustomerInvoiceOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.CustomerInvoice }
GetCustomerInvoiceOK describes a response with status code 200, with default header values.
Success.
func NewGetCustomerInvoiceOK ¶
func NewGetCustomerInvoiceOK() *GetCustomerInvoiceOK
NewGetCustomerInvoiceOK creates a GetCustomerInvoiceOK with default headers values
func (*GetCustomerInvoiceOK) Error ¶
func (o *GetCustomerInvoiceOK) Error() string
func (*GetCustomerInvoiceOK) GetPayload ¶
func (o *GetCustomerInvoiceOK) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.CustomerInvoice
func (*GetCustomerInvoiceOK) IsClientError ¶
func (o *GetCustomerInvoiceOK) IsClientError() bool
IsClientError returns true when this get customer invoice o k response has a 4xx status code
func (*GetCustomerInvoiceOK) IsCode ¶
func (o *GetCustomerInvoiceOK) IsCode(code int) bool
IsCode returns true when this get customer invoice o k response a status code equal to that given
func (*GetCustomerInvoiceOK) IsRedirect ¶
func (o *GetCustomerInvoiceOK) IsRedirect() bool
IsRedirect returns true when this get customer invoice o k response has a 3xx status code
func (*GetCustomerInvoiceOK) IsServerError ¶
func (o *GetCustomerInvoiceOK) IsServerError() bool
IsServerError returns true when this get customer invoice o k response has a 5xx status code
func (*GetCustomerInvoiceOK) IsSuccess ¶
func (o *GetCustomerInvoiceOK) IsSuccess() bool
IsSuccess returns true when this get customer invoice o k response has a 2xx status code
func (*GetCustomerInvoiceOK) String ¶
func (o *GetCustomerInvoiceOK) String() string
type GetCustomerInvoiceParams ¶
type GetCustomerInvoiceParams struct { /* PurchaseOrderNumber. Purchase order number of the shipment for which to return the invoice. */ PurchaseOrderNumber string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCustomerInvoiceParams contains all the parameters to send to the API endpoint
for the get customer invoice operation. Typically these are written to a http.Request.
func NewGetCustomerInvoiceParams ¶
func NewGetCustomerInvoiceParams() *GetCustomerInvoiceParams
NewGetCustomerInvoiceParams creates a new GetCustomerInvoiceParams 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 NewGetCustomerInvoiceParamsWithContext ¶
func NewGetCustomerInvoiceParamsWithContext(ctx context.Context) *GetCustomerInvoiceParams
NewGetCustomerInvoiceParamsWithContext creates a new GetCustomerInvoiceParams object with the ability to set a context for a request.
func NewGetCustomerInvoiceParamsWithHTTPClient ¶
func NewGetCustomerInvoiceParamsWithHTTPClient(client *http.Client) *GetCustomerInvoiceParams
NewGetCustomerInvoiceParamsWithHTTPClient creates a new GetCustomerInvoiceParams object with the ability to set a custom HTTPClient for a request.
func NewGetCustomerInvoiceParamsWithTimeout ¶
func NewGetCustomerInvoiceParamsWithTimeout(timeout time.Duration) *GetCustomerInvoiceParams
NewGetCustomerInvoiceParamsWithTimeout creates a new GetCustomerInvoiceParams object with the ability to set a timeout on a request.
func (*GetCustomerInvoiceParams) SetContext ¶
func (o *GetCustomerInvoiceParams) SetContext(ctx context.Context)
SetContext adds the context to the get customer invoice params
func (*GetCustomerInvoiceParams) SetDefaults ¶
func (o *GetCustomerInvoiceParams) SetDefaults()
SetDefaults hydrates default values in the get customer invoice params (not the query body).
All values with no default are reset to their zero value.
func (*GetCustomerInvoiceParams) SetHTTPClient ¶
func (o *GetCustomerInvoiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get customer invoice params
func (*GetCustomerInvoiceParams) SetPurchaseOrderNumber ¶
func (o *GetCustomerInvoiceParams) SetPurchaseOrderNumber(purchaseOrderNumber string)
SetPurchaseOrderNumber adds the purchaseOrderNumber to the get customer invoice params
func (*GetCustomerInvoiceParams) SetTimeout ¶
func (o *GetCustomerInvoiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get customer invoice params
func (*GetCustomerInvoiceParams) WithContext ¶
func (o *GetCustomerInvoiceParams) WithContext(ctx context.Context) *GetCustomerInvoiceParams
WithContext adds the context to the get customer invoice params
func (*GetCustomerInvoiceParams) WithDefaults ¶
func (o *GetCustomerInvoiceParams) WithDefaults() *GetCustomerInvoiceParams
WithDefaults hydrates default values in the get customer invoice params (not the query body).
All values with no default are reset to their zero value.
func (*GetCustomerInvoiceParams) WithHTTPClient ¶
func (o *GetCustomerInvoiceParams) WithHTTPClient(client *http.Client) *GetCustomerInvoiceParams
WithHTTPClient adds the HTTPClient to the get customer invoice params
func (*GetCustomerInvoiceParams) WithPurchaseOrderNumber ¶
func (o *GetCustomerInvoiceParams) WithPurchaseOrderNumber(purchaseOrderNumber string) *GetCustomerInvoiceParams
WithPurchaseOrderNumber adds the purchaseOrderNumber to the get customer invoice params
func (*GetCustomerInvoiceParams) WithTimeout ¶
func (o *GetCustomerInvoiceParams) WithTimeout(timeout time.Duration) *GetCustomerInvoiceParams
WithTimeout adds the timeout to the get customer invoice params
func (*GetCustomerInvoiceParams) WriteToRequest ¶
func (o *GetCustomerInvoiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCustomerInvoiceReader ¶
type GetCustomerInvoiceReader struct {
// contains filtered or unexported fields
}
GetCustomerInvoiceReader is a Reader for the GetCustomerInvoice structure.
func (*GetCustomerInvoiceReader) ReadResponse ¶
func (o *GetCustomerInvoiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCustomerInvoiceServiceUnavailable ¶
type GetCustomerInvoiceServiceUnavailable struct { string }XAmznRequestID
GetCustomerInvoiceServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetCustomerInvoiceServiceUnavailable ¶
func NewGetCustomerInvoiceServiceUnavailable() *GetCustomerInvoiceServiceUnavailable
NewGetCustomerInvoiceServiceUnavailable creates a GetCustomerInvoiceServiceUnavailable with default headers values
func (*GetCustomerInvoiceServiceUnavailable) Error ¶
func (o *GetCustomerInvoiceServiceUnavailable) Error() string
func (*GetCustomerInvoiceServiceUnavailable) GetPayload ¶
func (o *GetCustomerInvoiceServiceUnavailable) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoiceServiceUnavailable) IsClientError ¶
func (o *GetCustomerInvoiceServiceUnavailable) IsClientError() bool
IsClientError returns true when this get customer invoice service unavailable response has a 4xx status code
func (*GetCustomerInvoiceServiceUnavailable) IsCode ¶
func (o *GetCustomerInvoiceServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get customer invoice service unavailable response a status code equal to that given
func (*GetCustomerInvoiceServiceUnavailable) IsRedirect ¶
func (o *GetCustomerInvoiceServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get customer invoice service unavailable response has a 3xx status code
func (*GetCustomerInvoiceServiceUnavailable) IsServerError ¶
func (o *GetCustomerInvoiceServiceUnavailable) IsServerError() bool
IsServerError returns true when this get customer invoice service unavailable response has a 5xx status code
func (*GetCustomerInvoiceServiceUnavailable) IsSuccess ¶
func (o *GetCustomerInvoiceServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get customer invoice service unavailable response has a 2xx status code
func (*GetCustomerInvoiceServiceUnavailable) String ¶
func (o *GetCustomerInvoiceServiceUnavailable) String() string
type GetCustomerInvoiceTooManyRequests ¶
type GetCustomerInvoiceTooManyRequests struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList }
GetCustomerInvoiceTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetCustomerInvoiceTooManyRequests ¶
func NewGetCustomerInvoiceTooManyRequests() *GetCustomerInvoiceTooManyRequests
NewGetCustomerInvoiceTooManyRequests creates a GetCustomerInvoiceTooManyRequests with default headers values
func (*GetCustomerInvoiceTooManyRequests) Error ¶
func (o *GetCustomerInvoiceTooManyRequests) Error() string
func (*GetCustomerInvoiceTooManyRequests) GetPayload ¶
func (o *GetCustomerInvoiceTooManyRequests) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoiceTooManyRequests) IsClientError ¶
func (o *GetCustomerInvoiceTooManyRequests) IsClientError() bool
IsClientError returns true when this get customer invoice too many requests response has a 4xx status code
func (*GetCustomerInvoiceTooManyRequests) IsCode ¶
func (o *GetCustomerInvoiceTooManyRequests) IsCode(code int) bool
IsCode returns true when this get customer invoice too many requests response a status code equal to that given
func (*GetCustomerInvoiceTooManyRequests) IsRedirect ¶
func (o *GetCustomerInvoiceTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get customer invoice too many requests response has a 3xx status code
func (*GetCustomerInvoiceTooManyRequests) IsServerError ¶
func (o *GetCustomerInvoiceTooManyRequests) IsServerError() bool
IsServerError returns true when this get customer invoice too many requests response has a 5xx status code
func (*GetCustomerInvoiceTooManyRequests) IsSuccess ¶
func (o *GetCustomerInvoiceTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get customer invoice too many requests response has a 2xx status code
func (*GetCustomerInvoiceTooManyRequests) String ¶
func (o *GetCustomerInvoiceTooManyRequests) String() string
type GetCustomerInvoiceUnauthorized ¶
type GetCustomerInvoiceUnauthorized struct { string }XAmznRequestID
GetCustomerInvoiceUnauthorized 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 NewGetCustomerInvoiceUnauthorized ¶
func NewGetCustomerInvoiceUnauthorized() *GetCustomerInvoiceUnauthorized
NewGetCustomerInvoiceUnauthorized creates a GetCustomerInvoiceUnauthorized with default headers values
func (*GetCustomerInvoiceUnauthorized) Error ¶
func (o *GetCustomerInvoiceUnauthorized) Error() string
func (*GetCustomerInvoiceUnauthorized) GetPayload ¶
func (o *GetCustomerInvoiceUnauthorized) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoiceUnauthorized) IsClientError ¶
func (o *GetCustomerInvoiceUnauthorized) IsClientError() bool
IsClientError returns true when this get customer invoice unauthorized response has a 4xx status code
func (*GetCustomerInvoiceUnauthorized) IsCode ¶
func (o *GetCustomerInvoiceUnauthorized) IsCode(code int) bool
IsCode returns true when this get customer invoice unauthorized response a status code equal to that given
func (*GetCustomerInvoiceUnauthorized) IsRedirect ¶
func (o *GetCustomerInvoiceUnauthorized) IsRedirect() bool
IsRedirect returns true when this get customer invoice unauthorized response has a 3xx status code
func (*GetCustomerInvoiceUnauthorized) IsServerError ¶
func (o *GetCustomerInvoiceUnauthorized) IsServerError() bool
IsServerError returns true when this get customer invoice unauthorized response has a 5xx status code
func (*GetCustomerInvoiceUnauthorized) IsSuccess ¶
func (o *GetCustomerInvoiceUnauthorized) IsSuccess() bool
IsSuccess returns true when this get customer invoice unauthorized response has a 2xx status code
func (*GetCustomerInvoiceUnauthorized) String ¶
func (o *GetCustomerInvoiceUnauthorized) String() string
type GetCustomerInvoiceUnsupportedMediaType ¶
type GetCustomerInvoiceUnsupportedMediaType struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList }
GetCustomerInvoiceUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetCustomerInvoiceUnsupportedMediaType ¶
func NewGetCustomerInvoiceUnsupportedMediaType() *GetCustomerInvoiceUnsupportedMediaType
NewGetCustomerInvoiceUnsupportedMediaType creates a GetCustomerInvoiceUnsupportedMediaType with default headers values
func (*GetCustomerInvoiceUnsupportedMediaType) Error ¶
func (o *GetCustomerInvoiceUnsupportedMediaType) Error() string
func (*GetCustomerInvoiceUnsupportedMediaType) GetPayload ¶
func (o *GetCustomerInvoiceUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoiceUnsupportedMediaType) IsClientError ¶
func (o *GetCustomerInvoiceUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get customer invoice unsupported media type response has a 4xx status code
func (*GetCustomerInvoiceUnsupportedMediaType) IsCode ¶
func (o *GetCustomerInvoiceUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get customer invoice unsupported media type response a status code equal to that given
func (*GetCustomerInvoiceUnsupportedMediaType) IsRedirect ¶
func (o *GetCustomerInvoiceUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get customer invoice unsupported media type response has a 3xx status code
func (*GetCustomerInvoiceUnsupportedMediaType) IsServerError ¶
func (o *GetCustomerInvoiceUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get customer invoice unsupported media type response has a 5xx status code
func (*GetCustomerInvoiceUnsupportedMediaType) IsSuccess ¶
func (o *GetCustomerInvoiceUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get customer invoice unsupported media type response has a 2xx status code
func (*GetCustomerInvoiceUnsupportedMediaType) String ¶
func (o *GetCustomerInvoiceUnsupportedMediaType) String() string
type GetCustomerInvoicesBadRequest ¶
type GetCustomerInvoicesBadRequest struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList }
GetCustomerInvoicesBadRequest describes a response with status code 400, with default header values.
Request has missing or invalid parameters and cannot be parsed.
func NewGetCustomerInvoicesBadRequest ¶
func NewGetCustomerInvoicesBadRequest() *GetCustomerInvoicesBadRequest
NewGetCustomerInvoicesBadRequest creates a GetCustomerInvoicesBadRequest with default headers values
func (*GetCustomerInvoicesBadRequest) Error ¶
func (o *GetCustomerInvoicesBadRequest) Error() string
func (*GetCustomerInvoicesBadRequest) GetPayload ¶
func (o *GetCustomerInvoicesBadRequest) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoicesBadRequest) IsClientError ¶
func (o *GetCustomerInvoicesBadRequest) IsClientError() bool
IsClientError returns true when this get customer invoices bad request response has a 4xx status code
func (*GetCustomerInvoicesBadRequest) IsCode ¶
func (o *GetCustomerInvoicesBadRequest) IsCode(code int) bool
IsCode returns true when this get customer invoices bad request response a status code equal to that given
func (*GetCustomerInvoicesBadRequest) IsRedirect ¶
func (o *GetCustomerInvoicesBadRequest) IsRedirect() bool
IsRedirect returns true when this get customer invoices bad request response has a 3xx status code
func (*GetCustomerInvoicesBadRequest) IsServerError ¶
func (o *GetCustomerInvoicesBadRequest) IsServerError() bool
IsServerError returns true when this get customer invoices bad request response has a 5xx status code
func (*GetCustomerInvoicesBadRequest) IsSuccess ¶
func (o *GetCustomerInvoicesBadRequest) IsSuccess() bool
IsSuccess returns true when this get customer invoices bad request response has a 2xx status code
func (*GetCustomerInvoicesBadRequest) String ¶
func (o *GetCustomerInvoicesBadRequest) String() string
type GetCustomerInvoicesForbidden ¶
type GetCustomerInvoicesForbidden struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList }
GetCustomerInvoicesForbidden 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 NewGetCustomerInvoicesForbidden ¶
func NewGetCustomerInvoicesForbidden() *GetCustomerInvoicesForbidden
NewGetCustomerInvoicesForbidden creates a GetCustomerInvoicesForbidden with default headers values
func (*GetCustomerInvoicesForbidden) Error ¶
func (o *GetCustomerInvoicesForbidden) Error() string
func (*GetCustomerInvoicesForbidden) GetPayload ¶
func (o *GetCustomerInvoicesForbidden) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoicesForbidden) IsClientError ¶
func (o *GetCustomerInvoicesForbidden) IsClientError() bool
IsClientError returns true when this get customer invoices forbidden response has a 4xx status code
func (*GetCustomerInvoicesForbidden) IsCode ¶
func (o *GetCustomerInvoicesForbidden) IsCode(code int) bool
IsCode returns true when this get customer invoices forbidden response a status code equal to that given
func (*GetCustomerInvoicesForbidden) IsRedirect ¶
func (o *GetCustomerInvoicesForbidden) IsRedirect() bool
IsRedirect returns true when this get customer invoices forbidden response has a 3xx status code
func (*GetCustomerInvoicesForbidden) IsServerError ¶
func (o *GetCustomerInvoicesForbidden) IsServerError() bool
IsServerError returns true when this get customer invoices forbidden response has a 5xx status code
func (*GetCustomerInvoicesForbidden) IsSuccess ¶
func (o *GetCustomerInvoicesForbidden) IsSuccess() bool
IsSuccess returns true when this get customer invoices forbidden response has a 2xx status code
func (*GetCustomerInvoicesForbidden) String ¶
func (o *GetCustomerInvoicesForbidden) String() string
type GetCustomerInvoicesInternalServerError ¶
type GetCustomerInvoicesInternalServerError struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList }
GetCustomerInvoicesInternalServerError describes a response with status code 500, with default header values.
An unexpected condition occurred that prevented the server from fulfilling the request.
func NewGetCustomerInvoicesInternalServerError ¶
func NewGetCustomerInvoicesInternalServerError() *GetCustomerInvoicesInternalServerError
NewGetCustomerInvoicesInternalServerError creates a GetCustomerInvoicesInternalServerError with default headers values
func (*GetCustomerInvoicesInternalServerError) Error ¶
func (o *GetCustomerInvoicesInternalServerError) Error() string
func (*GetCustomerInvoicesInternalServerError) GetPayload ¶
func (o *GetCustomerInvoicesInternalServerError) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoicesInternalServerError) IsClientError ¶
func (o *GetCustomerInvoicesInternalServerError) IsClientError() bool
IsClientError returns true when this get customer invoices internal server error response has a 4xx status code
func (*GetCustomerInvoicesInternalServerError) IsCode ¶
func (o *GetCustomerInvoicesInternalServerError) IsCode(code int) bool
IsCode returns true when this get customer invoices internal server error response a status code equal to that given
func (*GetCustomerInvoicesInternalServerError) IsRedirect ¶
func (o *GetCustomerInvoicesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get customer invoices internal server error response has a 3xx status code
func (*GetCustomerInvoicesInternalServerError) IsServerError ¶
func (o *GetCustomerInvoicesInternalServerError) IsServerError() bool
IsServerError returns true when this get customer invoices internal server error response has a 5xx status code
func (*GetCustomerInvoicesInternalServerError) IsSuccess ¶
func (o *GetCustomerInvoicesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get customer invoices internal server error response has a 2xx status code
func (*GetCustomerInvoicesInternalServerError) String ¶
func (o *GetCustomerInvoicesInternalServerError) String() string
type GetCustomerInvoicesNotFound ¶
type GetCustomerInvoicesNotFound struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList }
GetCustomerInvoicesNotFound describes a response with status code 404, with default header values.
The resource specified does not exist.
func NewGetCustomerInvoicesNotFound ¶
func NewGetCustomerInvoicesNotFound() *GetCustomerInvoicesNotFound
NewGetCustomerInvoicesNotFound creates a GetCustomerInvoicesNotFound with default headers values
func (*GetCustomerInvoicesNotFound) Error ¶
func (o *GetCustomerInvoicesNotFound) Error() string
func (*GetCustomerInvoicesNotFound) GetPayload ¶
func (o *GetCustomerInvoicesNotFound) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoicesNotFound) IsClientError ¶
func (o *GetCustomerInvoicesNotFound) IsClientError() bool
IsClientError returns true when this get customer invoices not found response has a 4xx status code
func (*GetCustomerInvoicesNotFound) IsCode ¶
func (o *GetCustomerInvoicesNotFound) IsCode(code int) bool
IsCode returns true when this get customer invoices not found response a status code equal to that given
func (*GetCustomerInvoicesNotFound) IsRedirect ¶
func (o *GetCustomerInvoicesNotFound) IsRedirect() bool
IsRedirect returns true when this get customer invoices not found response has a 3xx status code
func (*GetCustomerInvoicesNotFound) IsServerError ¶
func (o *GetCustomerInvoicesNotFound) IsServerError() bool
IsServerError returns true when this get customer invoices not found response has a 5xx status code
func (*GetCustomerInvoicesNotFound) IsSuccess ¶
func (o *GetCustomerInvoicesNotFound) IsSuccess() bool
IsSuccess returns true when this get customer invoices not found response has a 2xx status code
func (*GetCustomerInvoicesNotFound) String ¶
func (o *GetCustomerInvoicesNotFound) String() string
type GetCustomerInvoicesOK ¶
type GetCustomerInvoicesOK struct { /* Your rate limit (requests per second) for this operation. */ XAmznRateLimitLimit string /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.CustomerInvoiceList }
GetCustomerInvoicesOK describes a response with status code 200, with default header values.
Success.
func NewGetCustomerInvoicesOK ¶
func NewGetCustomerInvoicesOK() *GetCustomerInvoicesOK
NewGetCustomerInvoicesOK creates a GetCustomerInvoicesOK with default headers values
func (*GetCustomerInvoicesOK) Error ¶
func (o *GetCustomerInvoicesOK) Error() string
func (*GetCustomerInvoicesOK) GetPayload ¶
func (o *GetCustomerInvoicesOK) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.CustomerInvoiceList
func (*GetCustomerInvoicesOK) IsClientError ¶
func (o *GetCustomerInvoicesOK) IsClientError() bool
IsClientError returns true when this get customer invoices o k response has a 4xx status code
func (*GetCustomerInvoicesOK) IsCode ¶
func (o *GetCustomerInvoicesOK) IsCode(code int) bool
IsCode returns true when this get customer invoices o k response a status code equal to that given
func (*GetCustomerInvoicesOK) IsRedirect ¶
func (o *GetCustomerInvoicesOK) IsRedirect() bool
IsRedirect returns true when this get customer invoices o k response has a 3xx status code
func (*GetCustomerInvoicesOK) IsServerError ¶
func (o *GetCustomerInvoicesOK) IsServerError() bool
IsServerError returns true when this get customer invoices o k response has a 5xx status code
func (*GetCustomerInvoicesOK) IsSuccess ¶
func (o *GetCustomerInvoicesOK) IsSuccess() bool
IsSuccess returns true when this get customer invoices o k response has a 2xx status code
func (*GetCustomerInvoicesOK) String ¶
func (o *GetCustomerInvoicesOK) String() string
type GetCustomerInvoicesParams ¶
type GetCustomerInvoicesParams struct { /* CreatedAfter. Orders that became available after this date and time will be included in the result. Must be in ISO-8601 date/time format. Format: date-time */ CreatedAfter strfmt.DateTime /* CreatedBefore. Orders that became available before this date and time will be included in the result. Must be in ISO-8601 date/time format. Format: date-time */ CreatedBefore strfmt.DateTime /* Limit. The limit to the number of records returned */ Limit *int64 /* NextToken. Used for pagination when there are more orders than the specified result size limit. The token value is returned in the previous API call. */ NextToken *string /* ShipFromPartyID. The vendor warehouseId for order fulfillment. If not specified, the result will contain orders for all warehouses. */ ShipFromPartyID *string /* SortOrder. Sort ASC or DESC by order creation date. */ SortOrder *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCustomerInvoicesParams contains all the parameters to send to the API endpoint
for the get customer invoices operation. Typically these are written to a http.Request.
func NewGetCustomerInvoicesParams ¶
func NewGetCustomerInvoicesParams() *GetCustomerInvoicesParams
NewGetCustomerInvoicesParams creates a new GetCustomerInvoicesParams 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 NewGetCustomerInvoicesParamsWithContext ¶
func NewGetCustomerInvoicesParamsWithContext(ctx context.Context) *GetCustomerInvoicesParams
NewGetCustomerInvoicesParamsWithContext creates a new GetCustomerInvoicesParams object with the ability to set a context for a request.
func NewGetCustomerInvoicesParamsWithHTTPClient ¶
func NewGetCustomerInvoicesParamsWithHTTPClient(client *http.Client) *GetCustomerInvoicesParams
NewGetCustomerInvoicesParamsWithHTTPClient creates a new GetCustomerInvoicesParams object with the ability to set a custom HTTPClient for a request.
func NewGetCustomerInvoicesParamsWithTimeout ¶
func NewGetCustomerInvoicesParamsWithTimeout(timeout time.Duration) *GetCustomerInvoicesParams
NewGetCustomerInvoicesParamsWithTimeout creates a new GetCustomerInvoicesParams object with the ability to set a timeout on a request.
func (*GetCustomerInvoicesParams) SetContext ¶
func (o *GetCustomerInvoicesParams) SetContext(ctx context.Context)
SetContext adds the context to the get customer invoices params
func (*GetCustomerInvoicesParams) SetCreatedAfter ¶
func (o *GetCustomerInvoicesParams) SetCreatedAfter(createdAfter strfmt.DateTime)
SetCreatedAfter adds the createdAfter to the get customer invoices params
func (*GetCustomerInvoicesParams) SetCreatedBefore ¶
func (o *GetCustomerInvoicesParams) SetCreatedBefore(createdBefore strfmt.DateTime)
SetCreatedBefore adds the createdBefore to the get customer invoices params
func (*GetCustomerInvoicesParams) SetDefaults ¶
func (o *GetCustomerInvoicesParams) SetDefaults()
SetDefaults hydrates default values in the get customer invoices params (not the query body).
All values with no default are reset to their zero value.
func (*GetCustomerInvoicesParams) SetHTTPClient ¶
func (o *GetCustomerInvoicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get customer invoices params
func (*GetCustomerInvoicesParams) SetLimit ¶
func (o *GetCustomerInvoicesParams) SetLimit(limit *int64)
SetLimit adds the limit to the get customer invoices params
func (*GetCustomerInvoicesParams) SetNextToken ¶
func (o *GetCustomerInvoicesParams) SetNextToken(nextToken *string)
SetNextToken adds the nextToken to the get customer invoices params
func (*GetCustomerInvoicesParams) SetShipFromPartyID ¶
func (o *GetCustomerInvoicesParams) SetShipFromPartyID(shipFromPartyID *string)
SetShipFromPartyID adds the shipFromPartyId to the get customer invoices params
func (*GetCustomerInvoicesParams) SetSortOrder ¶
func (o *GetCustomerInvoicesParams) SetSortOrder(sortOrder *string)
SetSortOrder adds the sortOrder to the get customer invoices params
func (*GetCustomerInvoicesParams) SetTimeout ¶
func (o *GetCustomerInvoicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get customer invoices params
func (*GetCustomerInvoicesParams) WithContext ¶
func (o *GetCustomerInvoicesParams) WithContext(ctx context.Context) *GetCustomerInvoicesParams
WithContext adds the context to the get customer invoices params
func (*GetCustomerInvoicesParams) WithCreatedAfter ¶
func (o *GetCustomerInvoicesParams) WithCreatedAfter(createdAfter strfmt.DateTime) *GetCustomerInvoicesParams
WithCreatedAfter adds the createdAfter to the get customer invoices params
func (*GetCustomerInvoicesParams) WithCreatedBefore ¶
func (o *GetCustomerInvoicesParams) WithCreatedBefore(createdBefore strfmt.DateTime) *GetCustomerInvoicesParams
WithCreatedBefore adds the createdBefore to the get customer invoices params
func (*GetCustomerInvoicesParams) WithDefaults ¶
func (o *GetCustomerInvoicesParams) WithDefaults() *GetCustomerInvoicesParams
WithDefaults hydrates default values in the get customer invoices params (not the query body).
All values with no default are reset to their zero value.
func (*GetCustomerInvoicesParams) WithHTTPClient ¶
func (o *GetCustomerInvoicesParams) WithHTTPClient(client *http.Client) *GetCustomerInvoicesParams
WithHTTPClient adds the HTTPClient to the get customer invoices params
func (*GetCustomerInvoicesParams) WithLimit ¶
func (o *GetCustomerInvoicesParams) WithLimit(limit *int64) *GetCustomerInvoicesParams
WithLimit adds the limit to the get customer invoices params
func (*GetCustomerInvoicesParams) WithNextToken ¶
func (o *GetCustomerInvoicesParams) WithNextToken(nextToken *string) *GetCustomerInvoicesParams
WithNextToken adds the nextToken to the get customer invoices params
func (*GetCustomerInvoicesParams) WithShipFromPartyID ¶
func (o *GetCustomerInvoicesParams) WithShipFromPartyID(shipFromPartyID *string) *GetCustomerInvoicesParams
WithShipFromPartyID adds the shipFromPartyID to the get customer invoices params
func (*GetCustomerInvoicesParams) WithSortOrder ¶
func (o *GetCustomerInvoicesParams) WithSortOrder(sortOrder *string) *GetCustomerInvoicesParams
WithSortOrder adds the sortOrder to the get customer invoices params
func (*GetCustomerInvoicesParams) WithTimeout ¶
func (o *GetCustomerInvoicesParams) WithTimeout(timeout time.Duration) *GetCustomerInvoicesParams
WithTimeout adds the timeout to the get customer invoices params
func (*GetCustomerInvoicesParams) WriteToRequest ¶
func (o *GetCustomerInvoicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCustomerInvoicesReader ¶
type GetCustomerInvoicesReader struct {
// contains filtered or unexported fields
}
GetCustomerInvoicesReader is a Reader for the GetCustomerInvoices structure.
func (*GetCustomerInvoicesReader) ReadResponse ¶
func (o *GetCustomerInvoicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCustomerInvoicesServiceUnavailable ¶
type GetCustomerInvoicesServiceUnavailable struct { string }XAmznRequestID
GetCustomerInvoicesServiceUnavailable describes a response with status code 503, with default header values.
Temporary overloading or maintenance of the server.
func NewGetCustomerInvoicesServiceUnavailable ¶
func NewGetCustomerInvoicesServiceUnavailable() *GetCustomerInvoicesServiceUnavailable
NewGetCustomerInvoicesServiceUnavailable creates a GetCustomerInvoicesServiceUnavailable with default headers values
func (*GetCustomerInvoicesServiceUnavailable) Error ¶
func (o *GetCustomerInvoicesServiceUnavailable) Error() string
func (*GetCustomerInvoicesServiceUnavailable) GetPayload ¶
func (o *GetCustomerInvoicesServiceUnavailable) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoicesServiceUnavailable) IsClientError ¶
func (o *GetCustomerInvoicesServiceUnavailable) IsClientError() bool
IsClientError returns true when this get customer invoices service unavailable response has a 4xx status code
func (*GetCustomerInvoicesServiceUnavailable) IsCode ¶
func (o *GetCustomerInvoicesServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get customer invoices service unavailable response a status code equal to that given
func (*GetCustomerInvoicesServiceUnavailable) IsRedirect ¶
func (o *GetCustomerInvoicesServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get customer invoices service unavailable response has a 3xx status code
func (*GetCustomerInvoicesServiceUnavailable) IsServerError ¶
func (o *GetCustomerInvoicesServiceUnavailable) IsServerError() bool
IsServerError returns true when this get customer invoices service unavailable response has a 5xx status code
func (*GetCustomerInvoicesServiceUnavailable) IsSuccess ¶
func (o *GetCustomerInvoicesServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get customer invoices service unavailable response has a 2xx status code
func (*GetCustomerInvoicesServiceUnavailable) String ¶
func (o *GetCustomerInvoicesServiceUnavailable) String() string
type GetCustomerInvoicesTooManyRequests ¶
type GetCustomerInvoicesTooManyRequests struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList }
GetCustomerInvoicesTooManyRequests describes a response with status code 429, with default header values.
The frequency of requests was greater than allowed.
func NewGetCustomerInvoicesTooManyRequests ¶
func NewGetCustomerInvoicesTooManyRequests() *GetCustomerInvoicesTooManyRequests
NewGetCustomerInvoicesTooManyRequests creates a GetCustomerInvoicesTooManyRequests with default headers values
func (*GetCustomerInvoicesTooManyRequests) Error ¶
func (o *GetCustomerInvoicesTooManyRequests) Error() string
func (*GetCustomerInvoicesTooManyRequests) GetPayload ¶
func (o *GetCustomerInvoicesTooManyRequests) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoicesTooManyRequests) IsClientError ¶
func (o *GetCustomerInvoicesTooManyRequests) IsClientError() bool
IsClientError returns true when this get customer invoices too many requests response has a 4xx status code
func (*GetCustomerInvoicesTooManyRequests) IsCode ¶
func (o *GetCustomerInvoicesTooManyRequests) IsCode(code int) bool
IsCode returns true when this get customer invoices too many requests response a status code equal to that given
func (*GetCustomerInvoicesTooManyRequests) IsRedirect ¶
func (o *GetCustomerInvoicesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get customer invoices too many requests response has a 3xx status code
func (*GetCustomerInvoicesTooManyRequests) IsServerError ¶
func (o *GetCustomerInvoicesTooManyRequests) IsServerError() bool
IsServerError returns true when this get customer invoices too many requests response has a 5xx status code
func (*GetCustomerInvoicesTooManyRequests) IsSuccess ¶
func (o *GetCustomerInvoicesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get customer invoices too many requests response has a 2xx status code
func (*GetCustomerInvoicesTooManyRequests) String ¶
func (o *GetCustomerInvoicesTooManyRequests) String() string
type GetCustomerInvoicesUnsupportedMediaType ¶
type GetCustomerInvoicesUnsupportedMediaType struct { /* Unique request reference identifier. */ XAmznRequestID string Payload *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList }
GetCustomerInvoicesUnsupportedMediaType describes a response with status code 415, with default header values.
The request payload is in an unsupported format.
func NewGetCustomerInvoicesUnsupportedMediaType ¶
func NewGetCustomerInvoicesUnsupportedMediaType() *GetCustomerInvoicesUnsupportedMediaType
NewGetCustomerInvoicesUnsupportedMediaType creates a GetCustomerInvoicesUnsupportedMediaType with default headers values
func (*GetCustomerInvoicesUnsupportedMediaType) Error ¶
func (o *GetCustomerInvoicesUnsupportedMediaType) Error() string
func (*GetCustomerInvoicesUnsupportedMediaType) GetPayload ¶
func (o *GetCustomerInvoicesUnsupportedMediaType) GetPayload() *vendor_direct_fulfillment_shipping_2021_12_28_models.ErrorList
func (*GetCustomerInvoicesUnsupportedMediaType) IsClientError ¶
func (o *GetCustomerInvoicesUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get customer invoices unsupported media type response has a 4xx status code
func (*GetCustomerInvoicesUnsupportedMediaType) IsCode ¶
func (o *GetCustomerInvoicesUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get customer invoices unsupported media type response a status code equal to that given
func (*GetCustomerInvoicesUnsupportedMediaType) IsRedirect ¶
func (o *GetCustomerInvoicesUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get customer invoices unsupported media type response has a 3xx status code
func (*GetCustomerInvoicesUnsupportedMediaType) IsServerError ¶
func (o *GetCustomerInvoicesUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get customer invoices unsupported media type response has a 5xx status code
func (*GetCustomerInvoicesUnsupportedMediaType) IsSuccess ¶
func (o *GetCustomerInvoicesUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get customer invoices unsupported media type response has a 2xx status code
func (*GetCustomerInvoicesUnsupportedMediaType) String ¶
func (o *GetCustomerInvoicesUnsupportedMediaType) String() string