Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAccountsAccountIDDirectDebits(params *GetAccountsAccountIDDirectDebitsParams, ...) (*GetAccountsAccountIDDirectDebitsOK, error)
- func (a *Client) GetDirectDebits(params *GetDirectDebitsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDirectDebitsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetAccountsAccountIDDirectDebitsBadRequest
- type GetAccountsAccountIDDirectDebitsForbidden
- type GetAccountsAccountIDDirectDebitsInternalServerError
- type GetAccountsAccountIDDirectDebitsMethodNotAllowed
- type GetAccountsAccountIDDirectDebitsNotAcceptable
- type GetAccountsAccountIDDirectDebitsNotFound
- type GetAccountsAccountIDDirectDebitsOK
- type GetAccountsAccountIDDirectDebitsParams
- func NewGetAccountsAccountIDDirectDebitsParams() *GetAccountsAccountIDDirectDebitsParams
- func NewGetAccountsAccountIDDirectDebitsParamsWithContext(ctx context.Context) *GetAccountsAccountIDDirectDebitsParams
- func NewGetAccountsAccountIDDirectDebitsParamsWithHTTPClient(client *http.Client) *GetAccountsAccountIDDirectDebitsParams
- func NewGetAccountsAccountIDDirectDebitsParamsWithTimeout(timeout time.Duration) *GetAccountsAccountIDDirectDebitsParams
- func (o *GetAccountsAccountIDDirectDebitsParams) SetAccountID(accountID string)
- func (o *GetAccountsAccountIDDirectDebitsParams) SetAuthorization(authorization string)
- func (o *GetAccountsAccountIDDirectDebitsParams) SetContext(ctx context.Context)
- func (o *GetAccountsAccountIDDirectDebitsParams) SetDefaults()
- func (o *GetAccountsAccountIDDirectDebitsParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountsAccountIDDirectDebitsParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountsAccountIDDirectDebitsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
- func (o *GetAccountsAccountIDDirectDebitsParams) SetXFapiAuthDate(xFapiAuthDate *string)
- func (o *GetAccountsAccountIDDirectDebitsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
- func (o *GetAccountsAccountIDDirectDebitsParams) SetXFapiInteractionID(xFapiInteractionID *string)
- func (o *GetAccountsAccountIDDirectDebitsParams) WithAccountID(accountID string) *GetAccountsAccountIDDirectDebitsParams
- func (o *GetAccountsAccountIDDirectDebitsParams) WithAuthorization(authorization string) *GetAccountsAccountIDDirectDebitsParams
- func (o *GetAccountsAccountIDDirectDebitsParams) WithContext(ctx context.Context) *GetAccountsAccountIDDirectDebitsParams
- func (o *GetAccountsAccountIDDirectDebitsParams) WithDefaults() *GetAccountsAccountIDDirectDebitsParams
- func (o *GetAccountsAccountIDDirectDebitsParams) WithHTTPClient(client *http.Client) *GetAccountsAccountIDDirectDebitsParams
- func (o *GetAccountsAccountIDDirectDebitsParams) WithTimeout(timeout time.Duration) *GetAccountsAccountIDDirectDebitsParams
- func (o *GetAccountsAccountIDDirectDebitsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetAccountsAccountIDDirectDebitsParams
- func (o *GetAccountsAccountIDDirectDebitsParams) WithXFapiAuthDate(xFapiAuthDate *string) *GetAccountsAccountIDDirectDebitsParams
- func (o *GetAccountsAccountIDDirectDebitsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetAccountsAccountIDDirectDebitsParams
- func (o *GetAccountsAccountIDDirectDebitsParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetAccountsAccountIDDirectDebitsParams
- func (o *GetAccountsAccountIDDirectDebitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountsAccountIDDirectDebitsReader
- type GetAccountsAccountIDDirectDebitsTooManyRequests
- type GetAccountsAccountIDDirectDebitsUnauthorized
- type GetDirectDebitsBadRequest
- type GetDirectDebitsForbidden
- type GetDirectDebitsInternalServerError
- type GetDirectDebitsMethodNotAllowed
- type GetDirectDebitsNotAcceptable
- type GetDirectDebitsNotFound
- type GetDirectDebitsOK
- type GetDirectDebitsParams
- func NewGetDirectDebitsParams() *GetDirectDebitsParams
- func NewGetDirectDebitsParamsWithContext(ctx context.Context) *GetDirectDebitsParams
- func NewGetDirectDebitsParamsWithHTTPClient(client *http.Client) *GetDirectDebitsParams
- func NewGetDirectDebitsParamsWithTimeout(timeout time.Duration) *GetDirectDebitsParams
- func (o *GetDirectDebitsParams) SetAuthorization(authorization string)
- func (o *GetDirectDebitsParams) SetContext(ctx context.Context)
- func (o *GetDirectDebitsParams) SetDefaults()
- func (o *GetDirectDebitsParams) SetHTTPClient(client *http.Client)
- func (o *GetDirectDebitsParams) SetTimeout(timeout time.Duration)
- func (o *GetDirectDebitsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
- func (o *GetDirectDebitsParams) SetXFapiAuthDate(xFapiAuthDate *string)
- func (o *GetDirectDebitsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
- func (o *GetDirectDebitsParams) SetXFapiInteractionID(xFapiInteractionID *string)
- func (o *GetDirectDebitsParams) WithAuthorization(authorization string) *GetDirectDebitsParams
- func (o *GetDirectDebitsParams) WithContext(ctx context.Context) *GetDirectDebitsParams
- func (o *GetDirectDebitsParams) WithDefaults() *GetDirectDebitsParams
- func (o *GetDirectDebitsParams) WithHTTPClient(client *http.Client) *GetDirectDebitsParams
- func (o *GetDirectDebitsParams) WithTimeout(timeout time.Duration) *GetDirectDebitsParams
- func (o *GetDirectDebitsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetDirectDebitsParams
- func (o *GetDirectDebitsParams) WithXFapiAuthDate(xFapiAuthDate *string) *GetDirectDebitsParams
- func (o *GetDirectDebitsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetDirectDebitsParams
- func (o *GetDirectDebitsParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetDirectDebitsParams
- func (o *GetDirectDebitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDirectDebitsReader
- type GetDirectDebitsTooManyRequests
- type GetDirectDebitsUnauthorized
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) GetAccountsAccountIDDirectDebits ¶
func (a *Client) GetAccountsAccountIDDirectDebits(params *GetAccountsAccountIDDirectDebitsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDDirectDebitsOK, error)
GetAccountsAccountIDDirectDebits gets direct debits
func (*Client) GetDirectDebits ¶
func (a *Client) GetDirectDebits(params *GetDirectDebitsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDirectDebitsOK, error)
GetDirectDebits gets direct debits
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetAccountsAccountIDDirectDebits(params *GetAccountsAccountIDDirectDebitsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDDirectDebitsOK, error) GetDirectDebits(params *GetDirectDebitsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDirectDebitsOK, 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 GetAccountsAccountIDDirectDebitsBadRequest ¶
type GetAccountsAccountIDDirectDebitsBadRequest struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBErrorResponse1 }
GetAccountsAccountIDDirectDebitsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetAccountsAccountIDDirectDebitsBadRequest ¶
func NewGetAccountsAccountIDDirectDebitsBadRequest() *GetAccountsAccountIDDirectDebitsBadRequest
NewGetAccountsAccountIDDirectDebitsBadRequest creates a GetAccountsAccountIDDirectDebitsBadRequest with default headers values
func (*GetAccountsAccountIDDirectDebitsBadRequest) Error ¶
func (o *GetAccountsAccountIDDirectDebitsBadRequest) Error() string
func (*GetAccountsAccountIDDirectDebitsBadRequest) GetPayload ¶
func (o *GetAccountsAccountIDDirectDebitsBadRequest) GetPayload() *models.OBErrorResponse1
type GetAccountsAccountIDDirectDebitsForbidden ¶
type GetAccountsAccountIDDirectDebitsForbidden struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBErrorResponse1 }
GetAccountsAccountIDDirectDebitsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAccountsAccountIDDirectDebitsForbidden ¶
func NewGetAccountsAccountIDDirectDebitsForbidden() *GetAccountsAccountIDDirectDebitsForbidden
NewGetAccountsAccountIDDirectDebitsForbidden creates a GetAccountsAccountIDDirectDebitsForbidden with default headers values
func (*GetAccountsAccountIDDirectDebitsForbidden) Error ¶
func (o *GetAccountsAccountIDDirectDebitsForbidden) Error() string
func (*GetAccountsAccountIDDirectDebitsForbidden) GetPayload ¶
func (o *GetAccountsAccountIDDirectDebitsForbidden) GetPayload() *models.OBErrorResponse1
type GetAccountsAccountIDDirectDebitsInternalServerError ¶
type GetAccountsAccountIDDirectDebitsInternalServerError struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBErrorResponse1 }
GetAccountsAccountIDDirectDebitsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAccountsAccountIDDirectDebitsInternalServerError ¶
func NewGetAccountsAccountIDDirectDebitsInternalServerError() *GetAccountsAccountIDDirectDebitsInternalServerError
NewGetAccountsAccountIDDirectDebitsInternalServerError creates a GetAccountsAccountIDDirectDebitsInternalServerError with default headers values
func (*GetAccountsAccountIDDirectDebitsInternalServerError) Error ¶
func (o *GetAccountsAccountIDDirectDebitsInternalServerError) Error() string
func (*GetAccountsAccountIDDirectDebitsInternalServerError) GetPayload ¶
func (o *GetAccountsAccountIDDirectDebitsInternalServerError) GetPayload() *models.OBErrorResponse1
type GetAccountsAccountIDDirectDebitsMethodNotAllowed ¶
type GetAccountsAccountIDDirectDebitsMethodNotAllowed struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetAccountsAccountIDDirectDebitsMethodNotAllowed describes a response with status code 405, with default header values.
Method Not Allowed
func NewGetAccountsAccountIDDirectDebitsMethodNotAllowed ¶
func NewGetAccountsAccountIDDirectDebitsMethodNotAllowed() *GetAccountsAccountIDDirectDebitsMethodNotAllowed
NewGetAccountsAccountIDDirectDebitsMethodNotAllowed creates a GetAccountsAccountIDDirectDebitsMethodNotAllowed with default headers values
func (*GetAccountsAccountIDDirectDebitsMethodNotAllowed) Error ¶
func (o *GetAccountsAccountIDDirectDebitsMethodNotAllowed) Error() string
type GetAccountsAccountIDDirectDebitsNotAcceptable ¶
type GetAccountsAccountIDDirectDebitsNotAcceptable struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetAccountsAccountIDDirectDebitsNotAcceptable describes a response with status code 406, with default header values.
Not Acceptable
func NewGetAccountsAccountIDDirectDebitsNotAcceptable ¶
func NewGetAccountsAccountIDDirectDebitsNotAcceptable() *GetAccountsAccountIDDirectDebitsNotAcceptable
NewGetAccountsAccountIDDirectDebitsNotAcceptable creates a GetAccountsAccountIDDirectDebitsNotAcceptable with default headers values
func (*GetAccountsAccountIDDirectDebitsNotAcceptable) Error ¶
func (o *GetAccountsAccountIDDirectDebitsNotAcceptable) Error() string
type GetAccountsAccountIDDirectDebitsNotFound ¶
type GetAccountsAccountIDDirectDebitsNotFound struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetAccountsAccountIDDirectDebitsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetAccountsAccountIDDirectDebitsNotFound ¶
func NewGetAccountsAccountIDDirectDebitsNotFound() *GetAccountsAccountIDDirectDebitsNotFound
NewGetAccountsAccountIDDirectDebitsNotFound creates a GetAccountsAccountIDDirectDebitsNotFound with default headers values
func (*GetAccountsAccountIDDirectDebitsNotFound) Error ¶
func (o *GetAccountsAccountIDDirectDebitsNotFound) Error() string
type GetAccountsAccountIDDirectDebitsOK ¶
type GetAccountsAccountIDDirectDebitsOK struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBReadDirectDebit2 }
GetAccountsAccountIDDirectDebitsOK describes a response with status code 200, with default header values.
Direct Debits Read
func NewGetAccountsAccountIDDirectDebitsOK ¶
func NewGetAccountsAccountIDDirectDebitsOK() *GetAccountsAccountIDDirectDebitsOK
NewGetAccountsAccountIDDirectDebitsOK creates a GetAccountsAccountIDDirectDebitsOK with default headers values
func (*GetAccountsAccountIDDirectDebitsOK) Error ¶
func (o *GetAccountsAccountIDDirectDebitsOK) Error() string
func (*GetAccountsAccountIDDirectDebitsOK) GetPayload ¶
func (o *GetAccountsAccountIDDirectDebitsOK) GetPayload() *models.OBReadDirectDebit2
type GetAccountsAccountIDDirectDebitsParams ¶
type GetAccountsAccountIDDirectDebitsParams struct { /* AccountID. AccountId */ AccountID string /* Authorization. An Authorisation Token as per https://tools.ietf.org/html/rfc6750 */ Authorization string /* XCustomerUserAgent. Indicates the user-agent that the PSU is using. */ XCustomerUserAgent *string /* XFapiAuthDate. The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC */ XFapiAuthDate *string /* XFapiCustomerIPAddress. The PSU's IP address if the PSU is currently logged in with the TPP. */ XFapiCustomerIPAddress *string /* XFapiInteractionID. An RFC4122 UID used as a correlation id. */ XFapiInteractionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountsAccountIDDirectDebitsParams contains all the parameters to send to the API endpoint
for the get accounts account Id direct debits operation. Typically these are written to a http.Request.
func NewGetAccountsAccountIDDirectDebitsParams ¶
func NewGetAccountsAccountIDDirectDebitsParams() *GetAccountsAccountIDDirectDebitsParams
NewGetAccountsAccountIDDirectDebitsParams creates a new GetAccountsAccountIDDirectDebitsParams 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 NewGetAccountsAccountIDDirectDebitsParamsWithContext ¶
func NewGetAccountsAccountIDDirectDebitsParamsWithContext(ctx context.Context) *GetAccountsAccountIDDirectDebitsParams
NewGetAccountsAccountIDDirectDebitsParamsWithContext creates a new GetAccountsAccountIDDirectDebitsParams object with the ability to set a context for a request.
func NewGetAccountsAccountIDDirectDebitsParamsWithHTTPClient ¶
func NewGetAccountsAccountIDDirectDebitsParamsWithHTTPClient(client *http.Client) *GetAccountsAccountIDDirectDebitsParams
NewGetAccountsAccountIDDirectDebitsParamsWithHTTPClient creates a new GetAccountsAccountIDDirectDebitsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccountsAccountIDDirectDebitsParamsWithTimeout ¶
func NewGetAccountsAccountIDDirectDebitsParamsWithTimeout(timeout time.Duration) *GetAccountsAccountIDDirectDebitsParams
NewGetAccountsAccountIDDirectDebitsParamsWithTimeout creates a new GetAccountsAccountIDDirectDebitsParams object with the ability to set a timeout on a request.
func (*GetAccountsAccountIDDirectDebitsParams) SetAccountID ¶
func (o *GetAccountsAccountIDDirectDebitsParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) SetAuthorization ¶
func (o *GetAccountsAccountIDDirectDebitsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) SetContext ¶
func (o *GetAccountsAccountIDDirectDebitsParams) SetContext(ctx context.Context)
SetContext adds the context to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) SetDefaults ¶
func (o *GetAccountsAccountIDDirectDebitsParams) SetDefaults()
SetDefaults hydrates default values in the get accounts account Id direct debits params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountsAccountIDDirectDebitsParams) SetHTTPClient ¶
func (o *GetAccountsAccountIDDirectDebitsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) SetTimeout ¶
func (o *GetAccountsAccountIDDirectDebitsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) SetXCustomerUserAgent ¶
func (o *GetAccountsAccountIDDirectDebitsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
SetXCustomerUserAgent adds the xCustomerUserAgent to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) SetXFapiAuthDate ¶
func (o *GetAccountsAccountIDDirectDebitsParams) SetXFapiAuthDate(xFapiAuthDate *string)
SetXFapiAuthDate adds the xFapiAuthDate to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) SetXFapiCustomerIPAddress ¶
func (o *GetAccountsAccountIDDirectDebitsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) SetXFapiInteractionID ¶
func (o *GetAccountsAccountIDDirectDebitsParams) SetXFapiInteractionID(xFapiInteractionID *string)
SetXFapiInteractionID adds the xFapiInteractionId to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) WithAccountID ¶
func (o *GetAccountsAccountIDDirectDebitsParams) WithAccountID(accountID string) *GetAccountsAccountIDDirectDebitsParams
WithAccountID adds the accountID to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) WithAuthorization ¶
func (o *GetAccountsAccountIDDirectDebitsParams) WithAuthorization(authorization string) *GetAccountsAccountIDDirectDebitsParams
WithAuthorization adds the authorization to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) WithContext ¶
func (o *GetAccountsAccountIDDirectDebitsParams) WithContext(ctx context.Context) *GetAccountsAccountIDDirectDebitsParams
WithContext adds the context to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) WithDefaults ¶
func (o *GetAccountsAccountIDDirectDebitsParams) WithDefaults() *GetAccountsAccountIDDirectDebitsParams
WithDefaults hydrates default values in the get accounts account Id direct debits params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountsAccountIDDirectDebitsParams) WithHTTPClient ¶
func (o *GetAccountsAccountIDDirectDebitsParams) WithHTTPClient(client *http.Client) *GetAccountsAccountIDDirectDebitsParams
WithHTTPClient adds the HTTPClient to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) WithTimeout ¶
func (o *GetAccountsAccountIDDirectDebitsParams) WithTimeout(timeout time.Duration) *GetAccountsAccountIDDirectDebitsParams
WithTimeout adds the timeout to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) WithXCustomerUserAgent ¶
func (o *GetAccountsAccountIDDirectDebitsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetAccountsAccountIDDirectDebitsParams
WithXCustomerUserAgent adds the xCustomerUserAgent to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) WithXFapiAuthDate ¶
func (o *GetAccountsAccountIDDirectDebitsParams) WithXFapiAuthDate(xFapiAuthDate *string) *GetAccountsAccountIDDirectDebitsParams
WithXFapiAuthDate adds the xFapiAuthDate to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) WithXFapiCustomerIPAddress ¶
func (o *GetAccountsAccountIDDirectDebitsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetAccountsAccountIDDirectDebitsParams
WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) WithXFapiInteractionID ¶
func (o *GetAccountsAccountIDDirectDebitsParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetAccountsAccountIDDirectDebitsParams
WithXFapiInteractionID adds the xFapiInteractionID to the get accounts account Id direct debits params
func (*GetAccountsAccountIDDirectDebitsParams) WriteToRequest ¶
func (o *GetAccountsAccountIDDirectDebitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountsAccountIDDirectDebitsReader ¶
type GetAccountsAccountIDDirectDebitsReader struct {
// contains filtered or unexported fields
}
GetAccountsAccountIDDirectDebitsReader is a Reader for the GetAccountsAccountIDDirectDebits structure.
func (*GetAccountsAccountIDDirectDebitsReader) ReadResponse ¶
func (o *GetAccountsAccountIDDirectDebitsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountsAccountIDDirectDebitsTooManyRequests ¶
type GetAccountsAccountIDDirectDebitsTooManyRequests struct { /* Number in seconds to wait */ RetryAfter int64 /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetAccountsAccountIDDirectDebitsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetAccountsAccountIDDirectDebitsTooManyRequests ¶
func NewGetAccountsAccountIDDirectDebitsTooManyRequests() *GetAccountsAccountIDDirectDebitsTooManyRequests
NewGetAccountsAccountIDDirectDebitsTooManyRequests creates a GetAccountsAccountIDDirectDebitsTooManyRequests with default headers values
func (*GetAccountsAccountIDDirectDebitsTooManyRequests) Error ¶
func (o *GetAccountsAccountIDDirectDebitsTooManyRequests) Error() string
type GetAccountsAccountIDDirectDebitsUnauthorized ¶
type GetAccountsAccountIDDirectDebitsUnauthorized struct { string }XFapiInteractionID
GetAccountsAccountIDDirectDebitsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAccountsAccountIDDirectDebitsUnauthorized ¶
func NewGetAccountsAccountIDDirectDebitsUnauthorized() *GetAccountsAccountIDDirectDebitsUnauthorized
NewGetAccountsAccountIDDirectDebitsUnauthorized creates a GetAccountsAccountIDDirectDebitsUnauthorized with default headers values
func (*GetAccountsAccountIDDirectDebitsUnauthorized) Error ¶
func (o *GetAccountsAccountIDDirectDebitsUnauthorized) Error() string
type GetDirectDebitsBadRequest ¶
type GetDirectDebitsBadRequest struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBErrorResponse1 }
GetDirectDebitsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetDirectDebitsBadRequest ¶
func NewGetDirectDebitsBadRequest() *GetDirectDebitsBadRequest
NewGetDirectDebitsBadRequest creates a GetDirectDebitsBadRequest with default headers values
func (*GetDirectDebitsBadRequest) Error ¶
func (o *GetDirectDebitsBadRequest) Error() string
func (*GetDirectDebitsBadRequest) GetPayload ¶
func (o *GetDirectDebitsBadRequest) GetPayload() *models.OBErrorResponse1
type GetDirectDebitsForbidden ¶
type GetDirectDebitsForbidden struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBErrorResponse1 }
GetDirectDebitsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetDirectDebitsForbidden ¶
func NewGetDirectDebitsForbidden() *GetDirectDebitsForbidden
NewGetDirectDebitsForbidden creates a GetDirectDebitsForbidden with default headers values
func (*GetDirectDebitsForbidden) Error ¶
func (o *GetDirectDebitsForbidden) Error() string
func (*GetDirectDebitsForbidden) GetPayload ¶
func (o *GetDirectDebitsForbidden) GetPayload() *models.OBErrorResponse1
type GetDirectDebitsInternalServerError ¶
type GetDirectDebitsInternalServerError struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBErrorResponse1 }
GetDirectDebitsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetDirectDebitsInternalServerError ¶
func NewGetDirectDebitsInternalServerError() *GetDirectDebitsInternalServerError
NewGetDirectDebitsInternalServerError creates a GetDirectDebitsInternalServerError with default headers values
func (*GetDirectDebitsInternalServerError) Error ¶
func (o *GetDirectDebitsInternalServerError) Error() string
func (*GetDirectDebitsInternalServerError) GetPayload ¶
func (o *GetDirectDebitsInternalServerError) GetPayload() *models.OBErrorResponse1
type GetDirectDebitsMethodNotAllowed ¶
type GetDirectDebitsMethodNotAllowed struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetDirectDebitsMethodNotAllowed describes a response with status code 405, with default header values.
Method Not Allowed
func NewGetDirectDebitsMethodNotAllowed ¶
func NewGetDirectDebitsMethodNotAllowed() *GetDirectDebitsMethodNotAllowed
NewGetDirectDebitsMethodNotAllowed creates a GetDirectDebitsMethodNotAllowed with default headers values
func (*GetDirectDebitsMethodNotAllowed) Error ¶
func (o *GetDirectDebitsMethodNotAllowed) Error() string
type GetDirectDebitsNotAcceptable ¶
type GetDirectDebitsNotAcceptable struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetDirectDebitsNotAcceptable describes a response with status code 406, with default header values.
Not Acceptable
func NewGetDirectDebitsNotAcceptable ¶
func NewGetDirectDebitsNotAcceptable() *GetDirectDebitsNotAcceptable
NewGetDirectDebitsNotAcceptable creates a GetDirectDebitsNotAcceptable with default headers values
func (*GetDirectDebitsNotAcceptable) Error ¶
func (o *GetDirectDebitsNotAcceptable) Error() string
type GetDirectDebitsNotFound ¶
type GetDirectDebitsNotFound struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetDirectDebitsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetDirectDebitsNotFound ¶
func NewGetDirectDebitsNotFound() *GetDirectDebitsNotFound
NewGetDirectDebitsNotFound creates a GetDirectDebitsNotFound with default headers values
func (*GetDirectDebitsNotFound) Error ¶
func (o *GetDirectDebitsNotFound) Error() string
type GetDirectDebitsOK ¶
type GetDirectDebitsOK struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBReadDirectDebit2 }
GetDirectDebitsOK describes a response with status code 200, with default header values.
Direct Debits Read
func NewGetDirectDebitsOK ¶
func NewGetDirectDebitsOK() *GetDirectDebitsOK
NewGetDirectDebitsOK creates a GetDirectDebitsOK with default headers values
func (*GetDirectDebitsOK) Error ¶
func (o *GetDirectDebitsOK) Error() string
func (*GetDirectDebitsOK) GetPayload ¶
func (o *GetDirectDebitsOK) GetPayload() *models.OBReadDirectDebit2
type GetDirectDebitsParams ¶
type GetDirectDebitsParams struct { /* Authorization. An Authorisation Token as per https://tools.ietf.org/html/rfc6750 */ Authorization string /* XCustomerUserAgent. Indicates the user-agent that the PSU is using. */ XCustomerUserAgent *string /* XFapiAuthDate. The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC */ XFapiAuthDate *string /* XFapiCustomerIPAddress. The PSU's IP address if the PSU is currently logged in with the TPP. */ XFapiCustomerIPAddress *string /* XFapiInteractionID. An RFC4122 UID used as a correlation id. */ XFapiInteractionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDirectDebitsParams contains all the parameters to send to the API endpoint
for the get direct debits operation. Typically these are written to a http.Request.
func NewGetDirectDebitsParams ¶
func NewGetDirectDebitsParams() *GetDirectDebitsParams
NewGetDirectDebitsParams creates a new GetDirectDebitsParams 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 NewGetDirectDebitsParamsWithContext ¶
func NewGetDirectDebitsParamsWithContext(ctx context.Context) *GetDirectDebitsParams
NewGetDirectDebitsParamsWithContext creates a new GetDirectDebitsParams object with the ability to set a context for a request.
func NewGetDirectDebitsParamsWithHTTPClient ¶
func NewGetDirectDebitsParamsWithHTTPClient(client *http.Client) *GetDirectDebitsParams
NewGetDirectDebitsParamsWithHTTPClient creates a new GetDirectDebitsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDirectDebitsParamsWithTimeout ¶
func NewGetDirectDebitsParamsWithTimeout(timeout time.Duration) *GetDirectDebitsParams
NewGetDirectDebitsParamsWithTimeout creates a new GetDirectDebitsParams object with the ability to set a timeout on a request.
func (*GetDirectDebitsParams) SetAuthorization ¶
func (o *GetDirectDebitsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get direct debits params
func (*GetDirectDebitsParams) SetContext ¶
func (o *GetDirectDebitsParams) SetContext(ctx context.Context)
SetContext adds the context to the get direct debits params
func (*GetDirectDebitsParams) SetDefaults ¶
func (o *GetDirectDebitsParams) SetDefaults()
SetDefaults hydrates default values in the get direct debits params (not the query body).
All values with no default are reset to their zero value.
func (*GetDirectDebitsParams) SetHTTPClient ¶
func (o *GetDirectDebitsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get direct debits params
func (*GetDirectDebitsParams) SetTimeout ¶
func (o *GetDirectDebitsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get direct debits params
func (*GetDirectDebitsParams) SetXCustomerUserAgent ¶
func (o *GetDirectDebitsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
SetXCustomerUserAgent adds the xCustomerUserAgent to the get direct debits params
func (*GetDirectDebitsParams) SetXFapiAuthDate ¶
func (o *GetDirectDebitsParams) SetXFapiAuthDate(xFapiAuthDate *string)
SetXFapiAuthDate adds the xFapiAuthDate to the get direct debits params
func (*GetDirectDebitsParams) SetXFapiCustomerIPAddress ¶
func (o *GetDirectDebitsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get direct debits params
func (*GetDirectDebitsParams) SetXFapiInteractionID ¶
func (o *GetDirectDebitsParams) SetXFapiInteractionID(xFapiInteractionID *string)
SetXFapiInteractionID adds the xFapiInteractionId to the get direct debits params
func (*GetDirectDebitsParams) WithAuthorization ¶
func (o *GetDirectDebitsParams) WithAuthorization(authorization string) *GetDirectDebitsParams
WithAuthorization adds the authorization to the get direct debits params
func (*GetDirectDebitsParams) WithContext ¶
func (o *GetDirectDebitsParams) WithContext(ctx context.Context) *GetDirectDebitsParams
WithContext adds the context to the get direct debits params
func (*GetDirectDebitsParams) WithDefaults ¶
func (o *GetDirectDebitsParams) WithDefaults() *GetDirectDebitsParams
WithDefaults hydrates default values in the get direct debits params (not the query body).
All values with no default are reset to their zero value.
func (*GetDirectDebitsParams) WithHTTPClient ¶
func (o *GetDirectDebitsParams) WithHTTPClient(client *http.Client) *GetDirectDebitsParams
WithHTTPClient adds the HTTPClient to the get direct debits params
func (*GetDirectDebitsParams) WithTimeout ¶
func (o *GetDirectDebitsParams) WithTimeout(timeout time.Duration) *GetDirectDebitsParams
WithTimeout adds the timeout to the get direct debits params
func (*GetDirectDebitsParams) WithXCustomerUserAgent ¶
func (o *GetDirectDebitsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetDirectDebitsParams
WithXCustomerUserAgent adds the xCustomerUserAgent to the get direct debits params
func (*GetDirectDebitsParams) WithXFapiAuthDate ¶
func (o *GetDirectDebitsParams) WithXFapiAuthDate(xFapiAuthDate *string) *GetDirectDebitsParams
WithXFapiAuthDate adds the xFapiAuthDate to the get direct debits params
func (*GetDirectDebitsParams) WithXFapiCustomerIPAddress ¶
func (o *GetDirectDebitsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetDirectDebitsParams
WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get direct debits params
func (*GetDirectDebitsParams) WithXFapiInteractionID ¶
func (o *GetDirectDebitsParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetDirectDebitsParams
WithXFapiInteractionID adds the xFapiInteractionID to the get direct debits params
func (*GetDirectDebitsParams) WriteToRequest ¶
func (o *GetDirectDebitsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDirectDebitsReader ¶
type GetDirectDebitsReader struct {
// contains filtered or unexported fields
}
GetDirectDebitsReader is a Reader for the GetDirectDebits structure.
func (*GetDirectDebitsReader) ReadResponse ¶
func (o *GetDirectDebitsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDirectDebitsTooManyRequests ¶
type GetDirectDebitsTooManyRequests struct { /* Number in seconds to wait */ RetryAfter int64 /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetDirectDebitsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetDirectDebitsTooManyRequests ¶
func NewGetDirectDebitsTooManyRequests() *GetDirectDebitsTooManyRequests
NewGetDirectDebitsTooManyRequests creates a GetDirectDebitsTooManyRequests with default headers values
func (*GetDirectDebitsTooManyRequests) Error ¶
func (o *GetDirectDebitsTooManyRequests) Error() string
type GetDirectDebitsUnauthorized ¶
type GetDirectDebitsUnauthorized struct { string }XFapiInteractionID
GetDirectDebitsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetDirectDebitsUnauthorized ¶
func NewGetDirectDebitsUnauthorized() *GetDirectDebitsUnauthorized
NewGetDirectDebitsUnauthorized creates a GetDirectDebitsUnauthorized with default headers values
func (*GetDirectDebitsUnauthorized) Error ¶
func (o *GetDirectDebitsUnauthorized) Error() string