Documentation ¶
Index ¶
- type Client
- func (a *Client) GetV1DirectDebits(params *GetV1DirectDebitsParams, opts ...ClientOption) (*GetV1DirectDebitsOK, error)
- func (a *Client) GetV1DirectDebitsGetByExternalIDExternalID(params *GetV1DirectDebitsGetByExternalIDExternalIDParams, opts ...ClientOption) (*GetV1DirectDebitsGetByExternalIDExternalIDOK, error)
- func (a *Client) GetV1DirectDebitsID(params *GetV1DirectDebitsIDParams, opts ...ClientOption) (*GetV1DirectDebitsIDOK, error)
- func (a *Client) GetV1DirectDebitsIDEvents(params *GetV1DirectDebitsIDEventsParams, opts ...ClientOption) (*GetV1DirectDebitsIDEventsOK, error)
- func (a *Client) PostV1DirectDebits(params *PostV1DirectDebitsParams, opts ...ClientOption) (*PostV1DirectDebitsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetV1DirectDebitsBadRequest
- func (o *GetV1DirectDebitsBadRequest) Code() int
- func (o *GetV1DirectDebitsBadRequest) Error() string
- func (o *GetV1DirectDebitsBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetV1DirectDebitsBadRequest) IsClientError() bool
- func (o *GetV1DirectDebitsBadRequest) IsCode(code int) bool
- func (o *GetV1DirectDebitsBadRequest) IsRedirect() bool
- func (o *GetV1DirectDebitsBadRequest) IsServerError() bool
- func (o *GetV1DirectDebitsBadRequest) IsSuccess() bool
- func (o *GetV1DirectDebitsBadRequest) String() string
- type GetV1DirectDebitsGetByExternalIDExternalIDNotFound
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) Code() int
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) Error() string
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) GetPayload() string
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsClientError() bool
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsCode(code int) bool
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsRedirect() bool
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsServerError() bool
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsSuccess() bool
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) String() string
- type GetV1DirectDebitsGetByExternalIDExternalIDOK
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) Code() int
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) Error() string
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) GetPayload() *models.DirectDebit
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) IsClientError() bool
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) IsCode(code int) bool
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) IsRedirect() bool
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) IsServerError() bool
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) IsSuccess() bool
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) String() string
- type GetV1DirectDebitsGetByExternalIDExternalIDParams
- func NewGetV1DirectDebitsGetByExternalIDExternalIDParams() *GetV1DirectDebitsGetByExternalIDExternalIDParams
- func NewGetV1DirectDebitsGetByExternalIDExternalIDParamsWithContext(ctx context.Context) *GetV1DirectDebitsGetByExternalIDExternalIDParams
- func NewGetV1DirectDebitsGetByExternalIDExternalIDParamsWithHTTPClient(client *http.Client) *GetV1DirectDebitsGetByExternalIDExternalIDParams
- func NewGetV1DirectDebitsGetByExternalIDExternalIDParamsWithTimeout(timeout time.Duration) *GetV1DirectDebitsGetByExternalIDExternalIDParams
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) SetContext(ctx context.Context)
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) SetDefaults()
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) SetExternalID(externalID string)
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) WithContext(ctx context.Context) *GetV1DirectDebitsGetByExternalIDExternalIDParams
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) WithDefaults() *GetV1DirectDebitsGetByExternalIDExternalIDParams
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) WithExternalID(externalID string) *GetV1DirectDebitsGetByExternalIDExternalIDParams
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) WithHTTPClient(client *http.Client) *GetV1DirectDebitsGetByExternalIDExternalIDParams
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) WithTimeout(timeout time.Duration) *GetV1DirectDebitsGetByExternalIDExternalIDParams
- func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1DirectDebitsGetByExternalIDExternalIDReader
- type GetV1DirectDebitsIDEventsOK
- func (o *GetV1DirectDebitsIDEventsOK) Code() int
- func (o *GetV1DirectDebitsIDEventsOK) Error() string
- func (o *GetV1DirectDebitsIDEventsOK) GetPayload() *GetV1DirectDebitsIDEventsOKBody
- func (o *GetV1DirectDebitsIDEventsOK) IsClientError() bool
- func (o *GetV1DirectDebitsIDEventsOK) IsCode(code int) bool
- func (o *GetV1DirectDebitsIDEventsOK) IsRedirect() bool
- func (o *GetV1DirectDebitsIDEventsOK) IsServerError() bool
- func (o *GetV1DirectDebitsIDEventsOK) IsSuccess() bool
- func (o *GetV1DirectDebitsIDEventsOK) String() string
- type GetV1DirectDebitsIDEventsOKBody
- func (o *GetV1DirectDebitsIDEventsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetV1DirectDebitsIDEventsOKBody) MarshalBinary() ([]byte, error)
- func (o GetV1DirectDebitsIDEventsOKBody) MarshalJSON() ([]byte, error)
- func (o *GetV1DirectDebitsIDEventsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetV1DirectDebitsIDEventsOKBody) UnmarshalJSON(raw []byte) error
- func (o *GetV1DirectDebitsIDEventsOKBody) Validate(formats strfmt.Registry) error
- type GetV1DirectDebitsIDEventsParams
- func NewGetV1DirectDebitsIDEventsParams() *GetV1DirectDebitsIDEventsParams
- func NewGetV1DirectDebitsIDEventsParamsWithContext(ctx context.Context) *GetV1DirectDebitsIDEventsParams
- func NewGetV1DirectDebitsIDEventsParamsWithHTTPClient(client *http.Client) *GetV1DirectDebitsIDEventsParams
- func NewGetV1DirectDebitsIDEventsParamsWithTimeout(timeout time.Duration) *GetV1DirectDebitsIDEventsParams
- func (o *GetV1DirectDebitsIDEventsParams) SetContext(ctx context.Context)
- func (o *GetV1DirectDebitsIDEventsParams) SetDefaults()
- func (o *GetV1DirectDebitsIDEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1DirectDebitsIDEventsParams) SetID(id string)
- func (o *GetV1DirectDebitsIDEventsParams) SetLimit(limit *int64)
- func (o *GetV1DirectDebitsIDEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1DirectDebitsIDEventsParams) SetToken(token *string)
- func (o *GetV1DirectDebitsIDEventsParams) WithContext(ctx context.Context) *GetV1DirectDebitsIDEventsParams
- func (o *GetV1DirectDebitsIDEventsParams) WithDefaults() *GetV1DirectDebitsIDEventsParams
- func (o *GetV1DirectDebitsIDEventsParams) WithHTTPClient(client *http.Client) *GetV1DirectDebitsIDEventsParams
- func (o *GetV1DirectDebitsIDEventsParams) WithID(id string) *GetV1DirectDebitsIDEventsParams
- func (o *GetV1DirectDebitsIDEventsParams) WithLimit(limit *int64) *GetV1DirectDebitsIDEventsParams
- func (o *GetV1DirectDebitsIDEventsParams) WithTimeout(timeout time.Duration) *GetV1DirectDebitsIDEventsParams
- func (o *GetV1DirectDebitsIDEventsParams) WithToken(token *string) *GetV1DirectDebitsIDEventsParams
- func (o *GetV1DirectDebitsIDEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1DirectDebitsIDEventsReader
- type GetV1DirectDebitsIDNotFound
- func (o *GetV1DirectDebitsIDNotFound) Code() int
- func (o *GetV1DirectDebitsIDNotFound) Error() string
- func (o *GetV1DirectDebitsIDNotFound) GetPayload() string
- func (o *GetV1DirectDebitsIDNotFound) IsClientError() bool
- func (o *GetV1DirectDebitsIDNotFound) IsCode(code int) bool
- func (o *GetV1DirectDebitsIDNotFound) IsRedirect() bool
- func (o *GetV1DirectDebitsIDNotFound) IsServerError() bool
- func (o *GetV1DirectDebitsIDNotFound) IsSuccess() bool
- func (o *GetV1DirectDebitsIDNotFound) String() string
- type GetV1DirectDebitsIDOK
- func (o *GetV1DirectDebitsIDOK) Code() int
- func (o *GetV1DirectDebitsIDOK) Error() string
- func (o *GetV1DirectDebitsIDOK) GetPayload() *models.DirectDebit
- func (o *GetV1DirectDebitsIDOK) IsClientError() bool
- func (o *GetV1DirectDebitsIDOK) IsCode(code int) bool
- func (o *GetV1DirectDebitsIDOK) IsRedirect() bool
- func (o *GetV1DirectDebitsIDOK) IsServerError() bool
- func (o *GetV1DirectDebitsIDOK) IsSuccess() bool
- func (o *GetV1DirectDebitsIDOK) String() string
- type GetV1DirectDebitsIDParams
- func NewGetV1DirectDebitsIDParams() *GetV1DirectDebitsIDParams
- func NewGetV1DirectDebitsIDParamsWithContext(ctx context.Context) *GetV1DirectDebitsIDParams
- func NewGetV1DirectDebitsIDParamsWithHTTPClient(client *http.Client) *GetV1DirectDebitsIDParams
- func NewGetV1DirectDebitsIDParamsWithTimeout(timeout time.Duration) *GetV1DirectDebitsIDParams
- func (o *GetV1DirectDebitsIDParams) SetContext(ctx context.Context)
- func (o *GetV1DirectDebitsIDParams) SetDefaults()
- func (o *GetV1DirectDebitsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1DirectDebitsIDParams) SetID(id string)
- func (o *GetV1DirectDebitsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1DirectDebitsIDParams) WithContext(ctx context.Context) *GetV1DirectDebitsIDParams
- func (o *GetV1DirectDebitsIDParams) WithDefaults() *GetV1DirectDebitsIDParams
- func (o *GetV1DirectDebitsIDParams) WithHTTPClient(client *http.Client) *GetV1DirectDebitsIDParams
- func (o *GetV1DirectDebitsIDParams) WithID(id string) *GetV1DirectDebitsIDParams
- func (o *GetV1DirectDebitsIDParams) WithTimeout(timeout time.Duration) *GetV1DirectDebitsIDParams
- func (o *GetV1DirectDebitsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1DirectDebitsIDReader
- type GetV1DirectDebitsOK
- func (o *GetV1DirectDebitsOK) Code() int
- func (o *GetV1DirectDebitsOK) Error() string
- func (o *GetV1DirectDebitsOK) GetPayload() *GetV1DirectDebitsOKBody
- func (o *GetV1DirectDebitsOK) IsClientError() bool
- func (o *GetV1DirectDebitsOK) IsCode(code int) bool
- func (o *GetV1DirectDebitsOK) IsRedirect() bool
- func (o *GetV1DirectDebitsOK) IsServerError() bool
- func (o *GetV1DirectDebitsOK) IsSuccess() bool
- func (o *GetV1DirectDebitsOK) String() string
- type GetV1DirectDebitsOKBody
- func (o *GetV1DirectDebitsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetV1DirectDebitsOKBody) MarshalBinary() ([]byte, error)
- func (o GetV1DirectDebitsOKBody) MarshalJSON() ([]byte, error)
- func (o *GetV1DirectDebitsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetV1DirectDebitsOKBody) UnmarshalJSON(raw []byte) error
- func (o *GetV1DirectDebitsOKBody) Validate(formats strfmt.Registry) error
- type GetV1DirectDebitsParams
- func NewGetV1DirectDebitsParams() *GetV1DirectDebitsParams
- func NewGetV1DirectDebitsParamsWithContext(ctx context.Context) *GetV1DirectDebitsParams
- func NewGetV1DirectDebitsParamsWithHTTPClient(client *http.Client) *GetV1DirectDebitsParams
- func NewGetV1DirectDebitsParamsWithTimeout(timeout time.Duration) *GetV1DirectDebitsParams
- func (o *GetV1DirectDebitsParams) SetAccountID(accountID *string)
- func (o *GetV1DirectDebitsParams) SetContext(ctx context.Context)
- func (o *GetV1DirectDebitsParams) SetDefaults()
- func (o *GetV1DirectDebitsParams) SetDirectDebitSchemeType(directDebitSchemeType *string)
- func (o *GetV1DirectDebitsParams) SetFromDate(fromDate *string)
- func (o *GetV1DirectDebitsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1DirectDebitsParams) SetLimit(limit *int64)
- func (o *GetV1DirectDebitsParams) SetStatus(status *string)
- func (o *GetV1DirectDebitsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1DirectDebitsParams) SetToDate(toDate *string)
- func (o *GetV1DirectDebitsParams) SetToken(token *string)
- func (o *GetV1DirectDebitsParams) WithAccountID(accountID *string) *GetV1DirectDebitsParams
- func (o *GetV1DirectDebitsParams) WithContext(ctx context.Context) *GetV1DirectDebitsParams
- func (o *GetV1DirectDebitsParams) WithDefaults() *GetV1DirectDebitsParams
- func (o *GetV1DirectDebitsParams) WithDirectDebitSchemeType(directDebitSchemeType *string) *GetV1DirectDebitsParams
- func (o *GetV1DirectDebitsParams) WithFromDate(fromDate *string) *GetV1DirectDebitsParams
- func (o *GetV1DirectDebitsParams) WithHTTPClient(client *http.Client) *GetV1DirectDebitsParams
- func (o *GetV1DirectDebitsParams) WithLimit(limit *int64) *GetV1DirectDebitsParams
- func (o *GetV1DirectDebitsParams) WithStatus(status *string) *GetV1DirectDebitsParams
- func (o *GetV1DirectDebitsParams) WithTimeout(timeout time.Duration) *GetV1DirectDebitsParams
- func (o *GetV1DirectDebitsParams) WithToDate(toDate *string) *GetV1DirectDebitsParams
- func (o *GetV1DirectDebitsParams) WithToken(token *string) *GetV1DirectDebitsParams
- func (o *GetV1DirectDebitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1DirectDebitsReader
- type PostV1DirectDebitsBadRequest
- func (o *PostV1DirectDebitsBadRequest) Code() int
- func (o *PostV1DirectDebitsBadRequest) Error() string
- func (o *PostV1DirectDebitsBadRequest) GetPayload() *models.ErrorResponse
- func (o *PostV1DirectDebitsBadRequest) IsClientError() bool
- func (o *PostV1DirectDebitsBadRequest) IsCode(code int) bool
- func (o *PostV1DirectDebitsBadRequest) IsRedirect() bool
- func (o *PostV1DirectDebitsBadRequest) IsServerError() bool
- func (o *PostV1DirectDebitsBadRequest) IsSuccess() bool
- func (o *PostV1DirectDebitsBadRequest) String() string
- type PostV1DirectDebitsCreated
- func (o *PostV1DirectDebitsCreated) Code() int
- func (o *PostV1DirectDebitsCreated) Error() string
- func (o *PostV1DirectDebitsCreated) GetPayload() *models.DirectDebit
- func (o *PostV1DirectDebitsCreated) IsClientError() bool
- func (o *PostV1DirectDebitsCreated) IsCode(code int) bool
- func (o *PostV1DirectDebitsCreated) IsRedirect() bool
- func (o *PostV1DirectDebitsCreated) IsServerError() bool
- func (o *PostV1DirectDebitsCreated) IsSuccess() bool
- func (o *PostV1DirectDebitsCreated) String() string
- type PostV1DirectDebitsParams
- func NewPostV1DirectDebitsParams() *PostV1DirectDebitsParams
- func NewPostV1DirectDebitsParamsWithContext(ctx context.Context) *PostV1DirectDebitsParams
- func NewPostV1DirectDebitsParamsWithHTTPClient(client *http.Client) *PostV1DirectDebitsParams
- func NewPostV1DirectDebitsParamsWithTimeout(timeout time.Duration) *PostV1DirectDebitsParams
- func (o *PostV1DirectDebitsParams) SetContext(ctx context.Context)
- func (o *PostV1DirectDebitsParams) SetDefaults()
- func (o *PostV1DirectDebitsParams) SetDirectDebit(directDebit *models.CreateDirectDebitRequest)
- func (o *PostV1DirectDebitsParams) SetHTTPClient(client *http.Client)
- func (o *PostV1DirectDebitsParams) SetTimeout(timeout time.Duration)
- func (o *PostV1DirectDebitsParams) WithContext(ctx context.Context) *PostV1DirectDebitsParams
- func (o *PostV1DirectDebitsParams) WithDefaults() *PostV1DirectDebitsParams
- func (o *PostV1DirectDebitsParams) WithDirectDebit(directDebit *models.CreateDirectDebitRequest) *PostV1DirectDebitsParams
- func (o *PostV1DirectDebitsParams) WithHTTPClient(client *http.Client) *PostV1DirectDebitsParams
- func (o *PostV1DirectDebitsParams) WithTimeout(timeout time.Duration) *PostV1DirectDebitsParams
- func (o *PostV1DirectDebitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1DirectDebitsReader
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 (o *GetV1DirectDebitsBadRequest) Error() string
func (*GetV1DirectDebitsBadRequest) GetPayload ¶ added in v1.3.0
func (o *GetV1DirectDebitsBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) Code() int
Code gets the status code for the get v1 direct debits get by external Id external Id not found response
func (*GetV1DirectDebitsGetByExternalIDExternalIDNotFound) Error ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) Error() string
func (*GetV1DirectDebitsGetByExternalIDExternalIDNotFound) GetPayload ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) GetPayload() string
func (*GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsClientError ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsClientError() bool
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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsCode(code int) bool
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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsRedirect() bool
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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsServerError() bool
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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) IsSuccess() bool
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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDNotFound) String() 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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) Code() int
Code gets the status code for the get v1 direct debits get by external Id external Id o k response
func (*GetV1DirectDebitsGetByExternalIDExternalIDOK) Error ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) Error() string
func (*GetV1DirectDebitsGetByExternalIDExternalIDOK) GetPayload ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) GetPayload() *models.DirectDebit
func (*GetV1DirectDebitsGetByExternalIDExternalIDOK) IsClientError ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) IsClientError() bool
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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) IsCode(code int) bool
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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) IsRedirect() bool
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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) IsServerError() bool
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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) IsSuccess() bool
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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDOK) String() 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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 direct debits get by external ID external ID params
func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) SetDefaults ¶
func (o *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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 direct debits get by external ID external ID params
func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) SetTimeout ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 direct debits get by external ID external ID params
func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) WithContext ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) WithContext(ctx context.Context) *GetV1DirectDebitsGetByExternalIDExternalIDParams
WithContext adds the context to the get v1 direct debits get by external ID external ID params
func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) WithDefaults ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) WithDefaults() *GetV1DirectDebitsGetByExternalIDExternalIDParams
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 ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) WithExternalID(externalID string) *GetV1DirectDebitsGetByExternalIDExternalIDParams
WithExternalID adds the externalID to the get v1 direct debits get by external ID external ID params
func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) WithHTTPClient ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) WithHTTPClient(client *http.Client) *GetV1DirectDebitsGetByExternalIDExternalIDParams
WithHTTPClient adds the HTTPClient to the get v1 direct debits get by external ID external ID params
func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) WithTimeout ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) WithTimeout(timeout time.Duration) *GetV1DirectDebitsGetByExternalIDExternalIDParams
WithTimeout adds the timeout to the get v1 direct debits get by external ID external ID params
func (*GetV1DirectDebitsGetByExternalIDExternalIDParams) WriteToRequest ¶
func (o *GetV1DirectDebitsGetByExternalIDExternalIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetV1DirectDebitsIDEventsOK) Error() string
func (*GetV1DirectDebitsIDEventsOK) GetPayload ¶
func (o *GetV1DirectDebitsIDEventsOK) GetPayload() *GetV1DirectDebitsIDEventsOKBody
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
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 ¶
func (o *GetV1DirectDebitsIDEventsParams) SetID(id string)
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 ¶
func (o *GetV1DirectDebitsIDEventsParams) WithContext(ctx context.Context) *GetV1DirectDebitsIDEventsParams
WithContext adds the context to the get v1 direct debits ID events params
func (*GetV1DirectDebitsIDEventsParams) WithDefaults ¶
func (o *GetV1DirectDebitsIDEventsParams) WithDefaults() *GetV1DirectDebitsIDEventsParams
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 ¶
func (o *GetV1DirectDebitsIDEventsParams) WithHTTPClient(client *http.Client) *GetV1DirectDebitsIDEventsParams
WithHTTPClient adds the HTTPClient to the get v1 direct debits ID events params
func (*GetV1DirectDebitsIDEventsParams) WithID ¶
func (o *GetV1DirectDebitsIDEventsParams) WithID(id string) *GetV1DirectDebitsIDEventsParams
WithID adds the id to the get v1 direct debits ID events params
func (*GetV1DirectDebitsIDEventsParams) WithLimit ¶
func (o *GetV1DirectDebitsIDEventsParams) WithLimit(limit *int64) *GetV1DirectDebitsIDEventsParams
WithLimit adds the limit to the get v1 direct debits ID events params
func (*GetV1DirectDebitsIDEventsParams) WithTimeout ¶
func (o *GetV1DirectDebitsIDEventsParams) WithTimeout(timeout time.Duration) *GetV1DirectDebitsIDEventsParams
WithTimeout adds the timeout to the get v1 direct debits ID events params
func (*GetV1DirectDebitsIDEventsParams) WithToken ¶
func (o *GetV1DirectDebitsIDEventsParams) WithToken(token *string) *GetV1DirectDebitsIDEventsParams
WithToken adds the token to the get v1 direct debits ID events params
func (*GetV1DirectDebitsIDEventsParams) WriteToRequest ¶
func (o *GetV1DirectDebitsIDEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetV1DirectDebitsIDNotFound) Error() string
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 ¶
func (o *GetV1DirectDebitsIDParams) WithContext(ctx context.Context) *GetV1DirectDebitsIDParams
WithContext adds the context to the get v1 direct debits ID params
func (*GetV1DirectDebitsIDParams) WithDefaults ¶
func (o *GetV1DirectDebitsIDParams) WithDefaults() *GetV1DirectDebitsIDParams
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 ¶
func (o *GetV1DirectDebitsIDParams) WithID(id string) *GetV1DirectDebitsIDParams
WithID adds the id to the get v1 direct debits ID params
func (*GetV1DirectDebitsIDParams) WithTimeout ¶
func (o *GetV1DirectDebitsIDParams) WithTimeout(timeout time.Duration) *GetV1DirectDebitsIDParams
WithTimeout adds the timeout to the get v1 direct debits ID params
func (*GetV1DirectDebitsIDParams) WriteToRequest ¶
func (o *GetV1DirectDebitsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetV1DirectDebitsOK) GetPayload() *GetV1DirectDebitsOKBody
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
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 ¶
func (o *GetV1DirectDebitsParams) WithContext(ctx context.Context) *GetV1DirectDebitsParams
WithContext adds the context to the get v1 direct debits params
func (*GetV1DirectDebitsParams) WithDefaults ¶
func (o *GetV1DirectDebitsParams) WithDefaults() *GetV1DirectDebitsParams
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 ¶
func (o *GetV1DirectDebitsParams) WithLimit(limit *int64) *GetV1DirectDebitsParams
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 ¶
func (o *GetV1DirectDebitsParams) WithTimeout(timeout time.Duration) *GetV1DirectDebitsParams
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 ¶
func (o *GetV1DirectDebitsParams) WithToken(token *string) *GetV1DirectDebitsParams
WithToken adds the token to the get v1 direct debits params
func (*GetV1DirectDebitsParams) WriteToRequest ¶
func (o *GetV1DirectDebitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *PostV1DirectDebitsBadRequest) Code() int
Code gets the status code for the post v1 direct debits bad request response
func (*PostV1DirectDebitsBadRequest) Error ¶ added in v1.3.0
func (o *PostV1DirectDebitsBadRequest) Error() string
func (*PostV1DirectDebitsBadRequest) GetPayload ¶ added in v1.3.0
func (o *PostV1DirectDebitsBadRequest) GetPayload() *models.ErrorResponse
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
func (o *PostV1DirectDebitsBadRequest) String() string
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 ¶
func (o *PostV1DirectDebitsParams) WithContext(ctx context.Context) *PostV1DirectDebitsParams
WithContext adds the context to the post v1 direct debits params
func (*PostV1DirectDebitsParams) WithDefaults ¶
func (o *PostV1DirectDebitsParams) WithDefaults() *PostV1DirectDebitsParams
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 ¶
func (o *PostV1DirectDebitsParams) WithDirectDebit(directDebit *models.CreateDirectDebitRequest) *PostV1DirectDebitsParams
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 ¶
func (o *PostV1DirectDebitsParams) WithTimeout(timeout time.Duration) *PostV1DirectDebitsParams
WithTimeout adds the timeout to the post v1 direct debits params
func (*PostV1DirectDebitsParams) WriteToRequest ¶
func (o *PostV1DirectDebitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- direct_debits_client.go
- get_v1_direct_debits_get_by_external_id_external_id_parameters.go
- get_v1_direct_debits_get_by_external_id_external_id_responses.go
- get_v1_direct_debits_id_events_parameters.go
- get_v1_direct_debits_id_events_responses.go
- get_v1_direct_debits_id_parameters.go
- get_v1_direct_debits_id_responses.go
- get_v1_direct_debits_parameters.go
- get_v1_direct_debits_responses.go
- post_v1_direct_debits_parameters.go
- post_v1_direct_debits_responses.go