direct_debits

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 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 direct debits API

func (*Client) GetV1DirectDebits

func (a *Client) GetV1DirectDebits(params *GetV1DirectDebitsParams, opts ...ClientOption) (*GetV1DirectDebitsOK, error)
GetV1DirectDebits queries direct debits

Returns a list of Direct Debits. For further details on Pagination, see the section above.

Sort order is always descending on date.

func (*Client) GetV1DirectDebitsGetByExternalIDExternalID

func (a *Client) GetV1DirectDebitsGetByExternalIDExternalID(params *GetV1DirectDebitsGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1DirectDebitsGetByExternalIDExternalIDOK, error)

GetV1DirectDebitsGetByExternalIDExternalID reads direct debit by its external Id

Returns the identified Direct Debit.

func (*Client) GetV1DirectDebitsID

func (a *Client) GetV1DirectDebitsID(params *GetV1DirectDebitsIDParams, opts ...ClientOption) (*GetV1DirectDebitsIDOK, error)

GetV1DirectDebitsID reads direct debit

Returns the identified Direct Debit.

func (*Client) GetV1DirectDebitsIDEvents

func (a *Client) GetV1DirectDebitsIDEvents(params *GetV1DirectDebitsIDEventsParams, opts ...ClientOption) (*GetV1DirectDebitsIDEventsOK, error)

GetV1DirectDebitsIDEvents queries direct debit events

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

func (*Client) PostV1DirectDebits

func (a *Client) PostV1DirectDebits(params *PostV1DirectDebitsParams, opts ...ClientOption) (*PostV1DirectDebitsCreated, error)

PostV1DirectDebits creates direct debit

