credit_transfers

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 12 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 credit transfers API

func (*Client) DeleteV1CreditTransfersIDApprovals

func (a *Client) DeleteV1CreditTransfersIDApprovals(params *DeleteV1CreditTransfersIDApprovalsParams, opts ...ClientOption) (*DeleteV1CreditTransfersIDApprovalsAccepted, error)

DeleteV1CreditTransfersIDApprovals rejects credit transfer

Reject the identified CreditTransfer. One can use this endpoint with or without having a prior created Approval.

func (*Client) GetV1CreditTransfers

func (a *Client) GetV1CreditTransfers(params *GetV1CreditTransfersParams, opts ...ClientOption) (*GetV1CreditTransfersOK, error)
GetV1CreditTransfers queries credit transfers

Returns a list of CreditTransfers. For further details on Pagination, see general section above.

Sort order is always descending on date

func (*Client) GetV1CreditTransfersGetByExternalIDExternalID

func (a *Client) GetV1CreditTransfersGetByExternalIDExternalID(params *GetV1CreditTransfersGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1CreditTransfersGetByExternalIDExternalIDOK, error)

GetV1CreditTransfersGetByExternalIDExternalID reads credit transfer by its external Id

Returns the identified credit transfer.

func (*Client) GetV1CreditTransfersID

func (a *Client) GetV1CreditTransfersID(params *GetV1CreditTransfersIDParams, opts ...ClientOption) (*GetV1CreditTransfersIDOK, error)

GetV1CreditTransfersID reads credit transfer

Returns the identified CreditTransfer

func (*Client) GetV1CreditTransfersIDEvents

func (a *Client) GetV1CreditTransfersIDEvents(params *GetV1CreditTransfersIDEventsParams, opts ...ClientOption) (*GetV1CreditTransfersIDEventsOK, error)

GetV1CreditTransfersIDEvents queries credit transfer events

Returns a list of CreditTransfer events. For further details on Pagination, see the section above.

func (*Client) PostV1CreditTransfers

func (a *Client) PostV1CreditTransfers(params *PostV1CreditTransfersParams, opts ...ClientOption) (*PostV1CreditTransfersCreated, error)

PostV1CreditTransfers creates credit transfer

Returns the identified CreditTransfer

func (*Client) PutV1CreditTransfersIDApprovalsApprovalStepID

PutV1CreditTransfersIDApprovalsApprovalStepID approves credit transfer

