payment_request

package
v0.0.0-...-c407d37 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for payment request API

func (*Client) GetPaymentRequestEDI

func (a *Client) GetPaymentRequestEDI(params *GetPaymentRequestEDIParams, opts ...ClientOption) (*GetPaymentRequestEDIOK, error)
GetPaymentRequestEDI gets payment request e d i

Returns the EDI (Electronic Data Interchange) message for the payment request identified

by the given payment request ID. Note that the EDI returned in the JSON payload will have where there would normally be line breaks (due to JSON not allowing line breaks in a string).

This is a support endpoint and will not be available in production.

func (*Client) ListMTOPaymentRequests

func (a *Client) ListMTOPaymentRequests(params *ListMTOPaymentRequestsParams, opts ...ClientOption) (*ListMTOPaymentRequestsOK, error)
ListMTOPaymentRequests lists m t o payment requests

### Functionality

This endpoint lists all PaymentRequests associated with a given MoveTaskOrder.

This is a support endpoint and is not available in production.

func (*Client) ProcessReviewedPaymentRequests

func (a *Client) ProcessReviewedPaymentRequests(params *ProcessReviewedPaymentRequestsParams, opts ...ClientOption) (*ProcessReviewedPaymentRequestsOK, error)
ProcessReviewedPaymentRequests processes reviewed payment requests

Updates the status of reviewed payment requests and sends PRs to Syncada if

the SendToSyncada flag is set

This is a support endpoint and will not be available in production.

func (*Client) RecalculatePaymentRequest

func (a *Client) RecalculatePaymentRequest(params *RecalculatePaymentRequestParams, opts ...ClientOption) (*RecalculatePaymentRequestCreated, error)
RecalculatePaymentRequest recalculates payment request

Recalculates an existing pending payment request by creating a new payment request for the same service

items but is priced based on the current inputs (weights, dates, etc.). The previously existing payment request is then deprecated. A link is made between the new and existing payment requests.

This is a support endpoint and will not be available in production.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdatePaymentRequestStatus

func (a *Client) UpdatePaymentRequestStatus(params *UpdatePaymentRequestStatusParams, opts ...ClientOption) (*UpdatePaymentRequestStatusOK, error)
UpdatePaymentRequestStatus updates payment request status

Updates status of a payment request to REVIEWED, SENT_TO_GEX, RECEIVED_BY_GEX, REVIEWED_AND_ALL_SERVICE_ITEMS_REJECTED, PAID, EDI_ERROR, or DEPRECATED.

A status of REVIEWED can optionally have a `rejectionReason`.

