direct_debits

package
v0.0.0-...-3f933f0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for direct debits API

func (*Client) GetAccountsAccountIDDirectDebits

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 (*GetAccountsAccountIDDirectDebitsBadRequest) GetPayload

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 (*GetAccountsAccountIDDirectDebitsForbidden) GetPayload

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 (*GetAccountsAccountIDDirectDebitsInternalServerError) GetPayload

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

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

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

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 (*GetAccountsAccountIDDirectDebitsOK) GetPayload

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

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

WithAccountID adds the accountID to the get accounts account Id direct debits params

func (*GetAccountsAccountIDDirectDebitsParams) WithAuthorization

WithAuthorization adds the authorization to the get accounts account Id direct debits params

func (*GetAccountsAccountIDDirectDebitsParams) WithContext

WithContext adds the context to the get accounts account Id direct debits params

func (*GetAccountsAccountIDDirectDebitsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get accounts account Id direct debits params

func (*GetAccountsAccountIDDirectDebitsParams) WithTimeout

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

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

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

type GetAccountsAccountIDDirectDebitsUnauthorized

type GetAccountsAccountIDDirectDebitsUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
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

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

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

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 (*GetDirectDebitsInternalServerError) GetPayload

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

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

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

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

type GetDirectDebitsUnauthorized

type GetDirectDebitsUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
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

Jump to

Keyboard shortcuts

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