Approve the identified CreditTransfer

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 {
	DeleteV1CreditTransfersIDApprovals(params *DeleteV1CreditTransfersIDApprovalsParams, opts ...ClientOption) (*DeleteV1CreditTransfersIDApprovalsAccepted, error)

	GetV1CreditTransfers(params *GetV1CreditTransfersParams, opts ...ClientOption) (*GetV1CreditTransfersOK, error)

	GetV1CreditTransfersGetByExternalIDExternalID(params *GetV1CreditTransfersGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1CreditTransfersGetByExternalIDExternalIDOK, error)

	GetV1CreditTransfersID(params *GetV1CreditTransfersIDParams, opts ...ClientOption) (*GetV1CreditTransfersIDOK, error)

	GetV1CreditTransfersIDEvents(params *GetV1CreditTransfersIDEventsParams, opts ...ClientOption) (*GetV1CreditTransfersIDEventsOK, error)

	PostV1CreditTransfers(params *PostV1CreditTransfersParams, opts ...ClientOption) (*PostV1CreditTransfersCreated, error)

	PutV1CreditTransfersIDApprovalsApprovalStepID(params *PutV1CreditTransfersIDApprovalsApprovalStepIDParams, opts ...ClientOption) (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted, 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 credit transfers API client.

type DeleteV1CreditTransfersIDApprovalsAccepted added in v1.3.0

type DeleteV1CreditTransfersIDApprovalsAccepted struct {
	Payload *models.Payment
}

DeleteV1CreditTransfersIDApprovalsAccepted describes a response with status code 202, with default header values.

The, now, rejected identified CreditTransfer

func NewDeleteV1CreditTransfersIDApprovalsAccepted added in v1.3.0

func NewDeleteV1CreditTransfersIDApprovalsAccepted() *DeleteV1CreditTransfersIDApprovalsAccepted

NewDeleteV1CreditTransfersIDApprovalsAccepted creates a DeleteV1CreditTransfersIDApprovalsAccepted with default headers values

func (*DeleteV1CreditTransfersIDApprovalsAccepted) Code added in v1.3.0

Code gets the status code for the delete v1 credit transfers Id approvals accepted response

func (*DeleteV1CreditTransfersIDApprovalsAccepted) Error added in v1.3.0

func (*DeleteV1CreditTransfersIDApprovalsAccepted) GetPayload added in v1.3.0

func (*DeleteV1CreditTransfersIDApprovalsAccepted) IsClientError added in v1.3.0

IsClientError returns true when this delete v1 credit transfers Id approvals accepted response has a 4xx status code

func (*DeleteV1CreditTransfersIDApprovalsAccepted) IsCode added in v1.3.0

IsCode returns true when this delete v1 credit transfers Id approvals accepted response a status code equal to that given

func (*DeleteV1CreditTransfersIDApprovalsAccepted) IsRedirect added in v1.3.0

IsRedirect returns true when this delete v1 credit transfers Id approvals accepted response has a 3xx status code

func (*DeleteV1CreditTransfersIDApprovalsAccepted) IsServerError added in v1.3.0

IsServerError returns true when this delete v1 credit transfers Id approvals accepted response has a 5xx status code

func (*DeleteV1CreditTransfersIDApprovalsAccepted) IsSuccess added in v1.3.0

IsSuccess returns true when this delete v1 credit transfers Id approvals accepted response has a 2xx status code

func (*DeleteV1CreditTransfersIDApprovalsAccepted) String added in v1.3.0

type DeleteV1CreditTransfersIDApprovalsBadRequest added in v1.3.0

type DeleteV1CreditTransfersIDApprovalsBadRequest struct {
	Payload *models.ErrorResponse
}

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

Bad request

func NewDeleteV1CreditTransfersIDApprovalsBadRequest added in v1.3.0

func NewDeleteV1CreditTransfersIDApprovalsBadRequest() *DeleteV1CreditTransfersIDApprovalsBadRequest

NewDeleteV1CreditTransfersIDApprovalsBadRequest creates a DeleteV1CreditTransfersIDApprovalsBadRequest with default headers values

func (*DeleteV1CreditTransfersIDApprovalsBadRequest) Code added in v1.3.0

Code gets the status code for the delete v1 credit transfers Id approvals bad request response

func (*DeleteV1CreditTransfersIDApprovalsBadRequest) Error added in v1.3.0

func (*DeleteV1CreditTransfersIDApprovalsBadRequest) GetPayload added in v1.3.0

func (*DeleteV1CreditTransfersIDApprovalsBadRequest) IsClientError added in v1.3.0

IsClientError returns true when this delete v1 credit transfers Id approvals bad request response has a 4xx status code

func (*DeleteV1CreditTransfersIDApprovalsBadRequest) IsCode added in v1.3.0

IsCode returns true when this delete v1 credit transfers Id approvals bad request response a status code equal to that given

func (*DeleteV1CreditTransfersIDApprovalsBadRequest) IsRedirect added in v1.3.0

IsRedirect returns true when this delete v1 credit transfers Id approvals bad request response has a 3xx status code

func (*DeleteV1CreditTransfersIDApprovalsBadRequest) IsServerError added in v1.3.0

IsServerError returns true when this delete v1 credit transfers Id approvals bad request response has a 5xx status code

func (*DeleteV1CreditTransfersIDApprovalsBadRequest) IsSuccess added in v1.3.0

IsSuccess returns true when this delete v1 credit transfers Id approvals bad request response has a 2xx status code

func (*DeleteV1CreditTransfersIDApprovalsBadRequest) String added in v1.3.0

type DeleteV1CreditTransfersIDApprovalsParams

type DeleteV1CreditTransfersIDApprovalsParams struct {

	/* IfMatch.

	   The ETag of the CreditTransfer
	*/
	IfMatch *string

	/* CreateReject.

	   CreateRejectRequest
	*/
	CreateReject *models.CreateRejectRequest

	/* ID.

	   CreditTransfer ID
	*/
	ID string

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

DeleteV1CreditTransfersIDApprovalsParams contains all the parameters to send to the API endpoint

for the delete v1 credit transfers ID approvals operation.

Typically these are written to a http.Request.

func NewDeleteV1CreditTransfersIDApprovalsParams

func NewDeleteV1CreditTransfersIDApprovalsParams() *DeleteV1CreditTransfersIDApprovalsParams

NewDeleteV1CreditTransfersIDApprovalsParams creates a new DeleteV1CreditTransfersIDApprovalsParams 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 NewDeleteV1CreditTransfersIDApprovalsParamsWithContext

func NewDeleteV1CreditTransfersIDApprovalsParamsWithContext(ctx context.Context) *DeleteV1CreditTransfersIDApprovalsParams

NewDeleteV1CreditTransfersIDApprovalsParamsWithContext creates a new DeleteV1CreditTransfersIDApprovalsParams object with the ability to set a context for a request.

func NewDeleteV1CreditTransfersIDApprovalsParamsWithHTTPClient

func NewDeleteV1CreditTransfersIDApprovalsParamsWithHTTPClient(client *http.Client) *DeleteV1CreditTransfersIDApprovalsParams

NewDeleteV1CreditTransfersIDApprovalsParamsWithHTTPClient creates a new DeleteV1CreditTransfersIDApprovalsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1CreditTransfersIDApprovalsParamsWithTimeout

func NewDeleteV1CreditTransfersIDApprovalsParamsWithTimeout(timeout time.Duration) *DeleteV1CreditTransfersIDApprovalsParams

NewDeleteV1CreditTransfersIDApprovalsParamsWithTimeout creates a new DeleteV1CreditTransfersIDApprovalsParams object with the ability to set a timeout on a request.

func (*DeleteV1CreditTransfersIDApprovalsParams) SetContext

SetContext adds the context to the delete v1 credit transfers ID approvals params

func (*DeleteV1CreditTransfersIDApprovalsParams) SetCreateReject

func (o *DeleteV1CreditTransfersIDApprovalsParams) SetCreateReject(createReject *models.CreateRejectRequest)

SetCreateReject adds the createReject to the delete v1 credit transfers ID approvals params

func (*DeleteV1CreditTransfersIDApprovalsParams) SetDefaults

SetDefaults hydrates default values in the delete v1 credit transfers ID approvals params (not the query body).

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

func (*DeleteV1CreditTransfersIDApprovalsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 credit transfers ID approvals params

func (*DeleteV1CreditTransfersIDApprovalsParams) SetID

SetID adds the id to the delete v1 credit transfers ID approvals params

func (*DeleteV1CreditTransfersIDApprovalsParams) SetIfMatch

func (o *DeleteV1CreditTransfersIDApprovalsParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the delete v1 credit transfers ID approvals params

func (*DeleteV1CreditTransfersIDApprovalsParams) SetTimeout

SetTimeout adds the timeout to the delete v1 credit transfers ID approvals params

func (*DeleteV1CreditTransfersIDApprovalsParams) WithContext

WithContext adds the context to the delete v1 credit transfers ID approvals params

func (*DeleteV1CreditTransfersIDApprovalsParams) WithCreateReject

WithCreateReject adds the createReject to the delete v1 credit transfers ID approvals params

func (*DeleteV1CreditTransfersIDApprovalsParams) WithDefaults

WithDefaults hydrates default values in the delete v1 credit transfers ID approvals params (not the query body).

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

func (*DeleteV1CreditTransfersIDApprovalsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 credit transfers ID approvals params

func (*DeleteV1CreditTransfersIDApprovalsParams) WithID

WithID adds the id to the delete v1 credit transfers ID approvals params

func (*DeleteV1CreditTransfersIDApprovalsParams) WithIfMatch

WithIfMatch adds the ifMatch to the delete v1 credit transfers ID approvals params

func (*DeleteV1CreditTransfersIDApprovalsParams) WithTimeout

WithTimeout adds the timeout to the delete v1 credit transfers ID approvals params

func (*DeleteV1CreditTransfersIDApprovalsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1CreditTransfersIDApprovalsReader

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

DeleteV1CreditTransfersIDApprovalsReader is a Reader for the DeleteV1CreditTransfersIDApprovals structure.

func (*DeleteV1CreditTransfersIDApprovalsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1CreditTransfersBadRequest added in v1.3.0

type GetV1CreditTransfersBadRequest struct {
	Payload *models.ErrorResponse
}

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

Bad request

func NewGetV1CreditTransfersBadRequest added in v1.3.0

func NewGetV1CreditTransfersBadRequest() *GetV1CreditTransfersBadRequest

NewGetV1CreditTransfersBadRequest creates a GetV1CreditTransfersBadRequest with default headers values

func (*GetV1CreditTransfersBadRequest) Code added in v1.3.0

Code gets the status code for the get v1 credit transfers bad request response

func (*GetV1CreditTransfersBadRequest) Error added in v1.3.0

func (*GetV1CreditTransfersBadRequest) GetPayload added in v1.3.0

func (*GetV1CreditTransfersBadRequest) IsClientError added in v1.3.0

func (o *GetV1CreditTransfersBadRequest) IsClientError() bool

IsClientError returns true when this get v1 credit transfers bad request response has a 4xx status code

func (*GetV1CreditTransfersBadRequest) IsCode added in v1.3.0

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

IsCode returns true when this get v1 credit transfers bad request response a status code equal to that given

func (*GetV1CreditTransfersBadRequest) IsRedirect added in v1.3.0

func (o *GetV1CreditTransfersBadRequest) IsRedirect() bool

IsRedirect returns true when this get v1 credit transfers bad request response has a 3xx status code

func (*GetV1CreditTransfersBadRequest) IsServerError added in v1.3.0

func (o *GetV1CreditTransfersBadRequest) IsServerError() bool

IsServerError returns true when this get v1 credit transfers bad request response has a 5xx status code

func (*GetV1CreditTransfersBadRequest) IsSuccess added in v1.3.0

func (o *GetV1CreditTransfersBadRequest) IsSuccess() bool

IsSuccess returns true when this get v1 credit transfers bad request response has a 2xx status code

func (*GetV1CreditTransfersBadRequest) String added in v1.3.0

type GetV1CreditTransfersGetByExternalIDExternalIDNotFound

type GetV1CreditTransfersGetByExternalIDExternalIDNotFound struct {
	Payload string
}

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

The identified credit transfer doesn't exist

func NewGetV1CreditTransfersGetByExternalIDExternalIDNotFound

func NewGetV1CreditTransfersGetByExternalIDExternalIDNotFound() *GetV1CreditTransfersGetByExternalIDExternalIDNotFound

NewGetV1CreditTransfersGetByExternalIDExternalIDNotFound creates a GetV1CreditTransfersGetByExternalIDExternalIDNotFound with default headers values

func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) Code

Code gets the status code for the get v1 credit transfers get by external Id external Id not found response

func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) Error

func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) GetPayload

func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsClientError

IsClientError returns true when this get v1 credit transfers get by external Id external Id not found response has a 4xx status code

func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsCode

IsCode returns true when this get v1 credit transfers get by external Id external Id not found response a status code equal to that given

func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsRedirect

IsRedirect returns true when this get v1 credit transfers get by external Id external Id not found response has a 3xx status code

func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsServerError

IsServerError returns true when this get v1 credit transfers get by external Id external Id not found response has a 5xx status code

func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) IsSuccess

IsSuccess returns true when this get v1 credit transfers get by external Id external Id not found response has a 2xx status code

func (*GetV1CreditTransfersGetByExternalIDExternalIDNotFound) String

type GetV1CreditTransfersGetByExternalIDExternalIDOK

type GetV1CreditTransfersGetByExternalIDExternalIDOK struct {
	Payload *models.Payment
}

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

The identified credit transfer.

func NewGetV1CreditTransfersGetByExternalIDExternalIDOK

func NewGetV1CreditTransfersGetByExternalIDExternalIDOK() *GetV1CreditTransfersGetByExternalIDExternalIDOK

NewGetV1CreditTransfersGetByExternalIDExternalIDOK creates a GetV1CreditTransfersGetByExternalIDExternalIDOK with default headers values

func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) Code

Code gets the status code for the get v1 credit transfers get by external Id external Id o k response

func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) Error

func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) GetPayload

func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) IsClientError