Create Direct Debit.

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 {
	GetV1DirectDebits(params *GetV1DirectDebitsParams, opts ...ClientOption) (*GetV1DirectDebitsOK, error)

	GetV1DirectDebitsGetByExternalIDExternalID(params *GetV1DirectDebitsGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1DirectDebitsGetByExternalIDExternalIDOK, error)

	GetV1DirectDebitsID(params *GetV1DirectDebitsIDParams, opts ...ClientOption) (*GetV1DirectDebitsIDOK, error)

	GetV1DirectDebitsIDEvents(params *GetV1DirectDebitsIDEventsParams, opts ...ClientOption) (*GetV1DirectDebitsIDEventsOK, error)

	PostV1DirectDebits(params *PostV1DirectDebitsParams, opts ...ClientOption) (*PostV1DirectDebitsCreated, 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 direct debits API client.

type GetV1DirectDebitsBadRequest added in v1.3.0

type GetV1DirectDebitsBadRequest struct {
	Payload *models.ErrorResponse
}

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

Bad request

func NewGetV1DirectDebitsBadRequest added in v1.3.0

func NewGetV1DirectDebitsBadRequest() *GetV1DirectDebitsBadRequest

NewGetV1DirectDebitsBadRequest creates a GetV1DirectDebitsBadRequest with default headers values

func (*GetV1DirectDebitsBadRequest) Code added in v1.3.0

func (o *GetV1DirectDebitsBadRequest) Code() int

Code gets the status code for the get v1 direct debits bad request response

func (*GetV1DirectDebitsBadRequest) Error added in v1.3.0

func (*GetV1DirectDebitsBadRequest) GetPayload added in v1.3.0

func (*GetV1DirectDebitsBadRequest) IsClientError added in v1.3.0

func (o *GetV1DirectDebitsBadRequest) IsClientError() bool

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

func (*GetV1DirectDebitsBadRequest) IsCode added in v1.3.0

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

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

func (*GetV1DirectDebitsBadRequest) IsRedirect added in v1.3.0

func (o *GetV1DirectDebitsBadRequest) IsRedirect() bool

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

func (*GetV1DirectDebitsBadRequest) IsServerError added in v1.3.0

func (o *GetV1DirectDebitsBadRequest) IsServerError() bool

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

func (*GetV1DirectDebitsBadRequest) IsSuccess added in v1.3.0

func (o *GetV1DirectDebitsBadRequest) IsSuccess() bool

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

func (*GetV1DirectDebitsBadRequest) String added in v1.3.0

func (o *GetV1DirectDebitsBadRequest) String() string

type GetV1DirectDebitsGetByExternalIDExternalIDNotFound

type GetV1DirectDebitsGetByExternalIDExternalIDNotFound struct {
	Payload string
}

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

The identified Direct Debit doesn't exist.

func NewGetV1DirectDebitsGetByExternalIDExternalIDNotFound

func NewGetV1DirectDebitsGetByExternalIDExternalIDNotFound() *GetV1DirectDebitsGetByExternalIDExternalIDNotFound

NewGetV1DirectDebitsGetByExternalIDExternalIDNotFound creates a GetV1DirectDebitsGetByExternalIDExternalIDNotFound with default headers values

func (*GetV1DirectDebitsGetByExternalIDExternalIDNotFound) Code

Code gets the status code for the get v1 direct debits get by external Id external Id not found response

func (*GetV1DirectDebitsGetByExternalIDExternalIDNotFound) Error

func (*GetV1DirectDebitsGetByExternalIDExternalIDNotFound) GetPayload

func (*GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsClientError

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

func (*GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsCode

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

func (*GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsRedirect

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

func (*GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsServerError

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

func (*GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsSuccess

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

func (*GetV1DirectDebitsGetByExternalIDExternalIDNotFound) String

type GetV1DirectDebitsGetByExternalIDExternalIDOK

type GetV1DirectDebitsGetByExternalIDExternalIDOK struct {
	Payload *models.DirectDebit
}

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

The identified Direct Debit.

func NewGetV1DirectDebitsGetByExternalIDExternalIDOK

func NewGetV1DirectDebitsGetByExternalIDExternalIDOK() *GetV1DirectDebitsGetByExternalIDExternalIDOK

NewGetV1DirectDebitsGetByExternalIDExternalIDOK creates a GetV1DirectDebitsGetByExternalIDExternalIDOK with default headers values

func (*GetV1DirectDebitsGetByExternalIDExternalIDOK) Code

Code gets the status code for the get v1 direct debits get by external Id external Id o k response

func (*GetV1DirectDebitsGetByExternalIDExternalIDOK) Error

func (*GetV1DirectDebitsGetByExternalIDExternalIDOK) GetPayload

func (*GetV1DirectDebitsGetByExternalIDExternalIDOK) IsClientError

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

func (*GetV1DirectDebitsGetByExternalIDExternalIDOK) IsCode

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

func (*GetV1DirectDebitsGetByExternalIDExternalIDOK) IsRedirect

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

func (*GetV1DirectDebitsGetByExternalIDExternalIDOK) IsServerError

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

func (*GetV1DirectDebitsGetByExternalIDExternalIDOK) IsSuccess

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

func (*GetV1DirectDebitsGetByExternalIDExternalIDOK) String

type GetV1DirectDebitsGetByExternalIDExternalIDParams

type GetV1DirectDebitsGetByExternalIDExternalIDParams struct {

	/* ExternalID.

	   The externalId of the Direct Debit. Supplied when creating the Direct Debit.
	*/
	ExternalID string

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

GetV1DirectDebitsGetByExternalIDExternalIDParams contains all the parameters to send to the API endpoint

for the get v1 direct debits get by external ID external ID operation.

Typically these are written to a http.Request.

func NewGetV1DirectDebitsGetByExternalIDExternalIDParams

func NewGetV1DirectDebitsGetByExternalIDExternalIDParams() *GetV1DirectDebitsGetByExternalIDExternalIDParams

NewGetV1DirectDebitsGetByExternalIDExternalIDParams creates a new GetV1DirectDebitsGetByExternalIDExternalIDParams 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 NewGetV1DirectDebitsGetByExternalIDExternalIDParamsWithContext

func NewGetV1DirectDebitsGetByExternalIDExternalIDParamsWithContext(ctx context.Context) *GetV1DirectDebitsGetByExternalIDExternalIDParams

NewGetV1DirectDebitsGetByExternalIDExternalIDParamsWithContext creates a new GetV1DirectDebitsGetByExternalIDExternalIDParams object with the ability to set a context for a request.

func NewGetV1DirectDebitsGetByExternalIDExternalIDParamsWithHTTPClient

func NewGetV1DirectDebitsGetByExternalIDExternalIDParamsWithHTTPClient(client *http.Client) *GetV1DirectDebitsGetByExternalIDExternalIDParams

NewGetV1DirectDebitsGetByExternalIDExternalIDParamsWithHTTPClient creates a new GetV1DirectDebitsGetByExternalIDExternalIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1DirectDebitsGetByExternalIDExternalIDParamsWithTimeout

func NewGetV1DirectDebitsGetByExternalIDExternalIDParamsWithTimeout(timeout time.Duration) *GetV1DirectDebitsGetByExternalIDExternalIDParams

NewGetV1DirectDebitsGetByExternalIDExternalIDParamsWithTimeout creates a new GetV1DirectDebitsGetByExternalIDExternalIDParams object with the ability to set a timeout on a request.

func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) SetContext

SetContext adds the context to the get v1 direct debits get by external ID external ID params

func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) SetDefaults

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

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

func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) SetExternalID

func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) SetExternalID(externalID string)

SetExternalID adds the externalId to the get v1 direct debits get by external ID external ID params

func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 direct debits get by external ID external ID params

func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 direct debits get by external ID external ID params

func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) WithContext

WithContext adds the context to the get v1 direct debits get by external ID external ID params

func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) WithDefaults

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

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

func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) WithExternalID

WithExternalID adds the externalID to the get v1 direct debits get by external ID external ID params

func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 direct debits get by external ID external ID params

func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 direct debits get by external ID external ID params

func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1DirectDebitsGetByExternalIDExternalIDReader

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

GetV1DirectDebitsGetByExternalIDExternalIDReader is a Reader for the GetV1DirectDebitsGetByExternalIDExternalID structure.

func (*GetV1DirectDebitsGetByExternalIDExternalIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1DirectDebitsIDEventsOK

type GetV1DirectDebitsIDEventsOK struct {
	Payload *GetV1DirectDebitsIDEventsOKBody
}

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

QueryResponse with a list of Events

func NewGetV1DirectDebitsIDEventsOK

func NewGetV1DirectDebitsIDEventsOK() *GetV1DirectDebitsIDEventsOK

NewGetV1DirectDebitsIDEventsOK creates a GetV1DirectDebitsIDEventsOK with default headers values

func (*GetV1DirectDebitsIDEventsOK) Code

func (o *GetV1DirectDebitsIDEventsOK) Code() int

Code gets the status code for the get v1 direct debits Id events o k response

func (*GetV1DirectDebitsIDEventsOK) Error

func (*GetV1DirectDebitsIDEventsOK) GetPayload

func (*GetV1DirectDebitsIDEventsOK) IsClientError

func (o *GetV1DirectDebitsIDEventsOK) IsClientError() bool

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

func (*GetV1DirectDebitsIDEventsOK) IsCode

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

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

func (*GetV1DirectDebitsIDEventsOK) IsRedirect

func (o *GetV1DirectDebitsIDEventsOK) IsRedirect() bool

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

func (*GetV1DirectDebitsIDEventsOK) IsServerError

func (o *GetV1DirectDebitsIDEventsOK) IsServerError() bool

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

func (*GetV1DirectDebitsIDEventsOK) IsSuccess

func (o *GetV1DirectDebitsIDEventsOK) IsSuccess() bool

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

func (*GetV1DirectDebitsIDEventsOK) String

func (o *GetV1DirectDebitsIDEventsOK) String() string

type GetV1DirectDebitsIDEventsOKBody

type GetV1DirectDebitsIDEventsOKBody struct {
	models.QueryResponse

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

GetV1DirectDebitsIDEventsOKBody get v1 direct debits ID events o k body swagger:model GetV1DirectDebitsIDEventsOKBody

func (*GetV1DirectDebitsIDEventsOKBody) ContextValidate

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

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

func (*GetV1DirectDebitsIDEventsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (GetV1DirectDebitsIDEventsOKBody) MarshalJSON

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

MarshalJSON marshals this object to a JSON structure

func (*GetV1DirectDebitsIDEventsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetV1DirectDebitsIDEventsOKBody) UnmarshalJSON

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

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetV1DirectDebitsIDEventsOKBody) Validate

Validate validates this get v1 direct debits ID events o k body

type GetV1DirectDebitsIDEventsParams

type GetV1DirectDebitsIDEventsParams struct {

	/* ID.

	   Direct Debit ID
	*/
	ID 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

	/* 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
}

GetV1DirectDebitsIDEventsParams contains all the parameters to send to the API endpoint

for the get v1 direct debits ID events operation.

Typically these are written to a http.Request.

func NewGetV1DirectDebitsIDEventsParams

func NewGetV1DirectDebitsIDEventsParams() *GetV1DirectDebitsIDEventsParams

NewGetV1DirectDebitsIDEventsParams creates a new GetV1DirectDebitsIDEventsParams 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 NewGetV1DirectDebitsIDEventsParamsWithContext

func NewGetV1DirectDebitsIDEventsParamsWithContext(ctx context.Context) *GetV1DirectDebitsIDEventsParams

NewGetV1DirectDebitsIDEventsParamsWithContext creates a new GetV1DirectDebitsIDEventsParams object with the ability to set a context for a request.

func NewGetV1DirectDebitsIDEventsParamsWithHTTPClient

func NewGetV1DirectDebitsIDEventsParamsWithHTTPClient(client *http.Client) *GetV1DirectDebitsIDEventsParams

NewGetV1DirectDebitsIDEventsParamsWithHTTPClient creates a new GetV1DirectDebitsIDEventsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1DirectDebitsIDEventsParamsWithTimeout

func NewGetV1DirectDebitsIDEventsParamsWithTimeout(timeout time.Duration) *GetV1DirectDebitsIDEventsParams

NewGetV1DirectDebitsIDEventsParamsWithTimeout creates a new GetV1DirectDebitsIDEventsParams object with the ability to set a timeout on a request.

func (*GetV1DirectDebitsIDEventsParams) SetContext

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

SetContext adds the context to the get v1 direct debits ID events params

func (*GetV1DirectDebitsIDEventsParams) SetDefaults

func (o *GetV1DirectDebitsIDEventsParams) SetDefaults()

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

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

func (*GetV1DirectDebitsIDEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 direct debits ID events params

func (*GetV1DirectDebitsIDEventsParams) SetID

SetID adds the id to the get v1 direct debits ID events params

func (*GetV1DirectDebitsIDEventsParams) SetLimit

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

SetLimit adds the limit to the get v1 direct debits ID events params

func (*GetV1DirectDebitsIDEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 direct debits ID events params

func (*GetV1DirectDebitsIDEventsParams) SetToken

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

SetToken adds the token to the get v1 direct debits ID events params

func (*GetV1DirectDebitsIDEventsParams) WithContext

WithContext adds the context to the get v1 direct debits ID events params

func (*GetV1DirectDebitsIDEventsParams) WithDefaults

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

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

func (*GetV1DirectDebitsIDEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 direct debits ID events params

func (*GetV1DirectDebitsIDEventsParams) WithID

WithID adds the id to the get v1 direct debits ID events params

func (*GetV1DirectDebitsIDEventsParams) WithLimit

WithLimit adds the limit to the get v1 direct debits ID events params

func (*GetV1DirectDebitsIDEventsParams) WithTimeout

WithTimeout adds the timeout to the get v1 direct debits ID events params

func (*GetV1DirectDebitsIDEventsParams) WithToken

WithToken adds the token to the get v1 direct debits ID events params

func (*GetV1DirectDebitsIDEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1DirectDebitsIDEventsReader

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

GetV1DirectDebitsIDEventsReader is a Reader for the GetV1DirectDebitsIDEvents structure.

func (*GetV1DirectDebitsIDEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1DirectDebitsIDNotFound

type GetV1DirectDebitsIDNotFound struct {
	Payload string
}

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

The identified Direct Debit doesn't exist

func NewGetV1DirectDebitsIDNotFound

func NewGetV1DirectDebitsIDNotFound() *GetV1DirectDebitsIDNotFound

NewGetV1DirectDebitsIDNotFound creates a GetV1DirectDebitsIDNotFound with default headers values

func (*GetV1DirectDebitsIDNotFound) Code

func (o *GetV1DirectDebitsIDNotFound) Code() int

Code gets the status code for the get v1 direct debits Id not found response

func (*GetV1DirectDebitsIDNotFound) Error

func (*GetV1DirectDebitsIDNotFound) GetPayload

func (o *GetV1DirectDebitsIDNotFound) GetPayload() string

func (*GetV1DirectDebitsIDNotFound) IsClientError

func (o *GetV1DirectDebitsIDNotFound) IsClientError() bool

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

func (*GetV1DirectDebitsIDNotFound) IsCode

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

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

func (*GetV1DirectDebitsIDNotFound) IsRedirect

func (o *GetV1DirectDebitsIDNotFound) IsRedirect() bool

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

func (*GetV1DirectDebitsIDNotFound) IsServerError

func (o *GetV1DirectDebitsIDNotFound) IsServerError() bool

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

func (*GetV1DirectDebitsIDNotFound) IsSuccess

func (o *GetV1DirectDebitsIDNotFound) IsSuccess() bool

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

func (*GetV1DirectDebitsIDNotFound) String

func (o *GetV1DirectDebitsIDNotFound) String() string

type GetV1DirectDebitsIDOK

type GetV1DirectDebitsIDOK struct {
	Payload *models.DirectDebit
}

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

The identified Direct Debit.

func NewGetV1DirectDebitsIDOK

func NewGetV1DirectDebitsIDOK() *GetV1DirectDebitsIDOK

NewGetV1DirectDebitsIDOK creates a GetV1DirectDebitsIDOK with default headers values

func (*GetV1DirectDebitsIDOK) Code

func (o *GetV1DirectDebitsIDOK) Code() int

Code gets the status code for the get v1 direct debits Id o k response

func (*GetV1DirectDebitsIDOK) Error

func (o *GetV1DirectDebitsIDOK) Error() string

func (*GetV1DirectDebitsIDOK) GetPayload

func (o *GetV1DirectDebitsIDOK) GetPayload() *models.DirectDebit

func (*GetV1DirectDebitsIDOK) IsClientError

func (o *GetV1DirectDebitsIDOK) IsClientError() bool

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

func (*GetV1DirectDebitsIDOK) IsCode

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

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

func (*GetV1DirectDebitsIDOK) IsRedirect

func (o *GetV1DirectDebitsIDOK) IsRedirect() bool

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

func (*GetV1DirectDebitsIDOK) IsServerError

func (o *GetV1DirectDebitsIDOK) IsServerError() bool

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

func (*GetV1DirectDebitsIDOK) IsSuccess

func (o *GetV1DirectDebitsIDOK) IsSuccess() bool

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

func (*GetV1DirectDebitsIDOK) String

func (o *GetV1DirectDebitsIDOK) String() string

type GetV1DirectDebitsIDParams

type GetV1DirectDebitsIDParams struct {

	/* ID.

	   Direct Debit ID
	*/
	ID string

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

GetV1DirectDebitsIDParams contains all the parameters to send to the API endpoint

for the get v1 direct debits ID operation.

Typically these are written to a http.Request.

func NewGetV1DirectDebitsIDParams

func NewGetV1DirectDebitsIDParams() *GetV1DirectDebitsIDParams

NewGetV1DirectDebitsIDParams creates a new GetV1DirectDebitsIDParams 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 NewGetV1DirectDebitsIDParamsWithContext

func NewGetV1DirectDebitsIDParamsWithContext(ctx context.Context) *GetV1DirectDebitsIDParams

NewGetV1DirectDebitsIDParamsWithContext creates a new GetV1DirectDebitsIDParams object with the ability to set a context for a request.

func NewGetV1DirectDebitsIDParamsWithHTTPClient

func NewGetV1DirectDebitsIDParamsWithHTTPClient(client *http.Client) *GetV1DirectDebitsIDParams

NewGetV1DirectDebitsIDParamsWithHTTPClient creates a new GetV1DirectDebitsIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1DirectDebitsIDParamsWithTimeout

func NewGetV1DirectDebitsIDParamsWithTimeout(timeout time.Duration) *GetV1DirectDebitsIDParams

NewGetV1DirectDebitsIDParamsWithTimeout creates a new GetV1DirectDebitsIDParams object with the ability to set a timeout on a request.

func (*GetV1DirectDebitsIDParams) SetContext

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

SetContext adds the context to the get v1 direct debits ID params

func (*GetV1DirectDebitsIDParams) SetDefaults

func (o *GetV1DirectDebitsIDParams) SetDefaults()

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

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

func (*GetV1DirectDebitsIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 direct debits ID params

func (*GetV1DirectDebitsIDParams) SetID

func (o *GetV1DirectDebitsIDParams) SetID(id string)

SetID adds the id to the get v1 direct debits ID params

func (*GetV1DirectDebitsIDParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 direct debits ID params

func (*GetV1DirectDebitsIDParams) WithContext

WithContext adds the context to the get v1 direct debits ID params

func (*GetV1DirectDebitsIDParams) WithDefaults

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

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

func (*GetV1DirectDebitsIDParams) WithHTTPClient

func (o *GetV1DirectDebitsIDParams) WithHTTPClient(client *http.Client) *GetV1DirectDebitsIDParams

WithHTTPClient adds the HTTPClient to the get v1 direct debits ID params

func (*GetV1DirectDebitsIDParams) WithID

WithID adds the id to the get v1 direct debits ID params

func (*GetV1DirectDebitsIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 direct debits ID params

func (*GetV1DirectDebitsIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1DirectDebitsIDReader

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

GetV1DirectDebitsIDReader is a Reader for the GetV1DirectDebitsID structure.

func (*GetV1DirectDebitsIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1DirectDebitsOK

type GetV1DirectDebitsOK struct {
	Payload *GetV1DirectDebitsOKBody
}

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

QueryResponse with list of Direct Debits

func NewGetV1DirectDebitsOK

func NewGetV1DirectDebitsOK() *GetV1DirectDebitsOK

NewGetV1DirectDebitsOK creates a GetV1DirectDebitsOK with default headers values

func (*GetV1DirectDebitsOK) Code

func (o *GetV1DirectDebitsOK) Code() int

Code gets the status code for the get v1 direct debits o k response

func (*GetV1DirectDebitsOK) Error

func (o *GetV1DirectDebitsOK) Error() string

func (*GetV1DirectDebitsOK) GetPayload

func (*GetV1DirectDebitsOK) IsClientError

func (o *GetV1DirectDebitsOK) IsClientError() bool

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

func (*GetV1DirectDebitsOK) IsCode

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

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

func (*GetV1DirectDebitsOK) IsRedirect

func (o *GetV1DirectDebitsOK) IsRedirect() bool

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

func (*GetV1DirectDebitsOK) IsServerError

func (o *GetV1DirectDebitsOK) IsServerError() bool

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

func (*GetV1DirectDebitsOK) IsSuccess

func (o *GetV1DirectDebitsOK) IsSuccess() bool

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

func (*GetV1DirectDebitsOK) String

func (o *GetV1DirectDebitsOK) String() string

type GetV1DirectDebitsOKBody

type GetV1DirectDebitsOKBody struct {
	models.QueryResponse

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

GetV1DirectDebitsOKBody get v1 direct debits o k body swagger:model GetV1DirectDebitsOKBody

func (*GetV1DirectDebitsOKBody) ContextValidate

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

ContextValidate validate this get v1 direct debits o k body based on the context it is used

func (*GetV1DirectDebitsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (GetV1DirectDebitsOKBody) MarshalJSON

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

MarshalJSON marshals this object to a JSON structure

func (*GetV1DirectDebitsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetV1DirectDebitsOKBody) UnmarshalJSON

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

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetV1DirectDebitsOKBody) Validate

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

Validate validates this get v1 direct debits o k body

type GetV1DirectDebitsParams

type GetV1DirectDebitsParams struct {

	/* AccountID.

	   Filters out direct debits for the given destination account.
	*/
	AccountID *string

	/* DirectDebitSchemeType.

	   Filters out direct debits of the given scheme type.
	*/
	DirectDebitSchemeType *string

	/* FromDate.

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

	/* Limit.

	   Limit resulting response list.

	   Default: 100
	*/
	Limit *int64

	/* Status.

	   Filters out direct debits with the given status.
	*/
	Status *string

	/* ToDate.

	   Filters out direct debits 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
}

GetV1DirectDebitsParams contains all the parameters to send to the API endpoint

for the get v1 direct debits operation.

Typically these are written to a http.Request.

func NewGetV1DirectDebitsParams

func NewGetV1DirectDebitsParams() *GetV1DirectDebitsParams

NewGetV1DirectDebitsParams creates a new GetV1DirectDebitsParams 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 NewGetV1DirectDebitsParamsWithContext

func NewGetV1DirectDebitsParamsWithContext(ctx context.Context) *GetV1DirectDebitsParams

NewGetV1DirectDebitsParamsWithContext creates a new GetV1DirectDebitsParams object with the ability to set a context for a request.

func NewGetV1DirectDebitsParamsWithHTTPClient

func NewGetV1DirectDebitsParamsWithHTTPClient(client *http.Client) *GetV1DirectDebitsParams

NewGetV1DirectDebitsParamsWithHTTPClient creates a new GetV1DirectDebitsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1DirectDebitsParamsWithTimeout

func NewGetV1DirectDebitsParamsWithTimeout(timeout time.Duration) *GetV1DirectDebitsParams

NewGetV1DirectDebitsParamsWithTimeout creates a new GetV1DirectDebitsParams object with the ability to set a timeout on a request.

func (*GetV1DirectDebitsParams) SetAccountID

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

SetAccountID adds the accountId to the get v1 direct debits params

func (*GetV1DirectDebitsParams) SetContext

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

SetContext adds the context to the get v1 direct debits params

func (*GetV1DirectDebitsParams) SetDefaults

func (o *GetV1DirectDebitsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 direct debits params (not the query body).

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

func (*GetV1DirectDebitsParams) SetDirectDebitSchemeType

func (o *GetV1DirectDebitsParams) SetDirectDebitSchemeType(directDebitSchemeType *string)

SetDirectDebitSchemeType adds the directDebitSchemeType to the get v1 direct debits params

func (*GetV1DirectDebitsParams) SetFromDate

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

SetFromDate adds the fromDate to the get v1 direct debits params

func (*GetV1DirectDebitsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 direct debits params

func (*GetV1DirectDebitsParams) SetLimit

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

SetLimit adds the limit to the get v1 direct debits params

func (*GetV1DirectDebitsParams) SetStatus

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

SetStatus adds the status to the get v1 direct debits params

func (*GetV1DirectDebitsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 direct debits params

func (*GetV1DirectDebitsParams) SetToDate

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

SetToDate adds the toDate to the get v1 direct debits params

func (*GetV1DirectDebitsParams) SetToken

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

SetToken adds the token to the get v1 direct debits params

func (*GetV1DirectDebitsParams) WithAccountID

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

WithAccountID adds the accountID to the get v1 direct debits params

func (*GetV1DirectDebitsParams) WithContext

WithContext adds the context to the get v1 direct debits params

func (*GetV1DirectDebitsParams) WithDefaults

WithDefaults hydrates default values in the get v1 direct debits params (not the query body).

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

func (*GetV1DirectDebitsParams) WithDirectDebitSchemeType

func (o *GetV1DirectDebitsParams) WithDirectDebitSchemeType(directDebitSchemeType *string) *GetV1DirectDebitsParams

WithDirectDebitSchemeType adds the directDebitSchemeType to the get v1 direct debits params

func (*GetV1DirectDebitsParams) WithFromDate

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

WithFromDate adds the fromDate to the get v1 direct debits params

func (*GetV1DirectDebitsParams) WithHTTPClient

func (o *GetV1DirectDebitsParams) WithHTTPClient(client *http.Client) *GetV1DirectDebitsParams

WithHTTPClient adds the HTTPClient to the get v1 direct debits params

func (*GetV1DirectDebitsParams) WithLimit

WithLimit adds the limit to the get v1 direct debits params

func (*GetV1DirectDebitsParams) WithStatus

func (o *GetV1DirectDebitsParams) WithStatus(status *string) *GetV1DirectDebitsParams

WithStatus adds the status to the get v1 direct debits params

func (*GetV1DirectDebitsParams) WithTimeout

WithTimeout adds the timeout to the get v1 direct debits params

func (*GetV1DirectDebitsParams) WithToDate

func (o *GetV1DirectDebitsParams) WithToDate(toDate *string) *GetV1DirectDebitsParams

WithToDate adds the toDate to the get v1 direct debits params

func (*GetV1DirectDebitsParams) WithToken

WithToken adds the token to the get v1 direct debits params

func (*GetV1DirectDebitsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1DirectDebitsReader

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

GetV1DirectDebitsReader is a Reader for the GetV1DirectDebits structure.

func (*GetV1DirectDebitsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1DirectDebitsBadRequest added in v1.3.0

type PostV1DirectDebitsBadRequest struct {
	Payload *models.ErrorResponse
}

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

Bad request

func NewPostV1DirectDebitsBadRequest added in v1.3.0

func NewPostV1DirectDebitsBadRequest() *PostV1DirectDebitsBadRequest

NewPostV1DirectDebitsBadRequest creates a PostV1DirectDebitsBadRequest with default headers values

func (*PostV1DirectDebitsBadRequest) Code added in v1.3.0

Code gets the status code for the post v1 direct debits bad request response

func (*PostV1DirectDebitsBadRequest) Error added in v1.3.0

func (*PostV1DirectDebitsBadRequest) GetPayload added in v1.3.0

func (*PostV1DirectDebitsBadRequest) IsClientError added in v1.3.0

func (o *PostV1DirectDebitsBadRequest) IsClientError() bool

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

func (*PostV1DirectDebitsBadRequest) IsCode added in v1.3.0

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

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

func (*PostV1DirectDebitsBadRequest) IsRedirect added in v1.3.0

func (o *PostV1DirectDebitsBadRequest) IsRedirect() bool

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

func (*PostV1DirectDebitsBadRequest) IsServerError added in v1.3.0

func (o *PostV1DirectDebitsBadRequest) IsServerError() bool

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

func (*PostV1DirectDebitsBadRequest) IsSuccess added in v1.3.0

func (o *PostV1DirectDebitsBadRequest) IsSuccess() bool

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

func (*PostV1DirectDebitsBadRequest) String added in v1.3.0

type PostV1DirectDebitsCreated

type PostV1DirectDebitsCreated struct {
	Payload *models.DirectDebit
}

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

The created Direct Debit.

func NewPostV1DirectDebitsCreated

func NewPostV1DirectDebitsCreated() *PostV1DirectDebitsCreated

NewPostV1DirectDebitsCreated creates a PostV1DirectDebitsCreated with default headers values

func (*PostV1DirectDebitsCreated) Code

func (o *PostV1DirectDebitsCreated) Code() int

Code gets the status code for the post v1 direct debits created response

func (*PostV1DirectDebitsCreated) Error

func (o *PostV1DirectDebitsCreated) Error() string

func (*PostV1DirectDebitsCreated) GetPayload

func (o *PostV1DirectDebitsCreated) GetPayload() *models.DirectDebit

func (*PostV1DirectDebitsCreated) IsClientError

func (o *PostV1DirectDebitsCreated) IsClientError() bool

IsClientError returns true when this post v1 direct debits created response has a 4xx status code

func (*PostV1DirectDebitsCreated) IsCode

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

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

func (*PostV1DirectDebitsCreated) IsRedirect

func (o *PostV1DirectDebitsCreated) IsRedirect() bool

IsRedirect returns true when this post v1 direct debits created response has a 3xx status code

func (*PostV1DirectDebitsCreated) IsServerError

func (o *PostV1DirectDebitsCreated) IsServerError() bool

IsServerError returns true when this post v1 direct debits created response has a 5xx status code

func (*PostV1DirectDebitsCreated) IsSuccess

func (o *PostV1DirectDebitsCreated) IsSuccess() bool

IsSuccess returns true when this post v1 direct debits created response has a 2xx status code

func (*PostV1DirectDebitsCreated) String

func (o *PostV1DirectDebitsCreated) String() string

type PostV1DirectDebitsParams

type PostV1DirectDebitsParams struct {

	/* DirectDebit.

	   CreateDirectDebitRequest
	*/
	DirectDebit *models.CreateDirectDebitRequest

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

PostV1DirectDebitsParams contains all the parameters to send to the API endpoint

for the post v1 direct debits operation.

Typically these are written to a http.Request.

func NewPostV1DirectDebitsParams

func NewPostV1DirectDebitsParams() *PostV1DirectDebitsParams

NewPostV1DirectDebitsParams creates a new PostV1DirectDebitsParams 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 NewPostV1DirectDebitsParamsWithContext

func NewPostV1DirectDebitsParamsWithContext(ctx context.Context) *PostV1DirectDebitsParams

NewPostV1DirectDebitsParamsWithContext creates a new PostV1DirectDebitsParams object with the ability to set a context for a request.

func NewPostV1DirectDebitsParamsWithHTTPClient

func NewPostV1DirectDebitsParamsWithHTTPClient(client *http.Client) *PostV1DirectDebitsParams

NewPostV1DirectDebitsParamsWithHTTPClient creates a new PostV1DirectDebitsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1DirectDebitsParamsWithTimeout

func NewPostV1DirectDebitsParamsWithTimeout(timeout time.Duration) *PostV1DirectDebitsParams

NewPostV1DirectDebitsParamsWithTimeout creates a new PostV1DirectDebitsParams object with the ability to set a timeout on a request.

func (*PostV1DirectDebitsParams) SetContext

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

SetContext adds the context to the post v1 direct debits params

func (*PostV1DirectDebitsParams) SetDefaults

func (o *PostV1DirectDebitsParams) SetDefaults()

SetDefaults hydrates default values in the post v1 direct debits params (not the query body).

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

func (*PostV1DirectDebitsParams) SetDirectDebit

func (o *PostV1DirectDebitsParams) SetDirectDebit(directDebit *models.CreateDirectDebitRequest)

SetDirectDebit adds the directDebit to the post v1 direct debits params

func (*PostV1DirectDebitsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 direct debits params

func (*PostV1DirectDebitsParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 direct debits params

func (*PostV1DirectDebitsParams) WithContext

WithContext adds the context to the post v1 direct debits params

func (*PostV1DirectDebitsParams) WithDefaults

WithDefaults hydrates default values in the post v1 direct debits params (not the query body).

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

func (*PostV1DirectDebitsParams) WithDirectDebit

WithDirectDebit adds the directDebit to the post v1 direct debits params

func (*PostV1DirectDebitsParams) WithHTTPClient

func (o *PostV1DirectDebitsParams) WithHTTPClient(client *http.Client) *PostV1DirectDebitsParams

WithHTTPClient adds the HTTPClient to the post v1 direct debits params

func (*PostV1DirectDebitsParams) WithTimeout

WithTimeout adds the timeout to the post v1 direct debits params

func (*PostV1DirectDebitsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1DirectDebitsReader

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

PostV1DirectDebitsReader is a Reader for the PostV1DirectDebits structure.

func (*PostV1DirectDebitsReader) ReadResponse

func (o *PostV1DirectDebitsReader) 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