Documentation ¶
Index ¶
- type CancelTerminalCheckoutOK
- type CancelTerminalCheckoutParams
- func NewCancelTerminalCheckoutParams() *CancelTerminalCheckoutParams
- func NewCancelTerminalCheckoutParamsWithContext(ctx context.Context) *CancelTerminalCheckoutParams
- func NewCancelTerminalCheckoutParamsWithHTTPClient(client *http.Client) *CancelTerminalCheckoutParams
- func NewCancelTerminalCheckoutParamsWithTimeout(timeout time.Duration) *CancelTerminalCheckoutParams
- func (o *CancelTerminalCheckoutParams) SetCheckoutID(checkoutID string)
- func (o *CancelTerminalCheckoutParams) SetContext(ctx context.Context)
- func (o *CancelTerminalCheckoutParams) SetDefaults()
- func (o *CancelTerminalCheckoutParams) SetHTTPClient(client *http.Client)
- func (o *CancelTerminalCheckoutParams) SetTimeout(timeout time.Duration)
- func (o *CancelTerminalCheckoutParams) WithCheckoutID(checkoutID string) *CancelTerminalCheckoutParams
- func (o *CancelTerminalCheckoutParams) WithContext(ctx context.Context) *CancelTerminalCheckoutParams
- func (o *CancelTerminalCheckoutParams) WithDefaults() *CancelTerminalCheckoutParams
- func (o *CancelTerminalCheckoutParams) WithHTTPClient(client *http.Client) *CancelTerminalCheckoutParams
- func (o *CancelTerminalCheckoutParams) WithTimeout(timeout time.Duration) *CancelTerminalCheckoutParams
- func (o *CancelTerminalCheckoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelTerminalCheckoutReader
- type CancelTerminalRefundOK
- type CancelTerminalRefundParams
- func NewCancelTerminalRefundParams() *CancelTerminalRefundParams
- func NewCancelTerminalRefundParamsWithContext(ctx context.Context) *CancelTerminalRefundParams
- func NewCancelTerminalRefundParamsWithHTTPClient(client *http.Client) *CancelTerminalRefundParams
- func NewCancelTerminalRefundParamsWithTimeout(timeout time.Duration) *CancelTerminalRefundParams
- func (o *CancelTerminalRefundParams) SetContext(ctx context.Context)
- func (o *CancelTerminalRefundParams) SetDefaults()
- func (o *CancelTerminalRefundParams) SetHTTPClient(client *http.Client)
- func (o *CancelTerminalRefundParams) SetTerminalRefundID(terminalRefundID string)
- func (o *CancelTerminalRefundParams) SetTimeout(timeout time.Duration)
- func (o *CancelTerminalRefundParams) WithContext(ctx context.Context) *CancelTerminalRefundParams
- func (o *CancelTerminalRefundParams) WithDefaults() *CancelTerminalRefundParams
- func (o *CancelTerminalRefundParams) WithHTTPClient(client *http.Client) *CancelTerminalRefundParams
- func (o *CancelTerminalRefundParams) WithTerminalRefundID(terminalRefundID string) *CancelTerminalRefundParams
- func (o *CancelTerminalRefundParams) WithTimeout(timeout time.Duration) *CancelTerminalRefundParams
- func (o *CancelTerminalRefundParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelTerminalRefundReader
- type Client
- func (a *Client) CancelTerminalCheckout(params *CancelTerminalCheckoutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CancelTerminalCheckoutOK, error)
- func (a *Client) CancelTerminalRefund(params *CancelTerminalRefundParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CancelTerminalRefundOK, error)
- func (a *Client) CreateTerminalCheckout(params *CreateTerminalCheckoutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTerminalCheckoutOK, error)
- func (a *Client) CreateTerminalRefund(params *CreateTerminalRefundParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTerminalRefundOK, error)
- func (a *Client) GetTerminalCheckout(params *GetTerminalCheckoutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTerminalCheckoutOK, error)
- func (a *Client) GetTerminalRefund(params *GetTerminalRefundParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTerminalRefundOK, error)
- func (a *Client) SearchTerminalCheckouts(params *SearchTerminalCheckoutsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchTerminalCheckoutsOK, error)
- func (a *Client) SearchTerminalRefunds(params *SearchTerminalRefundsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchTerminalRefundsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateTerminalCheckoutOK
- type CreateTerminalCheckoutParams
- func NewCreateTerminalCheckoutParams() *CreateTerminalCheckoutParams
- func NewCreateTerminalCheckoutParamsWithContext(ctx context.Context) *CreateTerminalCheckoutParams
- func NewCreateTerminalCheckoutParamsWithHTTPClient(client *http.Client) *CreateTerminalCheckoutParams
- func NewCreateTerminalCheckoutParamsWithTimeout(timeout time.Duration) *CreateTerminalCheckoutParams
- func (o *CreateTerminalCheckoutParams) SetBody(body *models.CreateTerminalCheckoutRequest)
- func (o *CreateTerminalCheckoutParams) SetContext(ctx context.Context)
- func (o *CreateTerminalCheckoutParams) SetDefaults()
- func (o *CreateTerminalCheckoutParams) SetHTTPClient(client *http.Client)
- func (o *CreateTerminalCheckoutParams) SetTimeout(timeout time.Duration)
- func (o *CreateTerminalCheckoutParams) WithBody(body *models.CreateTerminalCheckoutRequest) *CreateTerminalCheckoutParams
- func (o *CreateTerminalCheckoutParams) WithContext(ctx context.Context) *CreateTerminalCheckoutParams
- func (o *CreateTerminalCheckoutParams) WithDefaults() *CreateTerminalCheckoutParams
- func (o *CreateTerminalCheckoutParams) WithHTTPClient(client *http.Client) *CreateTerminalCheckoutParams
- func (o *CreateTerminalCheckoutParams) WithTimeout(timeout time.Duration) *CreateTerminalCheckoutParams
- func (o *CreateTerminalCheckoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTerminalCheckoutReader
- type CreateTerminalRefundOK
- type CreateTerminalRefundParams
- func NewCreateTerminalRefundParams() *CreateTerminalRefundParams
- func NewCreateTerminalRefundParamsWithContext(ctx context.Context) *CreateTerminalRefundParams
- func NewCreateTerminalRefundParamsWithHTTPClient(client *http.Client) *CreateTerminalRefundParams
- func NewCreateTerminalRefundParamsWithTimeout(timeout time.Duration) *CreateTerminalRefundParams
- func (o *CreateTerminalRefundParams) SetBody(body *models.CreateTerminalRefundRequest)
- func (o *CreateTerminalRefundParams) SetContext(ctx context.Context)
- func (o *CreateTerminalRefundParams) SetDefaults()
- func (o *CreateTerminalRefundParams) SetHTTPClient(client *http.Client)
- func (o *CreateTerminalRefundParams) SetTimeout(timeout time.Duration)
- func (o *CreateTerminalRefundParams) WithBody(body *models.CreateTerminalRefundRequest) *CreateTerminalRefundParams
- func (o *CreateTerminalRefundParams) WithContext(ctx context.Context) *CreateTerminalRefundParams
- func (o *CreateTerminalRefundParams) WithDefaults() *CreateTerminalRefundParams
- func (o *CreateTerminalRefundParams) WithHTTPClient(client *http.Client) *CreateTerminalRefundParams
- func (o *CreateTerminalRefundParams) WithTimeout(timeout time.Duration) *CreateTerminalRefundParams
- func (o *CreateTerminalRefundParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTerminalRefundReader
- type GetTerminalCheckoutOK
- type GetTerminalCheckoutParams
- func NewGetTerminalCheckoutParams() *GetTerminalCheckoutParams
- func NewGetTerminalCheckoutParamsWithContext(ctx context.Context) *GetTerminalCheckoutParams
- func NewGetTerminalCheckoutParamsWithHTTPClient(client *http.Client) *GetTerminalCheckoutParams
- func NewGetTerminalCheckoutParamsWithTimeout(timeout time.Duration) *GetTerminalCheckoutParams
- func (o *GetTerminalCheckoutParams) SetCheckoutID(checkoutID string)
- func (o *GetTerminalCheckoutParams) SetContext(ctx context.Context)
- func (o *GetTerminalCheckoutParams) SetDefaults()
- func (o *GetTerminalCheckoutParams) SetHTTPClient(client *http.Client)
- func (o *GetTerminalCheckoutParams) SetTimeout(timeout time.Duration)
- func (o *GetTerminalCheckoutParams) WithCheckoutID(checkoutID string) *GetTerminalCheckoutParams
- func (o *GetTerminalCheckoutParams) WithContext(ctx context.Context) *GetTerminalCheckoutParams
- func (o *GetTerminalCheckoutParams) WithDefaults() *GetTerminalCheckoutParams
- func (o *GetTerminalCheckoutParams) WithHTTPClient(client *http.Client) *GetTerminalCheckoutParams
- func (o *GetTerminalCheckoutParams) WithTimeout(timeout time.Duration) *GetTerminalCheckoutParams
- func (o *GetTerminalCheckoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTerminalCheckoutReader
- type GetTerminalRefundOK
- type GetTerminalRefundParams
- func NewGetTerminalRefundParams() *GetTerminalRefundParams
- func NewGetTerminalRefundParamsWithContext(ctx context.Context) *GetTerminalRefundParams
- func NewGetTerminalRefundParamsWithHTTPClient(client *http.Client) *GetTerminalRefundParams
- func NewGetTerminalRefundParamsWithTimeout(timeout time.Duration) *GetTerminalRefundParams
- func (o *GetTerminalRefundParams) SetContext(ctx context.Context)
- func (o *GetTerminalRefundParams) SetDefaults()
- func (o *GetTerminalRefundParams) SetHTTPClient(client *http.Client)
- func (o *GetTerminalRefundParams) SetTerminalRefundID(terminalRefundID string)
- func (o *GetTerminalRefundParams) SetTimeout(timeout time.Duration)
- func (o *GetTerminalRefundParams) WithContext(ctx context.Context) *GetTerminalRefundParams
- func (o *GetTerminalRefundParams) WithDefaults() *GetTerminalRefundParams
- func (o *GetTerminalRefundParams) WithHTTPClient(client *http.Client) *GetTerminalRefundParams
- func (o *GetTerminalRefundParams) WithTerminalRefundID(terminalRefundID string) *GetTerminalRefundParams
- func (o *GetTerminalRefundParams) WithTimeout(timeout time.Duration) *GetTerminalRefundParams
- func (o *GetTerminalRefundParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTerminalRefundReader
- type SearchTerminalCheckoutsOK
- type SearchTerminalCheckoutsParams
- func NewSearchTerminalCheckoutsParams() *SearchTerminalCheckoutsParams
- func NewSearchTerminalCheckoutsParamsWithContext(ctx context.Context) *SearchTerminalCheckoutsParams
- func NewSearchTerminalCheckoutsParamsWithHTTPClient(client *http.Client) *SearchTerminalCheckoutsParams
- func NewSearchTerminalCheckoutsParamsWithTimeout(timeout time.Duration) *SearchTerminalCheckoutsParams
- func (o *SearchTerminalCheckoutsParams) SetBody(body *models.SearchTerminalCheckoutsRequest)
- func (o *SearchTerminalCheckoutsParams) SetContext(ctx context.Context)
- func (o *SearchTerminalCheckoutsParams) SetDefaults()
- func (o *SearchTerminalCheckoutsParams) SetHTTPClient(client *http.Client)
- func (o *SearchTerminalCheckoutsParams) SetTimeout(timeout time.Duration)
- func (o *SearchTerminalCheckoutsParams) WithBody(body *models.SearchTerminalCheckoutsRequest) *SearchTerminalCheckoutsParams
- func (o *SearchTerminalCheckoutsParams) WithContext(ctx context.Context) *SearchTerminalCheckoutsParams
- func (o *SearchTerminalCheckoutsParams) WithDefaults() *SearchTerminalCheckoutsParams
- func (o *SearchTerminalCheckoutsParams) WithHTTPClient(client *http.Client) *SearchTerminalCheckoutsParams
- func (o *SearchTerminalCheckoutsParams) WithTimeout(timeout time.Duration) *SearchTerminalCheckoutsParams
- func (o *SearchTerminalCheckoutsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchTerminalCheckoutsReader
- type SearchTerminalRefundsOK
- type SearchTerminalRefundsParams
- func NewSearchTerminalRefundsParams() *SearchTerminalRefundsParams
- func NewSearchTerminalRefundsParamsWithContext(ctx context.Context) *SearchTerminalRefundsParams
- func NewSearchTerminalRefundsParamsWithHTTPClient(client *http.Client) *SearchTerminalRefundsParams
- func NewSearchTerminalRefundsParamsWithTimeout(timeout time.Duration) *SearchTerminalRefundsParams
- func (o *SearchTerminalRefundsParams) SetBody(body *models.SearchTerminalRefundsRequest)
- func (o *SearchTerminalRefundsParams) SetContext(ctx context.Context)
- func (o *SearchTerminalRefundsParams) SetDefaults()
- func (o *SearchTerminalRefundsParams) SetHTTPClient(client *http.Client)
- func (o *SearchTerminalRefundsParams) SetTimeout(timeout time.Duration)
- func (o *SearchTerminalRefundsParams) WithBody(body *models.SearchTerminalRefundsRequest) *SearchTerminalRefundsParams
- func (o *SearchTerminalRefundsParams) WithContext(ctx context.Context) *SearchTerminalRefundsParams
- func (o *SearchTerminalRefundsParams) WithDefaults() *SearchTerminalRefundsParams
- func (o *SearchTerminalRefundsParams) WithHTTPClient(client *http.Client) *SearchTerminalRefundsParams
- func (o *SearchTerminalRefundsParams) WithTimeout(timeout time.Duration) *SearchTerminalRefundsParams
- func (o *SearchTerminalRefundsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchTerminalRefundsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelTerminalCheckoutOK ¶
type CancelTerminalCheckoutOK struct {
Payload *models.CancelTerminalCheckoutResponse
}
CancelTerminalCheckoutOK describes a response with status code 200, with default header values.
Success
func NewCancelTerminalCheckoutOK ¶
func NewCancelTerminalCheckoutOK() *CancelTerminalCheckoutOK
NewCancelTerminalCheckoutOK creates a CancelTerminalCheckoutOK with default headers values
func (*CancelTerminalCheckoutOK) Error ¶
func (o *CancelTerminalCheckoutOK) Error() string
func (*CancelTerminalCheckoutOK) GetPayload ¶
func (o *CancelTerminalCheckoutOK) GetPayload() *models.CancelTerminalCheckoutResponse
type CancelTerminalCheckoutParams ¶
type CancelTerminalCheckoutParams struct { /* CheckoutID. Unique ID for the desired `TerminalCheckout` */ CheckoutID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CancelTerminalCheckoutParams contains all the parameters to send to the API endpoint
for the cancel terminal checkout operation. Typically these are written to a http.Request.
func NewCancelTerminalCheckoutParams ¶
func NewCancelTerminalCheckoutParams() *CancelTerminalCheckoutParams
NewCancelTerminalCheckoutParams creates a new CancelTerminalCheckoutParams 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 NewCancelTerminalCheckoutParamsWithContext ¶
func NewCancelTerminalCheckoutParamsWithContext(ctx context.Context) *CancelTerminalCheckoutParams
NewCancelTerminalCheckoutParamsWithContext creates a new CancelTerminalCheckoutParams object with the ability to set a context for a request.
func NewCancelTerminalCheckoutParamsWithHTTPClient ¶
func NewCancelTerminalCheckoutParamsWithHTTPClient(client *http.Client) *CancelTerminalCheckoutParams
NewCancelTerminalCheckoutParamsWithHTTPClient creates a new CancelTerminalCheckoutParams object with the ability to set a custom HTTPClient for a request.
func NewCancelTerminalCheckoutParamsWithTimeout ¶
func NewCancelTerminalCheckoutParamsWithTimeout(timeout time.Duration) *CancelTerminalCheckoutParams
NewCancelTerminalCheckoutParamsWithTimeout creates a new CancelTerminalCheckoutParams object with the ability to set a timeout on a request.
func (*CancelTerminalCheckoutParams) SetCheckoutID ¶
func (o *CancelTerminalCheckoutParams) SetCheckoutID(checkoutID string)
SetCheckoutID adds the checkoutId to the cancel terminal checkout params
func (*CancelTerminalCheckoutParams) SetContext ¶
func (o *CancelTerminalCheckoutParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel terminal checkout params
func (*CancelTerminalCheckoutParams) SetDefaults ¶
func (o *CancelTerminalCheckoutParams) SetDefaults()
SetDefaults hydrates default values in the cancel terminal checkout params (not the query body).
All values with no default are reset to their zero value.
func (*CancelTerminalCheckoutParams) SetHTTPClient ¶
func (o *CancelTerminalCheckoutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel terminal checkout params
func (*CancelTerminalCheckoutParams) SetTimeout ¶
func (o *CancelTerminalCheckoutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel terminal checkout params
func (*CancelTerminalCheckoutParams) WithCheckoutID ¶
func (o *CancelTerminalCheckoutParams) WithCheckoutID(checkoutID string) *CancelTerminalCheckoutParams
WithCheckoutID adds the checkoutID to the cancel terminal checkout params
func (*CancelTerminalCheckoutParams) WithContext ¶
func (o *CancelTerminalCheckoutParams) WithContext(ctx context.Context) *CancelTerminalCheckoutParams
WithContext adds the context to the cancel terminal checkout params
func (*CancelTerminalCheckoutParams) WithDefaults ¶
func (o *CancelTerminalCheckoutParams) WithDefaults() *CancelTerminalCheckoutParams
WithDefaults hydrates default values in the cancel terminal checkout params (not the query body).
All values with no default are reset to their zero value.
func (*CancelTerminalCheckoutParams) WithHTTPClient ¶
func (o *CancelTerminalCheckoutParams) WithHTTPClient(client *http.Client) *CancelTerminalCheckoutParams
WithHTTPClient adds the HTTPClient to the cancel terminal checkout params
func (*CancelTerminalCheckoutParams) WithTimeout ¶
func (o *CancelTerminalCheckoutParams) WithTimeout(timeout time.Duration) *CancelTerminalCheckoutParams
WithTimeout adds the timeout to the cancel terminal checkout params
func (*CancelTerminalCheckoutParams) WriteToRequest ¶
func (o *CancelTerminalCheckoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelTerminalCheckoutReader ¶
type CancelTerminalCheckoutReader struct {
// contains filtered or unexported fields
}
CancelTerminalCheckoutReader is a Reader for the CancelTerminalCheckout structure.
func (*CancelTerminalCheckoutReader) ReadResponse ¶
func (o *CancelTerminalCheckoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CancelTerminalRefundOK ¶
type CancelTerminalRefundOK struct {
Payload *models.CancelTerminalRefundResponse
}
CancelTerminalRefundOK describes a response with status code 200, with default header values.
Success
func NewCancelTerminalRefundOK ¶
func NewCancelTerminalRefundOK() *CancelTerminalRefundOK
NewCancelTerminalRefundOK creates a CancelTerminalRefundOK with default headers values
func (*CancelTerminalRefundOK) Error ¶
func (o *CancelTerminalRefundOK) Error() string
func (*CancelTerminalRefundOK) GetPayload ¶
func (o *CancelTerminalRefundOK) GetPayload() *models.CancelTerminalRefundResponse
type CancelTerminalRefundParams ¶
type CancelTerminalRefundParams struct { /* TerminalRefundID. Unique ID for the desired `TerminalRefund` */ TerminalRefundID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CancelTerminalRefundParams contains all the parameters to send to the API endpoint
for the cancel terminal refund operation. Typically these are written to a http.Request.
func NewCancelTerminalRefundParams ¶
func NewCancelTerminalRefundParams() *CancelTerminalRefundParams
NewCancelTerminalRefundParams creates a new CancelTerminalRefundParams 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 NewCancelTerminalRefundParamsWithContext ¶
func NewCancelTerminalRefundParamsWithContext(ctx context.Context) *CancelTerminalRefundParams
NewCancelTerminalRefundParamsWithContext creates a new CancelTerminalRefundParams object with the ability to set a context for a request.
func NewCancelTerminalRefundParamsWithHTTPClient ¶
func NewCancelTerminalRefundParamsWithHTTPClient(client *http.Client) *CancelTerminalRefundParams
NewCancelTerminalRefundParamsWithHTTPClient creates a new CancelTerminalRefundParams object with the ability to set a custom HTTPClient for a request.
func NewCancelTerminalRefundParamsWithTimeout ¶
func NewCancelTerminalRefundParamsWithTimeout(timeout time.Duration) *CancelTerminalRefundParams
NewCancelTerminalRefundParamsWithTimeout creates a new CancelTerminalRefundParams object with the ability to set a timeout on a request.
func (*CancelTerminalRefundParams) SetContext ¶
func (o *CancelTerminalRefundParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel terminal refund params
func (*CancelTerminalRefundParams) SetDefaults ¶
func (o *CancelTerminalRefundParams) SetDefaults()
SetDefaults hydrates default values in the cancel terminal refund params (not the query body).
All values with no default are reset to their zero value.
func (*CancelTerminalRefundParams) SetHTTPClient ¶
func (o *CancelTerminalRefundParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel terminal refund params
func (*CancelTerminalRefundParams) SetTerminalRefundID ¶
func (o *CancelTerminalRefundParams) SetTerminalRefundID(terminalRefundID string)
SetTerminalRefundID adds the terminalRefundId to the cancel terminal refund params
func (*CancelTerminalRefundParams) SetTimeout ¶
func (o *CancelTerminalRefundParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel terminal refund params
func (*CancelTerminalRefundParams) WithContext ¶
func (o *CancelTerminalRefundParams) WithContext(ctx context.Context) *CancelTerminalRefundParams
WithContext adds the context to the cancel terminal refund params
func (*CancelTerminalRefundParams) WithDefaults ¶
func (o *CancelTerminalRefundParams) WithDefaults() *CancelTerminalRefundParams
WithDefaults hydrates default values in the cancel terminal refund params (not the query body).
All values with no default are reset to their zero value.
func (*CancelTerminalRefundParams) WithHTTPClient ¶
func (o *CancelTerminalRefundParams) WithHTTPClient(client *http.Client) *CancelTerminalRefundParams
WithHTTPClient adds the HTTPClient to the cancel terminal refund params
func (*CancelTerminalRefundParams) WithTerminalRefundID ¶
func (o *CancelTerminalRefundParams) WithTerminalRefundID(terminalRefundID string) *CancelTerminalRefundParams
WithTerminalRefundID adds the terminalRefundID to the cancel terminal refund params
func (*CancelTerminalRefundParams) WithTimeout ¶
func (o *CancelTerminalRefundParams) WithTimeout(timeout time.Duration) *CancelTerminalRefundParams
WithTimeout adds the timeout to the cancel terminal refund params
func (*CancelTerminalRefundParams) WriteToRequest ¶
func (o *CancelTerminalRefundParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelTerminalRefundReader ¶
type CancelTerminalRefundReader struct {
// contains filtered or unexported fields
}
CancelTerminalRefundReader is a Reader for the CancelTerminalRefund structure.
func (*CancelTerminalRefundReader) ReadResponse ¶
func (o *CancelTerminalRefundReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for terminal API
func (*Client) CancelTerminalCheckout ¶
func (a *Client) CancelTerminalCheckout(params *CancelTerminalCheckoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelTerminalCheckoutOK, error)
CancelTerminalCheckout cancels terminal checkout
Cancels a Terminal checkout request if the status of the request permits it.
func (*Client) CancelTerminalRefund ¶
func (a *Client) CancelTerminalRefund(params *CancelTerminalRefundParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelTerminalRefundOK, error)
CancelTerminalRefund cancels terminal refund
Cancels an Interac terminal refund request by refund request ID if the status of the request permits it.
func (*Client) CreateTerminalCheckout ¶
func (a *Client) CreateTerminalCheckout(params *CreateTerminalCheckoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTerminalCheckoutOK, error)
CreateTerminalCheckout creates terminal checkout
Creates a new Terminal checkout request and sends it to the specified device to take a payment for the requested amount.
func (*Client) CreateTerminalRefund ¶
func (a *Client) CreateTerminalRefund(params *CreateTerminalRefundParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTerminalRefundOK, error)
CreateTerminalRefund creates terminal refund
Creates a request to refund an Interac payment completed on a Square Terminal.
func (*Client) GetTerminalCheckout ¶
func (a *Client) GetTerminalCheckout(params *GetTerminalCheckoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTerminalCheckoutOK, error)
GetTerminalCheckout gets terminal checkout
Retrieves a Terminal checkout request by checkout_id.
func (*Client) GetTerminalRefund ¶
func (a *Client) GetTerminalRefund(params *GetTerminalRefundParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTerminalRefundOK, error)
GetTerminalRefund gets terminal refund
Retrieves an Interac terminal refund object by ID.
func (*Client) SearchTerminalCheckouts ¶
func (a *Client) SearchTerminalCheckouts(params *SearchTerminalCheckoutsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchTerminalCheckoutsOK, error)
SearchTerminalCheckouts searches terminal checkouts
Retrieves a filtered list of Terminal checkout requests created by the account making the request.
func (*Client) SearchTerminalRefunds ¶
func (a *Client) SearchTerminalRefunds(params *SearchTerminalRefundsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchTerminalRefundsOK, error)
SearchTerminalRefunds searches terminal refunds
Retrieves a filtered list of Terminal Interac refund requests created by the seller making the request.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CancelTerminalCheckout(params *CancelTerminalCheckoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelTerminalCheckoutOK, error) CancelTerminalRefund(params *CancelTerminalRefundParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelTerminalRefundOK, error) CreateTerminalCheckout(params *CreateTerminalCheckoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTerminalCheckoutOK, error) CreateTerminalRefund(params *CreateTerminalRefundParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTerminalRefundOK, error) GetTerminalCheckout(params *GetTerminalCheckoutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTerminalCheckoutOK, error) GetTerminalRefund(params *GetTerminalRefundParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTerminalRefundOK, error) SearchTerminalCheckouts(params *SearchTerminalCheckoutsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchTerminalCheckoutsOK, error) SearchTerminalRefunds(params *SearchTerminalRefundsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchTerminalRefundsOK, 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 terminal API client.
type CreateTerminalCheckoutOK ¶
type CreateTerminalCheckoutOK struct {
Payload *models.CreateTerminalCheckoutResponse
}
CreateTerminalCheckoutOK describes a response with status code 200, with default header values.
Success
func NewCreateTerminalCheckoutOK ¶
func NewCreateTerminalCheckoutOK() *CreateTerminalCheckoutOK
NewCreateTerminalCheckoutOK creates a CreateTerminalCheckoutOK with default headers values
func (*CreateTerminalCheckoutOK) Error ¶
func (o *CreateTerminalCheckoutOK) Error() string
func (*CreateTerminalCheckoutOK) GetPayload ¶
func (o *CreateTerminalCheckoutOK) GetPayload() *models.CreateTerminalCheckoutResponse
type CreateTerminalCheckoutParams ¶
type CreateTerminalCheckoutParams struct { /* Body. An object containing the fields to POST for the request. See the corresponding object definition for field details. */ Body *models.CreateTerminalCheckoutRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTerminalCheckoutParams contains all the parameters to send to the API endpoint
for the create terminal checkout operation. Typically these are written to a http.Request.
func NewCreateTerminalCheckoutParams ¶
func NewCreateTerminalCheckoutParams() *CreateTerminalCheckoutParams
NewCreateTerminalCheckoutParams creates a new CreateTerminalCheckoutParams 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 NewCreateTerminalCheckoutParamsWithContext ¶
func NewCreateTerminalCheckoutParamsWithContext(ctx context.Context) *CreateTerminalCheckoutParams
NewCreateTerminalCheckoutParamsWithContext creates a new CreateTerminalCheckoutParams object with the ability to set a context for a request.
func NewCreateTerminalCheckoutParamsWithHTTPClient ¶
func NewCreateTerminalCheckoutParamsWithHTTPClient(client *http.Client) *CreateTerminalCheckoutParams
NewCreateTerminalCheckoutParamsWithHTTPClient creates a new CreateTerminalCheckoutParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTerminalCheckoutParamsWithTimeout ¶
func NewCreateTerminalCheckoutParamsWithTimeout(timeout time.Duration) *CreateTerminalCheckoutParams
NewCreateTerminalCheckoutParamsWithTimeout creates a new CreateTerminalCheckoutParams object with the ability to set a timeout on a request.
func (*CreateTerminalCheckoutParams) SetBody ¶
func (o *CreateTerminalCheckoutParams) SetBody(body *models.CreateTerminalCheckoutRequest)
SetBody adds the body to the create terminal checkout params
func (*CreateTerminalCheckoutParams) SetContext ¶
func (o *CreateTerminalCheckoutParams) SetContext(ctx context.Context)
SetContext adds the context to the create terminal checkout params
func (*CreateTerminalCheckoutParams) SetDefaults ¶
func (o *CreateTerminalCheckoutParams) SetDefaults()
SetDefaults hydrates default values in the create terminal checkout params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTerminalCheckoutParams) SetHTTPClient ¶
func (o *CreateTerminalCheckoutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create terminal checkout params
func (*CreateTerminalCheckoutParams) SetTimeout ¶
func (o *CreateTerminalCheckoutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create terminal checkout params
func (*CreateTerminalCheckoutParams) WithBody ¶
func (o *CreateTerminalCheckoutParams) WithBody(body *models.CreateTerminalCheckoutRequest) *CreateTerminalCheckoutParams
WithBody adds the body to the create terminal checkout params
func (*CreateTerminalCheckoutParams) WithContext ¶
func (o *CreateTerminalCheckoutParams) WithContext(ctx context.Context) *CreateTerminalCheckoutParams
WithContext adds the context to the create terminal checkout params
func (*CreateTerminalCheckoutParams) WithDefaults ¶
func (o *CreateTerminalCheckoutParams) WithDefaults() *CreateTerminalCheckoutParams
WithDefaults hydrates default values in the create terminal checkout params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTerminalCheckoutParams) WithHTTPClient ¶
func (o *CreateTerminalCheckoutParams) WithHTTPClient(client *http.Client) *CreateTerminalCheckoutParams
WithHTTPClient adds the HTTPClient to the create terminal checkout params
func (*CreateTerminalCheckoutParams) WithTimeout ¶
func (o *CreateTerminalCheckoutParams) WithTimeout(timeout time.Duration) *CreateTerminalCheckoutParams
WithTimeout adds the timeout to the create terminal checkout params
func (*CreateTerminalCheckoutParams) WriteToRequest ¶
func (o *CreateTerminalCheckoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTerminalCheckoutReader ¶
type CreateTerminalCheckoutReader struct {
// contains filtered or unexported fields
}
CreateTerminalCheckoutReader is a Reader for the CreateTerminalCheckout structure.
func (*CreateTerminalCheckoutReader) ReadResponse ¶
func (o *CreateTerminalCheckoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateTerminalRefundOK ¶
type CreateTerminalRefundOK struct {
Payload *models.CreateTerminalRefundResponse
}
CreateTerminalRefundOK describes a response with status code 200, with default header values.
Success
func NewCreateTerminalRefundOK ¶
func NewCreateTerminalRefundOK() *CreateTerminalRefundOK
NewCreateTerminalRefundOK creates a CreateTerminalRefundOK with default headers values
func (*CreateTerminalRefundOK) Error ¶
func (o *CreateTerminalRefundOK) Error() string
func (*CreateTerminalRefundOK) GetPayload ¶
func (o *CreateTerminalRefundOK) GetPayload() *models.CreateTerminalRefundResponse
type CreateTerminalRefundParams ¶
type CreateTerminalRefundParams struct { /* Body. An object containing the fields to POST for the request. See the corresponding object definition for field details. */ Body *models.CreateTerminalRefundRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTerminalRefundParams contains all the parameters to send to the API endpoint
for the create terminal refund operation. Typically these are written to a http.Request.
func NewCreateTerminalRefundParams ¶
func NewCreateTerminalRefundParams() *CreateTerminalRefundParams
NewCreateTerminalRefundParams creates a new CreateTerminalRefundParams 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 NewCreateTerminalRefundParamsWithContext ¶
func NewCreateTerminalRefundParamsWithContext(ctx context.Context) *CreateTerminalRefundParams
NewCreateTerminalRefundParamsWithContext creates a new CreateTerminalRefundParams object with the ability to set a context for a request.
func NewCreateTerminalRefundParamsWithHTTPClient ¶
func NewCreateTerminalRefundParamsWithHTTPClient(client *http.Client) *CreateTerminalRefundParams
NewCreateTerminalRefundParamsWithHTTPClient creates a new CreateTerminalRefundParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTerminalRefundParamsWithTimeout ¶
func NewCreateTerminalRefundParamsWithTimeout(timeout time.Duration) *CreateTerminalRefundParams
NewCreateTerminalRefundParamsWithTimeout creates a new CreateTerminalRefundParams object with the ability to set a timeout on a request.
func (*CreateTerminalRefundParams) SetBody ¶
func (o *CreateTerminalRefundParams) SetBody(body *models.CreateTerminalRefundRequest)
SetBody adds the body to the create terminal refund params
func (*CreateTerminalRefundParams) SetContext ¶
func (o *CreateTerminalRefundParams) SetContext(ctx context.Context)
SetContext adds the context to the create terminal refund params
func (*CreateTerminalRefundParams) SetDefaults ¶
func (o *CreateTerminalRefundParams) SetDefaults()
SetDefaults hydrates default values in the create terminal refund params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTerminalRefundParams) SetHTTPClient ¶
func (o *CreateTerminalRefundParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create terminal refund params
func (*CreateTerminalRefundParams) SetTimeout ¶
func (o *CreateTerminalRefundParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create terminal refund params
func (*CreateTerminalRefundParams) WithBody ¶
func (o *CreateTerminalRefundParams) WithBody(body *models.CreateTerminalRefundRequest) *CreateTerminalRefundParams
WithBody adds the body to the create terminal refund params
func (*CreateTerminalRefundParams) WithContext ¶
func (o *CreateTerminalRefundParams) WithContext(ctx context.Context) *CreateTerminalRefundParams
WithContext adds the context to the create terminal refund params
func (*CreateTerminalRefundParams) WithDefaults ¶
func (o *CreateTerminalRefundParams) WithDefaults() *CreateTerminalRefundParams
WithDefaults hydrates default values in the create terminal refund params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTerminalRefundParams) WithHTTPClient ¶
func (o *CreateTerminalRefundParams) WithHTTPClient(client *http.Client) *CreateTerminalRefundParams
WithHTTPClient adds the HTTPClient to the create terminal refund params
func (*CreateTerminalRefundParams) WithTimeout ¶
func (o *CreateTerminalRefundParams) WithTimeout(timeout time.Duration) *CreateTerminalRefundParams
WithTimeout adds the timeout to the create terminal refund params
func (*CreateTerminalRefundParams) WriteToRequest ¶
func (o *CreateTerminalRefundParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTerminalRefundReader ¶
type CreateTerminalRefundReader struct {
// contains filtered or unexported fields
}
CreateTerminalRefundReader is a Reader for the CreateTerminalRefund structure.
func (*CreateTerminalRefundReader) ReadResponse ¶
func (o *CreateTerminalRefundReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTerminalCheckoutOK ¶
type GetTerminalCheckoutOK struct {
Payload *models.GetTerminalCheckoutResponse
}
GetTerminalCheckoutOK describes a response with status code 200, with default header values.
Success
func NewGetTerminalCheckoutOK ¶
func NewGetTerminalCheckoutOK() *GetTerminalCheckoutOK
NewGetTerminalCheckoutOK creates a GetTerminalCheckoutOK with default headers values
func (*GetTerminalCheckoutOK) Error ¶
func (o *GetTerminalCheckoutOK) Error() string
func (*GetTerminalCheckoutOK) GetPayload ¶
func (o *GetTerminalCheckoutOK) GetPayload() *models.GetTerminalCheckoutResponse
type GetTerminalCheckoutParams ¶
type GetTerminalCheckoutParams struct { /* CheckoutID. Unique ID for the desired `TerminalCheckout` */ CheckoutID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTerminalCheckoutParams contains all the parameters to send to the API endpoint
for the get terminal checkout operation. Typically these are written to a http.Request.
func NewGetTerminalCheckoutParams ¶
func NewGetTerminalCheckoutParams() *GetTerminalCheckoutParams
NewGetTerminalCheckoutParams creates a new GetTerminalCheckoutParams 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 NewGetTerminalCheckoutParamsWithContext ¶
func NewGetTerminalCheckoutParamsWithContext(ctx context.Context) *GetTerminalCheckoutParams
NewGetTerminalCheckoutParamsWithContext creates a new GetTerminalCheckoutParams object with the ability to set a context for a request.
func NewGetTerminalCheckoutParamsWithHTTPClient ¶
func NewGetTerminalCheckoutParamsWithHTTPClient(client *http.Client) *GetTerminalCheckoutParams
NewGetTerminalCheckoutParamsWithHTTPClient creates a new GetTerminalCheckoutParams object with the ability to set a custom HTTPClient for a request.
func NewGetTerminalCheckoutParamsWithTimeout ¶
func NewGetTerminalCheckoutParamsWithTimeout(timeout time.Duration) *GetTerminalCheckoutParams
NewGetTerminalCheckoutParamsWithTimeout creates a new GetTerminalCheckoutParams object with the ability to set a timeout on a request.
func (*GetTerminalCheckoutParams) SetCheckoutID ¶
func (o *GetTerminalCheckoutParams) SetCheckoutID(checkoutID string)
SetCheckoutID adds the checkoutId to the get terminal checkout params
func (*GetTerminalCheckoutParams) SetContext ¶
func (o *GetTerminalCheckoutParams) SetContext(ctx context.Context)
SetContext adds the context to the get terminal checkout params
func (*GetTerminalCheckoutParams) SetDefaults ¶
func (o *GetTerminalCheckoutParams) SetDefaults()
SetDefaults hydrates default values in the get terminal checkout params (not the query body).
All values with no default are reset to their zero value.
func (*GetTerminalCheckoutParams) SetHTTPClient ¶
func (o *GetTerminalCheckoutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get terminal checkout params
func (*GetTerminalCheckoutParams) SetTimeout ¶
func (o *GetTerminalCheckoutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get terminal checkout params
func (*GetTerminalCheckoutParams) WithCheckoutID ¶
func (o *GetTerminalCheckoutParams) WithCheckoutID(checkoutID string) *GetTerminalCheckoutParams
WithCheckoutID adds the checkoutID to the get terminal checkout params
func (*GetTerminalCheckoutParams) WithContext ¶
func (o *GetTerminalCheckoutParams) WithContext(ctx context.Context) *GetTerminalCheckoutParams
WithContext adds the context to the get terminal checkout params
func (*GetTerminalCheckoutParams) WithDefaults ¶
func (o *GetTerminalCheckoutParams) WithDefaults() *GetTerminalCheckoutParams
WithDefaults hydrates default values in the get terminal checkout params (not the query body).
All values with no default are reset to their zero value.
func (*GetTerminalCheckoutParams) WithHTTPClient ¶
func (o *GetTerminalCheckoutParams) WithHTTPClient(client *http.Client) *GetTerminalCheckoutParams
WithHTTPClient adds the HTTPClient to the get terminal checkout params
func (*GetTerminalCheckoutParams) WithTimeout ¶
func (o *GetTerminalCheckoutParams) WithTimeout(timeout time.Duration) *GetTerminalCheckoutParams
WithTimeout adds the timeout to the get terminal checkout params
func (*GetTerminalCheckoutParams) WriteToRequest ¶
func (o *GetTerminalCheckoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTerminalCheckoutReader ¶
type GetTerminalCheckoutReader struct {
// contains filtered or unexported fields
}
GetTerminalCheckoutReader is a Reader for the GetTerminalCheckout structure.
func (*GetTerminalCheckoutReader) ReadResponse ¶
func (o *GetTerminalCheckoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTerminalRefundOK ¶
type GetTerminalRefundOK struct {
Payload *models.GetTerminalRefundResponse
}
GetTerminalRefundOK describes a response with status code 200, with default header values.
Success
func NewGetTerminalRefundOK ¶
func NewGetTerminalRefundOK() *GetTerminalRefundOK
NewGetTerminalRefundOK creates a GetTerminalRefundOK with default headers values
func (*GetTerminalRefundOK) Error ¶
func (o *GetTerminalRefundOK) Error() string
func (*GetTerminalRefundOK) GetPayload ¶
func (o *GetTerminalRefundOK) GetPayload() *models.GetTerminalRefundResponse
type GetTerminalRefundParams ¶
type GetTerminalRefundParams struct { /* TerminalRefundID. Unique ID for the desired `TerminalRefund` */ TerminalRefundID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTerminalRefundParams contains all the parameters to send to the API endpoint
for the get terminal refund operation. Typically these are written to a http.Request.
func NewGetTerminalRefundParams ¶
func NewGetTerminalRefundParams() *GetTerminalRefundParams
NewGetTerminalRefundParams creates a new GetTerminalRefundParams 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 NewGetTerminalRefundParamsWithContext ¶
func NewGetTerminalRefundParamsWithContext(ctx context.Context) *GetTerminalRefundParams
NewGetTerminalRefundParamsWithContext creates a new GetTerminalRefundParams object with the ability to set a context for a request.
func NewGetTerminalRefundParamsWithHTTPClient ¶
func NewGetTerminalRefundParamsWithHTTPClient(client *http.Client) *GetTerminalRefundParams
NewGetTerminalRefundParamsWithHTTPClient creates a new GetTerminalRefundParams object with the ability to set a custom HTTPClient for a request.
func NewGetTerminalRefundParamsWithTimeout ¶
func NewGetTerminalRefundParamsWithTimeout(timeout time.Duration) *GetTerminalRefundParams
NewGetTerminalRefundParamsWithTimeout creates a new GetTerminalRefundParams object with the ability to set a timeout on a request.
func (*GetTerminalRefundParams) SetContext ¶
func (o *GetTerminalRefundParams) SetContext(ctx context.Context)
SetContext adds the context to the get terminal refund params
func (*GetTerminalRefundParams) SetDefaults ¶
func (o *GetTerminalRefundParams) SetDefaults()
SetDefaults hydrates default values in the get terminal refund params (not the query body).
All values with no default are reset to their zero value.
func (*GetTerminalRefundParams) SetHTTPClient ¶
func (o *GetTerminalRefundParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get terminal refund params
func (*GetTerminalRefundParams) SetTerminalRefundID ¶
func (o *GetTerminalRefundParams) SetTerminalRefundID(terminalRefundID string)
SetTerminalRefundID adds the terminalRefundId to the get terminal refund params
func (*GetTerminalRefundParams) SetTimeout ¶
func (o *GetTerminalRefundParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get terminal refund params
func (*GetTerminalRefundParams) WithContext ¶
func (o *GetTerminalRefundParams) WithContext(ctx context.Context) *GetTerminalRefundParams
WithContext adds the context to the get terminal refund params
func (*GetTerminalRefundParams) WithDefaults ¶
func (o *GetTerminalRefundParams) WithDefaults() *GetTerminalRefundParams
WithDefaults hydrates default values in the get terminal refund params (not the query body).
All values with no default are reset to their zero value.
func (*GetTerminalRefundParams) WithHTTPClient ¶
func (o *GetTerminalRefundParams) WithHTTPClient(client *http.Client) *GetTerminalRefundParams
WithHTTPClient adds the HTTPClient to the get terminal refund params
func (*GetTerminalRefundParams) WithTerminalRefundID ¶
func (o *GetTerminalRefundParams) WithTerminalRefundID(terminalRefundID string) *GetTerminalRefundParams
WithTerminalRefundID adds the terminalRefundID to the get terminal refund params
func (*GetTerminalRefundParams) WithTimeout ¶
func (o *GetTerminalRefundParams) WithTimeout(timeout time.Duration) *GetTerminalRefundParams
WithTimeout adds the timeout to the get terminal refund params
func (*GetTerminalRefundParams) WriteToRequest ¶
func (o *GetTerminalRefundParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTerminalRefundReader ¶
type GetTerminalRefundReader struct {
// contains filtered or unexported fields
}
GetTerminalRefundReader is a Reader for the GetTerminalRefund structure.
func (*GetTerminalRefundReader) ReadResponse ¶
func (o *GetTerminalRefundReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchTerminalCheckoutsOK ¶
type SearchTerminalCheckoutsOK struct {
Payload *models.SearchTerminalCheckoutsResponse
}
SearchTerminalCheckoutsOK describes a response with status code 200, with default header values.
Success
func NewSearchTerminalCheckoutsOK ¶
func NewSearchTerminalCheckoutsOK() *SearchTerminalCheckoutsOK
NewSearchTerminalCheckoutsOK creates a SearchTerminalCheckoutsOK with default headers values
func (*SearchTerminalCheckoutsOK) Error ¶
func (o *SearchTerminalCheckoutsOK) Error() string
func (*SearchTerminalCheckoutsOK) GetPayload ¶
func (o *SearchTerminalCheckoutsOK) GetPayload() *models.SearchTerminalCheckoutsResponse
type SearchTerminalCheckoutsParams ¶
type SearchTerminalCheckoutsParams struct { /* Body. An object containing the fields to POST for the request. See the corresponding object definition for field details. */ Body *models.SearchTerminalCheckoutsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchTerminalCheckoutsParams contains all the parameters to send to the API endpoint
for the search terminal checkouts operation. Typically these are written to a http.Request.
func NewSearchTerminalCheckoutsParams ¶
func NewSearchTerminalCheckoutsParams() *SearchTerminalCheckoutsParams
NewSearchTerminalCheckoutsParams creates a new SearchTerminalCheckoutsParams 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 NewSearchTerminalCheckoutsParamsWithContext ¶
func NewSearchTerminalCheckoutsParamsWithContext(ctx context.Context) *SearchTerminalCheckoutsParams
NewSearchTerminalCheckoutsParamsWithContext creates a new SearchTerminalCheckoutsParams object with the ability to set a context for a request.
func NewSearchTerminalCheckoutsParamsWithHTTPClient ¶
func NewSearchTerminalCheckoutsParamsWithHTTPClient(client *http.Client) *SearchTerminalCheckoutsParams
NewSearchTerminalCheckoutsParamsWithHTTPClient creates a new SearchTerminalCheckoutsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchTerminalCheckoutsParamsWithTimeout ¶
func NewSearchTerminalCheckoutsParamsWithTimeout(timeout time.Duration) *SearchTerminalCheckoutsParams
NewSearchTerminalCheckoutsParamsWithTimeout creates a new SearchTerminalCheckoutsParams object with the ability to set a timeout on a request.
func (*SearchTerminalCheckoutsParams) SetBody ¶
func (o *SearchTerminalCheckoutsParams) SetBody(body *models.SearchTerminalCheckoutsRequest)
SetBody adds the body to the search terminal checkouts params
func (*SearchTerminalCheckoutsParams) SetContext ¶
func (o *SearchTerminalCheckoutsParams) SetContext(ctx context.Context)
SetContext adds the context to the search terminal checkouts params
func (*SearchTerminalCheckoutsParams) SetDefaults ¶
func (o *SearchTerminalCheckoutsParams) SetDefaults()
SetDefaults hydrates default values in the search terminal checkouts params (not the query body).
All values with no default are reset to their zero value.
func (*SearchTerminalCheckoutsParams) SetHTTPClient ¶
func (o *SearchTerminalCheckoutsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search terminal checkouts params
func (*SearchTerminalCheckoutsParams) SetTimeout ¶
func (o *SearchTerminalCheckoutsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search terminal checkouts params
func (*SearchTerminalCheckoutsParams) WithBody ¶
func (o *SearchTerminalCheckoutsParams) WithBody(body *models.SearchTerminalCheckoutsRequest) *SearchTerminalCheckoutsParams
WithBody adds the body to the search terminal checkouts params
func (*SearchTerminalCheckoutsParams) WithContext ¶
func (o *SearchTerminalCheckoutsParams) WithContext(ctx context.Context) *SearchTerminalCheckoutsParams
WithContext adds the context to the search terminal checkouts params
func (*SearchTerminalCheckoutsParams) WithDefaults ¶
func (o *SearchTerminalCheckoutsParams) WithDefaults() *SearchTerminalCheckoutsParams
WithDefaults hydrates default values in the search terminal checkouts params (not the query body).
All values with no default are reset to their zero value.
func (*SearchTerminalCheckoutsParams) WithHTTPClient ¶
func (o *SearchTerminalCheckoutsParams) WithHTTPClient(client *http.Client) *SearchTerminalCheckoutsParams
WithHTTPClient adds the HTTPClient to the search terminal checkouts params
func (*SearchTerminalCheckoutsParams) WithTimeout ¶
func (o *SearchTerminalCheckoutsParams) WithTimeout(timeout time.Duration) *SearchTerminalCheckoutsParams
WithTimeout adds the timeout to the search terminal checkouts params
func (*SearchTerminalCheckoutsParams) WriteToRequest ¶
func (o *SearchTerminalCheckoutsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchTerminalCheckoutsReader ¶
type SearchTerminalCheckoutsReader struct {
// contains filtered or unexported fields
}
SearchTerminalCheckoutsReader is a Reader for the SearchTerminalCheckouts structure.
func (*SearchTerminalCheckoutsReader) ReadResponse ¶
func (o *SearchTerminalCheckoutsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchTerminalRefundsOK ¶
type SearchTerminalRefundsOK struct {
Payload *models.SearchTerminalRefundsResponse
}
SearchTerminalRefundsOK describes a response with status code 200, with default header values.
Success
func NewSearchTerminalRefundsOK ¶
func NewSearchTerminalRefundsOK() *SearchTerminalRefundsOK
NewSearchTerminalRefundsOK creates a SearchTerminalRefundsOK with default headers values
func (*SearchTerminalRefundsOK) Error ¶
func (o *SearchTerminalRefundsOK) Error() string
func (*SearchTerminalRefundsOK) GetPayload ¶
func (o *SearchTerminalRefundsOK) GetPayload() *models.SearchTerminalRefundsResponse
type SearchTerminalRefundsParams ¶
type SearchTerminalRefundsParams struct { /* Body. An object containing the fields to POST for the request. See the corresponding object definition for field details. */ Body *models.SearchTerminalRefundsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchTerminalRefundsParams contains all the parameters to send to the API endpoint
for the search terminal refunds operation. Typically these are written to a http.Request.
func NewSearchTerminalRefundsParams ¶
func NewSearchTerminalRefundsParams() *SearchTerminalRefundsParams
NewSearchTerminalRefundsParams creates a new SearchTerminalRefundsParams 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 NewSearchTerminalRefundsParamsWithContext ¶
func NewSearchTerminalRefundsParamsWithContext(ctx context.Context) *SearchTerminalRefundsParams
NewSearchTerminalRefundsParamsWithContext creates a new SearchTerminalRefundsParams object with the ability to set a context for a request.
func NewSearchTerminalRefundsParamsWithHTTPClient ¶
func NewSearchTerminalRefundsParamsWithHTTPClient(client *http.Client) *SearchTerminalRefundsParams
NewSearchTerminalRefundsParamsWithHTTPClient creates a new SearchTerminalRefundsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchTerminalRefundsParamsWithTimeout ¶
func NewSearchTerminalRefundsParamsWithTimeout(timeout time.Duration) *SearchTerminalRefundsParams
NewSearchTerminalRefundsParamsWithTimeout creates a new SearchTerminalRefundsParams object with the ability to set a timeout on a request.
func (*SearchTerminalRefundsParams) SetBody ¶
func (o *SearchTerminalRefundsParams) SetBody(body *models.SearchTerminalRefundsRequest)
SetBody adds the body to the search terminal refunds params
func (*SearchTerminalRefundsParams) SetContext ¶
func (o *SearchTerminalRefundsParams) SetContext(ctx context.Context)
SetContext adds the context to the search terminal refunds params
func (*SearchTerminalRefundsParams) SetDefaults ¶
func (o *SearchTerminalRefundsParams) SetDefaults()
SetDefaults hydrates default values in the search terminal refunds params (not the query body).
All values with no default are reset to their zero value.
func (*SearchTerminalRefundsParams) SetHTTPClient ¶
func (o *SearchTerminalRefundsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search terminal refunds params
func (*SearchTerminalRefundsParams) SetTimeout ¶
func (o *SearchTerminalRefundsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search terminal refunds params
func (*SearchTerminalRefundsParams) WithBody ¶
func (o *SearchTerminalRefundsParams) WithBody(body *models.SearchTerminalRefundsRequest) *SearchTerminalRefundsParams
WithBody adds the body to the search terminal refunds params
func (*SearchTerminalRefundsParams) WithContext ¶
func (o *SearchTerminalRefundsParams) WithContext(ctx context.Context) *SearchTerminalRefundsParams
WithContext adds the context to the search terminal refunds params
func (*SearchTerminalRefundsParams) WithDefaults ¶
func (o *SearchTerminalRefundsParams) WithDefaults() *SearchTerminalRefundsParams
WithDefaults hydrates default values in the search terminal refunds params (not the query body).
All values with no default are reset to their zero value.
func (*SearchTerminalRefundsParams) WithHTTPClient ¶
func (o *SearchTerminalRefundsParams) WithHTTPClient(client *http.Client) *SearchTerminalRefundsParams
WithHTTPClient adds the HTTPClient to the search terminal refunds params
func (*SearchTerminalRefundsParams) WithTimeout ¶
func (o *SearchTerminalRefundsParams) WithTimeout(timeout time.Duration) *SearchTerminalRefundsParams
WithTimeout adds the timeout to the search terminal refunds params
func (*SearchTerminalRefundsParams) WriteToRequest ¶
func (o *SearchTerminalRefundsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchTerminalRefundsReader ¶
type SearchTerminalRefundsReader struct {
// contains filtered or unexported fields
}
SearchTerminalRefundsReader is a Reader for the SearchTerminalRefunds structure.
func (*SearchTerminalRefundsReader) ReadResponse ¶
func (o *SearchTerminalRefundsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- cancel_terminal_checkout_parameters.go
- cancel_terminal_checkout_responses.go
- cancel_terminal_refund_parameters.go
- cancel_terminal_refund_responses.go
- create_terminal_checkout_parameters.go
- create_terminal_checkout_responses.go
- create_terminal_refund_parameters.go
- create_terminal_refund_responses.go
- get_terminal_checkout_parameters.go
- get_terminal_checkout_responses.go
- get_terminal_refund_parameters.go
- get_terminal_refund_responses.go
- search_terminal_checkouts_parameters.go
- search_terminal_checkouts_responses.go
- search_terminal_refunds_parameters.go
- search_terminal_refunds_responses.go
- terminal_client.go