IsClientError returns true when this get v1 credit transfers get by external Id external Id o k response has a 4xx status code

func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) IsCode

IsCode returns true when this get v1 credit transfers get by external Id external Id o k response a status code equal to that given

func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) IsRedirect

IsRedirect returns true when this get v1 credit transfers get by external Id external Id o k response has a 3xx status code

func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) IsServerError

IsServerError returns true when this get v1 credit transfers get by external Id external Id o k response has a 5xx status code

func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) IsSuccess

IsSuccess returns true when this get v1 credit transfers get by external Id external Id o k response has a 2xx status code

func (*GetV1CreditTransfersGetByExternalIDExternalIDOK) String

type GetV1CreditTransfersGetByExternalIDExternalIDParams

type GetV1CreditTransfersGetByExternalIDExternalIDParams struct {

	/* ExternalID.

	   The externalId of the credit transfer. Supplied when creating credit transfer
	*/
	ExternalID string

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

GetV1CreditTransfersGetByExternalIDExternalIDParams contains all the parameters to send to the API endpoint

for the get v1 credit transfers get by external ID external ID operation.

Typically these are written to a http.Request.

func NewGetV1CreditTransfersGetByExternalIDExternalIDParams

func NewGetV1CreditTransfersGetByExternalIDExternalIDParams() *GetV1CreditTransfersGetByExternalIDExternalIDParams

NewGetV1CreditTransfersGetByExternalIDExternalIDParams creates a new GetV1CreditTransfersGetByExternalIDExternalIDParams 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 NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithContext

func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithContext(ctx context.Context) *GetV1CreditTransfersGetByExternalIDExternalIDParams

NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithContext creates a new GetV1CreditTransfersGetByExternalIDExternalIDParams object with the ability to set a context for a request.

func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithHTTPClient

func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithHTTPClient(client *http.Client) *GetV1CreditTransfersGetByExternalIDExternalIDParams

NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithHTTPClient creates a new GetV1CreditTransfersGetByExternalIDExternalIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithTimeout

func NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithTimeout(timeout time.Duration) *GetV1CreditTransfersGetByExternalIDExternalIDParams

NewGetV1CreditTransfersGetByExternalIDExternalIDParamsWithTimeout creates a new GetV1CreditTransfersGetByExternalIDExternalIDParams object with the ability to set a timeout on a request.

func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) SetContext

SetContext adds the context to the get v1 credit transfers get by external ID external ID params

func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 credit transfers get by external ID external ID params (not the query body).

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

func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) SetExternalID

func (o *GetV1CreditTransfersGetByExternalIDExternalIDParams) SetExternalID(externalID string)

SetExternalID adds the externalId to the get v1 credit transfers get by external ID external ID params

func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 credit transfers get by external ID external ID params

func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 credit transfers get by external ID external ID params

func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) WithContext

WithContext adds the context to the get v1 credit transfers get by external ID external ID params

func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 credit transfers get by external ID external ID params (not the query body).

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

func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) WithExternalID

WithExternalID adds the externalID to the get v1 credit transfers get by external ID external ID params

func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 credit transfers get by external ID external ID params

func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 credit transfers get by external ID external ID params