This is a support endpoint and is not available in production.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetPaymentRequestEDI(params *GetPaymentRequestEDIParams, opts ...ClientOption) (*GetPaymentRequestEDIOK, error)

	ListMTOPaymentRequests(params *ListMTOPaymentRequestsParams, opts ...ClientOption) (*ListMTOPaymentRequestsOK, error)

	ProcessReviewedPaymentRequests(params *ProcessReviewedPaymentRequestsParams, opts ...ClientOption) (*ProcessReviewedPaymentRequestsOK, error)

	RecalculatePaymentRequest(params *RecalculatePaymentRequestParams, opts ...ClientOption) (*RecalculatePaymentRequestCreated, error)

	UpdatePaymentRequestStatus(params *UpdatePaymentRequestStatusParams, opts ...ClientOption) (*UpdatePaymentRequestStatusOK, 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 payment request API client.

type GetPaymentRequestEDIBadRequest

type GetPaymentRequestEDIBadRequest struct {
	Payload *supportmessages.ClientError
}

GetPaymentRequestEDIBadRequest describes a response with status code 400, with default header values.

The request payload is invalid.

func NewGetPaymentRequestEDIBadRequest

func NewGetPaymentRequestEDIBadRequest() *GetPaymentRequestEDIBadRequest

NewGetPaymentRequestEDIBadRequest creates a GetPaymentRequestEDIBadRequest with default headers values

func (*GetPaymentRequestEDIBadRequest) Code

Code gets the status code for the get payment request e d i bad request response

func (*GetPaymentRequestEDIBadRequest) Error

func (*GetPaymentRequestEDIBadRequest) GetPayload

func (*GetPaymentRequestEDIBadRequest) IsClientError

func (o *GetPaymentRequestEDIBadRequest) IsClientError() bool

IsClientError returns true when this get payment request e d i bad request response has a 4xx status code

func (*GetPaymentRequestEDIBadRequest) IsCode

func (o *GetPaymentRequestEDIBadRequest) IsCode(code int) bool

IsCode returns true when this get payment request e d i bad request response a status code equal to that given

func (*GetPaymentRequestEDIBadRequest) IsRedirect

func (o *GetPaymentRequestEDIBadRequest) IsRedirect() bool

IsRedirect returns true when this get payment request e d i bad request response has a 3xx status code

func (*GetPaymentRequestEDIBadRequest) IsServerError

func (o *GetPaymentRequestEDIBadRequest) IsServerError() bool

IsServerError returns true when this get payment request e d i bad request response has a 5xx status code

func (*GetPaymentRequestEDIBadRequest) IsSuccess

func (o *GetPaymentRequestEDIBadRequest) IsSuccess() bool

IsSuccess returns true when this get payment request e d i bad request response has a 2xx status code

func (*GetPaymentRequestEDIBadRequest) String

type GetPaymentRequestEDIConflict

type GetPaymentRequestEDIConflict struct {
	Payload *supportmessages.ClientError
}

GetPaymentRequestEDIConflict describes a response with status code 409, with default header values.

There was a conflict with the request.

func NewGetPaymentRequestEDIConflict

func NewGetPaymentRequestEDIConflict() *GetPaymentRequestEDIConflict

NewGetPaymentRequestEDIConflict creates a GetPaymentRequestEDIConflict with default headers values

func (*GetPaymentRequestEDIConflict) Code

Code gets the status code for the get payment request e d i conflict response

func (*GetPaymentRequestEDIConflict) Error

func (*GetPaymentRequestEDIConflict) GetPayload

func (*GetPaymentRequestEDIConflict) IsClientError

func (o *GetPaymentRequestEDIConflict) IsClientError() bool

IsClientError returns true when this get payment request e d i conflict response has a 4xx status code

func (*GetPaymentRequestEDIConflict) IsCode

func (o *GetPaymentRequestEDIConflict) IsCode(code int) bool

IsCode returns true when this get payment request e d i conflict response a status code equal to that given

func (*GetPaymentRequestEDIConflict) IsRedirect

func (o *GetPaymentRequestEDIConflict) IsRedirect() bool

IsRedirect returns true when this get payment request e d i conflict response has a 3xx status code

func (*GetPaymentRequestEDIConflict) IsServerError

func (o *GetPaymentRequestEDIConflict) IsServerError() bool

IsServerError returns true when this get payment request e d i conflict response has a 5xx status code

func (*GetPaymentRequestEDIConflict) IsSuccess

func (o *GetPaymentRequestEDIConflict) IsSuccess() bool

IsSuccess returns true when this get payment request e d i conflict response has a 2xx status code

func (*GetPaymentRequestEDIConflict) String

type GetPaymentRequestEDIForbidden

type GetPaymentRequestEDIForbidden struct {
	Payload *supportmessages.ClientError
}

GetPaymentRequestEDIForbidden describes a response with status code 403, with default header values.

The request was denied.

func NewGetPaymentRequestEDIForbidden

func NewGetPaymentRequestEDIForbidden() *GetPaymentRequestEDIForbidden

NewGetPaymentRequestEDIForbidden creates a GetPaymentRequestEDIForbidden with default headers values

func (*GetPaymentRequestEDIForbidden) Code

Code gets the status code for the get payment request e d i forbidden response

func (*GetPaymentRequestEDIForbidden) Error

func (*GetPaymentRequestEDIForbidden) GetPayload

func (*GetPaymentRequestEDIForbidden) IsClientError

func (o *GetPaymentRequestEDIForbidden) IsClientError() bool

IsClientError returns true when this get payment request e d i forbidden response has a 4xx status code

func (*GetPaymentRequestEDIForbidden) IsCode

func (o *GetPaymentRequestEDIForbidden) IsCode(code int) bool

IsCode returns true when this get payment request e d i forbidden response a status code equal to that given

func (*GetPaymentRequestEDIForbidden) IsRedirect

func (o *GetPaymentRequestEDIForbidden) IsRedirect() bool

IsRedirect returns true when this get payment request e d i forbidden response has a 3xx status code

func (*GetPaymentRequestEDIForbidden) IsServerError

func (o *GetPaymentRequestEDIForbidden) IsServerError() bool

IsServerError returns true when this get payment request e d i forbidden response has a 5xx status code

func (*GetPaymentRequestEDIForbidden) IsSuccess

func (o *GetPaymentRequestEDIForbidden) IsSuccess() bool

IsSuccess returns true when this get payment request e d i forbidden response has a 2xx status code

func (*GetPaymentRequestEDIForbidden) String

type GetPaymentRequestEDIInternalServerError

type GetPaymentRequestEDIInternalServerError struct {
	Payload *supportmessages.Error
}

GetPaymentRequestEDIInternalServerError describes a response with status code 500, with default header values.

A server error occurred.

func NewGetPaymentRequestEDIInternalServerError

func NewGetPaymentRequestEDIInternalServerError() *GetPaymentRequestEDIInternalServerError

NewGetPaymentRequestEDIInternalServerError creates a GetPaymentRequestEDIInternalServerError with default headers values

func (*GetPaymentRequestEDIInternalServerError) Code

Code gets the status code for the get payment request e d i internal server error response

func (*GetPaymentRequestEDIInternalServerError) Error

func (*GetPaymentRequestEDIInternalServerError) GetPayload

func (*GetPaymentRequestEDIInternalServerError) IsClientError

func (o *GetPaymentRequestEDIInternalServerError) IsClientError() bool

IsClientError returns true when this get payment request e d i internal server error response has a 4xx status code

func (*GetPaymentRequestEDIInternalServerError) IsCode

IsCode returns true when this get payment request e d i internal server error response a status code equal to that given

func (*GetPaymentRequestEDIInternalServerError) IsRedirect

IsRedirect returns true when this get payment request e d i internal server error response has a 3xx status code

func (*GetPaymentRequestEDIInternalServerError) IsServerError

func (o *GetPaymentRequestEDIInternalServerError) IsServerError() bool

IsServerError returns true when this get payment request e d i internal server error response has a 5xx status code

func (*GetPaymentRequestEDIInternalServerError) IsSuccess

IsSuccess returns true when this get payment request e d i internal server error response has a 2xx status code

func (*GetPaymentRequestEDIInternalServerError) String

type GetPaymentRequestEDINotFound

type GetPaymentRequestEDINotFound struct {
	Payload *supportmessages.ClientError
}

GetPaymentRequestEDINotFound describes a response with status code 404, with default header values.

The requested resource wasn't found.

func NewGetPaymentRequestEDINotFound

func NewGetPaymentRequestEDINotFound() *GetPaymentRequestEDINotFound

NewGetPaymentRequestEDINotFound creates a GetPaymentRequestEDINotFound with default headers values

func (*GetPaymentRequestEDINotFound) Code

Code gets the status code for the get payment request e d i not found response

func (*GetPaymentRequestEDINotFound) Error

func (*GetPaymentRequestEDINotFound) GetPayload

func (*GetPaymentRequestEDINotFound) IsClientError

func (o *GetPaymentRequestEDINotFound) IsClientError() bool

IsClientError returns true when this get payment request e d i not found response has a 4xx status code

func (*GetPaymentRequestEDINotFound) IsCode

func (o *GetPaymentRequestEDINotFound) IsCode(code int) bool

IsCode returns true when this get payment request e d i not found response a status code equal to that given

func (*GetPaymentRequestEDINotFound) IsRedirect

func (o *GetPaymentRequestEDINotFound) IsRedirect() bool

IsRedirect returns true when this get payment request e d i not found response has a 3xx status code

func (*GetPaymentRequestEDINotFound) IsServerError

func (o *GetPaymentRequestEDINotFound) IsServerError() bool

IsServerError returns true when this get payment request e d i not found response has a 5xx status code

func (*GetPaymentRequestEDINotFound) IsSuccess

func (o *GetPaymentRequestEDINotFound) IsSuccess() bool

IsSuccess returns true when this get payment request e d i not found response has a 2xx status code

func (*GetPaymentRequestEDINotFound) String

type GetPaymentRequestEDIOK

type GetPaymentRequestEDIOK struct {
	Payload *supportmessages.PaymentRequestEDI
}

GetPaymentRequestEDIOK describes a response with status code 200, with default header values.

Successfully retrieved payment requests associated with a given move task order

func NewGetPaymentRequestEDIOK

func NewGetPaymentRequestEDIOK() *GetPaymentRequestEDIOK

NewGetPaymentRequestEDIOK creates a GetPaymentRequestEDIOK with default headers values

func (*GetPaymentRequestEDIOK) Code

func (o *GetPaymentRequestEDIOK) Code() int

Code gets the status code for the get payment request e d i o k response

func (*GetPaymentRequestEDIOK) Error

func (o *GetPaymentRequestEDIOK) Error() string

func (*GetPaymentRequestEDIOK) GetPayload

func (*GetPaymentRequestEDIOK) IsClientError

func (o *GetPaymentRequestEDIOK) IsClientError() bool

IsClientError returns true when this get payment request e d i o k response has a 4xx status code

func (*GetPaymentRequestEDIOK) IsCode

func (o *GetPaymentRequestEDIOK) IsCode(code int) bool

IsCode returns true when this get payment request e d i o k response a status code equal to that given

func (*GetPaymentRequestEDIOK) IsRedirect

func (o *GetPaymentRequestEDIOK) IsRedirect() bool

IsRedirect returns true when this get payment request e d i o k response has a 3xx status code

func (*GetPaymentRequestEDIOK) IsServerError

func (o *GetPaymentRequestEDIOK) IsServerError() bool

IsServerError returns true when this get payment request e d i o k response has a 5xx status code

func (*GetPaymentRequestEDIOK) IsSuccess

func (o *GetPaymentRequestEDIOK) IsSuccess() bool

IsSuccess returns true when this get payment request e d i o k response has a 2xx status code

func (*GetPaymentRequestEDIOK) String

func (o *GetPaymentRequestEDIOK) String() string

type GetPaymentRequestEDIParams

type GetPaymentRequestEDIParams struct {

	/* PaymentRequestID.

	   UUID of the payment request for which EDI should be generated.

	   Format: uuid
	*/
	PaymentRequestID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPaymentRequestEDIParams contains all the parameters to send to the API endpoint

for the get payment request e d i operation.

Typically these are written to a http.Request.

func NewGetPaymentRequestEDIParams

func NewGetPaymentRequestEDIParams() *GetPaymentRequestEDIParams

NewGetPaymentRequestEDIParams creates a new GetPaymentRequestEDIParams 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 NewGetPaymentRequestEDIParamsWithContext

func NewGetPaymentRequestEDIParamsWithContext(ctx context.Context) *GetPaymentRequestEDIParams

NewGetPaymentRequestEDIParamsWithContext creates a new GetPaymentRequestEDIParams object with the ability to set a context for a request.

func NewGetPaymentRequestEDIParamsWithHTTPClient

func NewGetPaymentRequestEDIParamsWithHTTPClient(client *http.Client) *GetPaymentRequestEDIParams

NewGetPaymentRequestEDIParamsWithHTTPClient creates a new GetPaymentRequestEDIParams object with the ability to set a custom HTTPClient for a request.

func NewGetPaymentRequestEDIParamsWithTimeout

func NewGetPaymentRequestEDIParamsWithTimeout(timeout time.Duration) *GetPaymentRequestEDIParams

NewGetPaymentRequestEDIParamsWithTimeout creates a new GetPaymentRequestEDIParams object with the ability to set a timeout on a request.

func (*GetPaymentRequestEDIParams) SetContext

func (o *GetPaymentRequestEDIParams) SetContext(ctx context.Context)

SetContext adds the context to the get payment request e d i params

func (*GetPaymentRequestEDIParams) SetDefaults

func (o *GetPaymentRequestEDIParams) SetDefaults()

SetDefaults hydrates default values in the get payment request e d i params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentRequestEDIParams) SetHTTPClient

func (o *GetPaymentRequestEDIParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get payment request e d i params

func (*GetPaymentRequestEDIParams) SetPaymentRequestID

func (o *GetPaymentRequestEDIParams) SetPaymentRequestID(paymentRequestID strfmt.UUID)

SetPaymentRequestID adds the paymentRequestId to the get payment request e d i params

func (*GetPaymentRequestEDIParams) SetTimeout

func (o *GetPaymentRequestEDIParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get payment request e d i params

func (*GetPaymentRequestEDIParams) WithContext

WithContext adds the context to the get payment request e d i params

func (*GetPaymentRequestEDIParams) WithDefaults

WithDefaults hydrates default values in the get payment request e d i params (not the query body).

All values with no default are reset to their zero value.

func (*GetPaymentRequestEDIParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get payment request e d i params

func (*GetPaymentRequestEDIParams) WithPaymentRequestID

func (o *GetPaymentRequestEDIParams) WithPaymentRequestID(paymentRequestID strfmt.UUID) *GetPaymentRequestEDIParams

WithPaymentRequestID adds the paymentRequestID to the get payment request e d i params

func (*GetPaymentRequestEDIParams) WithTimeout

WithTimeout adds the timeout to the get payment request e d i params

func (*GetPaymentRequestEDIParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPaymentRequestEDIReader

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

GetPaymentRequestEDIReader is a Reader for the GetPaymentRequestEDI structure.

func (*GetPaymentRequestEDIReader) ReadResponse

func (o *GetPaymentRequestEDIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPaymentRequestEDIUnauthorized

type GetPaymentRequestEDIUnauthorized struct {
	Payload *supportmessages.ClientError
}

GetPaymentRequestEDIUnauthorized describes a response with status code 401, with default header values.

The request was denied.

func NewGetPaymentRequestEDIUnauthorized

func NewGetPaymentRequestEDIUnauthorized() *GetPaymentRequestEDIUnauthorized

NewGetPaymentRequestEDIUnauthorized creates a GetPaymentRequestEDIUnauthorized with default headers values

func (*GetPaymentRequestEDIUnauthorized) Code

Code gets the status code for the get payment request e d i unauthorized response

func (*GetPaymentRequestEDIUnauthorized) Error

func (*GetPaymentRequestEDIUnauthorized) GetPayload

func (*GetPaymentRequestEDIUnauthorized) IsClientError

func (o *GetPaymentRequestEDIUnauthorized) IsClientError() bool

IsClientError returns true when this get payment request e d i unauthorized response has a 4xx status code

func (*GetPaymentRequestEDIUnauthorized) IsCode

func (o *GetPaymentRequestEDIUnauthorized) IsCode(code int) bool

IsCode returns true when this get payment request e d i unauthorized response a status code equal to that given

func (*GetPaymentRequestEDIUnauthorized) IsRedirect

func (o *GetPaymentRequestEDIUnauthorized) IsRedirect() bool

IsRedirect returns true when this get payment request e d i unauthorized response has a 3xx status code

func (*GetPaymentRequestEDIUnauthorized) IsServerError

func (o *GetPaymentRequestEDIUnauthorized) IsServerError() bool

IsServerError returns true when this get payment request e d i unauthorized response has a 5xx status code

func (*GetPaymentRequestEDIUnauthorized) IsSuccess

func (o *GetPaymentRequestEDIUnauthorized) IsSuccess() bool

IsSuccess returns true when this get payment request e d i unauthorized response has a 2xx status code

func (*GetPaymentRequestEDIUnauthorized) String

type GetPaymentRequestEDIUnprocessableEntity

type GetPaymentRequestEDIUnprocessableEntity struct {
	Payload *supportmessages.ValidationError
}

GetPaymentRequestEDIUnprocessableEntity describes a response with status code 422, with default header values.

The payload was unprocessable.

func NewGetPaymentRequestEDIUnprocessableEntity

func NewGetPaymentRequestEDIUnprocessableEntity() *GetPaymentRequestEDIUnprocessableEntity

NewGetPaymentRequestEDIUnprocessableEntity creates a GetPaymentRequestEDIUnprocessableEntity with default headers values

func (*GetPaymentRequestEDIUnprocessableEntity) Code

Code gets the status code for the get payment request e d i unprocessable entity response

func (*GetPaymentRequestEDIUnprocessableEntity) Error

func (*GetPaymentRequestEDIUnprocessableEntity) GetPayload

func (*GetPaymentRequestEDIUnprocessableEntity) IsClientError

func (o *GetPaymentRequestEDIUnprocessableEntity) IsClientError() bool

IsClientError returns true when this get payment request e d i unprocessable entity response has a 4xx status code

func (*GetPaymentRequestEDIUnprocessableEntity) IsCode

IsCode returns true when this get payment request e d i unprocessable entity response a status code equal to that given

func (*GetPaymentRequestEDIUnprocessableEntity) IsRedirect

IsRedirect returns true when this get payment request e d i unprocessable entity response has a 3xx status code

func (*GetPaymentRequestEDIUnprocessableEntity) IsServerError

func (o *GetPaymentRequestEDIUnprocessableEntity) IsServerError() bool

IsServerError returns true when this get payment request e d i unprocessable entity response has a 5xx status code

func (*GetPaymentRequestEDIUnprocessableEntity) IsSuccess

IsSuccess returns true when this get payment request e d i unprocessable entity response has a 2xx status code

func (*GetPaymentRequestEDIUnprocessableEntity) String

type ListMTOPaymentRequestsBadRequest

type ListMTOPaymentRequestsBadRequest struct {
	Payload *supportmessages.ClientError
}

ListMTOPaymentRequestsBadRequest describes a response with status code 400, with default header values.

The request payload is invalid.

func NewListMTOPaymentRequestsBadRequest

func NewListMTOPaymentRequestsBadRequest() *ListMTOPaymentRequestsBadRequest

NewListMTOPaymentRequestsBadRequest creates a ListMTOPaymentRequestsBadRequest with default headers values

func (*ListMTOPaymentRequestsBadRequest) Code

Code gets the status code for the list m t o payment requests bad request response

func (*ListMTOPaymentRequestsBadRequest) Error

func (*ListMTOPaymentRequestsBadRequest) GetPayload

func (*ListMTOPaymentRequestsBadRequest) IsClientError

func (o *ListMTOPaymentRequestsBadRequest) IsClientError() bool

IsClientError returns true when this list m t o payment requests bad request response has a 4xx status code

func (*ListMTOPaymentRequestsBadRequest) IsCode

func (o *ListMTOPaymentRequestsBadRequest) IsCode(code int) bool

IsCode returns true when this list m t o payment requests bad request response a status code equal to that given

func (*ListMTOPaymentRequestsBadRequest) IsRedirect

func (o *ListMTOPaymentRequestsBadRequest) IsRedirect() bool

IsRedirect returns true when this list m t o payment requests bad request response has a 3xx status code

func (*ListMTOPaymentRequestsBadRequest) IsServerError

func (o *ListMTOPaymentRequestsBadRequest) IsServerError() bool

IsServerError returns true when this list m t o payment requests bad request response has a 5xx status code

func (*ListMTOPaymentRequestsBadRequest) IsSuccess

func (o *ListMTOPaymentRequestsBadRequest) IsSuccess() bool

IsSuccess returns true when this list m t o payment requests bad request response has a 2xx status code

func (*ListMTOPaymentRequestsBadRequest) String

type ListMTOPaymentRequestsForbidden

type ListMTOPaymentRequestsForbidden struct {
	Payload *supportmessages.ClientError
}

ListMTOPaymentRequestsForbidden describes a response with status code 403, with default header values.

The request was denied.

func NewListMTOPaymentRequestsForbidden

func NewListMTOPaymentRequestsForbidden() *ListMTOPaymentRequestsForbidden

NewListMTOPaymentRequestsForbidden creates a ListMTOPaymentRequestsForbidden with default headers values

func (*ListMTOPaymentRequestsForbidden) Code

Code gets the status code for the list m t o payment requests forbidden response

func (*ListMTOPaymentRequestsForbidden) Error

func (*ListMTOPaymentRequestsForbidden) GetPayload

func (*ListMTOPaymentRequestsForbidden) IsClientError

func (o *ListMTOPaymentRequestsForbidden) IsClientError() bool

IsClientError returns true when this list m t o payment requests forbidden response has a 4xx status code

func (*ListMTOPaymentRequestsForbidden) IsCode

func (o *ListMTOPaymentRequestsForbidden) IsCode(code int) bool

IsCode returns true when this list m t o payment requests forbidden response a status code equal to that given

func (*ListMTOPaymentRequestsForbidden) IsRedirect

func (o *ListMTOPaymentRequestsForbidden) IsRedirect() bool

IsRedirect returns true when this list m t o payment requests forbidden response has a 3xx status code

func (*ListMTOPaymentRequestsForbidden) IsServerError

func (o *ListMTOPaymentRequestsForbidden) IsServerError() bool

IsServerError returns true when this list m t o payment requests forbidden response has a 5xx status code

func (*ListMTOPaymentRequestsForbidden) IsSuccess

func (o *ListMTOPaymentRequestsForbidden) IsSuccess() bool

IsSuccess returns true when this list m t o payment requests forbidden response has a 2xx status code

func (*ListMTOPaymentRequestsForbidden) String

type ListMTOPaymentRequestsInternalServerError

type ListMTOPaymentRequestsInternalServerError struct {
	Payload *supportmessages.Error
}

ListMTOPaymentRequestsInternalServerError describes a response with status code 500, with default header values.

A server error occurred.

func NewListMTOPaymentRequestsInternalServerError

func NewListMTOPaymentRequestsInternalServerError() *ListMTOPaymentRequestsInternalServerError

NewListMTOPaymentRequestsInternalServerError creates a ListMTOPaymentRequestsInternalServerError with default headers values

func (*ListMTOPaymentRequestsInternalServerError) Code

Code gets the status code for the list m t o payment requests internal server error response

func (*ListMTOPaymentRequestsInternalServerError) Error

func (*ListMTOPaymentRequestsInternalServerError) GetPayload

func (*ListMTOPaymentRequestsInternalServerError) IsClientError

IsClientError returns true when this list m t o payment requests internal server error response has a 4xx status code

func (*ListMTOPaymentRequestsInternalServerError) IsCode

IsCode returns true when this list m t o payment requests internal server error response a status code equal to that given

func (*ListMTOPaymentRequestsInternalServerError) IsRedirect

IsRedirect returns true when this list m t o payment requests internal server error response has a 3xx status code

func (*ListMTOPaymentRequestsInternalServerError) IsServerError

IsServerError returns true when this list m t o payment requests internal server error response has a 5xx status code

func (*ListMTOPaymentRequestsInternalServerError) IsSuccess

IsSuccess returns true when this list m t o payment requests internal server error response has a 2xx status code

func (*ListMTOPaymentRequestsInternalServerError) String

type ListMTOPaymentRequestsNotFound

type ListMTOPaymentRequestsNotFound struct {
	Payload *supportmessages.ClientError
}

ListMTOPaymentRequestsNotFound describes a response with status code 404, with default header values.

The requested resource wasn't found.

func NewListMTOPaymentRequestsNotFound

func NewListMTOPaymentRequestsNotFound() *ListMTOPaymentRequestsNotFound

NewListMTOPaymentRequestsNotFound creates a ListMTOPaymentRequestsNotFound with default headers values

func (*ListMTOPaymentRequestsNotFound) Code

Code gets the status code for the list m t o payment requests not found response

func (*ListMTOPaymentRequestsNotFound) Error

func (*ListMTOPaymentRequestsNotFound) GetPayload

func (*ListMTOPaymentRequestsNotFound) IsClientError

func (o *ListMTOPaymentRequestsNotFound) IsClientError() bool

IsClientError returns true when this list m t o payment requests not found response has a 4xx status code

func (*ListMTOPaymentRequestsNotFound) IsCode

func (o *ListMTOPaymentRequestsNotFound) IsCode(code int) bool

IsCode returns true when this list m t o payment requests not found response a status code equal to that given

func (*ListMTOPaymentRequestsNotFound) IsRedirect

func (o *ListMTOPaymentRequestsNotFound) IsRedirect() bool

IsRedirect returns true when this list m t o payment requests not found response has a 3xx status code

func (*ListMTOPaymentRequestsNotFound) IsServerError

func (o *ListMTOPaymentRequestsNotFound) IsServerError() bool

IsServerError returns true when this list m t o payment requests not found response has a 5xx status code

func (*ListMTOPaymentRequestsNotFound) IsSuccess

func (o *ListMTOPaymentRequestsNotFound) IsSuccess() bool

IsSuccess returns true when this list m t o payment requests not found response has a 2xx status code

func (*ListMTOPaymentRequestsNotFound) String

type ListMTOPaymentRequestsOK

type ListMTOPaymentRequestsOK struct {
	Payload supportmessages.PaymentRequests
}

ListMTOPaymentRequestsOK describes a response with status code 200, with default header values.

Successfully retrieved payment requests associated with a given move task order

func NewListMTOPaymentRequestsOK

func NewListMTOPaymentRequestsOK() *ListMTOPaymentRequestsOK

NewListMTOPaymentRequestsOK creates a ListMTOPaymentRequestsOK with default headers values

func (*ListMTOPaymentRequestsOK) Code

func (o *ListMTOPaymentRequestsOK) Code() int

Code gets the status code for the list m t o payment requests o k response

func (*ListMTOPaymentRequestsOK) Error

func (o *ListMTOPaymentRequestsOK) Error() string

func (*ListMTOPaymentRequestsOK) GetPayload

func (*ListMTOPaymentRequestsOK) IsClientError

func (o *ListMTOPaymentRequestsOK) IsClientError() bool

IsClientError returns true when this list m t o payment requests o k response has a 4xx status code

func (*ListMTOPaymentRequestsOK) IsCode

func (o *ListMTOPaymentRequestsOK) IsCode(code int) bool

IsCode returns true when this list m t o payment requests o k response a status code equal to that given

func (*ListMTOPaymentRequestsOK) IsRedirect

func (o *ListMTOPaymentRequestsOK) IsRedirect() bool

IsRedirect returns true when this list m t o payment requests o k response has a 3xx status code

func (*ListMTOPaymentRequestsOK) IsServerError

func (o *ListMTOPaymentRequestsOK) IsServerError() bool

IsServerError returns true when this list m t o payment requests o k response has a 5xx status code

func (*ListMTOPaymentRequestsOK) IsSuccess

func (o *ListMTOPaymentRequestsOK) IsSuccess() bool

IsSuccess returns true when this list m t o payment requests o k response has a 2xx status code

func (*ListMTOPaymentRequestsOK) String

func (o *ListMTOPaymentRequestsOK) String() string

type ListMTOPaymentRequestsParams

type ListMTOPaymentRequestsParams struct {

	/* MoveTaskOrderID.

	   Only return move task orders updated since this time.

	   Format: uuid
	*/
	MoveTaskOrderID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListMTOPaymentRequestsParams contains all the parameters to send to the API endpoint

for the list m t o payment requests operation.

Typically these are written to a http.Request.

func NewListMTOPaymentRequestsParams

func NewListMTOPaymentRequestsParams() *ListMTOPaymentRequestsParams

NewListMTOPaymentRequestsParams creates a new ListMTOPaymentRequestsParams 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 NewListMTOPaymentRequestsParamsWithContext

func NewListMTOPaymentRequestsParamsWithContext(ctx context.Context) *ListMTOPaymentRequestsParams

NewListMTOPaymentRequestsParamsWithContext creates a new ListMTOPaymentRequestsParams object with the ability to set a context for a request.

func NewListMTOPaymentRequestsParamsWithHTTPClient

func NewListMTOPaymentRequestsParamsWithHTTPClient(client *http.Client) *ListMTOPaymentRequestsParams

NewListMTOPaymentRequestsParamsWithHTTPClient creates a new ListMTOPaymentRequestsParams object with the ability to set a custom HTTPClient for a request.

func NewListMTOPaymentRequestsParamsWithTimeout

func NewListMTOPaymentRequestsParamsWithTimeout(timeout time.Duration) *ListMTOPaymentRequestsParams

NewListMTOPaymentRequestsParamsWithTimeout creates a new ListMTOPaymentRequestsParams object with the ability to set a timeout on a request.

func (*ListMTOPaymentRequestsParams) SetContext

func (o *ListMTOPaymentRequestsParams) SetContext(ctx context.Context)

SetContext adds the context to the list m t o payment requests params

func (*ListMTOPaymentRequestsParams) SetDefaults

func (o *ListMTOPaymentRequestsParams) SetDefaults()

SetDefaults hydrates default values in the list m t o payment requests params (not the query body).

All values with no default are reset to their zero value.

func (*ListMTOPaymentRequestsParams) SetHTTPClient

func (o *ListMTOPaymentRequestsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list m t o payment requests params

func (*ListMTOPaymentRequestsParams) SetMoveTaskOrderID

func (o *ListMTOPaymentRequestsParams) SetMoveTaskOrderID(moveTaskOrderID strfmt.UUID)

SetMoveTaskOrderID adds the moveTaskOrderId to the list m t o payment requests params

func (*ListMTOPaymentRequestsParams) SetTimeout

func (o *ListMTOPaymentRequestsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list m t o payment requests params

func (*ListMTOPaymentRequestsParams) WithContext

WithContext adds the context to the list m t o payment requests params

func (*ListMTOPaymentRequestsParams) WithDefaults

WithDefaults hydrates default values in the list m t o payment requests params (not the query body).

All values with no default are reset to their zero value.

func (*ListMTOPaymentRequestsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list m t o payment requests params

func (*ListMTOPaymentRequestsParams) WithMoveTaskOrderID

func (o *ListMTOPaymentRequestsParams) WithMoveTaskOrderID(moveTaskOrderID strfmt.UUID) *ListMTOPaymentRequestsParams

WithMoveTaskOrderID adds the moveTaskOrderID to the list m t o payment requests params

func (*ListMTOPaymentRequestsParams) WithTimeout

WithTimeout adds the timeout to the list m t o payment requests params

func (*ListMTOPaymentRequestsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListMTOPaymentRequestsReader

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

ListMTOPaymentRequestsReader is a Reader for the ListMTOPaymentRequests structure.

func (*ListMTOPaymentRequestsReader) ReadResponse

func (o *ListMTOPaymentRequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListMTOPaymentRequestsUnauthorized

type ListMTOPaymentRequestsUnauthorized struct {
	Payload *supportmessages.ClientError
}

ListMTOPaymentRequestsUnauthorized describes a response with status code 401, with default header values.

The request was denied.

func NewListMTOPaymentRequestsUnauthorized

func NewListMTOPaymentRequestsUnauthorized() *ListMTOPaymentRequestsUnauthorized

NewListMTOPaymentRequestsUnauthorized creates a ListMTOPaymentRequestsUnauthorized with default headers values

func (*ListMTOPaymentRequestsUnauthorized) Code

Code gets the status code for the list m t o payment requests unauthorized response

func (*ListMTOPaymentRequestsUnauthorized) Error

func (*ListMTOPaymentRequestsUnauthorized) GetPayload

func (*ListMTOPaymentRequestsUnauthorized) IsClientError

func (o *ListMTOPaymentRequestsUnauthorized) IsClientError() bool

IsClientError returns true when this list m t o payment requests unauthorized response has a 4xx status code

func (*ListMTOPaymentRequestsUnauthorized) IsCode

IsCode returns true when this list m t o payment requests unauthorized response a status code equal to that given

func (*ListMTOPaymentRequestsUnauthorized) IsRedirect

func (o *ListMTOPaymentRequestsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list m t o payment requests unauthorized response has a 3xx status code

func (*ListMTOPaymentRequestsUnauthorized) IsServerError

func (o *ListMTOPaymentRequestsUnauthorized) IsServerError() bool

IsServerError returns true when this list m t o payment requests unauthorized response has a 5xx status code

func (*ListMTOPaymentRequestsUnauthorized) IsSuccess

IsSuccess returns true when this list m t o payment requests unauthorized response has a 2xx status code

func (*ListMTOPaymentRequestsUnauthorized) String

type ProcessReviewedPaymentRequestsBadRequest

type ProcessReviewedPaymentRequestsBadRequest struct {
	Payload *supportmessages.ClientError
}

ProcessReviewedPaymentRequestsBadRequest describes a response with status code 400, with default header values.

The request payload is invalid.

func NewProcessReviewedPaymentRequestsBadRequest

func NewProcessReviewedPaymentRequestsBadRequest() *ProcessReviewedPaymentRequestsBadRequest

NewProcessReviewedPaymentRequestsBadRequest creates a ProcessReviewedPaymentRequestsBadRequest with default headers values

func (*ProcessReviewedPaymentRequestsBadRequest) Code

Code gets the status code for the process reviewed payment requests bad request response

func (*ProcessReviewedPaymentRequestsBadRequest) Error

func (*ProcessReviewedPaymentRequestsBadRequest) GetPayload

func (*ProcessReviewedPaymentRequestsBadRequest) IsClientError

IsClientError returns true when this process reviewed payment requests bad request response has a 4xx status code

func (*ProcessReviewedPaymentRequestsBadRequest) IsCode

IsCode returns true when this process reviewed payment requests bad request response a status code equal to that given

func (*ProcessReviewedPaymentRequestsBadRequest) IsRedirect

IsRedirect returns true when this process reviewed payment requests bad request response has a 3xx status code

func (*ProcessReviewedPaymentRequestsBadRequest) IsServerError

IsServerError returns true when this process reviewed payment requests bad request response has a 5xx status code

func (*ProcessReviewedPaymentRequestsBadRequest) IsSuccess

IsSuccess returns true when this process reviewed payment requests bad request response has a 2xx status code

func (*ProcessReviewedPaymentRequestsBadRequest) String

type ProcessReviewedPaymentRequestsForbidden

type ProcessReviewedPaymentRequestsForbidden struct {
	Payload *supportmessages.ClientError
}

ProcessReviewedPaymentRequestsForbidden describes a response with status code 403, with default header values.

The request was denied.

func NewProcessReviewedPaymentRequestsForbidden

func NewProcessReviewedPaymentRequestsForbidden() *ProcessReviewedPaymentRequestsForbidden

NewProcessReviewedPaymentRequestsForbidden creates a ProcessReviewedPaymentRequestsForbidden with default headers values

func (*ProcessReviewedPaymentRequestsForbidden) Code

Code gets the status code for the process reviewed payment requests forbidden response

func (*ProcessReviewedPaymentRequestsForbidden) Error

func (*ProcessReviewedPaymentRequestsForbidden) GetPayload

func (*ProcessReviewedPaymentRequestsForbidden) IsClientError

func (o *ProcessReviewedPaymentRequestsForbidden) IsClientError() bool

IsClientError returns true when this process reviewed payment requests forbidden response has a 4xx status code

func (*ProcessReviewedPaymentRequestsForbidden) IsCode

IsCode returns true when this process reviewed payment requests forbidden response a status code equal to that given

func (*ProcessReviewedPaymentRequestsForbidden) IsRedirect

IsRedirect returns true when this process reviewed payment requests forbidden response has a 3xx status code

func (*ProcessReviewedPaymentRequestsForbidden) IsServerError

func (o *ProcessReviewedPaymentRequestsForbidden) IsServerError() bool

IsServerError returns true when this process reviewed payment requests forbidden response has a 5xx status code

func (*ProcessReviewedPaymentRequestsForbidden) IsSuccess

IsSuccess returns true when this process reviewed payment requests forbidden response has a 2xx status code

func (*ProcessReviewedPaymentRequestsForbidden) String

type ProcessReviewedPaymentRequestsInternalServerError

type ProcessReviewedPaymentRequestsInternalServerError struct {
	Payload *supportmessages.Error
}

ProcessReviewedPaymentRequestsInternalServerError describes a response with status code 500, with default header values.

A server error occurred.

func NewProcessReviewedPaymentRequestsInternalServerError

func NewProcessReviewedPaymentRequestsInternalServerError() *ProcessReviewedPaymentRequestsInternalServerError

NewProcessReviewedPaymentRequestsInternalServerError creates a ProcessReviewedPaymentRequestsInternalServerError with default headers values

func (*ProcessReviewedPaymentRequestsInternalServerError) Code

Code gets the status code for the process reviewed payment requests internal server error response

func (*ProcessReviewedPaymentRequestsInternalServerError) Error

func (*ProcessReviewedPaymentRequestsInternalServerError) GetPayload

func (*ProcessReviewedPaymentRequestsInternalServerError) IsClientError

IsClientError returns true when this process reviewed payment requests internal server error response has a 4xx status code

func (*ProcessReviewedPaymentRequestsInternalServerError) IsCode

IsCode returns true when this process reviewed payment requests internal server error response a status code equal to that given

func (*ProcessReviewedPaymentRequestsInternalServerError) IsRedirect

IsRedirect returns true when this process reviewed payment requests internal server error response has a 3xx status code

func (*ProcessReviewedPaymentRequestsInternalServerError) IsServerError

IsServerError returns true when this process reviewed payment requests internal server error response has a 5xx status code

func (*ProcessReviewedPaymentRequestsInternalServerError) IsSuccess

IsSuccess returns true when this process reviewed payment requests internal server error response has a 2xx status code

func (*ProcessReviewedPaymentRequestsInternalServerError) String

type ProcessReviewedPaymentRequestsNotFound

type ProcessReviewedPaymentRequestsNotFound struct {
	Payload *supportmessages.ClientError
}

ProcessReviewedPaymentRequestsNotFound describes a response with status code 404, with default header values.

The requested resource wasn't found.

func NewProcessReviewedPaymentRequestsNotFound

func NewProcessReviewedPaymentRequestsNotFound() *ProcessReviewedPaymentRequestsNotFound

NewProcessReviewedPaymentRequestsNotFound creates a ProcessReviewedPaymentRequestsNotFound with default headers values

func (*ProcessReviewedPaymentRequestsNotFound) Code

Code gets the status code for the process reviewed payment requests not found response

func (*ProcessReviewedPaymentRequestsNotFound) Error

func (*ProcessReviewedPaymentRequestsNotFound) GetPayload

func (*ProcessReviewedPaymentRequestsNotFound) IsClientError

func (o *ProcessReviewedPaymentRequestsNotFound) IsClientError() bool

IsClientError returns true when this process reviewed payment requests not found response has a 4xx status code

func (*ProcessReviewedPaymentRequestsNotFound) IsCode

IsCode returns true when this process reviewed payment requests not found response a status code equal to that given

func (*ProcessReviewedPaymentRequestsNotFound) IsRedirect

IsRedirect returns true when this process reviewed payment requests not found response has a 3xx status code

func (*ProcessReviewedPaymentRequestsNotFound) IsServerError

func (o *ProcessReviewedPaymentRequestsNotFound) IsServerError() bool

IsServerError returns true when this process reviewed payment requests not found response has a 5xx status code

func (*ProcessReviewedPaymentRequestsNotFound) IsSuccess

IsSuccess returns true when this process reviewed payment requests not found response has a 2xx status code

func (*ProcessReviewedPaymentRequestsNotFound) String

type ProcessReviewedPaymentRequestsOK

type ProcessReviewedPaymentRequestsOK struct {
	Payload supportmessages.PaymentRequests
}

ProcessReviewedPaymentRequestsOK describes a response with status code 200, with default header values.

Successfully updated status of reviewed payment request and sent to Syncada if that flag is set

func NewProcessReviewedPaymentRequestsOK

func NewProcessReviewedPaymentRequestsOK() *ProcessReviewedPaymentRequestsOK

NewProcessReviewedPaymentRequestsOK creates a ProcessReviewedPaymentRequestsOK with default headers values

func (*ProcessReviewedPaymentRequestsOK) Code

Code gets the status code for the process reviewed payment requests o k response

func (*ProcessReviewedPaymentRequestsOK) Error

func (*ProcessReviewedPaymentRequestsOK) GetPayload

func (*ProcessReviewedPaymentRequestsOK) IsClientError

func (o *ProcessReviewedPaymentRequestsOK) IsClientError() bool

IsClientError returns true when this process reviewed payment requests o k response has a 4xx status code

func (*ProcessReviewedPaymentRequestsOK) IsCode

func (o *ProcessReviewedPaymentRequestsOK) IsCode(code int) bool

IsCode returns true when this process reviewed payment requests o k response a status code equal to that given

func (*ProcessReviewedPaymentRequestsOK) IsRedirect

func (o *ProcessReviewedPaymentRequestsOK) IsRedirect() bool

IsRedirect returns true when this process reviewed payment requests o k response has a 3xx status code

func (*ProcessReviewedPaymentRequestsOK) IsServerError

func (o *ProcessReviewedPaymentRequestsOK) IsServerError() bool

IsServerError returns true when this process reviewed payment requests o k response has a 5xx status code

func (*ProcessReviewedPaymentRequestsOK) IsSuccess

func (o *ProcessReviewedPaymentRequestsOK) IsSuccess() bool

IsSuccess returns true when this process reviewed payment requests o k response has a 2xx status code

func (*ProcessReviewedPaymentRequestsOK) String

type ProcessReviewedPaymentRequestsParams

type ProcessReviewedPaymentRequestsParams struct {

	// Body.
	Body *supportmessages.ProcessReviewedPaymentRequests

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ProcessReviewedPaymentRequestsParams contains all the parameters to send to the API endpoint

for the process reviewed payment requests operation.

Typically these are written to a http.Request.

func NewProcessReviewedPaymentRequestsParams

func NewProcessReviewedPaymentRequestsParams() *ProcessReviewedPaymentRequestsParams

NewProcessReviewedPaymentRequestsParams creates a new ProcessReviewedPaymentRequestsParams 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 NewProcessReviewedPaymentRequestsParamsWithContext

func NewProcessReviewedPaymentRequestsParamsWithContext(ctx context.Context) *ProcessReviewedPaymentRequestsParams

NewProcessReviewedPaymentRequestsParamsWithContext creates a new ProcessReviewedPaymentRequestsParams object with the ability to set a context for a request.

func NewProcessReviewedPaymentRequestsParamsWithHTTPClient

func NewProcessReviewedPaymentRequestsParamsWithHTTPClient(client *http.Client) *ProcessReviewedPaymentRequestsParams

NewProcessReviewedPaymentRequestsParamsWithHTTPClient creates a new ProcessReviewedPaymentRequestsParams object with the ability to set a custom HTTPClient for a request.

func NewProcessReviewedPaymentRequestsParamsWithTimeout

func NewProcessReviewedPaymentRequestsParamsWithTimeout(timeout time.Duration) *ProcessReviewedPaymentRequestsParams

NewProcessReviewedPaymentRequestsParamsWithTimeout creates a new ProcessReviewedPaymentRequestsParams object with the ability to set a timeout on a request.

func (*ProcessReviewedPaymentRequestsParams) SetBody

SetBody adds the body to the process reviewed payment requests params

func (*ProcessReviewedPaymentRequestsParams) SetContext

SetContext adds the context to the process reviewed payment requests params

func (*ProcessReviewedPaymentRequestsParams) SetDefaults

func (o *ProcessReviewedPaymentRequestsParams) SetDefaults()

SetDefaults hydrates default values in the process reviewed payment requests params (not the query body).

All values with no default are reset to their zero value.

func (*ProcessReviewedPaymentRequestsParams) SetHTTPClient

func (o *ProcessReviewedPaymentRequestsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the process reviewed payment requests params

func (*ProcessReviewedPaymentRequestsParams) SetTimeout

func (o *ProcessReviewedPaymentRequestsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the process reviewed payment requests params

func (*ProcessReviewedPaymentRequestsParams) WithBody

WithBody adds the body to the process reviewed payment requests params

func (*ProcessReviewedPaymentRequestsParams) WithContext

WithContext adds the context to the process reviewed payment requests params

func (*ProcessReviewedPaymentRequestsParams) WithDefaults

WithDefaults hydrates default values in the process reviewed payment requests params (not the query body).

All values with no default are reset to their zero value.

func (*ProcessReviewedPaymentRequestsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the process reviewed payment requests params

func (*ProcessReviewedPaymentRequestsParams) WithTimeout

WithTimeout adds the timeout to the process reviewed payment requests params

func (*ProcessReviewedPaymentRequestsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProcessReviewedPaymentRequestsReader

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

ProcessReviewedPaymentRequestsReader is a Reader for the ProcessReviewedPaymentRequests structure.

func (*ProcessReviewedPaymentRequestsReader) ReadResponse

func (o *ProcessReviewedPaymentRequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ProcessReviewedPaymentRequestsUnauthorized

type ProcessReviewedPaymentRequestsUnauthorized struct {
	Payload *supportmessages.ClientError
}

ProcessReviewedPaymentRequestsUnauthorized describes a response with status code 401, with default header values.

The request was denied.

func NewProcessReviewedPaymentRequestsUnauthorized

func NewProcessReviewedPaymentRequestsUnauthorized() *ProcessReviewedPaymentRequestsUnauthorized

NewProcessReviewedPaymentRequestsUnauthorized creates a ProcessReviewedPaymentRequestsUnauthorized with default headers values

func (*ProcessReviewedPaymentRequestsUnauthorized) Code

Code gets the status code for the process reviewed payment requests unauthorized response

func (*ProcessReviewedPaymentRequestsUnauthorized) Error

func (*ProcessReviewedPaymentRequestsUnauthorized) GetPayload

func (*ProcessReviewedPaymentRequestsUnauthorized) IsClientError

IsClientError returns true when this process reviewed payment requests unauthorized response has a 4xx status code

func (*ProcessReviewedPaymentRequestsUnauthorized) IsCode

IsCode returns true when this process reviewed payment requests unauthorized response a status code equal to that given

func (*ProcessReviewedPaymentRequestsUnauthorized) IsRedirect

IsRedirect returns true when this process reviewed payment requests unauthorized response has a 3xx status code

func (*ProcessReviewedPaymentRequestsUnauthorized) IsServerError

IsServerError returns true when this process reviewed payment requests unauthorized response has a 5xx status code

func (*ProcessReviewedPaymentRequestsUnauthorized) IsSuccess

IsSuccess returns true when this process reviewed payment requests unauthorized response has a 2xx status code

func (*ProcessReviewedPaymentRequestsUnauthorized) String

type ProcessReviewedPaymentRequestsUnprocessableEntity

type ProcessReviewedPaymentRequestsUnprocessableEntity struct {
	Payload *supportmessages.ValidationError
}

ProcessReviewedPaymentRequestsUnprocessableEntity describes a response with status code 422, with default header values.

The payload was unprocessable.

func NewProcessReviewedPaymentRequestsUnprocessableEntity

func NewProcessReviewedPaymentRequestsUnprocessableEntity() *ProcessReviewedPaymentRequestsUnprocessableEntity

NewProcessReviewedPaymentRequestsUnprocessableEntity creates a ProcessReviewedPaymentRequestsUnprocessableEntity with default headers values

func (*ProcessReviewedPaymentRequestsUnprocessableEntity) Code

Code gets the status code for the process reviewed payment requests unprocessable entity response

func (*ProcessReviewedPaymentRequestsUnprocessableEntity) Error

func (*ProcessReviewedPaymentRequestsUnprocessableEntity) GetPayload

func (*ProcessReviewedPaymentRequestsUnprocessableEntity) IsClientError

IsClientError returns true when this process reviewed payment requests unprocessable entity response has a 4xx status code

func (*ProcessReviewedPaymentRequestsUnprocessableEntity) IsCode

IsCode returns true when this process reviewed payment requests unprocessable entity response a status code equal to that given

func (*ProcessReviewedPaymentRequestsUnprocessableEntity) IsRedirect

IsRedirect returns true when this process reviewed payment requests unprocessable entity response has a 3xx status code

func (*ProcessReviewedPaymentRequestsUnprocessableEntity) IsServerError

IsServerError returns true when this process reviewed payment requests unprocessable entity response has a 5xx status code

func (*ProcessReviewedPaymentRequestsUnprocessableEntity) IsSuccess

IsSuccess returns true when this process reviewed payment requests unprocessable entity response has a 2xx status code

func (*ProcessReviewedPaymentRequestsUnprocessableEntity) String

type RecalculatePaymentRequestBadRequest

type RecalculatePaymentRequestBadRequest struct {
	Payload *supportmessages.ClientError
}

RecalculatePaymentRequestBadRequest describes a response with status code 400, with default header values.

The request payload is invalid.

func NewRecalculatePaymentRequestBadRequest

func NewRecalculatePaymentRequestBadRequest() *RecalculatePaymentRequestBadRequest

NewRecalculatePaymentRequestBadRequest creates a RecalculatePaymentRequestBadRequest with default headers values

func (*RecalculatePaymentRequestBadRequest) Code

Code gets the status code for the recalculate payment request bad request response

func (*RecalculatePaymentRequestBadRequest) Error

func (*RecalculatePaymentRequestBadRequest) GetPayload

func (*RecalculatePaymentRequestBadRequest) IsClientError

func (o *RecalculatePaymentRequestBadRequest) IsClientError() bool

IsClientError returns true when this recalculate payment request bad request response has a 4xx status code

func (*RecalculatePaymentRequestBadRequest) IsCode

IsCode returns true when this recalculate payment request bad request response a status code equal to that given

func (*RecalculatePaymentRequestBadRequest) IsRedirect

func (o *RecalculatePaymentRequestBadRequest) IsRedirect() bool

IsRedirect returns true when this recalculate payment request bad request response has a 3xx status code

func (*RecalculatePaymentRequestBadRequest) IsServerError

func (o *RecalculatePaymentRequestBadRequest) IsServerError() bool

IsServerError returns true when this recalculate payment request bad request response has a 5xx status code

func (*RecalculatePaymentRequestBadRequest) IsSuccess

IsSuccess returns true when this recalculate payment request bad request response has a 2xx status code

func (*RecalculatePaymentRequestBadRequest) String

type RecalculatePaymentRequestConflict

type RecalculatePaymentRequestConflict struct {
	Payload *supportmessages.ClientError
}

RecalculatePaymentRequestConflict describes a response with status code 409, with default header values.

There was a conflict with the request.

func NewRecalculatePaymentRequestConflict

func NewRecalculatePaymentRequestConflict() *RecalculatePaymentRequestConflict

NewRecalculatePaymentRequestConflict creates a RecalculatePaymentRequestConflict with default headers values

func (*RecalculatePaymentRequestConflict) Code

Code gets the status code for the recalculate payment request conflict response

func (*RecalculatePaymentRequestConflict) Error

func (*RecalculatePaymentRequestConflict) GetPayload

func (*RecalculatePaymentRequestConflict) IsClientError

func (o *RecalculatePaymentRequestConflict) IsClientError() bool

IsClientError returns true when this recalculate payment request conflict response has a 4xx status code

func (*RecalculatePaymentRequestConflict) IsCode

func (o *RecalculatePaymentRequestConflict) IsCode(code int) bool

IsCode returns true when this recalculate payment request conflict response a status code equal to that given

func (*RecalculatePaymentRequestConflict) IsRedirect

func (o *RecalculatePaymentRequestConflict) IsRedirect() bool

IsRedirect returns true when this recalculate payment request conflict response has a 3xx status code

func (*RecalculatePaymentRequestConflict) IsServerError

func (o *RecalculatePaymentRequestConflict) IsServerError() bool

IsServerError returns true when this recalculate payment request conflict response has a 5xx status code

func (*RecalculatePaymentRequestConflict) IsSuccess

func (o *RecalculatePaymentRequestConflict) IsSuccess() bool

IsSuccess returns true when this recalculate payment request conflict response has a 2xx status code

func (*RecalculatePaymentRequestConflict) String

type RecalculatePaymentRequestCreated

type RecalculatePaymentRequestCreated struct {
	Payload *supportmessages.PaymentRequest
}

RecalculatePaymentRequestCreated describes a response with status code 201, with default header values.

The new payment request with recalculated pricing.

func NewRecalculatePaymentRequestCreated

func NewRecalculatePaymentRequestCreated() *RecalculatePaymentRequestCreated

NewRecalculatePaymentRequestCreated creates a RecalculatePaymentRequestCreated with default headers values

func (*RecalculatePaymentRequestCreated) Code

Code gets the status code for the recalculate payment request created response

func (*RecalculatePaymentRequestCreated) Error

func (*RecalculatePaymentRequestCreated) GetPayload

func (*RecalculatePaymentRequestCreated) IsClientError

func (o *RecalculatePaymentRequestCreated) IsClientError() bool

IsClientError returns true when this recalculate payment request created response has a 4xx status code

func (*RecalculatePaymentRequestCreated) IsCode

func (o *RecalculatePaymentRequestCreated) IsCode(code int) bool

IsCode returns true when this recalculate payment request created response a status code equal to that given

func (*RecalculatePaymentRequestCreated) IsRedirect

func (o *RecalculatePaymentRequestCreated) IsRedirect() bool

IsRedirect returns true when this recalculate payment request created response has a 3xx status code

func (*RecalculatePaymentRequestCreated) IsServerError

func (o *RecalculatePaymentRequestCreated) IsServerError() bool

IsServerError returns true when this recalculate payment request created response has a 5xx status code

func (*RecalculatePaymentRequestCreated) IsSuccess

func (o *RecalculatePaymentRequestCreated) IsSuccess() bool

IsSuccess returns true when this recalculate payment request created response has a 2xx status code

func (*RecalculatePaymentRequestCreated) String

type RecalculatePaymentRequestForbidden

type RecalculatePaymentRequestForbidden struct {
	Payload *supportmessages.ClientError
}

RecalculatePaymentRequestForbidden describes a response with status code 403, with default header values.

The request was denied.

func NewRecalculatePaymentRequestForbidden

func NewRecalculatePaymentRequestForbidden() *RecalculatePaymentRequestForbidden

NewRecalculatePaymentRequestForbidden creates a RecalculatePaymentRequestForbidden with default headers values

func (*RecalculatePaymentRequestForbidden) Code

Code gets the status code for the recalculate payment request forbidden response

func (*RecalculatePaymentRequestForbidden) Error

func (*RecalculatePaymentRequestForbidden) GetPayload

func (*RecalculatePaymentRequestForbidden) IsClientError

func (o *RecalculatePaymentRequestForbidden) IsClientError() bool

IsClientError returns true when this recalculate payment request forbidden response has a 4xx status code

func (*RecalculatePaymentRequestForbidden) IsCode

IsCode returns true when this recalculate payment request forbidden response a status code equal to that given

func (*RecalculatePaymentRequestForbidden) IsRedirect

func (o *RecalculatePaymentRequestForbidden) IsRedirect() bool

IsRedirect returns true when this recalculate payment request forbidden response has a 3xx status code

func (*RecalculatePaymentRequestForbidden) IsServerError

func (o *RecalculatePaymentRequestForbidden) IsServerError() bool

IsServerError returns true when this recalculate payment request forbidden response has a 5xx status code

func (*RecalculatePaymentRequestForbidden) IsSuccess

IsSuccess returns true when this recalculate payment request forbidden response has a 2xx status code

func (*RecalculatePaymentRequestForbidden) String

type RecalculatePaymentRequestInternalServerError

type RecalculatePaymentRequestInternalServerError struct {
	Payload *supportmessages.Error
}

RecalculatePaymentRequestInternalServerError describes a response with status code 500, with default header values.

A server error occurred.

func NewRecalculatePaymentRequestInternalServerError

func NewRecalculatePaymentRequestInternalServerError() *RecalculatePaymentRequestInternalServerError

NewRecalculatePaymentRequestInternalServerError creates a RecalculatePaymentRequestInternalServerError with default headers values

func (*RecalculatePaymentRequestInternalServerError) Code

Code gets the status code for the recalculate payment request internal server error response

func (*RecalculatePaymentRequestInternalServerError) Error

func (*RecalculatePaymentRequestInternalServerError) GetPayload

func (*RecalculatePaymentRequestInternalServerError) IsClientError

IsClientError returns true when this recalculate payment request internal server error response has a 4xx status code

func (*RecalculatePaymentRequestInternalServerError) IsCode

IsCode returns true when this recalculate payment request internal server error response a status code equal to that given

func (*RecalculatePaymentRequestInternalServerError) IsRedirect

IsRedirect returns true when this recalculate payment request internal server error response has a 3xx status code

func (*RecalculatePaymentRequestInternalServerError) IsServerError

IsServerError returns true when this recalculate payment request internal server error response has a 5xx status code

func (*RecalculatePaymentRequestInternalServerError) IsSuccess

IsSuccess returns true when this recalculate payment request internal server error response has a 2xx status code

func (*RecalculatePaymentRequestInternalServerError) String

type RecalculatePaymentRequestNotFound

type RecalculatePaymentRequestNotFound struct {
	Payload *supportmessages.ClientError
}

RecalculatePaymentRequestNotFound describes a response with status code 404, with default header values.

The requested resource wasn't found.

func NewRecalculatePaymentRequestNotFound

func NewRecalculatePaymentRequestNotFound() *RecalculatePaymentRequestNotFound

NewRecalculatePaymentRequestNotFound creates a RecalculatePaymentRequestNotFound with default headers values

func (*RecalculatePaymentRequestNotFound) Code

Code gets the status code for the recalculate payment request not found response

func (*RecalculatePaymentRequestNotFound) Error

func (*RecalculatePaymentRequestNotFound) GetPayload

func (*RecalculatePaymentRequestNotFound) IsClientError

func (o *RecalculatePaymentRequestNotFound) IsClientError() bool

IsClientError returns true when this recalculate payment request not found response has a 4xx status code

func (*RecalculatePaymentRequestNotFound) IsCode

func (o *RecalculatePaymentRequestNotFound) IsCode(code int) bool

IsCode returns true when this recalculate payment request not found response a status code equal to that given

func (*RecalculatePaymentRequestNotFound) IsRedirect

func (o *RecalculatePaymentRequestNotFound) IsRedirect() bool

IsRedirect returns true when this recalculate payment request not found response has a 3xx status code

func (*RecalculatePaymentRequestNotFound) IsServerError

func (o *RecalculatePaymentRequestNotFound) IsServerError() bool

IsServerError returns true when this recalculate payment request not found response has a 5xx status code

func (*RecalculatePaymentRequestNotFound) IsSuccess

func (o *RecalculatePaymentRequestNotFound) IsSuccess() bool

IsSuccess returns true when this recalculate payment request not found response has a 2xx status code

func (*RecalculatePaymentRequestNotFound) String

type RecalculatePaymentRequestParams

type RecalculatePaymentRequestParams struct {

	/* PaymentRequestID.

	   UUID of the payment request to recalculate.

	   Format: uuid
	*/
	PaymentRequestID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RecalculatePaymentRequestParams contains all the parameters to send to the API endpoint

for the recalculate payment request operation.

Typically these are written to a http.Request.

func NewRecalculatePaymentRequestParams

func NewRecalculatePaymentRequestParams() *RecalculatePaymentRequestParams

NewRecalculatePaymentRequestParams creates a new RecalculatePaymentRequestParams 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 NewRecalculatePaymentRequestParamsWithContext

func NewRecalculatePaymentRequestParamsWithContext(ctx context.Context) *RecalculatePaymentRequestParams

NewRecalculatePaymentRequestParamsWithContext creates a new RecalculatePaymentRequestParams object with the ability to set a context for a request.

func NewRecalculatePaymentRequestParamsWithHTTPClient

func NewRecalculatePaymentRequestParamsWithHTTPClient(client *http.Client) *RecalculatePaymentRequestParams

NewRecalculatePaymentRequestParamsWithHTTPClient creates a new RecalculatePaymentRequestParams object with the ability to set a custom HTTPClient for a request.

func NewRecalculatePaymentRequestParamsWithTimeout

func NewRecalculatePaymentRequestParamsWithTimeout(timeout time.Duration) *RecalculatePaymentRequestParams

NewRecalculatePaymentRequestParamsWithTimeout creates a new RecalculatePaymentRequestParams object with the ability to set a timeout on a request.

func (*RecalculatePaymentRequestParams) SetContext

func (o *RecalculatePaymentRequestParams) SetContext(ctx context.Context)

SetContext adds the context to the recalculate payment request params

func (*RecalculatePaymentRequestParams) SetDefaults

func (o *RecalculatePaymentRequestParams) SetDefaults()

SetDefaults hydrates default values in the recalculate payment request params (not the query body).

All values with no default are reset to their zero value.

func (*RecalculatePaymentRequestParams) SetHTTPClient

func (o *RecalculatePaymentRequestParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the recalculate payment request params

func (*RecalculatePaymentRequestParams) SetPaymentRequestID

func (o *RecalculatePaymentRequestParams) SetPaymentRequestID(paymentRequestID strfmt.UUID)

SetPaymentRequestID adds the paymentRequestId to the recalculate payment request params

func (*RecalculatePaymentRequestParams) SetTimeout

func (o *RecalculatePaymentRequestParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the recalculate payment request params

func (*RecalculatePaymentRequestParams) WithContext

WithContext adds the context to the recalculate payment request params

func (*RecalculatePaymentRequestParams) WithDefaults

WithDefaults hydrates default values in the recalculate payment request params (not the query body).

All values with no default are reset to their zero value.

func (*RecalculatePaymentRequestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the recalculate payment request params

func (*RecalculatePaymentRequestParams) WithPaymentRequestID

func (o *RecalculatePaymentRequestParams) WithPaymentRequestID(paymentRequestID strfmt.UUID) *RecalculatePaymentRequestParams

WithPaymentRequestID adds the paymentRequestID to the recalculate payment request params

func (*RecalculatePaymentRequestParams) WithTimeout

WithTimeout adds the timeout to the recalculate payment request params

func (*RecalculatePaymentRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RecalculatePaymentRequestPreconditionFailed

type RecalculatePaymentRequestPreconditionFailed struct {
	Payload *supportmessages.ClientError
}

RecalculatePaymentRequestPreconditionFailed describes a response with status code 412, with default header values.

Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.

func NewRecalculatePaymentRequestPreconditionFailed

func NewRecalculatePaymentRequestPreconditionFailed() *RecalculatePaymentRequestPreconditionFailed

NewRecalculatePaymentRequestPreconditionFailed creates a RecalculatePaymentRequestPreconditionFailed with default headers values

func (*RecalculatePaymentRequestPreconditionFailed) Code

Code gets the status code for the recalculate payment request precondition failed response

func (*RecalculatePaymentRequestPreconditionFailed) Error

func (*RecalculatePaymentRequestPreconditionFailed) GetPayload

func (*RecalculatePaymentRequestPreconditionFailed) IsClientError

IsClientError returns true when this recalculate payment request precondition failed response has a 4xx status code

func (*RecalculatePaymentRequestPreconditionFailed) IsCode

IsCode returns true when this recalculate payment request precondition failed response a status code equal to that given

func (*RecalculatePaymentRequestPreconditionFailed) IsRedirect

IsRedirect returns true when this recalculate payment request precondition failed response has a 3xx status code

func (*RecalculatePaymentRequestPreconditionFailed) IsServerError

IsServerError returns true when this recalculate payment request precondition failed response has a 5xx status code

func (*RecalculatePaymentRequestPreconditionFailed) IsSuccess

IsSuccess returns true when this recalculate payment request precondition failed response has a 2xx status code

func (*RecalculatePaymentRequestPreconditionFailed) String

type RecalculatePaymentRequestReader

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

RecalculatePaymentRequestReader is a Reader for the RecalculatePaymentRequest structure.

func (*RecalculatePaymentRequestReader) ReadResponse

func (o *RecalculatePaymentRequestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RecalculatePaymentRequestUnauthorized

type RecalculatePaymentRequestUnauthorized struct {
	Payload *supportmessages.ClientError
}

RecalculatePaymentRequestUnauthorized describes a response with status code 401, with default header values.

The request was denied.

func NewRecalculatePaymentRequestUnauthorized

func NewRecalculatePaymentRequestUnauthorized() *RecalculatePaymentRequestUnauthorized

NewRecalculatePaymentRequestUnauthorized creates a RecalculatePaymentRequestUnauthorized with default headers values

func (*RecalculatePaymentRequestUnauthorized) Code

Code gets the status code for the recalculate payment request unauthorized response

func (*RecalculatePaymentRequestUnauthorized) Error

func (*RecalculatePaymentRequestUnauthorized) GetPayload

func (*RecalculatePaymentRequestUnauthorized) IsClientError

func (o *RecalculatePaymentRequestUnauthorized) IsClientError() bool

IsClientError returns true when this recalculate payment request unauthorized response has a 4xx status code

func (*RecalculatePaymentRequestUnauthorized) IsCode

IsCode returns true when this recalculate payment request unauthorized response a status code equal to that given

func (*RecalculatePaymentRequestUnauthorized) IsRedirect

IsRedirect returns true when this recalculate payment request unauthorized response has a 3xx status code

func (*RecalculatePaymentRequestUnauthorized) IsServerError

func (o *RecalculatePaymentRequestUnauthorized) IsServerError() bool

IsServerError returns true when this recalculate payment request unauthorized response has a 5xx status code

func (*RecalculatePaymentRequestUnauthorized) IsSuccess

IsSuccess returns true when this recalculate payment request unauthorized response has a 2xx status code

func (*RecalculatePaymentRequestUnauthorized) String

type RecalculatePaymentRequestUnprocessableEntity

type RecalculatePaymentRequestUnprocessableEntity struct {
	Payload *supportmessages.ValidationError
}

RecalculatePaymentRequestUnprocessableEntity describes a response with status code 422, with default header values.

The payload was unprocessable.

func NewRecalculatePaymentRequestUnprocessableEntity

func NewRecalculatePaymentRequestUnprocessableEntity() *RecalculatePaymentRequestUnprocessableEntity

NewRecalculatePaymentRequestUnprocessableEntity creates a RecalculatePaymentRequestUnprocessableEntity with default headers values

func (*RecalculatePaymentRequestUnprocessableEntity) Code

Code gets the status code for the recalculate payment request unprocessable entity response

func (*RecalculatePaymentRequestUnprocessableEntity) Error

func (*RecalculatePaymentRequestUnprocessableEntity) GetPayload

func (*RecalculatePaymentRequestUnprocessableEntity) IsClientError

IsClientError returns true when this recalculate payment request unprocessable entity response has a 4xx status code

func (*RecalculatePaymentRequestUnprocessableEntity) IsCode

IsCode returns true when this recalculate payment request unprocessable entity response a status code equal to that given

func (*RecalculatePaymentRequestUnprocessableEntity) IsRedirect

IsRedirect returns true when this recalculate payment request unprocessable entity response has a 3xx status code

func (*RecalculatePaymentRequestUnprocessableEntity) IsServerError

IsServerError returns true when this recalculate payment request unprocessable entity response has a 5xx status code

func (*RecalculatePaymentRequestUnprocessableEntity) IsSuccess

IsSuccess returns true when this recalculate payment request unprocessable entity response has a 2xx status code

func (*RecalculatePaymentRequestUnprocessableEntity) String

type UpdatePaymentRequestStatusBadRequest

type UpdatePaymentRequestStatusBadRequest struct {
	Payload *supportmessages.ClientError
}

UpdatePaymentRequestStatusBadRequest describes a response with status code 400, with default header values.

The request payload is invalid.

func NewUpdatePaymentRequestStatusBadRequest

func NewUpdatePaymentRequestStatusBadRequest() *UpdatePaymentRequestStatusBadRequest

NewUpdatePaymentRequestStatusBadRequest creates a UpdatePaymentRequestStatusBadRequest with default headers values

func (*UpdatePaymentRequestStatusBadRequest) Code

Code gets the status code for the update payment request status bad request response

func (*UpdatePaymentRequestStatusBadRequest) Error

func (*UpdatePaymentRequestStatusBadRequest) GetPayload

func (*UpdatePaymentRequestStatusBadRequest) IsClientError

func (o *UpdatePaymentRequestStatusBadRequest) IsClientError() bool

IsClientError returns true when this update payment request status bad request response has a 4xx status code

func (*UpdatePaymentRequestStatusBadRequest) IsCode

IsCode returns true when this update payment request status bad request response a status code equal to that given

func (*UpdatePaymentRequestStatusBadRequest) IsRedirect

IsRedirect returns true when this update payment request status bad request response has a 3xx status code

func (*UpdatePaymentRequestStatusBadRequest) IsServerError

func (o *UpdatePaymentRequestStatusBadRequest) IsServerError() bool

IsServerError returns true when this update payment request status bad request response has a 5xx status code

func (*UpdatePaymentRequestStatusBadRequest) IsSuccess

IsSuccess returns true when this update payment request status bad request response has a 2xx status code

func (*UpdatePaymentRequestStatusBadRequest) String

type UpdatePaymentRequestStatusConflict

type UpdatePaymentRequestStatusConflict struct {
	Payload *supportmessages.ClientError
}

UpdatePaymentRequestStatusConflict describes a response with status code 409, with default header values.

There was a conflict with the request.

func NewUpdatePaymentRequestStatusConflict

func NewUpdatePaymentRequestStatusConflict() *UpdatePaymentRequestStatusConflict

NewUpdatePaymentRequestStatusConflict creates a UpdatePaymentRequestStatusConflict with default headers values

func (*UpdatePaymentRequestStatusConflict) Code

Code gets the status code for the update payment request status conflict response

func (*UpdatePaymentRequestStatusConflict) Error

func (*UpdatePaymentRequestStatusConflict) GetPayload

func (*UpdatePaymentRequestStatusConflict) IsClientError

func (o *UpdatePaymentRequestStatusConflict) IsClientError() bool

IsClientError returns true when this update payment request status conflict response has a 4xx status code

func (*UpdatePaymentRequestStatusConflict) IsCode

IsCode returns true when this update payment request status conflict response a status code equal to that given

func (*UpdatePaymentRequestStatusConflict) IsRedirect

func (o *UpdatePaymentRequestStatusConflict) IsRedirect() bool

IsRedirect returns true when this update payment request status conflict response has a 3xx status code

func (*UpdatePaymentRequestStatusConflict) IsServerError

func (o *UpdatePaymentRequestStatusConflict) IsServerError() bool

IsServerError returns true when this update payment request status conflict response has a 5xx status code

func (*UpdatePaymentRequestStatusConflict) IsSuccess

IsSuccess returns true when this update payment request status conflict response has a 2xx status code

func (*UpdatePaymentRequestStatusConflict) String

type UpdatePaymentRequestStatusForbidden

type UpdatePaymentRequestStatusForbidden struct {
	Payload *supportmessages.ClientError
}

UpdatePaymentRequestStatusForbidden describes a response with status code 403, with default header values.

The request was denied.

func NewUpdatePaymentRequestStatusForbidden

func NewUpdatePaymentRequestStatusForbidden() *UpdatePaymentRequestStatusForbidden

NewUpdatePaymentRequestStatusForbidden creates a UpdatePaymentRequestStatusForbidden with default headers values

func (*UpdatePaymentRequestStatusForbidden) Code

Code gets the status code for the update payment request status forbidden response

func (*UpdatePaymentRequestStatusForbidden) Error

func (*UpdatePaymentRequestStatusForbidden) GetPayload

func (*UpdatePaymentRequestStatusForbidden) IsClientError

func (o *UpdatePaymentRequestStatusForbidden) IsClientError() bool

IsClientError returns true when this update payment request status forbidden response has a 4xx status code

func (*UpdatePaymentRequestStatusForbidden) IsCode

IsCode returns true when this update payment request status forbidden response a status code equal to that given

func (*UpdatePaymentRequestStatusForbidden) IsRedirect

func (o *UpdatePaymentRequestStatusForbidden) IsRedirect() bool

IsRedirect returns true when this update payment request status forbidden response has a 3xx status code

func (*UpdatePaymentRequestStatusForbidden) IsServerError

func (o *UpdatePaymentRequestStatusForbidden) IsServerError() bool

IsServerError returns true when this update payment request status forbidden response has a 5xx status code

func (*UpdatePaymentRequestStatusForbidden) IsSuccess

IsSuccess returns true when this update payment request status forbidden response has a 2xx status code

func (*UpdatePaymentRequestStatusForbidden) String

type UpdatePaymentRequestStatusInternalServerError

type UpdatePaymentRequestStatusInternalServerError struct {
	Payload *supportmessages.Error
}

UpdatePaymentRequestStatusInternalServerError describes a response with status code 500, with default header values.

A server error occurred.

func NewUpdatePaymentRequestStatusInternalServerError

func NewUpdatePaymentRequestStatusInternalServerError() *UpdatePaymentRequestStatusInternalServerError

NewUpdatePaymentRequestStatusInternalServerError creates a UpdatePaymentRequestStatusInternalServerError with default headers values

func (*UpdatePaymentRequestStatusInternalServerError) Code

Code gets the status code for the update payment request status internal server error response

func (*UpdatePaymentRequestStatusInternalServerError) Error

func (*UpdatePaymentRequestStatusInternalServerError) GetPayload

func (*UpdatePaymentRequestStatusInternalServerError) IsClientError

IsClientError returns true when this update payment request status internal server error response has a 4xx status code

func (*UpdatePaymentRequestStatusInternalServerError) IsCode

IsCode returns true when this update payment request status internal server error response a status code equal to that given

func (*UpdatePaymentRequestStatusInternalServerError) IsRedirect

IsRedirect returns true when this update payment request status internal server error response has a 3xx status code

func (*UpdatePaymentRequestStatusInternalServerError) IsServerError

IsServerError returns true when this update payment request status internal server error response has a 5xx status code

func (*UpdatePaymentRequestStatusInternalServerError) IsSuccess

IsSuccess returns true when this update payment request status internal server error response has a 2xx status code

func (*UpdatePaymentRequestStatusInternalServerError) String

type UpdatePaymentRequestStatusNotFound

type UpdatePaymentRequestStatusNotFound struct {
	Payload *supportmessages.ClientError
}

UpdatePaymentRequestStatusNotFound describes a response with status code 404, with default header values.

The requested resource wasn't found.

func NewUpdatePaymentRequestStatusNotFound

func NewUpdatePaymentRequestStatusNotFound() *UpdatePaymentRequestStatusNotFound

NewUpdatePaymentRequestStatusNotFound creates a UpdatePaymentRequestStatusNotFound with default headers values

func (*UpdatePaymentRequestStatusNotFound) Code

Code gets the status code for the update payment request status not found response

func (*UpdatePaymentRequestStatusNotFound) Error

func (*UpdatePaymentRequestStatusNotFound) GetPayload

func (*UpdatePaymentRequestStatusNotFound) IsClientError

func (o *UpdatePaymentRequestStatusNotFound) IsClientError() bool

IsClientError returns true when this update payment request status not found response has a 4xx status code

func (*UpdatePaymentRequestStatusNotFound) IsCode

IsCode returns true when this update payment request status not found response a status code equal to that given

func (*UpdatePaymentRequestStatusNotFound) IsRedirect

func (o *UpdatePaymentRequestStatusNotFound) IsRedirect() bool

IsRedirect returns true when this update payment request status not found response has a 3xx status code

func (*UpdatePaymentRequestStatusNotFound) IsServerError

func (o *UpdatePaymentRequestStatusNotFound) IsServerError() bool

IsServerError returns true when this update payment request status not found response has a 5xx status code

func (*UpdatePaymentRequestStatusNotFound) IsSuccess

IsSuccess returns true when this update payment request status not found response has a 2xx status code

func (*UpdatePaymentRequestStatusNotFound) String

type UpdatePaymentRequestStatusOK

type UpdatePaymentRequestStatusOK struct {
	Payload *supportmessages.PaymentRequest
}

UpdatePaymentRequestStatusOK describes a response with status code 200, with default header values.

Successfully updated payment request status.

func NewUpdatePaymentRequestStatusOK

func NewUpdatePaymentRequestStatusOK() *UpdatePaymentRequestStatusOK

NewUpdatePaymentRequestStatusOK creates a UpdatePaymentRequestStatusOK with default headers values

func (*UpdatePaymentRequestStatusOK) Code

Code gets the status code for the update payment request status o k response

func (*UpdatePaymentRequestStatusOK) Error

func (*UpdatePaymentRequestStatusOK) GetPayload

func (*UpdatePaymentRequestStatusOK) IsClientError

func (o *UpdatePaymentRequestStatusOK) IsClientError() bool

IsClientError returns true when this update payment request status o k response has a 4xx status code

func (*UpdatePaymentRequestStatusOK) IsCode

func (o *UpdatePaymentRequestStatusOK) IsCode(code int) bool

IsCode returns true when this update payment request status o k response a status code equal to that given

func (*UpdatePaymentRequestStatusOK) IsRedirect

func (o *UpdatePaymentRequestStatusOK) IsRedirect() bool

IsRedirect returns true when this update payment request status o k response has a 3xx status code

func (*UpdatePaymentRequestStatusOK) IsServerError

func (o *UpdatePaymentRequestStatusOK) IsServerError() bool

IsServerError returns true when this update payment request status o k response has a 5xx status code

func (*UpdatePaymentRequestStatusOK) IsSuccess

func (o *UpdatePaymentRequestStatusOK) IsSuccess() bool

IsSuccess returns true when this update payment request status o k response has a 2xx status code

func (*UpdatePaymentRequestStatusOK) String

type UpdatePaymentRequestStatusParams

type UpdatePaymentRequestStatusParams struct {

	/* IfMatch.

	   Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error.

	*/
	IfMatch string

	// Body.
	Body *supportmessages.UpdatePaymentRequestStatus

	/* PaymentRequestID.

	   UUID of payment request.

	   Format: uuid
	*/
	PaymentRequestID strfmt.UUID

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdatePaymentRequestStatusParams contains all the parameters to send to the API endpoint

for the update payment request status operation.

Typically these are written to a http.Request.

func NewUpdatePaymentRequestStatusParams

func NewUpdatePaymentRequestStatusParams() *UpdatePaymentRequestStatusParams

NewUpdatePaymentRequestStatusParams creates a new UpdatePaymentRequestStatusParams 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 NewUpdatePaymentRequestStatusParamsWithContext

func NewUpdatePaymentRequestStatusParamsWithContext(ctx context.Context) *UpdatePaymentRequestStatusParams

NewUpdatePaymentRequestStatusParamsWithContext creates a new UpdatePaymentRequestStatusParams object with the ability to set a context for a request.

func NewUpdatePaymentRequestStatusParamsWithHTTPClient

func NewUpdatePaymentRequestStatusParamsWithHTTPClient(client *http.Client) *UpdatePaymentRequestStatusParams

NewUpdatePaymentRequestStatusParamsWithHTTPClient creates a new UpdatePaymentRequestStatusParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePaymentRequestStatusParamsWithTimeout

func NewUpdatePaymentRequestStatusParamsWithTimeout(timeout time.Duration) *UpdatePaymentRequestStatusParams

NewUpdatePaymentRequestStatusParamsWithTimeout creates a new UpdatePaymentRequestStatusParams object with the ability to set a timeout on a request.

func (*UpdatePaymentRequestStatusParams) SetBody

SetBody adds the body to the update payment request status params

func (*UpdatePaymentRequestStatusParams) SetContext

SetContext adds the context to the update payment request status params

func (*UpdatePaymentRequestStatusParams) SetDefaults

func (o *UpdatePaymentRequestStatusParams) SetDefaults()

SetDefaults hydrates default values in the update payment request status params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatePaymentRequestStatusParams) SetHTTPClient

func (o *UpdatePaymentRequestStatusParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update payment request status params

func (*UpdatePaymentRequestStatusParams) SetIfMatch

func (o *UpdatePaymentRequestStatusParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the update payment request status params

func (*UpdatePaymentRequestStatusParams) SetPaymentRequestID

func (o *UpdatePaymentRequestStatusParams) SetPaymentRequestID(paymentRequestID strfmt.UUID)

SetPaymentRequestID adds the paymentRequestId to the update payment request status params

func (*UpdatePaymentRequestStatusParams) SetTimeout

func (o *UpdatePaymentRequestStatusParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update payment request status params

func (*UpdatePaymentRequestStatusParams) WithBody

WithBody adds the body to the update payment request status params

func (*UpdatePaymentRequestStatusParams) WithContext

WithContext adds the context to the update payment request status params

func (*UpdatePaymentRequestStatusParams) WithDefaults

WithDefaults hydrates default values in the update payment request status params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatePaymentRequestStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update payment request status params

func (*UpdatePaymentRequestStatusParams) WithIfMatch

WithIfMatch adds the ifMatch to the update payment request status params

func (*UpdatePaymentRequestStatusParams) WithPaymentRequestID

func (o *UpdatePaymentRequestStatusParams) WithPaymentRequestID(paymentRequestID strfmt.UUID) *UpdatePaymentRequestStatusParams

WithPaymentRequestID adds the paymentRequestID to the update payment request status params

func (*UpdatePaymentRequestStatusParams) WithTimeout

WithTimeout adds the timeout to the update payment request status params

func (*UpdatePaymentRequestStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePaymentRequestStatusPreconditionFailed

type UpdatePaymentRequestStatusPreconditionFailed struct {
	Payload *supportmessages.ClientError
}

UpdatePaymentRequestStatusPreconditionFailed describes a response with status code 412, with default header values.

Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.

func NewUpdatePaymentRequestStatusPreconditionFailed

func NewUpdatePaymentRequestStatusPreconditionFailed() *UpdatePaymentRequestStatusPreconditionFailed

NewUpdatePaymentRequestStatusPreconditionFailed creates a UpdatePaymentRequestStatusPreconditionFailed with default headers values

func (*UpdatePaymentRequestStatusPreconditionFailed) Code

Code gets the status code for the update payment request status precondition failed response

func (*UpdatePaymentRequestStatusPreconditionFailed) Error

func (*UpdatePaymentRequestStatusPreconditionFailed) GetPayload

func (*UpdatePaymentRequestStatusPreconditionFailed) IsClientError

IsClientError returns true when this update payment request status precondition failed response has a 4xx status code

func (*UpdatePaymentRequestStatusPreconditionFailed) IsCode

IsCode returns true when this update payment request status precondition failed response a status code equal to that given

func (*UpdatePaymentRequestStatusPreconditionFailed) IsRedirect

IsRedirect returns true when this update payment request status precondition failed response has a 3xx status code

func (*UpdatePaymentRequestStatusPreconditionFailed) IsServerError

IsServerError returns true when this update payment request status precondition failed response has a 5xx status code

func (*UpdatePaymentRequestStatusPreconditionFailed) IsSuccess

IsSuccess returns true when this update payment request status precondition failed response has a 2xx status code

func (*UpdatePaymentRequestStatusPreconditionFailed) String

type UpdatePaymentRequestStatusReader

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

UpdatePaymentRequestStatusReader is a Reader for the UpdatePaymentRequestStatus structure.

func (*UpdatePaymentRequestStatusReader) ReadResponse

func (o *UpdatePaymentRequestStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdatePaymentRequestStatusUnauthorized

type UpdatePaymentRequestStatusUnauthorized struct {
	Payload *supportmessages.ClientError
}

UpdatePaymentRequestStatusUnauthorized describes a response with status code 401, with default header values.

The request was denied.

func NewUpdatePaymentRequestStatusUnauthorized

func NewUpdatePaymentRequestStatusUnauthorized() *UpdatePaymentRequestStatusUnauthorized

NewUpdatePaymentRequestStatusUnauthorized creates a UpdatePaymentRequestStatusUnauthorized with default headers values

func (*UpdatePaymentRequestStatusUnauthorized) Code

Code gets the status code for the update payment request status unauthorized response

func (*UpdatePaymentRequestStatusUnauthorized) Error

func (*UpdatePaymentRequestStatusUnauthorized) GetPayload

func (*UpdatePaymentRequestStatusUnauthorized) IsClientError

func (o *UpdatePaymentRequestStatusUnauthorized) IsClientError() bool

IsClientError returns true when this update payment request status unauthorized response has a 4xx status code

func (*UpdatePaymentRequestStatusUnauthorized) IsCode

IsCode returns true when this update payment request status unauthorized response a status code equal to that given

func (*UpdatePaymentRequestStatusUnauthorized) IsRedirect

IsRedirect returns true when this update payment request status unauthorized response has a 3xx status code

func (*UpdatePaymentRequestStatusUnauthorized) IsServerError

func (o *UpdatePaymentRequestStatusUnauthorized) IsServerError() bool

IsServerError returns true when this update payment request status unauthorized response has a 5xx status code

func (*UpdatePaymentRequestStatusUnauthorized) IsSuccess

IsSuccess returns true when this update payment request status unauthorized response has a 2xx status code

func (*UpdatePaymentRequestStatusUnauthorized) String

type UpdatePaymentRequestStatusUnprocessableEntity

type UpdatePaymentRequestStatusUnprocessableEntity struct {
	Payload *supportmessages.ValidationError
}

UpdatePaymentRequestStatusUnprocessableEntity describes a response with status code 422, with default header values.

The payload was unprocessable.

func NewUpdatePaymentRequestStatusUnprocessableEntity

func NewUpdatePaymentRequestStatusUnprocessableEntity() *UpdatePaymentRequestStatusUnprocessableEntity

NewUpdatePaymentRequestStatusUnprocessableEntity creates a UpdatePaymentRequestStatusUnprocessableEntity with default headers values

func (*UpdatePaymentRequestStatusUnprocessableEntity) Code

Code gets the status code for the update payment request status unprocessable entity response

func (*UpdatePaymentRequestStatusUnprocessableEntity) Error

func (*UpdatePaymentRequestStatusUnprocessableEntity) GetPayload

func (*UpdatePaymentRequestStatusUnprocessableEntity) IsClientError

IsClientError returns true when this update payment request status unprocessable entity response has a 4xx status code

func (*UpdatePaymentRequestStatusUnprocessableEntity) IsCode

IsCode returns true when this update payment request status unprocessable entity response a status code equal to that given

func (*UpdatePaymentRequestStatusUnprocessableEntity) IsRedirect

IsRedirect returns true when this update payment request status unprocessable entity response has a 3xx status code

func (*UpdatePaymentRequestStatusUnprocessableEntity) IsServerError

IsServerError returns true when this update payment request status unprocessable entity response has a 5xx status code

func (*UpdatePaymentRequestStatusUnprocessableEntity) IsSuccess

IsSuccess returns true when this update payment request status unprocessable entity response has a 2xx status code

func (*UpdatePaymentRequestStatusUnprocessableEntity) String

Jump to

Keyboard shortcuts

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