func (*GetV1CreditTransfersGetByExternalIDExternalIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1CreditTransfersGetByExternalIDExternalIDReader

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

GetV1CreditTransfersGetByExternalIDExternalIDReader is a Reader for the GetV1CreditTransfersGetByExternalIDExternalID structure.

func (*GetV1CreditTransfersGetByExternalIDExternalIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1CreditTransfersIDEventsOK

type GetV1CreditTransfersIDEventsOK struct {
	Payload *GetV1CreditTransfersIDEventsOKBody
}

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

QueryResponse with a list of Events

func NewGetV1CreditTransfersIDEventsOK

func NewGetV1CreditTransfersIDEventsOK() *GetV1CreditTransfersIDEventsOK

NewGetV1CreditTransfersIDEventsOK creates a GetV1CreditTransfersIDEventsOK with default headers values

func (*GetV1CreditTransfersIDEventsOK) Code

Code gets the status code for the get v1 credit transfers Id events o k response

func (*GetV1CreditTransfersIDEventsOK) Error

func (*GetV1CreditTransfersIDEventsOK) GetPayload

func (*GetV1CreditTransfersIDEventsOK) IsClientError

func (o *GetV1CreditTransfersIDEventsOK) IsClientError() bool

IsClientError returns true when this get v1 credit transfers Id events o k response has a 4xx status code

func (*GetV1CreditTransfersIDEventsOK) IsCode

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

IsCode returns true when this get v1 credit transfers Id events o k response a status code equal to that given

func (*GetV1CreditTransfersIDEventsOK) IsRedirect

func (o *GetV1CreditTransfersIDEventsOK) IsRedirect() bool

IsRedirect returns true when this get v1 credit transfers Id events o k response has a 3xx status code

func (*GetV1CreditTransfersIDEventsOK) IsServerError

func (o *GetV1CreditTransfersIDEventsOK) IsServerError() bool

IsServerError returns true when this get v1 credit transfers Id events o k response has a 5xx status code

func (*GetV1CreditTransfersIDEventsOK) IsSuccess

func (o *GetV1CreditTransfersIDEventsOK) IsSuccess() bool

IsSuccess returns true when this get v1 credit transfers Id events o k response has a 2xx status code

func (*GetV1CreditTransfersIDEventsOK) String

type GetV1CreditTransfersIDEventsOKBody

type GetV1CreditTransfersIDEventsOKBody struct {
	models.QueryResponse

	// items
	Items []*models.Event `json:"items"`
}

GetV1CreditTransfersIDEventsOKBody get v1 credit transfers ID events o k body swagger:model GetV1CreditTransfersIDEventsOKBody

func (*GetV1CreditTransfersIDEventsOKBody) ContextValidate

func (o *GetV1CreditTransfersIDEventsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get v1 credit transfers ID events o k body based on the context it is used

func (*GetV1CreditTransfersIDEventsOKBody) MarshalBinary

func (o *GetV1CreditTransfersIDEventsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetV1CreditTransfersIDEventsOKBody) MarshalJSON

func (o GetV1CreditTransfersIDEventsOKBody) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetV1CreditTransfersIDEventsOKBody) UnmarshalBinary

func (o *GetV1CreditTransfersIDEventsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetV1CreditTransfersIDEventsOKBody) UnmarshalJSON

func (o *GetV1CreditTransfersIDEventsOKBody) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetV1CreditTransfersIDEventsOKBody) Validate

Validate validates this get v1 credit transfers ID events o k body

type GetV1CreditTransfersIDEventsParams

type GetV1CreditTransfersIDEventsParams struct {

	/* ID.

	   CreditTransfer ID
	*/
	ID string

	/* Limit.

	   Limit resulting response list. Defaults to 100.
	*/
	Limit *int64

	/* Token.

	   If response comes back and `nextToken` is populated, use that value in this `token` query to continue pagination.
	*/
	Token *string

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

GetV1CreditTransfersIDEventsParams contains all the parameters to send to the API endpoint

for the get v1 credit transfers ID events operation.

Typically these are written to a http.Request.

func NewGetV1CreditTransfersIDEventsParams

func NewGetV1CreditTransfersIDEventsParams() *GetV1CreditTransfersIDEventsParams

NewGetV1CreditTransfersIDEventsParams creates a new GetV1CreditTransfersIDEventsParams 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 NewGetV1CreditTransfersIDEventsParamsWithContext

func NewGetV1CreditTransfersIDEventsParamsWithContext(ctx context.Context) *GetV1CreditTransfersIDEventsParams

NewGetV1CreditTransfersIDEventsParamsWithContext creates a new GetV1CreditTransfersIDEventsParams object with the ability to set a context for a request.

func NewGetV1CreditTransfersIDEventsParamsWithHTTPClient

func NewGetV1CreditTransfersIDEventsParamsWithHTTPClient(client *http.Client) *GetV1CreditTransfersIDEventsParams

NewGetV1CreditTransfersIDEventsParamsWithHTTPClient creates a new GetV1CreditTransfersIDEventsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1CreditTransfersIDEventsParamsWithTimeout

func NewGetV1CreditTransfersIDEventsParamsWithTimeout(timeout time.Duration) *GetV1CreditTransfersIDEventsParams

NewGetV1CreditTransfersIDEventsParamsWithTimeout creates a new GetV1CreditTransfersIDEventsParams object with the ability to set a timeout on a request.

func (*GetV1CreditTransfersIDEventsParams) SetContext

SetContext adds the context to the get v1 credit transfers ID events params

func (*GetV1CreditTransfersIDEventsParams) SetDefaults

func (o *GetV1CreditTransfersIDEventsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 credit transfers ID events params (not the query body).

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

func (*GetV1CreditTransfersIDEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 credit transfers ID events params

func (*GetV1CreditTransfersIDEventsParams) SetID

SetID adds the id to the get v1 credit transfers ID events params

func (*GetV1CreditTransfersIDEventsParams) SetLimit

func (o *GetV1CreditTransfersIDEventsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get v1 credit transfers ID events params

func (*GetV1CreditTransfersIDEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 credit transfers ID events params

func (*GetV1CreditTransfersIDEventsParams) SetToken

func (o *GetV1CreditTransfersIDEventsParams) SetToken(token *string)

SetToken adds the token to the get v1 credit transfers ID events params

func (*GetV1CreditTransfersIDEventsParams) WithContext

WithContext adds the context to the get v1 credit transfers ID events params

func (*GetV1CreditTransfersIDEventsParams) WithDefaults

WithDefaults hydrates default values in the get v1 credit transfers ID events params (not the query body).

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

func (*GetV1CreditTransfersIDEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 credit transfers ID events params

func (*GetV1CreditTransfersIDEventsParams) WithID

WithID adds the id to the get v1 credit transfers ID events params

func (*GetV1CreditTransfersIDEventsParams) WithLimit

WithLimit adds the limit to the get v1 credit transfers ID events params

func (*GetV1CreditTransfersIDEventsParams) WithTimeout

WithTimeout adds the timeout to the get v1 credit transfers ID events params

func (*GetV1CreditTransfersIDEventsParams) WithToken

WithToken adds the token to the get v1 credit transfers ID events params

func (*GetV1CreditTransfersIDEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1CreditTransfersIDEventsReader

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

GetV1CreditTransfersIDEventsReader is a Reader for the GetV1CreditTransfersIDEvents structure.

func (*GetV1CreditTransfersIDEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1CreditTransfersIDNotFound

type GetV1CreditTransfersIDNotFound struct {
	Payload string
}

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

identified CreditTransfer doesn't exist

func NewGetV1CreditTransfersIDNotFound

func NewGetV1CreditTransfersIDNotFound() *GetV1CreditTransfersIDNotFound

NewGetV1CreditTransfersIDNotFound creates a GetV1CreditTransfersIDNotFound with default headers values

func (*GetV1CreditTransfersIDNotFound) Code

Code gets the status code for the get v1 credit transfers Id not found response

func (*GetV1CreditTransfersIDNotFound) Error

func (*GetV1CreditTransfersIDNotFound) GetPayload

func (o *GetV1CreditTransfersIDNotFound) GetPayload() string

func (*GetV1CreditTransfersIDNotFound) IsClientError

func (o *GetV1CreditTransfersIDNotFound) IsClientError() bool

IsClientError returns true when this get v1 credit transfers Id not found response has a 4xx status code

func (*GetV1CreditTransfersIDNotFound) IsCode

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

IsCode returns true when this get v1 credit transfers Id not found response a status code equal to that given

func (*GetV1CreditTransfersIDNotFound) IsRedirect

func (o *GetV1CreditTransfersIDNotFound) IsRedirect() bool

IsRedirect returns true when this get v1 credit transfers Id not found response has a 3xx status code

func (*GetV1CreditTransfersIDNotFound) IsServerError

func (o *GetV1CreditTransfersIDNotFound) IsServerError() bool

IsServerError returns true when this get v1 credit transfers Id not found response has a 5xx status code

func (*GetV1CreditTransfersIDNotFound) IsSuccess

func (o *GetV1CreditTransfersIDNotFound) IsSuccess() bool

IsSuccess returns true when this get v1 credit transfers Id not found response has a 2xx status code

func (*GetV1CreditTransfersIDNotFound) String

type GetV1CreditTransfersIDOK

type GetV1CreditTransfersIDOK struct {
	Payload *models.Payment
}

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

the identified CreditTransfer

func NewGetV1CreditTransfersIDOK

func NewGetV1CreditTransfersIDOK() *GetV1CreditTransfersIDOK

NewGetV1CreditTransfersIDOK creates a GetV1CreditTransfersIDOK with default headers values

func (*GetV1CreditTransfersIDOK) Code

func (o *GetV1CreditTransfersIDOK) Code() int

Code gets the status code for the get v1 credit transfers Id o k response

func (*GetV1CreditTransfersIDOK) Error

func (o *GetV1CreditTransfersIDOK) Error() string

func (*GetV1CreditTransfersIDOK) GetPayload

func (o *GetV1CreditTransfersIDOK) GetPayload() *models.Payment

func (*GetV1CreditTransfersIDOK) IsClientError

func (o *GetV1CreditTransfersIDOK) IsClientError() bool

IsClientError returns true when this get v1 credit transfers Id o k response has a 4xx status code

func (*GetV1CreditTransfersIDOK) IsCode

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

IsCode returns true when this get v1 credit transfers Id o k response a status code equal to that given

func (*GetV1CreditTransfersIDOK) IsRedirect

func (o *GetV1CreditTransfersIDOK) IsRedirect() bool

IsRedirect returns true when this get v1 credit transfers Id o k response has a 3xx status code

func (*GetV1CreditTransfersIDOK) IsServerError

func (o *GetV1CreditTransfersIDOK) IsServerError() bool

IsServerError returns true when this get v1 credit transfers Id o k response has a 5xx status code

func (*GetV1CreditTransfersIDOK) IsSuccess

func (o *GetV1CreditTransfersIDOK) IsSuccess() bool

IsSuccess returns true when this get v1 credit transfers Id o k response has a 2xx status code

func (*GetV1CreditTransfersIDOK) String

func (o *GetV1CreditTransfersIDOK) String() string

type GetV1CreditTransfersIDParams

type GetV1CreditTransfersIDParams struct {

	/* ID.

	   CreditTransfer ID
	*/
	ID string

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

GetV1CreditTransfersIDParams contains all the parameters to send to the API endpoint

for the get v1 credit transfers ID operation.

Typically these are written to a http.Request.

func NewGetV1CreditTransfersIDParams

func NewGetV1CreditTransfersIDParams() *GetV1CreditTransfersIDParams

NewGetV1CreditTransfersIDParams creates a new GetV1CreditTransfersIDParams 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 NewGetV1CreditTransfersIDParamsWithContext

func NewGetV1CreditTransfersIDParamsWithContext(ctx context.Context) *GetV1CreditTransfersIDParams

NewGetV1CreditTransfersIDParamsWithContext creates a new GetV1CreditTransfersIDParams object with the ability to set a context for a request.

func NewGetV1CreditTransfersIDParamsWithHTTPClient

func NewGetV1CreditTransfersIDParamsWithHTTPClient(client *http.Client) *GetV1CreditTransfersIDParams

NewGetV1CreditTransfersIDParamsWithHTTPClient creates a new GetV1CreditTransfersIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1CreditTransfersIDParamsWithTimeout

func NewGetV1CreditTransfersIDParamsWithTimeout(timeout time.Duration) *GetV1CreditTransfersIDParams

NewGetV1CreditTransfersIDParamsWithTimeout creates a new GetV1CreditTransfersIDParams object with the ability to set a timeout on a request.

func (*GetV1CreditTransfersIDParams) SetContext

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

SetContext adds the context to the get v1 credit transfers ID params

func (*GetV1CreditTransfersIDParams) SetDefaults

func (o *GetV1CreditTransfersIDParams) SetDefaults()

SetDefaults hydrates default values in the get v1 credit transfers ID params (not the query body).

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

func (*GetV1CreditTransfersIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 credit transfers ID params

func (*GetV1CreditTransfersIDParams) SetID

func (o *GetV1CreditTransfersIDParams) SetID(id string)

SetID adds the id to the get v1 credit transfers ID params

func (*GetV1CreditTransfersIDParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 credit transfers ID params

func (*GetV1CreditTransfersIDParams) WithContext

WithContext adds the context to the get v1 credit transfers ID params

func (*GetV1CreditTransfersIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 credit transfers ID params (not the query body).

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

func (*GetV1CreditTransfersIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 credit transfers ID params

func (*GetV1CreditTransfersIDParams) WithID

WithID adds the id to the get v1 credit transfers ID params

func (*GetV1CreditTransfersIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 credit transfers ID params

func (*GetV1CreditTransfersIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1CreditTransfersIDReader

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

GetV1CreditTransfersIDReader is a Reader for the GetV1CreditTransfersID structure.

func (*GetV1CreditTransfersIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1CreditTransfersOK

type GetV1CreditTransfersOK struct {
	Payload *GetV1CreditTransfersOKBody
}

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

QueryResponse with list of CreditTransfers

func NewGetV1CreditTransfersOK

func NewGetV1CreditTransfersOK() *GetV1CreditTransfersOK

NewGetV1CreditTransfersOK creates a GetV1CreditTransfersOK with default headers values

func (*GetV1CreditTransfersOK) Code

func (o *GetV1CreditTransfersOK) Code() int

Code gets the status code for the get v1 credit transfers o k response

func (*GetV1CreditTransfersOK) Error

func (o *GetV1CreditTransfersOK) Error() string

func (*GetV1CreditTransfersOK) GetPayload

func (*GetV1CreditTransfersOK) IsClientError

func (o *GetV1CreditTransfersOK) IsClientError() bool

IsClientError returns true when this get v1 credit transfers o k response has a 4xx status code

func (*GetV1CreditTransfersOK) IsCode

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

IsCode returns true when this get v1 credit transfers o k response a status code equal to that given

func (*GetV1CreditTransfersOK) IsRedirect

func (o *GetV1CreditTransfersOK) IsRedirect() bool

IsRedirect returns true when this get v1 credit transfers o k response has a 3xx status code

func (*GetV1CreditTransfersOK) IsServerError

func (o *GetV1CreditTransfersOK) IsServerError() bool

IsServerError returns true when this get v1 credit transfers o k response has a 5xx status code

func (*GetV1CreditTransfersOK) IsSuccess

func (o *GetV1CreditTransfersOK) IsSuccess() bool

IsSuccess returns true when this get v1 credit transfers o k response has a 2xx status code

func (*GetV1CreditTransfersOK) String

func (o *GetV1CreditTransfersOK) String() string

type GetV1CreditTransfersOKBody

type GetV1CreditTransfersOKBody struct {
	models.QueryResponse

	// items
	Items []*models.Payment `json:"items"`
}

GetV1CreditTransfersOKBody get v1 credit transfers o k body swagger:model GetV1CreditTransfersOKBody

func (*GetV1CreditTransfersOKBody) ContextValidate

func (o *GetV1CreditTransfersOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get v1 credit transfers o k body based on the context it is used

func (*GetV1CreditTransfersOKBody) MarshalBinary

func (o *GetV1CreditTransfersOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GetV1CreditTransfersOKBody) MarshalJSON

func (o GetV1CreditTransfersOKBody) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetV1CreditTransfersOKBody) UnmarshalBinary

func (o *GetV1CreditTransfersOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetV1CreditTransfersOKBody) UnmarshalJSON

func (o *GetV1CreditTransfersOKBody) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetV1CreditTransfersOKBody) Validate

func (o *GetV1CreditTransfersOKBody) Validate(formats strfmt.Registry) error

Validate validates this get v1 credit transfers o k body

type GetV1CreditTransfersParams

type GetV1CreditTransfersParams struct {

	/* AccountID.

	   Filters out transfers for the given source account.
	*/
	AccountID *string

	/* FromDate.

	   Filters out transfers with date after or equal to the given date. Format as `yyyy-mm-dd`.
	*/
	FromDate *string

	/* Limit.

	   Limit resulting response list.Value must be between 1 and 500 (higher values will be coerced down to 500). Defaults to 100.
	*/
	Limit *int64

	/* Status.

	   Filters out transfers with the given status.
	*/
	Status *string

	/* ToDate.

	   Filters out transfers with date before or equal to the given date. Format as `yyyy-mm-dd`.
	*/
	ToDate *string

	/* Token.

	   If response comes back and `nextToken` is populated, use that value in this `token` query to continue pagination.
	*/
	Token *string

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

GetV1CreditTransfersParams contains all the parameters to send to the API endpoint

for the get v1 credit transfers operation.

Typically these are written to a http.Request.

func NewGetV1CreditTransfersParams

func NewGetV1CreditTransfersParams() *GetV1CreditTransfersParams

NewGetV1CreditTransfersParams creates a new GetV1CreditTransfersParams 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 NewGetV1CreditTransfersParamsWithContext

func NewGetV1CreditTransfersParamsWithContext(ctx context.Context) *GetV1CreditTransfersParams

NewGetV1CreditTransfersParamsWithContext creates a new GetV1CreditTransfersParams object with the ability to set a context for a request.

func NewGetV1CreditTransfersParamsWithHTTPClient

func NewGetV1CreditTransfersParamsWithHTTPClient(client *http.Client) *GetV1CreditTransfersParams

NewGetV1CreditTransfersParamsWithHTTPClient creates a new GetV1CreditTransfersParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1CreditTransfersParamsWithTimeout

func NewGetV1CreditTransfersParamsWithTimeout(timeout time.Duration) *GetV1CreditTransfersParams

NewGetV1CreditTransfersParamsWithTimeout creates a new GetV1CreditTransfersParams object with the ability to set a timeout on a request.

func (*GetV1CreditTransfersParams) SetAccountID

func (o *GetV1CreditTransfersParams) SetAccountID(accountID *string)

SetAccountID adds the accountId to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) SetContext

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

SetContext adds the context to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) SetDefaults

func (o *GetV1CreditTransfersParams) SetDefaults()

SetDefaults hydrates default values in the get v1 credit transfers params (not the query body).

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

func (*GetV1CreditTransfersParams) SetFromDate

func (o *GetV1CreditTransfersParams) SetFromDate(fromDate *string)

SetFromDate adds the fromDate to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) SetLimit

func (o *GetV1CreditTransfersParams) SetLimit(limit *int64)

SetLimit adds the limit to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) SetStatus

func (o *GetV1CreditTransfersParams) SetStatus(status *string)

SetStatus adds the status to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) SetToDate

func (o *GetV1CreditTransfersParams) SetToDate(toDate *string)

SetToDate adds the toDate to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) SetToken

func (o *GetV1CreditTransfersParams) SetToken(token *string)

SetToken adds the token to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) WithAccountID

func (o *GetV1CreditTransfersParams) WithAccountID(accountID *string) *GetV1CreditTransfersParams

WithAccountID adds the accountID to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) WithContext

WithContext adds the context to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) WithDefaults

WithDefaults hydrates default values in the get v1 credit transfers params (not the query body).

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

func (*GetV1CreditTransfersParams) WithFromDate

func (o *GetV1CreditTransfersParams) WithFromDate(fromDate *string) *GetV1CreditTransfersParams

WithFromDate adds the fromDate to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) WithLimit

WithLimit adds the limit to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) WithStatus

WithStatus adds the status to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) WithTimeout

WithTimeout adds the timeout to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) WithToDate

WithToDate adds the toDate to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) WithToken

WithToken adds the token to the get v1 credit transfers params

func (*GetV1CreditTransfersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1CreditTransfersReader

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

GetV1CreditTransfersReader is a Reader for the GetV1CreditTransfers structure.

func (*GetV1CreditTransfersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1CreditTransfersBadRequest added in v1.3.0

type PostV1CreditTransfersBadRequest struct {
	Payload *models.ErrorResponse
}

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

Bad request

func NewPostV1CreditTransfersBadRequest added in v1.3.0

func NewPostV1CreditTransfersBadRequest() *PostV1CreditTransfersBadRequest

NewPostV1CreditTransfersBadRequest creates a PostV1CreditTransfersBadRequest with default headers values

func (*PostV1CreditTransfersBadRequest) Code added in v1.3.0

Code gets the status code for the post v1 credit transfers bad request response

func (*PostV1CreditTransfersBadRequest) Error added in v1.3.0

func (*PostV1CreditTransfersBadRequest) GetPayload added in v1.3.0

func (*PostV1CreditTransfersBadRequest) IsClientError added in v1.3.0

func (o *PostV1CreditTransfersBadRequest) IsClientError() bool

IsClientError returns true when this post v1 credit transfers bad request response has a 4xx status code

func (*PostV1CreditTransfersBadRequest) IsCode added in v1.3.0

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

IsCode returns true when this post v1 credit transfers bad request response a status code equal to that given

func (*PostV1CreditTransfersBadRequest) IsRedirect added in v1.3.0

func (o *PostV1CreditTransfersBadRequest) IsRedirect() bool

IsRedirect returns true when this post v1 credit transfers bad request response has a 3xx status code

func (*PostV1CreditTransfersBadRequest) IsServerError added in v1.3.0

func (o *PostV1CreditTransfersBadRequest) IsServerError() bool

IsServerError returns true when this post v1 credit transfers bad request response has a 5xx status code

func (*PostV1CreditTransfersBadRequest) IsSuccess added in v1.3.0

func (o *PostV1CreditTransfersBadRequest) IsSuccess() bool

IsSuccess returns true when this post v1 credit transfers bad request response has a 2xx status code

func (*PostV1CreditTransfersBadRequest) String added in v1.3.0

type PostV1CreditTransfersCreated

type PostV1CreditTransfersCreated struct {
	Payload *models.Payment
}

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

The created CreditTransfer

func NewPostV1CreditTransfersCreated

func NewPostV1CreditTransfersCreated() *PostV1CreditTransfersCreated

NewPostV1CreditTransfersCreated creates a PostV1CreditTransfersCreated with default headers values

func (*PostV1CreditTransfersCreated) Code

Code gets the status code for the post v1 credit transfers created response

func (*PostV1CreditTransfersCreated) Error

func (*PostV1CreditTransfersCreated) GetPayload

func (o *PostV1CreditTransfersCreated) GetPayload() *models.Payment

func (*PostV1CreditTransfersCreated) IsClientError

func (o *PostV1CreditTransfersCreated) IsClientError() bool

IsClientError returns true when this post v1 credit transfers created response has a 4xx status code

func (*PostV1CreditTransfersCreated) IsCode

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

IsCode returns true when this post v1 credit transfers created response a status code equal to that given

func (*PostV1CreditTransfersCreated) IsRedirect

func (o *PostV1CreditTransfersCreated) IsRedirect() bool

IsRedirect returns true when this post v1 credit transfers created response has a 3xx status code

func (*PostV1CreditTransfersCreated) IsServerError

func (o *PostV1CreditTransfersCreated) IsServerError() bool

IsServerError returns true when this post v1 credit transfers created response has a 5xx status code

func (*PostV1CreditTransfersCreated) IsSuccess

func (o *PostV1CreditTransfersCreated) IsSuccess() bool

IsSuccess returns true when this post v1 credit transfers created response has a 2xx status code

func (*PostV1CreditTransfersCreated) String

type PostV1CreditTransfersParams

type PostV1CreditTransfersParams struct {

	/* CreditTransfer.

	   CreditTransfer
	*/
	CreditTransfer *models.CreatePaymentRequest

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

PostV1CreditTransfersParams contains all the parameters to send to the API endpoint

for the post v1 credit transfers operation.

Typically these are written to a http.Request.

func NewPostV1CreditTransfersParams

func NewPostV1CreditTransfersParams() *PostV1CreditTransfersParams

NewPostV1CreditTransfersParams creates a new PostV1CreditTransfersParams 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 NewPostV1CreditTransfersParamsWithContext

func NewPostV1CreditTransfersParamsWithContext(ctx context.Context) *PostV1CreditTransfersParams

NewPostV1CreditTransfersParamsWithContext creates a new PostV1CreditTransfersParams object with the ability to set a context for a request.

func NewPostV1CreditTransfersParamsWithHTTPClient

func NewPostV1CreditTransfersParamsWithHTTPClient(client *http.Client) *PostV1CreditTransfersParams

NewPostV1CreditTransfersParamsWithHTTPClient creates a new PostV1CreditTransfersParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1CreditTransfersParamsWithTimeout

func NewPostV1CreditTransfersParamsWithTimeout(timeout time.Duration) *PostV1CreditTransfersParams

NewPostV1CreditTransfersParamsWithTimeout creates a new PostV1CreditTransfersParams object with the ability to set a timeout on a request.

func (*PostV1CreditTransfersParams) SetContext

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

SetContext adds the context to the post v1 credit transfers params

func (*PostV1CreditTransfersParams) SetCreditTransfer

func (o *PostV1CreditTransfersParams) SetCreditTransfer(creditTransfer *models.CreatePaymentRequest)

SetCreditTransfer adds the creditTransfer to the post v1 credit transfers params

func (*PostV1CreditTransfersParams) SetDefaults

func (o *PostV1CreditTransfersParams) SetDefaults()

SetDefaults hydrates default values in the post v1 credit transfers params (not the query body).

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

func (*PostV1CreditTransfersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 credit transfers params

func (*PostV1CreditTransfersParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 credit transfers params

func (*PostV1CreditTransfersParams) WithContext

WithContext adds the context to the post v1 credit transfers params

func (*PostV1CreditTransfersParams) WithCreditTransfer

WithCreditTransfer adds the creditTransfer to the post v1 credit transfers params

func (*PostV1CreditTransfersParams) WithDefaults

WithDefaults hydrates default values in the post v1 credit transfers params (not the query body).

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

func (*PostV1CreditTransfersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 credit transfers params

func (*PostV1CreditTransfersParams) WithTimeout

WithTimeout adds the timeout to the post v1 credit transfers params

func (*PostV1CreditTransfersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1CreditTransfersReader

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

PostV1CreditTransfersReader is a Reader for the PostV1CreditTransfers structure.

func (*PostV1CreditTransfersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted added in v1.3.0

type PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted struct {
	Payload *models.Payment
}

PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted describes a response with status code 202, with default header values.

The, now, approved identified CreditTransfer

func NewPutV1CreditTransfersIDApprovalsApprovalStepIDAccepted added in v1.3.0

func NewPutV1CreditTransfersIDApprovalsApprovalStepIDAccepted() *PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted

NewPutV1CreditTransfersIDApprovalsApprovalStepIDAccepted creates a PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted with default headers values

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) Code added in v1.3.0

Code gets the status code for the put v1 credit transfers Id approvals approval step Id accepted response

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) Error added in v1.3.0

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) GetPayload added in v1.3.0

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsClientError added in v1.3.0

IsClientError returns true when this put v1 credit transfers Id approvals approval step Id accepted response has a 4xx status code

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsCode added in v1.3.0

IsCode returns true when this put v1 credit transfers Id approvals approval step Id accepted response a status code equal to that given

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsRedirect added in v1.3.0

IsRedirect returns true when this put v1 credit transfers Id approvals approval step Id accepted response has a 3xx status code

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsServerError added in v1.3.0

IsServerError returns true when this put v1 credit transfers Id approvals approval step Id accepted response has a 5xx status code

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) IsSuccess added in v1.3.0

IsSuccess returns true when this put v1 credit transfers Id approvals approval step Id accepted response has a 2xx status code

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDAccepted) String added in v1.3.0

type PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest added in v1.3.0

type PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest struct {
	Payload *models.ErrorResponse
}

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

Bad request

func NewPutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest added in v1.3.0

func NewPutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest() *PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest

NewPutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest creates a PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest with default headers values

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) Code added in v1.3.0

Code gets the status code for the put v1 credit transfers Id approvals approval step Id bad request response

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) Error added in v1.3.0

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) GetPayload added in v1.3.0

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsClientError added in v1.3.0

IsClientError returns true when this put v1 credit transfers Id approvals approval step Id bad request response has a 4xx status code

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsCode added in v1.3.0

IsCode returns true when this put v1 credit transfers Id approvals approval step Id bad request response a status code equal to that given

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsRedirect added in v1.3.0

IsRedirect returns true when this put v1 credit transfers Id approvals approval step Id bad request response has a 3xx status code

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsServerError added in v1.3.0

IsServerError returns true when this put v1 credit transfers Id approvals approval step Id bad request response has a 5xx status code

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) IsSuccess added in v1.3.0

IsSuccess returns true when this put v1 credit transfers Id approvals approval step Id bad request response has a 2xx status code

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDBadRequest) String added in v1.3.0

type PutV1CreditTransfersIDApprovalsApprovalStepIDParams

type PutV1CreditTransfersIDApprovalsApprovalStepIDParams struct {

	/* IfMatch.

	   The ETag of the CreditTransfer
	*/
	IfMatch *string

	/* ApprovalStepID.

	   The id of the approval step to be approved
	*/
	ApprovalStepID string

	/* ID.

	   CreditTransfer ID
	*/
	ID string

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

PutV1CreditTransfersIDApprovalsApprovalStepIDParams contains all the parameters to send to the API endpoint

for the put v1 credit transfers ID approvals approval step ID operation.

Typically these are written to a http.Request.

func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParams

func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParams() *PutV1CreditTransfersIDApprovalsApprovalStepIDParams

NewPutV1CreditTransfersIDApprovalsApprovalStepIDParams creates a new PutV1CreditTransfersIDApprovalsApprovalStepIDParams 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 NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithContext

func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithContext(ctx context.Context) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams

NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithContext creates a new PutV1CreditTransfersIDApprovalsApprovalStepIDParams object with the ability to set a context for a request.

func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithHTTPClient

func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithHTTPClient(client *http.Client) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams

NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithHTTPClient creates a new PutV1CreditTransfersIDApprovalsApprovalStepIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithTimeout

func NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithTimeout(timeout time.Duration) *PutV1CreditTransfersIDApprovalsApprovalStepIDParams

NewPutV1CreditTransfersIDApprovalsApprovalStepIDParamsWithTimeout creates a new PutV1CreditTransfersIDApprovalsApprovalStepIDParams object with the ability to set a timeout on a request.

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetApprovalStepID

func (o *PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetApprovalStepID(approvalStepID string)

SetApprovalStepID adds the approvalStepId to the put v1 credit transfers ID approvals approval step ID params

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetContext

SetContext adds the context to the put v1 credit transfers ID approvals approval step ID params

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetDefaults

SetDefaults hydrates default values in the put v1 credit transfers ID approvals approval step ID params (not the query body).

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

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put v1 credit transfers ID approvals approval step ID params

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetID

SetID adds the id to the put v1 credit transfers ID approvals approval step ID params

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetIfMatch

SetIfMatch adds the ifMatch to the put v1 credit transfers ID approvals approval step ID params

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) SetTimeout

SetTimeout adds the timeout to the put v1 credit transfers ID approvals approval step ID params

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithApprovalStepID

WithApprovalStepID adds the approvalStepID to the put v1 credit transfers ID approvals approval step ID params

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithContext

WithContext adds the context to the put v1 credit transfers ID approvals approval step ID params

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithDefaults

WithDefaults hydrates default values in the put v1 credit transfers ID approvals approval step ID params (not the query body).

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

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 credit transfers ID approvals approval step ID params

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithID

WithID adds the id to the put v1 credit transfers ID approvals approval step ID params

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithIfMatch

WithIfMatch adds the ifMatch to the put v1 credit transfers ID approvals approval step ID params

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WithTimeout

WithTimeout adds the timeout to the put v1 credit transfers ID approvals approval step ID params

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1CreditTransfersIDApprovalsApprovalStepIDReader

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

PutV1CreditTransfersIDApprovalsApprovalStepIDReader is a Reader for the PutV1CreditTransfersIDApprovalsApprovalStepID structure.

func (*PutV1CreditTransfersIDApprovalsApprovalStepIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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