file_payments

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 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 file payments API

func (*Client) CreateFilePaymentConsents

func (a *Client) CreateFilePaymentConsents(params *CreateFilePaymentConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFilePaymentConsentsCreated, error)

CreateFilePaymentConsents creates file payment consents

func (*Client) CreateFilePaymentConsentsConsentIDFile

CreateFilePaymentConsentsConsentIDFile creates file payment consents

func (*Client) GetFilePaymentConsentsConsentID

func (a *Client) GetFilePaymentConsentsConsentID(params *GetFilePaymentConsentsConsentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFilePaymentConsentsConsentIDOK, error)

GetFilePaymentConsentsConsentID gets file payment consents

func (*Client) GetFilePaymentConsentsConsentIDFile

func (a *Client) GetFilePaymentConsentsConsentIDFile(params *GetFilePaymentConsentsConsentIDFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFilePaymentConsentsConsentIDFileOK, error)

GetFilePaymentConsentsConsentIDFile gets file payment consents

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 {
	CreateFilePaymentConsents(params *CreateFilePaymentConsentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFilePaymentConsentsCreated, error)

	CreateFilePaymentConsentsConsentIDFile(params *CreateFilePaymentConsentsConsentIDFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFilePaymentConsentsConsentIDFileOK, error)

	GetFilePaymentConsentsConsentID(params *GetFilePaymentConsentsConsentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFilePaymentConsentsConsentIDOK, error)

	GetFilePaymentConsentsConsentIDFile(params *GetFilePaymentConsentsConsentIDFileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFilePaymentConsentsConsentIDFileOK, 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 file payments API client.

type CreateFilePaymentConsentsBadRequest

type CreateFilePaymentConsentsBadRequest struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBErrorResponse1
}

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

Bad request

func NewCreateFilePaymentConsentsBadRequest

func NewCreateFilePaymentConsentsBadRequest() *CreateFilePaymentConsentsBadRequest

NewCreateFilePaymentConsentsBadRequest creates a CreateFilePaymentConsentsBadRequest with default headers values

func (*CreateFilePaymentConsentsBadRequest) Code

Code gets the status code for the create file payment consents bad request response

func (*CreateFilePaymentConsentsBadRequest) Error

func (*CreateFilePaymentConsentsBadRequest) GetPayload

func (*CreateFilePaymentConsentsBadRequest) IsClientError

func (o *CreateFilePaymentConsentsBadRequest) IsClientError() bool

IsClientError returns true when this create file payment consents bad request response has a 4xx status code

func (*CreateFilePaymentConsentsBadRequest) IsCode

IsCode returns true when this create file payment consents bad request response a status code equal to that given

func (*CreateFilePaymentConsentsBadRequest) IsRedirect

func (o *CreateFilePaymentConsentsBadRequest) IsRedirect() bool

IsRedirect returns true when this create file payment consents bad request response has a 3xx status code

func (*CreateFilePaymentConsentsBadRequest) IsServerError

func (o *CreateFilePaymentConsentsBadRequest) IsServerError() bool

IsServerError returns true when this create file payment consents bad request response has a 5xx status code

func (*CreateFilePaymentConsentsBadRequest) IsSuccess

IsSuccess returns true when this create file payment consents bad request response has a 2xx status code

func (*CreateFilePaymentConsentsBadRequest) String

type CreateFilePaymentConsentsConsentIDFileBadRequest

type CreateFilePaymentConsentsConsentIDFileBadRequest struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBErrorResponse1
}

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

Bad request

func NewCreateFilePaymentConsentsConsentIDFileBadRequest

func NewCreateFilePaymentConsentsConsentIDFileBadRequest() *CreateFilePaymentConsentsConsentIDFileBadRequest

NewCreateFilePaymentConsentsConsentIDFileBadRequest creates a CreateFilePaymentConsentsConsentIDFileBadRequest with default headers values

func (*CreateFilePaymentConsentsConsentIDFileBadRequest) Code

Code gets the status code for the create file payment consents consent Id file bad request response

func (*CreateFilePaymentConsentsConsentIDFileBadRequest) Error

func (*CreateFilePaymentConsentsConsentIDFileBadRequest) GetPayload

func (*CreateFilePaymentConsentsConsentIDFileBadRequest) IsClientError

IsClientError returns true when this create file payment consents consent Id file bad request response has a 4xx status code

func (*CreateFilePaymentConsentsConsentIDFileBadRequest) IsCode

IsCode returns true when this create file payment consents consent Id file bad request response a status code equal to that given

func (*CreateFilePaymentConsentsConsentIDFileBadRequest) IsRedirect

IsRedirect returns true when this create file payment consents consent Id file bad request response has a 3xx status code

func (*CreateFilePaymentConsentsConsentIDFileBadRequest) IsServerError

IsServerError returns true when this create file payment consents consent Id file bad request response has a 5xx status code

func (*CreateFilePaymentConsentsConsentIDFileBadRequest) IsSuccess

IsSuccess returns true when this create file payment consents consent Id file bad request response has a 2xx status code

func (*CreateFilePaymentConsentsConsentIDFileBadRequest) String

type CreateFilePaymentConsentsConsentIDFileForbidden

type CreateFilePaymentConsentsConsentIDFileForbidden struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBErrorResponse1
}

CreateFilePaymentConsentsConsentIDFileForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateFilePaymentConsentsConsentIDFileForbidden

func NewCreateFilePaymentConsentsConsentIDFileForbidden() *CreateFilePaymentConsentsConsentIDFileForbidden

NewCreateFilePaymentConsentsConsentIDFileForbidden creates a CreateFilePaymentConsentsConsentIDFileForbidden with default headers values

func (*CreateFilePaymentConsentsConsentIDFileForbidden) Code

Code gets the status code for the create file payment consents consent Id file forbidden response

func (*CreateFilePaymentConsentsConsentIDFileForbidden) Error

func (*CreateFilePaymentConsentsConsentIDFileForbidden) GetPayload

func (*CreateFilePaymentConsentsConsentIDFileForbidden) IsClientError

IsClientError returns true when this create file payment consents consent Id file forbidden response has a 4xx status code

func (*CreateFilePaymentConsentsConsentIDFileForbidden) IsCode

IsCode returns true when this create file payment consents consent Id file forbidden response a status code equal to that given

func (*CreateFilePaymentConsentsConsentIDFileForbidden) IsRedirect

IsRedirect returns true when this create file payment consents consent Id file forbidden response has a 3xx status code

func (*CreateFilePaymentConsentsConsentIDFileForbidden) IsServerError

IsServerError returns true when this create file payment consents consent Id file forbidden response has a 5xx status code

func (*CreateFilePaymentConsentsConsentIDFileForbidden) IsSuccess

IsSuccess returns true when this create file payment consents consent Id file forbidden response has a 2xx status code

func (*CreateFilePaymentConsentsConsentIDFileForbidden) String

type CreateFilePaymentConsentsConsentIDFileInternalServerError

type CreateFilePaymentConsentsConsentIDFileInternalServerError struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBErrorResponse1
}

CreateFilePaymentConsentsConsentIDFileInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCreateFilePaymentConsentsConsentIDFileInternalServerError

func NewCreateFilePaymentConsentsConsentIDFileInternalServerError() *CreateFilePaymentConsentsConsentIDFileInternalServerError

NewCreateFilePaymentConsentsConsentIDFileInternalServerError creates a CreateFilePaymentConsentsConsentIDFileInternalServerError with default headers values

func (*CreateFilePaymentConsentsConsentIDFileInternalServerError) Code

Code gets the status code for the create file payment consents consent Id file internal server error response

func (*CreateFilePaymentConsentsConsentIDFileInternalServerError) Error

func (*CreateFilePaymentConsentsConsentIDFileInternalServerError) GetPayload

func (*CreateFilePaymentConsentsConsentIDFileInternalServerError) IsClientError

IsClientError returns true when this create file payment consents consent Id file internal server error response has a 4xx status code

func (*CreateFilePaymentConsentsConsentIDFileInternalServerError) IsCode

IsCode returns true when this create file payment consents consent Id file internal server error response a status code equal to that given

func (*CreateFilePaymentConsentsConsentIDFileInternalServerError) IsRedirect

IsRedirect returns true when this create file payment consents consent Id file internal server error response has a 3xx status code

func (*CreateFilePaymentConsentsConsentIDFileInternalServerError) IsServerError

IsServerError returns true when this create file payment consents consent Id file internal server error response has a 5xx status code

func (*CreateFilePaymentConsentsConsentIDFileInternalServerError) IsSuccess

IsSuccess returns true when this create file payment consents consent Id file internal server error response has a 2xx status code

func (*CreateFilePaymentConsentsConsentIDFileInternalServerError) String

type CreateFilePaymentConsentsConsentIDFileMethodNotAllowed

type CreateFilePaymentConsentsConsentIDFileMethodNotAllowed struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

CreateFilePaymentConsentsConsentIDFileMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewCreateFilePaymentConsentsConsentIDFileMethodNotAllowed

func NewCreateFilePaymentConsentsConsentIDFileMethodNotAllowed() *CreateFilePaymentConsentsConsentIDFileMethodNotAllowed

NewCreateFilePaymentConsentsConsentIDFileMethodNotAllowed creates a CreateFilePaymentConsentsConsentIDFileMethodNotAllowed with default headers values

func (*CreateFilePaymentConsentsConsentIDFileMethodNotAllowed) Code

Code gets the status code for the create file payment consents consent Id file method not allowed response

func (*CreateFilePaymentConsentsConsentIDFileMethodNotAllowed) Error

func (*CreateFilePaymentConsentsConsentIDFileMethodNotAllowed) IsClientError

IsClientError returns true when this create file payment consents consent Id file method not allowed response has a 4xx status code

func (*CreateFilePaymentConsentsConsentIDFileMethodNotAllowed) IsCode

IsCode returns true when this create file payment consents consent Id file method not allowed response a status code equal to that given

func (*CreateFilePaymentConsentsConsentIDFileMethodNotAllowed) IsRedirect

IsRedirect returns true when this create file payment consents consent Id file method not allowed response has a 3xx status code

func (*CreateFilePaymentConsentsConsentIDFileMethodNotAllowed) IsServerError

IsServerError returns true when this create file payment consents consent Id file method not allowed response has a 5xx status code

func (*CreateFilePaymentConsentsConsentIDFileMethodNotAllowed) IsSuccess

IsSuccess returns true when this create file payment consents consent Id file method not allowed response has a 2xx status code

func (*CreateFilePaymentConsentsConsentIDFileMethodNotAllowed) String

type CreateFilePaymentConsentsConsentIDFileNotAcceptable

type CreateFilePaymentConsentsConsentIDFileNotAcceptable struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

CreateFilePaymentConsentsConsentIDFileNotAcceptable describes a response with status code 406, with default header values.

Not Acceptable

func NewCreateFilePaymentConsentsConsentIDFileNotAcceptable

func NewCreateFilePaymentConsentsConsentIDFileNotAcceptable() *CreateFilePaymentConsentsConsentIDFileNotAcceptable

NewCreateFilePaymentConsentsConsentIDFileNotAcceptable creates a CreateFilePaymentConsentsConsentIDFileNotAcceptable with default headers values

func (*CreateFilePaymentConsentsConsentIDFileNotAcceptable) Code

Code gets the status code for the create file payment consents consent Id file not acceptable response

func (*CreateFilePaymentConsentsConsentIDFileNotAcceptable) Error

func (*CreateFilePaymentConsentsConsentIDFileNotAcceptable) IsClientError

IsClientError returns true when this create file payment consents consent Id file not acceptable response has a 4xx status code

func (*CreateFilePaymentConsentsConsentIDFileNotAcceptable) IsCode

IsCode returns true when this create file payment consents consent Id file not acceptable response a status code equal to that given

func (*CreateFilePaymentConsentsConsentIDFileNotAcceptable) IsRedirect

IsRedirect returns true when this create file payment consents consent Id file not acceptable response has a 3xx status code

func (*CreateFilePaymentConsentsConsentIDFileNotAcceptable) IsServerError

IsServerError returns true when this create file payment consents consent Id file not acceptable response has a 5xx status code

func (*CreateFilePaymentConsentsConsentIDFileNotAcceptable) IsSuccess

IsSuccess returns true when this create file payment consents consent Id file not acceptable response has a 2xx status code

func (*CreateFilePaymentConsentsConsentIDFileNotAcceptable) String

type CreateFilePaymentConsentsConsentIDFileNotFound

type CreateFilePaymentConsentsConsentIDFileNotFound struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

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

Not found

func NewCreateFilePaymentConsentsConsentIDFileNotFound

func NewCreateFilePaymentConsentsConsentIDFileNotFound() *CreateFilePaymentConsentsConsentIDFileNotFound

NewCreateFilePaymentConsentsConsentIDFileNotFound creates a CreateFilePaymentConsentsConsentIDFileNotFound with default headers values

func (*CreateFilePaymentConsentsConsentIDFileNotFound) Code

Code gets the status code for the create file payment consents consent Id file not found response

func (*CreateFilePaymentConsentsConsentIDFileNotFound) Error

func (*CreateFilePaymentConsentsConsentIDFileNotFound) IsClientError

IsClientError returns true when this create file payment consents consent Id file not found response has a 4xx status code

func (*CreateFilePaymentConsentsConsentIDFileNotFound) IsCode

IsCode returns true when this create file payment consents consent Id file not found response a status code equal to that given

func (*CreateFilePaymentConsentsConsentIDFileNotFound) IsRedirect

IsRedirect returns true when this create file payment consents consent Id file not found response has a 3xx status code

func (*CreateFilePaymentConsentsConsentIDFileNotFound) IsServerError

IsServerError returns true when this create file payment consents consent Id file not found response has a 5xx status code

func (*CreateFilePaymentConsentsConsentIDFileNotFound) IsSuccess

IsSuccess returns true when this create file payment consents consent Id file not found response has a 2xx status code

func (*CreateFilePaymentConsentsConsentIDFileNotFound) String

type CreateFilePaymentConsentsConsentIDFileOK

type CreateFilePaymentConsentsConsentIDFileOK struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

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

File Payment Consents Created

func NewCreateFilePaymentConsentsConsentIDFileOK

func NewCreateFilePaymentConsentsConsentIDFileOK() *CreateFilePaymentConsentsConsentIDFileOK

NewCreateFilePaymentConsentsConsentIDFileOK creates a CreateFilePaymentConsentsConsentIDFileOK with default headers values

func (*CreateFilePaymentConsentsConsentIDFileOK) Code

Code gets the status code for the create file payment consents consent Id file o k response

func (*CreateFilePaymentConsentsConsentIDFileOK) Error

func (*CreateFilePaymentConsentsConsentIDFileOK) IsClientError

IsClientError returns true when this create file payment consents consent Id file o k response has a 4xx status code

func (*CreateFilePaymentConsentsConsentIDFileOK) IsCode

IsCode returns true when this create file payment consents consent Id file o k response a status code equal to that given

func (*CreateFilePaymentConsentsConsentIDFileOK) IsRedirect

IsRedirect returns true when this create file payment consents consent Id file o k response has a 3xx status code

func (*CreateFilePaymentConsentsConsentIDFileOK) IsServerError

IsServerError returns true when this create file payment consents consent Id file o k response has a 5xx status code

func (*CreateFilePaymentConsentsConsentIDFileOK) IsSuccess

IsSuccess returns true when this create file payment consents consent Id file o k response has a 2xx status code

func (*CreateFilePaymentConsentsConsentIDFileOK) String

type CreateFilePaymentConsentsConsentIDFileParams

type CreateFilePaymentConsentsConsentIDFileParams struct {

	/* Authorization.

	   An Authorisation Token as per https://tools.ietf.org/html/rfc6750
	*/
	Authorization string

	/* ConsentID.

	   ConsentId
	*/
	ConsentID string

	/* FileParam.

	   Default
	*/
	FileParam models.File

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

	/* XIdempotencyKey.

	     Every request will be processed only once per x-idempotency-key.  The
	Idempotency Key will be valid for 24 hours.

	*/
	XIdempotencyKey string

	/* XJwsSignature.

	   A detached JWS signature of the body of the payload.
	*/
	XJwsSignature string

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

CreateFilePaymentConsentsConsentIDFileParams contains all the parameters to send to the API endpoint

for the create file payment consents consent Id file operation.

Typically these are written to a http.Request.

func NewCreateFilePaymentConsentsConsentIDFileParams

func NewCreateFilePaymentConsentsConsentIDFileParams() *CreateFilePaymentConsentsConsentIDFileParams

NewCreateFilePaymentConsentsConsentIDFileParams creates a new CreateFilePaymentConsentsConsentIDFileParams 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 NewCreateFilePaymentConsentsConsentIDFileParamsWithContext

func NewCreateFilePaymentConsentsConsentIDFileParamsWithContext(ctx context.Context) *CreateFilePaymentConsentsConsentIDFileParams

NewCreateFilePaymentConsentsConsentIDFileParamsWithContext creates a new CreateFilePaymentConsentsConsentIDFileParams object with the ability to set a context for a request.

func NewCreateFilePaymentConsentsConsentIDFileParamsWithHTTPClient

func NewCreateFilePaymentConsentsConsentIDFileParamsWithHTTPClient(client *http.Client) *CreateFilePaymentConsentsConsentIDFileParams

NewCreateFilePaymentConsentsConsentIDFileParamsWithHTTPClient creates a new CreateFilePaymentConsentsConsentIDFileParams object with the ability to set a custom HTTPClient for a request.

func NewCreateFilePaymentConsentsConsentIDFileParamsWithTimeout

func NewCreateFilePaymentConsentsConsentIDFileParamsWithTimeout(timeout time.Duration) *CreateFilePaymentConsentsConsentIDFileParams

NewCreateFilePaymentConsentsConsentIDFileParamsWithTimeout creates a new CreateFilePaymentConsentsConsentIDFileParams object with the ability to set a timeout on a request.

func (*CreateFilePaymentConsentsConsentIDFileParams) SetAuthorization

func (o *CreateFilePaymentConsentsConsentIDFileParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) SetConsentID

func (o *CreateFilePaymentConsentsConsentIDFileParams) SetConsentID(consentID string)

SetConsentID adds the consentId to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) SetContext

SetContext adds the context to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) SetDefaults

SetDefaults hydrates default values in the create file payment consents consent Id file params (not the query body).

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

func (*CreateFilePaymentConsentsConsentIDFileParams) SetFileParam

func (o *CreateFilePaymentConsentsConsentIDFileParams) SetFileParam(fileParam models.File)

SetFileParam adds the fileParam to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) SetTimeout

SetTimeout adds the timeout to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) SetXCustomerUserAgent

func (o *CreateFilePaymentConsentsConsentIDFileParams) SetXCustomerUserAgent(xCustomerUserAgent *string)

SetXCustomerUserAgent adds the xCustomerUserAgent to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) SetXFapiAuthDate

func (o *CreateFilePaymentConsentsConsentIDFileParams) SetXFapiAuthDate(xFapiAuthDate *string)

SetXFapiAuthDate adds the xFapiAuthDate to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) SetXFapiCustomerIPAddress

func (o *CreateFilePaymentConsentsConsentIDFileParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) SetXFapiInteractionID

func (o *CreateFilePaymentConsentsConsentIDFileParams) SetXFapiInteractionID(xFapiInteractionID *string)

SetXFapiInteractionID adds the xFapiInteractionId to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) SetXIdempotencyKey

func (o *CreateFilePaymentConsentsConsentIDFileParams) SetXIdempotencyKey(xIdempotencyKey string)

SetXIdempotencyKey adds the xIdempotencyKey to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) SetXJwsSignature

func (o *CreateFilePaymentConsentsConsentIDFileParams) SetXJwsSignature(xJwsSignature string)

SetXJwsSignature adds the xJwsSignature to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WithAuthorization

WithAuthorization adds the authorization to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WithConsentID

WithConsentID adds the consentID to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WithContext

WithContext adds the context to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WithDefaults

WithDefaults hydrates default values in the create file payment consents consent Id file params (not the query body).

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

func (*CreateFilePaymentConsentsConsentIDFileParams) WithFileParam

WithFileParam adds the fileParam to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WithTimeout

WithTimeout adds the timeout to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WithXCustomerUserAgent

WithXCustomerUserAgent adds the xCustomerUserAgent to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WithXFapiAuthDate

WithXFapiAuthDate adds the xFapiAuthDate to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WithXFapiCustomerIPAddress

func (o *CreateFilePaymentConsentsConsentIDFileParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *CreateFilePaymentConsentsConsentIDFileParams

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WithXFapiInteractionID

WithXFapiInteractionID adds the xFapiInteractionID to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WithXIdempotencyKey

WithXIdempotencyKey adds the xIdempotencyKey to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WithXJwsSignature

WithXJwsSignature adds the xJwsSignature to the create file payment consents consent Id file params

func (*CreateFilePaymentConsentsConsentIDFileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateFilePaymentConsentsConsentIDFileReader

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

CreateFilePaymentConsentsConsentIDFileReader is a Reader for the CreateFilePaymentConsentsConsentIDFile structure.

func (*CreateFilePaymentConsentsConsentIDFileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateFilePaymentConsentsConsentIDFileTooManyRequests

type CreateFilePaymentConsentsConsentIDFileTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

CreateFilePaymentConsentsConsentIDFileTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateFilePaymentConsentsConsentIDFileTooManyRequests

func NewCreateFilePaymentConsentsConsentIDFileTooManyRequests() *CreateFilePaymentConsentsConsentIDFileTooManyRequests

NewCreateFilePaymentConsentsConsentIDFileTooManyRequests creates a CreateFilePaymentConsentsConsentIDFileTooManyRequests with default headers values

func (*CreateFilePaymentConsentsConsentIDFileTooManyRequests) Code

Code gets the status code for the create file payment consents consent Id file too many requests response

func (*CreateFilePaymentConsentsConsentIDFileTooManyRequests) Error

func (*CreateFilePaymentConsentsConsentIDFileTooManyRequests) IsClientError

IsClientError returns true when this create file payment consents consent Id file too many requests response has a 4xx status code

func (*CreateFilePaymentConsentsConsentIDFileTooManyRequests) IsCode

IsCode returns true when this create file payment consents consent Id file too many requests response a status code equal to that given

func (*CreateFilePaymentConsentsConsentIDFileTooManyRequests) IsRedirect

IsRedirect returns true when this create file payment consents consent Id file too many requests response has a 3xx status code

func (*CreateFilePaymentConsentsConsentIDFileTooManyRequests) IsServerError

IsServerError returns true when this create file payment consents consent Id file too many requests response has a 5xx status code

func (*CreateFilePaymentConsentsConsentIDFileTooManyRequests) IsSuccess

IsSuccess returns true when this create file payment consents consent Id file too many requests response has a 2xx status code

func (*CreateFilePaymentConsentsConsentIDFileTooManyRequests) String

type CreateFilePaymentConsentsConsentIDFileUnauthorized

type CreateFilePaymentConsentsConsentIDFileUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

CreateFilePaymentConsentsConsentIDFileUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateFilePaymentConsentsConsentIDFileUnauthorized

func NewCreateFilePaymentConsentsConsentIDFileUnauthorized() *CreateFilePaymentConsentsConsentIDFileUnauthorized

NewCreateFilePaymentConsentsConsentIDFileUnauthorized creates a CreateFilePaymentConsentsConsentIDFileUnauthorized with default headers values

func (*CreateFilePaymentConsentsConsentIDFileUnauthorized) Code

Code gets the status code for the create file payment consents consent Id file unauthorized response

func (*CreateFilePaymentConsentsConsentIDFileUnauthorized) Error

func (*CreateFilePaymentConsentsConsentIDFileUnauthorized) IsClientError

IsClientError returns true when this create file payment consents consent Id file unauthorized response has a 4xx status code

func (*CreateFilePaymentConsentsConsentIDFileUnauthorized) IsCode

IsCode returns true when this create file payment consents consent Id file unauthorized response a status code equal to that given

func (*CreateFilePaymentConsentsConsentIDFileUnauthorized) IsRedirect

IsRedirect returns true when this create file payment consents consent Id file unauthorized response has a 3xx status code

func (*CreateFilePaymentConsentsConsentIDFileUnauthorized) IsServerError

IsServerError returns true when this create file payment consents consent Id file unauthorized response has a 5xx status code

func (*CreateFilePaymentConsentsConsentIDFileUnauthorized) IsSuccess

IsSuccess returns true when this create file payment consents consent Id file unauthorized response has a 2xx status code

func (*CreateFilePaymentConsentsConsentIDFileUnauthorized) String

type CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType

type CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type

func NewCreateFilePaymentConsentsConsentIDFileUnsupportedMediaType

func NewCreateFilePaymentConsentsConsentIDFileUnsupportedMediaType() *CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType

NewCreateFilePaymentConsentsConsentIDFileUnsupportedMediaType creates a CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType with default headers values

func (*CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType) Code

Code gets the status code for the create file payment consents consent Id file unsupported media type response

func (*CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType) Error

func (*CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType) IsClientError

IsClientError returns true when this create file payment consents consent Id file unsupported media type response has a 4xx status code

func (*CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType) IsCode

IsCode returns true when this create file payment consents consent Id file unsupported media type response a status code equal to that given

func (*CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType) IsRedirect

IsRedirect returns true when this create file payment consents consent Id file unsupported media type response has a 3xx status code

func (*CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType) IsServerError

IsServerError returns true when this create file payment consents consent Id file unsupported media type response has a 5xx status code

func (*CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType) IsSuccess

IsSuccess returns true when this create file payment consents consent Id file unsupported media type response has a 2xx status code

func (*CreateFilePaymentConsentsConsentIDFileUnsupportedMediaType) String

type CreateFilePaymentConsentsCreated

type CreateFilePaymentConsentsCreated struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBWriteFileConsentResponse4
}

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

File Payment Consents Created

func NewCreateFilePaymentConsentsCreated

func NewCreateFilePaymentConsentsCreated() *CreateFilePaymentConsentsCreated

NewCreateFilePaymentConsentsCreated creates a CreateFilePaymentConsentsCreated with default headers values

func (*CreateFilePaymentConsentsCreated) Code

Code gets the status code for the create file payment consents created response

func (*CreateFilePaymentConsentsCreated) Error

func (*CreateFilePaymentConsentsCreated) GetPayload

func (*CreateFilePaymentConsentsCreated) IsClientError

func (o *CreateFilePaymentConsentsCreated) IsClientError() bool

IsClientError returns true when this create file payment consents created response has a 4xx status code

func (*CreateFilePaymentConsentsCreated) IsCode

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

IsCode returns true when this create file payment consents created response a status code equal to that given

func (*CreateFilePaymentConsentsCreated) IsRedirect

func (o *CreateFilePaymentConsentsCreated) IsRedirect() bool

IsRedirect returns true when this create file payment consents created response has a 3xx status code

func (*CreateFilePaymentConsentsCreated) IsServerError

func (o *CreateFilePaymentConsentsCreated) IsServerError() bool

IsServerError returns true when this create file payment consents created response has a 5xx status code

func (*CreateFilePaymentConsentsCreated) IsSuccess

func (o *CreateFilePaymentConsentsCreated) IsSuccess() bool

IsSuccess returns true when this create file payment consents created response has a 2xx status code

func (*CreateFilePaymentConsentsCreated) String

type CreateFilePaymentConsentsForbidden

type CreateFilePaymentConsentsForbidden struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBErrorResponse1
}

CreateFilePaymentConsentsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateFilePaymentConsentsForbidden

func NewCreateFilePaymentConsentsForbidden() *CreateFilePaymentConsentsForbidden

NewCreateFilePaymentConsentsForbidden creates a CreateFilePaymentConsentsForbidden with default headers values

func (*CreateFilePaymentConsentsForbidden) Code

Code gets the status code for the create file payment consents forbidden response

func (*CreateFilePaymentConsentsForbidden) Error

func (*CreateFilePaymentConsentsForbidden) GetPayload

func (*CreateFilePaymentConsentsForbidden) IsClientError

func (o *CreateFilePaymentConsentsForbidden) IsClientError() bool

IsClientError returns true when this create file payment consents forbidden response has a 4xx status code

func (*CreateFilePaymentConsentsForbidden) IsCode

IsCode returns true when this create file payment consents forbidden response a status code equal to that given

func (*CreateFilePaymentConsentsForbidden) IsRedirect

func (o *CreateFilePaymentConsentsForbidden) IsRedirect() bool

IsRedirect returns true when this create file payment consents forbidden response has a 3xx status code

func (*CreateFilePaymentConsentsForbidden) IsServerError

func (o *CreateFilePaymentConsentsForbidden) IsServerError() bool

IsServerError returns true when this create file payment consents forbidden response has a 5xx status code

func (*CreateFilePaymentConsentsForbidden) IsSuccess

IsSuccess returns true when this create file payment consents forbidden response has a 2xx status code

func (*CreateFilePaymentConsentsForbidden) String

type CreateFilePaymentConsentsInternalServerError

type CreateFilePaymentConsentsInternalServerError struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBErrorResponse1
}

CreateFilePaymentConsentsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCreateFilePaymentConsentsInternalServerError

func NewCreateFilePaymentConsentsInternalServerError() *CreateFilePaymentConsentsInternalServerError

NewCreateFilePaymentConsentsInternalServerError creates a CreateFilePaymentConsentsInternalServerError with default headers values

func (*CreateFilePaymentConsentsInternalServerError) Code

Code gets the status code for the create file payment consents internal server error response

func (*CreateFilePaymentConsentsInternalServerError) Error

func (*CreateFilePaymentConsentsInternalServerError) GetPayload

func (*CreateFilePaymentConsentsInternalServerError) IsClientError

IsClientError returns true when this create file payment consents internal server error response has a 4xx status code

func (*CreateFilePaymentConsentsInternalServerError) IsCode

IsCode returns true when this create file payment consents internal server error response a status code equal to that given

func (*CreateFilePaymentConsentsInternalServerError) IsRedirect

IsRedirect returns true when this create file payment consents internal server error response has a 3xx status code

func (*CreateFilePaymentConsentsInternalServerError) IsServerError

IsServerError returns true when this create file payment consents internal server error response has a 5xx status code

func (*CreateFilePaymentConsentsInternalServerError) IsSuccess

IsSuccess returns true when this create file payment consents internal server error response has a 2xx status code

func (*CreateFilePaymentConsentsInternalServerError) String

type CreateFilePaymentConsentsMethodNotAllowed

type CreateFilePaymentConsentsMethodNotAllowed struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

CreateFilePaymentConsentsMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewCreateFilePaymentConsentsMethodNotAllowed

func NewCreateFilePaymentConsentsMethodNotAllowed() *CreateFilePaymentConsentsMethodNotAllowed

NewCreateFilePaymentConsentsMethodNotAllowed creates a CreateFilePaymentConsentsMethodNotAllowed with default headers values

func (*CreateFilePaymentConsentsMethodNotAllowed) Code

Code gets the status code for the create file payment consents method not allowed response

func (*CreateFilePaymentConsentsMethodNotAllowed) Error

func (*CreateFilePaymentConsentsMethodNotAllowed) IsClientError

IsClientError returns true when this create file payment consents method not allowed response has a 4xx status code

func (*CreateFilePaymentConsentsMethodNotAllowed) IsCode

IsCode returns true when this create file payment consents method not allowed response a status code equal to that given

func (*CreateFilePaymentConsentsMethodNotAllowed) IsRedirect

IsRedirect returns true when this create file payment consents method not allowed response has a 3xx status code

func (*CreateFilePaymentConsentsMethodNotAllowed) IsServerError

IsServerError returns true when this create file payment consents method not allowed response has a 5xx status code

func (*CreateFilePaymentConsentsMethodNotAllowed) IsSuccess

IsSuccess returns true when this create file payment consents method not allowed response has a 2xx status code

func (*CreateFilePaymentConsentsMethodNotAllowed) String

type CreateFilePaymentConsentsNotAcceptable

type CreateFilePaymentConsentsNotAcceptable struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

CreateFilePaymentConsentsNotAcceptable describes a response with status code 406, with default header values.

Not Acceptable

func NewCreateFilePaymentConsentsNotAcceptable

func NewCreateFilePaymentConsentsNotAcceptable() *CreateFilePaymentConsentsNotAcceptable

NewCreateFilePaymentConsentsNotAcceptable creates a CreateFilePaymentConsentsNotAcceptable with default headers values

func (*CreateFilePaymentConsentsNotAcceptable) Code

Code gets the status code for the create file payment consents not acceptable response

func (*CreateFilePaymentConsentsNotAcceptable) Error

func (*CreateFilePaymentConsentsNotAcceptable) IsClientError

func (o *CreateFilePaymentConsentsNotAcceptable) IsClientError() bool

IsClientError returns true when this create file payment consents not acceptable response has a 4xx status code

func (*CreateFilePaymentConsentsNotAcceptable) IsCode

IsCode returns true when this create file payment consents not acceptable response a status code equal to that given

func (*CreateFilePaymentConsentsNotAcceptable) IsRedirect

IsRedirect returns true when this create file payment consents not acceptable response has a 3xx status code

func (*CreateFilePaymentConsentsNotAcceptable) IsServerError

func (o *CreateFilePaymentConsentsNotAcceptable) IsServerError() bool

IsServerError returns true when this create file payment consents not acceptable response has a 5xx status code

func (*CreateFilePaymentConsentsNotAcceptable) IsSuccess

IsSuccess returns true when this create file payment consents not acceptable response has a 2xx status code

func (*CreateFilePaymentConsentsNotAcceptable) String

type CreateFilePaymentConsentsNotFound

type CreateFilePaymentConsentsNotFound struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

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

Not found

func NewCreateFilePaymentConsentsNotFound

func NewCreateFilePaymentConsentsNotFound() *CreateFilePaymentConsentsNotFound

NewCreateFilePaymentConsentsNotFound creates a CreateFilePaymentConsentsNotFound with default headers values

func (*CreateFilePaymentConsentsNotFound) Code

Code gets the status code for the create file payment consents not found response

func (*CreateFilePaymentConsentsNotFound) Error

func (*CreateFilePaymentConsentsNotFound) IsClientError

func (o *CreateFilePaymentConsentsNotFound) IsClientError() bool

IsClientError returns true when this create file payment consents not found response has a 4xx status code

func (*CreateFilePaymentConsentsNotFound) IsCode

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

IsCode returns true when this create file payment consents not found response a status code equal to that given

func (*CreateFilePaymentConsentsNotFound) IsRedirect

func (o *CreateFilePaymentConsentsNotFound) IsRedirect() bool

IsRedirect returns true when this create file payment consents not found response has a 3xx status code

func (*CreateFilePaymentConsentsNotFound) IsServerError

func (o *CreateFilePaymentConsentsNotFound) IsServerError() bool

IsServerError returns true when this create file payment consents not found response has a 5xx status code

func (*CreateFilePaymentConsentsNotFound) IsSuccess

func (o *CreateFilePaymentConsentsNotFound) IsSuccess() bool

IsSuccess returns true when this create file payment consents not found response has a 2xx status code

func (*CreateFilePaymentConsentsNotFound) String

type CreateFilePaymentConsentsParams

type CreateFilePaymentConsentsParams struct {

	/* Authorization.

	   An Authorisation Token as per https://tools.ietf.org/html/rfc6750
	*/
	Authorization string

	/* OBWriteFileConsent3Param.

	   Default
	*/
	OBWriteFileConsent3Param *models.OBWriteFileConsent3

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

	/* XIdempotencyKey.

	     Every request will be processed only once per x-idempotency-key.  The
	Idempotency Key will be valid for 24 hours.

	*/
	XIdempotencyKey string

	/* XJwsSignature.

	   A detached JWS signature of the body of the payload.
	*/
	XJwsSignature string

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

CreateFilePaymentConsentsParams contains all the parameters to send to the API endpoint

for the create file payment consents operation.

Typically these are written to a http.Request.

func NewCreateFilePaymentConsentsParams

func NewCreateFilePaymentConsentsParams() *CreateFilePaymentConsentsParams

NewCreateFilePaymentConsentsParams creates a new CreateFilePaymentConsentsParams 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 NewCreateFilePaymentConsentsParamsWithContext

func NewCreateFilePaymentConsentsParamsWithContext(ctx context.Context) *CreateFilePaymentConsentsParams

NewCreateFilePaymentConsentsParamsWithContext creates a new CreateFilePaymentConsentsParams object with the ability to set a context for a request.

func NewCreateFilePaymentConsentsParamsWithHTTPClient

func NewCreateFilePaymentConsentsParamsWithHTTPClient(client *http.Client) *CreateFilePaymentConsentsParams

NewCreateFilePaymentConsentsParamsWithHTTPClient creates a new CreateFilePaymentConsentsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateFilePaymentConsentsParamsWithTimeout

func NewCreateFilePaymentConsentsParamsWithTimeout(timeout time.Duration) *CreateFilePaymentConsentsParams

NewCreateFilePaymentConsentsParamsWithTimeout creates a new CreateFilePaymentConsentsParams object with the ability to set a timeout on a request.

func (*CreateFilePaymentConsentsParams) SetAuthorization

func (o *CreateFilePaymentConsentsParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the create file payment consents params

func (*CreateFilePaymentConsentsParams) SetContext

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

SetContext adds the context to the create file payment consents params

func (*CreateFilePaymentConsentsParams) SetDefaults

func (o *CreateFilePaymentConsentsParams) SetDefaults()

SetDefaults hydrates default values in the create file payment consents params (not the query body).

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

func (*CreateFilePaymentConsentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create file payment consents params

func (*CreateFilePaymentConsentsParams) SetOBWriteFileConsent3Param

func (o *CreateFilePaymentConsentsParams) SetOBWriteFileConsent3Param(oBWriteFileConsent3Param *models.OBWriteFileConsent3)

SetOBWriteFileConsent3Param adds the oBWriteFileConsent3Param to the create file payment consents params

func (*CreateFilePaymentConsentsParams) SetTimeout

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

SetTimeout adds the timeout to the create file payment consents params

func (*CreateFilePaymentConsentsParams) SetXCustomerUserAgent

func (o *CreateFilePaymentConsentsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)

SetXCustomerUserAgent adds the xCustomerUserAgent to the create file payment consents params

func (*CreateFilePaymentConsentsParams) SetXFapiAuthDate

func (o *CreateFilePaymentConsentsParams) SetXFapiAuthDate(xFapiAuthDate *string)

SetXFapiAuthDate adds the xFapiAuthDate to the create file payment consents params

func (*CreateFilePaymentConsentsParams) SetXFapiCustomerIPAddress

func (o *CreateFilePaymentConsentsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the create file payment consents params

func (*CreateFilePaymentConsentsParams) SetXFapiInteractionID

func (o *CreateFilePaymentConsentsParams) SetXFapiInteractionID(xFapiInteractionID *string)

SetXFapiInteractionID adds the xFapiInteractionId to the create file payment consents params

func (*CreateFilePaymentConsentsParams) SetXIdempotencyKey

func (o *CreateFilePaymentConsentsParams) SetXIdempotencyKey(xIdempotencyKey string)

SetXIdempotencyKey adds the xIdempotencyKey to the create file payment consents params

func (*CreateFilePaymentConsentsParams) SetXJwsSignature

func (o *CreateFilePaymentConsentsParams) SetXJwsSignature(xJwsSignature string)

SetXJwsSignature adds the xJwsSignature to the create file payment consents params

func (*CreateFilePaymentConsentsParams) WithAuthorization

func (o *CreateFilePaymentConsentsParams) WithAuthorization(authorization string) *CreateFilePaymentConsentsParams

WithAuthorization adds the authorization to the create file payment consents params

func (*CreateFilePaymentConsentsParams) WithContext

WithContext adds the context to the create file payment consents params

func (*CreateFilePaymentConsentsParams) WithDefaults

WithDefaults hydrates default values in the create file payment consents params (not the query body).

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

func (*CreateFilePaymentConsentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create file payment consents params

func (*CreateFilePaymentConsentsParams) WithOBWriteFileConsent3Param

func (o *CreateFilePaymentConsentsParams) WithOBWriteFileConsent3Param(oBWriteFileConsent3Param *models.OBWriteFileConsent3) *CreateFilePaymentConsentsParams

WithOBWriteFileConsent3Param adds the oBWriteFileConsent3Param to the create file payment consents params

func (*CreateFilePaymentConsentsParams) WithTimeout

WithTimeout adds the timeout to the create file payment consents params

func (*CreateFilePaymentConsentsParams) WithXCustomerUserAgent

func (o *CreateFilePaymentConsentsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *CreateFilePaymentConsentsParams

WithXCustomerUserAgent adds the xCustomerUserAgent to the create file payment consents params

func (*CreateFilePaymentConsentsParams) WithXFapiAuthDate

func (o *CreateFilePaymentConsentsParams) WithXFapiAuthDate(xFapiAuthDate *string) *CreateFilePaymentConsentsParams

WithXFapiAuthDate adds the xFapiAuthDate to the create file payment consents params

func (*CreateFilePaymentConsentsParams) WithXFapiCustomerIPAddress

func (o *CreateFilePaymentConsentsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *CreateFilePaymentConsentsParams

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the create file payment consents params

func (*CreateFilePaymentConsentsParams) WithXFapiInteractionID

func (o *CreateFilePaymentConsentsParams) WithXFapiInteractionID(xFapiInteractionID *string) *CreateFilePaymentConsentsParams

WithXFapiInteractionID adds the xFapiInteractionID to the create file payment consents params

func (*CreateFilePaymentConsentsParams) WithXIdempotencyKey

func (o *CreateFilePaymentConsentsParams) WithXIdempotencyKey(xIdempotencyKey string) *CreateFilePaymentConsentsParams

WithXIdempotencyKey adds the xIdempotencyKey to the create file payment consents params

func (*CreateFilePaymentConsentsParams) WithXJwsSignature

func (o *CreateFilePaymentConsentsParams) WithXJwsSignature(xJwsSignature string) *CreateFilePaymentConsentsParams

WithXJwsSignature adds the xJwsSignature to the create file payment consents params

func (*CreateFilePaymentConsentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateFilePaymentConsentsReader

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

CreateFilePaymentConsentsReader is a Reader for the CreateFilePaymentConsents structure.

func (*CreateFilePaymentConsentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateFilePaymentConsentsTooManyRequests

type CreateFilePaymentConsentsTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

CreateFilePaymentConsentsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateFilePaymentConsentsTooManyRequests

func NewCreateFilePaymentConsentsTooManyRequests() *CreateFilePaymentConsentsTooManyRequests

NewCreateFilePaymentConsentsTooManyRequests creates a CreateFilePaymentConsentsTooManyRequests with default headers values

func (*CreateFilePaymentConsentsTooManyRequests) Code

Code gets the status code for the create file payment consents too many requests response

func (*CreateFilePaymentConsentsTooManyRequests) Error

func (*CreateFilePaymentConsentsTooManyRequests) IsClientError

IsClientError returns true when this create file payment consents too many requests response has a 4xx status code

func (*CreateFilePaymentConsentsTooManyRequests) IsCode

IsCode returns true when this create file payment consents too many requests response a status code equal to that given

func (*CreateFilePaymentConsentsTooManyRequests) IsRedirect

IsRedirect returns true when this create file payment consents too many requests response has a 3xx status code

func (*CreateFilePaymentConsentsTooManyRequests) IsServerError

IsServerError returns true when this create file payment consents too many requests response has a 5xx status code

func (*CreateFilePaymentConsentsTooManyRequests) IsSuccess

IsSuccess returns true when this create file payment consents too many requests response has a 2xx status code

func (*CreateFilePaymentConsentsTooManyRequests) String

type CreateFilePaymentConsentsUnauthorized

type CreateFilePaymentConsentsUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

CreateFilePaymentConsentsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateFilePaymentConsentsUnauthorized

func NewCreateFilePaymentConsentsUnauthorized() *CreateFilePaymentConsentsUnauthorized

NewCreateFilePaymentConsentsUnauthorized creates a CreateFilePaymentConsentsUnauthorized with default headers values

func (*CreateFilePaymentConsentsUnauthorized) Code

Code gets the status code for the create file payment consents unauthorized response

func (*CreateFilePaymentConsentsUnauthorized) Error

func (*CreateFilePaymentConsentsUnauthorized) IsClientError

func (o *CreateFilePaymentConsentsUnauthorized) IsClientError() bool

IsClientError returns true when this create file payment consents unauthorized response has a 4xx status code

func (*CreateFilePaymentConsentsUnauthorized) IsCode

IsCode returns true when this create file payment consents unauthorized response a status code equal to that given

func (*CreateFilePaymentConsentsUnauthorized) IsRedirect

IsRedirect returns true when this create file payment consents unauthorized response has a 3xx status code

func (*CreateFilePaymentConsentsUnauthorized) IsServerError

func (o *CreateFilePaymentConsentsUnauthorized) IsServerError() bool

IsServerError returns true when this create file payment consents unauthorized response has a 5xx status code

func (*CreateFilePaymentConsentsUnauthorized) IsSuccess

IsSuccess returns true when this create file payment consents unauthorized response has a 2xx status code

func (*CreateFilePaymentConsentsUnauthorized) String

type CreateFilePaymentConsentsUnsupportedMediaType

type CreateFilePaymentConsentsUnsupportedMediaType struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

CreateFilePaymentConsentsUnsupportedMediaType describes a response with status code 415, with default header values.

Unsupported Media Type

func NewCreateFilePaymentConsentsUnsupportedMediaType

func NewCreateFilePaymentConsentsUnsupportedMediaType() *CreateFilePaymentConsentsUnsupportedMediaType

NewCreateFilePaymentConsentsUnsupportedMediaType creates a CreateFilePaymentConsentsUnsupportedMediaType with default headers values

func (*CreateFilePaymentConsentsUnsupportedMediaType) Code

Code gets the status code for the create file payment consents unsupported media type response

func (*CreateFilePaymentConsentsUnsupportedMediaType) Error

func (*CreateFilePaymentConsentsUnsupportedMediaType) IsClientError

IsClientError returns true when this create file payment consents unsupported media type response has a 4xx status code

func (*CreateFilePaymentConsentsUnsupportedMediaType) IsCode

IsCode returns true when this create file payment consents unsupported media type response a status code equal to that given

func (*CreateFilePaymentConsentsUnsupportedMediaType) IsRedirect

IsRedirect returns true when this create file payment consents unsupported media type response has a 3xx status code

func (*CreateFilePaymentConsentsUnsupportedMediaType) IsServerError

IsServerError returns true when this create file payment consents unsupported media type response has a 5xx status code

func (*CreateFilePaymentConsentsUnsupportedMediaType) IsSuccess

IsSuccess returns true when this create file payment consents unsupported media type response has a 2xx status code

func (*CreateFilePaymentConsentsUnsupportedMediaType) String

type GetFilePaymentConsentsConsentIDBadRequest

type GetFilePaymentConsentsConsentIDBadRequest struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBErrorResponse1
}

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

Bad request

func NewGetFilePaymentConsentsConsentIDBadRequest

func NewGetFilePaymentConsentsConsentIDBadRequest() *GetFilePaymentConsentsConsentIDBadRequest

NewGetFilePaymentConsentsConsentIDBadRequest creates a GetFilePaymentConsentsConsentIDBadRequest with default headers values

func (*GetFilePaymentConsentsConsentIDBadRequest) Code

Code gets the status code for the get file payment consents consent Id bad request response

func (*GetFilePaymentConsentsConsentIDBadRequest) Error

func (*GetFilePaymentConsentsConsentIDBadRequest) GetPayload

func (*GetFilePaymentConsentsConsentIDBadRequest) IsClientError

IsClientError returns true when this get file payment consents consent Id bad request response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDBadRequest) IsCode

IsCode returns true when this get file payment consents consent Id bad request response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDBadRequest) IsRedirect

IsRedirect returns true when this get file payment consents consent Id bad request response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDBadRequest) IsServerError

IsServerError returns true when this get file payment consents consent Id bad request response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDBadRequest) IsSuccess

IsSuccess returns true when this get file payment consents consent Id bad request response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDBadRequest) String

type GetFilePaymentConsentsConsentIDFileBadRequest

type GetFilePaymentConsentsConsentIDFileBadRequest struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBErrorResponse1
}

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

Bad request

func NewGetFilePaymentConsentsConsentIDFileBadRequest

func NewGetFilePaymentConsentsConsentIDFileBadRequest() *GetFilePaymentConsentsConsentIDFileBadRequest

NewGetFilePaymentConsentsConsentIDFileBadRequest creates a GetFilePaymentConsentsConsentIDFileBadRequest with default headers values

func (*GetFilePaymentConsentsConsentIDFileBadRequest) Code

Code gets the status code for the get file payment consents consent Id file bad request response

func (*GetFilePaymentConsentsConsentIDFileBadRequest) Error

func (*GetFilePaymentConsentsConsentIDFileBadRequest) GetPayload

func (*GetFilePaymentConsentsConsentIDFileBadRequest) IsClientError

IsClientError returns true when this get file payment consents consent Id file bad request response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDFileBadRequest) IsCode

IsCode returns true when this get file payment consents consent Id file bad request response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDFileBadRequest) IsRedirect

IsRedirect returns true when this get file payment consents consent Id file bad request response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDFileBadRequest) IsServerError

IsServerError returns true when this get file payment consents consent Id file bad request response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDFileBadRequest) IsSuccess

IsSuccess returns true when this get file payment consents consent Id file bad request response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDFileBadRequest) String

type GetFilePaymentConsentsConsentIDFileForbidden

type GetFilePaymentConsentsConsentIDFileForbidden struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBErrorResponse1
}

GetFilePaymentConsentsConsentIDFileForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetFilePaymentConsentsConsentIDFileForbidden

func NewGetFilePaymentConsentsConsentIDFileForbidden() *GetFilePaymentConsentsConsentIDFileForbidden

NewGetFilePaymentConsentsConsentIDFileForbidden creates a GetFilePaymentConsentsConsentIDFileForbidden with default headers values

func (*GetFilePaymentConsentsConsentIDFileForbidden) Code

Code gets the status code for the get file payment consents consent Id file forbidden response

func (*GetFilePaymentConsentsConsentIDFileForbidden) Error

func (*GetFilePaymentConsentsConsentIDFileForbidden) GetPayload

func (*GetFilePaymentConsentsConsentIDFileForbidden) IsClientError

IsClientError returns true when this get file payment consents consent Id file forbidden response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDFileForbidden) IsCode

IsCode returns true when this get file payment consents consent Id file forbidden response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDFileForbidden) IsRedirect

IsRedirect returns true when this get file payment consents consent Id file forbidden response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDFileForbidden) IsServerError

IsServerError returns true when this get file payment consents consent Id file forbidden response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDFileForbidden) IsSuccess

IsSuccess returns true when this get file payment consents consent Id file forbidden response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDFileForbidden) String

type GetFilePaymentConsentsConsentIDFileInternalServerError

type GetFilePaymentConsentsConsentIDFileInternalServerError struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBErrorResponse1
}

GetFilePaymentConsentsConsentIDFileInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetFilePaymentConsentsConsentIDFileInternalServerError

func NewGetFilePaymentConsentsConsentIDFileInternalServerError() *GetFilePaymentConsentsConsentIDFileInternalServerError

NewGetFilePaymentConsentsConsentIDFileInternalServerError creates a GetFilePaymentConsentsConsentIDFileInternalServerError with default headers values

func (*GetFilePaymentConsentsConsentIDFileInternalServerError) Code

Code gets the status code for the get file payment consents consent Id file internal server error response

func (*GetFilePaymentConsentsConsentIDFileInternalServerError) Error

func (*GetFilePaymentConsentsConsentIDFileInternalServerError) GetPayload

func (*GetFilePaymentConsentsConsentIDFileInternalServerError) IsClientError

IsClientError returns true when this get file payment consents consent Id file internal server error response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDFileInternalServerError) IsCode

IsCode returns true when this get file payment consents consent Id file internal server error response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDFileInternalServerError) IsRedirect

IsRedirect returns true when this get file payment consents consent Id file internal server error response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDFileInternalServerError) IsServerError

IsServerError returns true when this get file payment consents consent Id file internal server error response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDFileInternalServerError) IsSuccess

IsSuccess returns true when this get file payment consents consent Id file internal server error response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDFileInternalServerError) String

type GetFilePaymentConsentsConsentIDFileMethodNotAllowed

type GetFilePaymentConsentsConsentIDFileMethodNotAllowed struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

GetFilePaymentConsentsConsentIDFileMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewGetFilePaymentConsentsConsentIDFileMethodNotAllowed

func NewGetFilePaymentConsentsConsentIDFileMethodNotAllowed() *GetFilePaymentConsentsConsentIDFileMethodNotAllowed

NewGetFilePaymentConsentsConsentIDFileMethodNotAllowed creates a GetFilePaymentConsentsConsentIDFileMethodNotAllowed with default headers values

func (*GetFilePaymentConsentsConsentIDFileMethodNotAllowed) Code

Code gets the status code for the get file payment consents consent Id file method not allowed response

func (*GetFilePaymentConsentsConsentIDFileMethodNotAllowed) Error

func (*GetFilePaymentConsentsConsentIDFileMethodNotAllowed) IsClientError

IsClientError returns true when this get file payment consents consent Id file method not allowed response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDFileMethodNotAllowed) IsCode

IsCode returns true when this get file payment consents consent Id file method not allowed response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDFileMethodNotAllowed) IsRedirect

IsRedirect returns true when this get file payment consents consent Id file method not allowed response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDFileMethodNotAllowed) IsServerError

IsServerError returns true when this get file payment consents consent Id file method not allowed response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDFileMethodNotAllowed) IsSuccess

IsSuccess returns true when this get file payment consents consent Id file method not allowed response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDFileMethodNotAllowed) String

type GetFilePaymentConsentsConsentIDFileNotAcceptable

type GetFilePaymentConsentsConsentIDFileNotAcceptable struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

GetFilePaymentConsentsConsentIDFileNotAcceptable describes a response with status code 406, with default header values.

Not Acceptable

func NewGetFilePaymentConsentsConsentIDFileNotAcceptable

func NewGetFilePaymentConsentsConsentIDFileNotAcceptable() *GetFilePaymentConsentsConsentIDFileNotAcceptable

NewGetFilePaymentConsentsConsentIDFileNotAcceptable creates a GetFilePaymentConsentsConsentIDFileNotAcceptable with default headers values

func (*GetFilePaymentConsentsConsentIDFileNotAcceptable) Code

Code gets the status code for the get file payment consents consent Id file not acceptable response

func (*GetFilePaymentConsentsConsentIDFileNotAcceptable) Error

func (*GetFilePaymentConsentsConsentIDFileNotAcceptable) IsClientError

IsClientError returns true when this get file payment consents consent Id file not acceptable response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDFileNotAcceptable) IsCode

IsCode returns true when this get file payment consents consent Id file not acceptable response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDFileNotAcceptable) IsRedirect

IsRedirect returns true when this get file payment consents consent Id file not acceptable response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDFileNotAcceptable) IsServerError

IsServerError returns true when this get file payment consents consent Id file not acceptable response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDFileNotAcceptable) IsSuccess

IsSuccess returns true when this get file payment consents consent Id file not acceptable response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDFileNotAcceptable) String

type GetFilePaymentConsentsConsentIDFileNotFound

type GetFilePaymentConsentsConsentIDFileNotFound struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

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

Not found

func NewGetFilePaymentConsentsConsentIDFileNotFound

func NewGetFilePaymentConsentsConsentIDFileNotFound() *GetFilePaymentConsentsConsentIDFileNotFound

NewGetFilePaymentConsentsConsentIDFileNotFound creates a GetFilePaymentConsentsConsentIDFileNotFound with default headers values

func (*GetFilePaymentConsentsConsentIDFileNotFound) Code

Code gets the status code for the get file payment consents consent Id file not found response

func (*GetFilePaymentConsentsConsentIDFileNotFound) Error

func (*GetFilePaymentConsentsConsentIDFileNotFound) IsClientError

IsClientError returns true when this get file payment consents consent Id file not found response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDFileNotFound) IsCode

IsCode returns true when this get file payment consents consent Id file not found response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDFileNotFound) IsRedirect

IsRedirect returns true when this get file payment consents consent Id file not found response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDFileNotFound) IsServerError

IsServerError returns true when this get file payment consents consent Id file not found response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDFileNotFound) IsSuccess

IsSuccess returns true when this get file payment consents consent Id file not found response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDFileNotFound) String

type GetFilePaymentConsentsConsentIDFileOK

type GetFilePaymentConsentsConsentIDFileOK struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload models.File
}

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

File Payment Consents Read

func NewGetFilePaymentConsentsConsentIDFileOK

func NewGetFilePaymentConsentsConsentIDFileOK() *GetFilePaymentConsentsConsentIDFileOK

NewGetFilePaymentConsentsConsentIDFileOK creates a GetFilePaymentConsentsConsentIDFileOK with default headers values

func (*GetFilePaymentConsentsConsentIDFileOK) Code

Code gets the status code for the get file payment consents consent Id file o k response

func (*GetFilePaymentConsentsConsentIDFileOK) Error

func (*GetFilePaymentConsentsConsentIDFileOK) GetPayload

func (*GetFilePaymentConsentsConsentIDFileOK) IsClientError

func (o *GetFilePaymentConsentsConsentIDFileOK) IsClientError() bool

IsClientError returns true when this get file payment consents consent Id file o k response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDFileOK) IsCode

IsCode returns true when this get file payment consents consent Id file o k response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDFileOK) IsRedirect

IsRedirect returns true when this get file payment consents consent Id file o k response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDFileOK) IsServerError

func (o *GetFilePaymentConsentsConsentIDFileOK) IsServerError() bool

IsServerError returns true when this get file payment consents consent Id file o k response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDFileOK) IsSuccess

IsSuccess returns true when this get file payment consents consent Id file o k response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDFileOK) String

type GetFilePaymentConsentsConsentIDFileParams

type GetFilePaymentConsentsConsentIDFileParams struct {

	/* Authorization.

	   An Authorisation Token as per https://tools.ietf.org/html/rfc6750
	*/
	Authorization string

	/* ConsentID.

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

GetFilePaymentConsentsConsentIDFileParams contains all the parameters to send to the API endpoint

for the get file payment consents consent Id file operation.

Typically these are written to a http.Request.

func NewGetFilePaymentConsentsConsentIDFileParams

func NewGetFilePaymentConsentsConsentIDFileParams() *GetFilePaymentConsentsConsentIDFileParams

NewGetFilePaymentConsentsConsentIDFileParams creates a new GetFilePaymentConsentsConsentIDFileParams 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 NewGetFilePaymentConsentsConsentIDFileParamsWithContext

func NewGetFilePaymentConsentsConsentIDFileParamsWithContext(ctx context.Context) *GetFilePaymentConsentsConsentIDFileParams

NewGetFilePaymentConsentsConsentIDFileParamsWithContext creates a new GetFilePaymentConsentsConsentIDFileParams object with the ability to set a context for a request.

func NewGetFilePaymentConsentsConsentIDFileParamsWithHTTPClient

func NewGetFilePaymentConsentsConsentIDFileParamsWithHTTPClient(client *http.Client) *GetFilePaymentConsentsConsentIDFileParams

NewGetFilePaymentConsentsConsentIDFileParamsWithHTTPClient creates a new GetFilePaymentConsentsConsentIDFileParams object with the ability to set a custom HTTPClient for a request.

func NewGetFilePaymentConsentsConsentIDFileParamsWithTimeout

func NewGetFilePaymentConsentsConsentIDFileParamsWithTimeout(timeout time.Duration) *GetFilePaymentConsentsConsentIDFileParams

NewGetFilePaymentConsentsConsentIDFileParamsWithTimeout creates a new GetFilePaymentConsentsConsentIDFileParams object with the ability to set a timeout on a request.

func (*GetFilePaymentConsentsConsentIDFileParams) SetAuthorization

func (o *GetFilePaymentConsentsConsentIDFileParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) SetConsentID

func (o *GetFilePaymentConsentsConsentIDFileParams) SetConsentID(consentID string)

SetConsentID adds the consentId to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) SetContext

SetContext adds the context to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) SetDefaults

SetDefaults hydrates default values in the get file payment consents consent Id file params (not the query body).

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

func (*GetFilePaymentConsentsConsentIDFileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) SetTimeout

SetTimeout adds the timeout to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) SetXCustomerUserAgent

func (o *GetFilePaymentConsentsConsentIDFileParams) SetXCustomerUserAgent(xCustomerUserAgent *string)

SetXCustomerUserAgent adds the xCustomerUserAgent to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) SetXFapiAuthDate

func (o *GetFilePaymentConsentsConsentIDFileParams) SetXFapiAuthDate(xFapiAuthDate *string)

SetXFapiAuthDate adds the xFapiAuthDate to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) SetXFapiCustomerIPAddress

func (o *GetFilePaymentConsentsConsentIDFileParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) SetXFapiInteractionID

func (o *GetFilePaymentConsentsConsentIDFileParams) SetXFapiInteractionID(xFapiInteractionID *string)

SetXFapiInteractionID adds the xFapiInteractionId to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) WithAuthorization

WithAuthorization adds the authorization to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) WithConsentID

WithConsentID adds the consentID to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) WithContext

WithContext adds the context to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) WithDefaults

WithDefaults hydrates default values in the get file payment consents consent Id file params (not the query body).

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

func (*GetFilePaymentConsentsConsentIDFileParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) WithTimeout

WithTimeout adds the timeout to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) WithXCustomerUserAgent

func (o *GetFilePaymentConsentsConsentIDFileParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetFilePaymentConsentsConsentIDFileParams

WithXCustomerUserAgent adds the xCustomerUserAgent to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) WithXFapiAuthDate

WithXFapiAuthDate adds the xFapiAuthDate to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) WithXFapiCustomerIPAddress

func (o *GetFilePaymentConsentsConsentIDFileParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetFilePaymentConsentsConsentIDFileParams

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) WithXFapiInteractionID

func (o *GetFilePaymentConsentsConsentIDFileParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetFilePaymentConsentsConsentIDFileParams

WithXFapiInteractionID adds the xFapiInteractionID to the get file payment consents consent Id file params

func (*GetFilePaymentConsentsConsentIDFileParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFilePaymentConsentsConsentIDFileReader

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

GetFilePaymentConsentsConsentIDFileReader is a Reader for the GetFilePaymentConsentsConsentIDFile structure.

func (*GetFilePaymentConsentsConsentIDFileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFilePaymentConsentsConsentIDFileTooManyRequests

type GetFilePaymentConsentsConsentIDFileTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

GetFilePaymentConsentsConsentIDFileTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetFilePaymentConsentsConsentIDFileTooManyRequests

func NewGetFilePaymentConsentsConsentIDFileTooManyRequests() *GetFilePaymentConsentsConsentIDFileTooManyRequests

NewGetFilePaymentConsentsConsentIDFileTooManyRequests creates a GetFilePaymentConsentsConsentIDFileTooManyRequests with default headers values

func (*GetFilePaymentConsentsConsentIDFileTooManyRequests) Code

Code gets the status code for the get file payment consents consent Id file too many requests response

func (*GetFilePaymentConsentsConsentIDFileTooManyRequests) Error

func (*GetFilePaymentConsentsConsentIDFileTooManyRequests) IsClientError

IsClientError returns true when this get file payment consents consent Id file too many requests response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDFileTooManyRequests) IsCode

IsCode returns true when this get file payment consents consent Id file too many requests response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDFileTooManyRequests) IsRedirect

IsRedirect returns true when this get file payment consents consent Id file too many requests response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDFileTooManyRequests) IsServerError

IsServerError returns true when this get file payment consents consent Id file too many requests response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDFileTooManyRequests) IsSuccess

IsSuccess returns true when this get file payment consents consent Id file too many requests response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDFileTooManyRequests) String

type GetFilePaymentConsentsConsentIDFileUnauthorized

type GetFilePaymentConsentsConsentIDFileUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

GetFilePaymentConsentsConsentIDFileUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetFilePaymentConsentsConsentIDFileUnauthorized

func NewGetFilePaymentConsentsConsentIDFileUnauthorized() *GetFilePaymentConsentsConsentIDFileUnauthorized

NewGetFilePaymentConsentsConsentIDFileUnauthorized creates a GetFilePaymentConsentsConsentIDFileUnauthorized with default headers values

func (*GetFilePaymentConsentsConsentIDFileUnauthorized) Code

Code gets the status code for the get file payment consents consent Id file unauthorized response

func (*GetFilePaymentConsentsConsentIDFileUnauthorized) Error

func (*GetFilePaymentConsentsConsentIDFileUnauthorized) IsClientError

IsClientError returns true when this get file payment consents consent Id file unauthorized response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDFileUnauthorized) IsCode

IsCode returns true when this get file payment consents consent Id file unauthorized response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDFileUnauthorized) IsRedirect

IsRedirect returns true when this get file payment consents consent Id file unauthorized response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDFileUnauthorized) IsServerError

IsServerError returns true when this get file payment consents consent Id file unauthorized response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDFileUnauthorized) IsSuccess

IsSuccess returns true when this get file payment consents consent Id file unauthorized response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDFileUnauthorized) String

type GetFilePaymentConsentsConsentIDForbidden

type GetFilePaymentConsentsConsentIDForbidden struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBErrorResponse1
}

GetFilePaymentConsentsConsentIDForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetFilePaymentConsentsConsentIDForbidden

func NewGetFilePaymentConsentsConsentIDForbidden() *GetFilePaymentConsentsConsentIDForbidden

NewGetFilePaymentConsentsConsentIDForbidden creates a GetFilePaymentConsentsConsentIDForbidden with default headers values

func (*GetFilePaymentConsentsConsentIDForbidden) Code

Code gets the status code for the get file payment consents consent Id forbidden response

func (*GetFilePaymentConsentsConsentIDForbidden) Error

func (*GetFilePaymentConsentsConsentIDForbidden) GetPayload

func (*GetFilePaymentConsentsConsentIDForbidden) IsClientError

IsClientError returns true when this get file payment consents consent Id forbidden response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDForbidden) IsCode

IsCode returns true when this get file payment consents consent Id forbidden response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDForbidden) IsRedirect

IsRedirect returns true when this get file payment consents consent Id forbidden response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDForbidden) IsServerError

IsServerError returns true when this get file payment consents consent Id forbidden response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDForbidden) IsSuccess

IsSuccess returns true when this get file payment consents consent Id forbidden response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDForbidden) String

type GetFilePaymentConsentsConsentIDInternalServerError

type GetFilePaymentConsentsConsentIDInternalServerError struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBErrorResponse1
}

GetFilePaymentConsentsConsentIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetFilePaymentConsentsConsentIDInternalServerError

func NewGetFilePaymentConsentsConsentIDInternalServerError() *GetFilePaymentConsentsConsentIDInternalServerError

NewGetFilePaymentConsentsConsentIDInternalServerError creates a GetFilePaymentConsentsConsentIDInternalServerError with default headers values

func (*GetFilePaymentConsentsConsentIDInternalServerError) Code

Code gets the status code for the get file payment consents consent Id internal server error response

func (*GetFilePaymentConsentsConsentIDInternalServerError) Error

func (*GetFilePaymentConsentsConsentIDInternalServerError) GetPayload

func (*GetFilePaymentConsentsConsentIDInternalServerError) IsClientError

IsClientError returns true when this get file payment consents consent Id internal server error response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDInternalServerError) IsCode

IsCode returns true when this get file payment consents consent Id internal server error response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDInternalServerError) IsRedirect

IsRedirect returns true when this get file payment consents consent Id internal server error response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDInternalServerError) IsServerError

IsServerError returns true when this get file payment consents consent Id internal server error response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDInternalServerError) IsSuccess

IsSuccess returns true when this get file payment consents consent Id internal server error response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDInternalServerError) String

type GetFilePaymentConsentsConsentIDMethodNotAllowed

type GetFilePaymentConsentsConsentIDMethodNotAllowed struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

GetFilePaymentConsentsConsentIDMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewGetFilePaymentConsentsConsentIDMethodNotAllowed

func NewGetFilePaymentConsentsConsentIDMethodNotAllowed() *GetFilePaymentConsentsConsentIDMethodNotAllowed

NewGetFilePaymentConsentsConsentIDMethodNotAllowed creates a GetFilePaymentConsentsConsentIDMethodNotAllowed with default headers values

func (*GetFilePaymentConsentsConsentIDMethodNotAllowed) Code

Code gets the status code for the get file payment consents consent Id method not allowed response

func (*GetFilePaymentConsentsConsentIDMethodNotAllowed) Error

func (*GetFilePaymentConsentsConsentIDMethodNotAllowed) IsClientError

IsClientError returns true when this get file payment consents consent Id method not allowed response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDMethodNotAllowed) IsCode

IsCode returns true when this get file payment consents consent Id method not allowed response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDMethodNotAllowed) IsRedirect

IsRedirect returns true when this get file payment consents consent Id method not allowed response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDMethodNotAllowed) IsServerError

IsServerError returns true when this get file payment consents consent Id method not allowed response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDMethodNotAllowed) IsSuccess

IsSuccess returns true when this get file payment consents consent Id method not allowed response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDMethodNotAllowed) String

type GetFilePaymentConsentsConsentIDNotAcceptable

type GetFilePaymentConsentsConsentIDNotAcceptable struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

GetFilePaymentConsentsConsentIDNotAcceptable describes a response with status code 406, with default header values.

Not Acceptable

func NewGetFilePaymentConsentsConsentIDNotAcceptable

func NewGetFilePaymentConsentsConsentIDNotAcceptable() *GetFilePaymentConsentsConsentIDNotAcceptable

NewGetFilePaymentConsentsConsentIDNotAcceptable creates a GetFilePaymentConsentsConsentIDNotAcceptable with default headers values

func (*GetFilePaymentConsentsConsentIDNotAcceptable) Code

Code gets the status code for the get file payment consents consent Id not acceptable response

func (*GetFilePaymentConsentsConsentIDNotAcceptable) Error

func (*GetFilePaymentConsentsConsentIDNotAcceptable) IsClientError

IsClientError returns true when this get file payment consents consent Id not acceptable response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDNotAcceptable) IsCode

IsCode returns true when this get file payment consents consent Id not acceptable response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDNotAcceptable) IsRedirect

IsRedirect returns true when this get file payment consents consent Id not acceptable response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDNotAcceptable) IsServerError

IsServerError returns true when this get file payment consents consent Id not acceptable response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDNotAcceptable) IsSuccess

IsSuccess returns true when this get file payment consents consent Id not acceptable response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDNotAcceptable) String

type GetFilePaymentConsentsConsentIDNotFound

type GetFilePaymentConsentsConsentIDNotFound struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

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

Not found

func NewGetFilePaymentConsentsConsentIDNotFound

func NewGetFilePaymentConsentsConsentIDNotFound() *GetFilePaymentConsentsConsentIDNotFound

NewGetFilePaymentConsentsConsentIDNotFound creates a GetFilePaymentConsentsConsentIDNotFound with default headers values

func (*GetFilePaymentConsentsConsentIDNotFound) Code

Code gets the status code for the get file payment consents consent Id not found response

func (*GetFilePaymentConsentsConsentIDNotFound) Error

func (*GetFilePaymentConsentsConsentIDNotFound) IsClientError

func (o *GetFilePaymentConsentsConsentIDNotFound) IsClientError() bool

IsClientError returns true when this get file payment consents consent Id not found response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDNotFound) IsCode

IsCode returns true when this get file payment consents consent Id not found response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDNotFound) IsRedirect

IsRedirect returns true when this get file payment consents consent Id not found response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDNotFound) IsServerError

func (o *GetFilePaymentConsentsConsentIDNotFound) IsServerError() bool

IsServerError returns true when this get file payment consents consent Id not found response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDNotFound) IsSuccess

IsSuccess returns true when this get file payment consents consent Id not found response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDNotFound) String

type GetFilePaymentConsentsConsentIDOK

type GetFilePaymentConsentsConsentIDOK struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	/* Header containing a detached JWS signature of the body of the payload.

	 */
	XJwsSignature string

	Payload *models.OBWriteFileConsentResponse4
}

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

File Payment Consents Read

func NewGetFilePaymentConsentsConsentIDOK

func NewGetFilePaymentConsentsConsentIDOK() *GetFilePaymentConsentsConsentIDOK

NewGetFilePaymentConsentsConsentIDOK creates a GetFilePaymentConsentsConsentIDOK with default headers values

func (*GetFilePaymentConsentsConsentIDOK) Code

Code gets the status code for the get file payment consents consent Id o k response

func (*GetFilePaymentConsentsConsentIDOK) Error

func (*GetFilePaymentConsentsConsentIDOK) GetPayload

func (*GetFilePaymentConsentsConsentIDOK) IsClientError

func (o *GetFilePaymentConsentsConsentIDOK) IsClientError() bool

IsClientError returns true when this get file payment consents consent Id o k response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDOK) IsCode

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

IsCode returns true when this get file payment consents consent Id o k response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDOK) IsRedirect

func (o *GetFilePaymentConsentsConsentIDOK) IsRedirect() bool

IsRedirect returns true when this get file payment consents consent Id o k response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDOK) IsServerError

func (o *GetFilePaymentConsentsConsentIDOK) IsServerError() bool

IsServerError returns true when this get file payment consents consent Id o k response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDOK) IsSuccess

func (o *GetFilePaymentConsentsConsentIDOK) IsSuccess() bool

IsSuccess returns true when this get file payment consents consent Id o k response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDOK) String

type GetFilePaymentConsentsConsentIDParams

type GetFilePaymentConsentsConsentIDParams struct {

	/* Authorization.

	   An Authorisation Token as per https://tools.ietf.org/html/rfc6750
	*/
	Authorization string

	/* ConsentID.

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

GetFilePaymentConsentsConsentIDParams contains all the parameters to send to the API endpoint

for the get file payment consents consent Id operation.

Typically these are written to a http.Request.

func NewGetFilePaymentConsentsConsentIDParams

func NewGetFilePaymentConsentsConsentIDParams() *GetFilePaymentConsentsConsentIDParams

NewGetFilePaymentConsentsConsentIDParams creates a new GetFilePaymentConsentsConsentIDParams 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 NewGetFilePaymentConsentsConsentIDParamsWithContext

func NewGetFilePaymentConsentsConsentIDParamsWithContext(ctx context.Context) *GetFilePaymentConsentsConsentIDParams

NewGetFilePaymentConsentsConsentIDParamsWithContext creates a new GetFilePaymentConsentsConsentIDParams object with the ability to set a context for a request.

func NewGetFilePaymentConsentsConsentIDParamsWithHTTPClient

func NewGetFilePaymentConsentsConsentIDParamsWithHTTPClient(client *http.Client) *GetFilePaymentConsentsConsentIDParams

NewGetFilePaymentConsentsConsentIDParamsWithHTTPClient creates a new GetFilePaymentConsentsConsentIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetFilePaymentConsentsConsentIDParamsWithTimeout

func NewGetFilePaymentConsentsConsentIDParamsWithTimeout(timeout time.Duration) *GetFilePaymentConsentsConsentIDParams

NewGetFilePaymentConsentsConsentIDParamsWithTimeout creates a new GetFilePaymentConsentsConsentIDParams object with the ability to set a timeout on a request.

func (*GetFilePaymentConsentsConsentIDParams) SetAuthorization

func (o *GetFilePaymentConsentsConsentIDParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) SetConsentID

func (o *GetFilePaymentConsentsConsentIDParams) SetConsentID(consentID string)

SetConsentID adds the consentId to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) SetContext

SetContext adds the context to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) SetDefaults

func (o *GetFilePaymentConsentsConsentIDParams) SetDefaults()

SetDefaults hydrates default values in the get file payment consents consent Id params (not the query body).

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

func (*GetFilePaymentConsentsConsentIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) SetTimeout

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

SetTimeout adds the timeout to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) SetXCustomerUserAgent

func (o *GetFilePaymentConsentsConsentIDParams) SetXCustomerUserAgent(xCustomerUserAgent *string)

SetXCustomerUserAgent adds the xCustomerUserAgent to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) SetXFapiAuthDate

func (o *GetFilePaymentConsentsConsentIDParams) SetXFapiAuthDate(xFapiAuthDate *string)

SetXFapiAuthDate adds the xFapiAuthDate to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) SetXFapiCustomerIPAddress

func (o *GetFilePaymentConsentsConsentIDParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) SetXFapiInteractionID

func (o *GetFilePaymentConsentsConsentIDParams) SetXFapiInteractionID(xFapiInteractionID *string)

SetXFapiInteractionID adds the xFapiInteractionId to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) WithAuthorization

WithAuthorization adds the authorization to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) WithConsentID

WithConsentID adds the consentID to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) WithContext

WithContext adds the context to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) WithDefaults

WithDefaults hydrates default values in the get file payment consents consent Id params (not the query body).

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

func (*GetFilePaymentConsentsConsentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) WithTimeout

WithTimeout adds the timeout to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) WithXCustomerUserAgent

func (o *GetFilePaymentConsentsConsentIDParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetFilePaymentConsentsConsentIDParams

WithXCustomerUserAgent adds the xCustomerUserAgent to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) WithXFapiAuthDate

WithXFapiAuthDate adds the xFapiAuthDate to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) WithXFapiCustomerIPAddress

func (o *GetFilePaymentConsentsConsentIDParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetFilePaymentConsentsConsentIDParams

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) WithXFapiInteractionID

func (o *GetFilePaymentConsentsConsentIDParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetFilePaymentConsentsConsentIDParams

WithXFapiInteractionID adds the xFapiInteractionID to the get file payment consents consent Id params

func (*GetFilePaymentConsentsConsentIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFilePaymentConsentsConsentIDReader

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

GetFilePaymentConsentsConsentIDReader is a Reader for the GetFilePaymentConsentsConsentID structure.

func (*GetFilePaymentConsentsConsentIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFilePaymentConsentsConsentIDTooManyRequests

type GetFilePaymentConsentsConsentIDTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

GetFilePaymentConsentsConsentIDTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetFilePaymentConsentsConsentIDTooManyRequests

func NewGetFilePaymentConsentsConsentIDTooManyRequests() *GetFilePaymentConsentsConsentIDTooManyRequests

NewGetFilePaymentConsentsConsentIDTooManyRequests creates a GetFilePaymentConsentsConsentIDTooManyRequests with default headers values

func (*GetFilePaymentConsentsConsentIDTooManyRequests) Code

Code gets the status code for the get file payment consents consent Id too many requests response

func (*GetFilePaymentConsentsConsentIDTooManyRequests) Error

func (*GetFilePaymentConsentsConsentIDTooManyRequests) IsClientError

IsClientError returns true when this get file payment consents consent Id too many requests response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDTooManyRequests) IsCode

IsCode returns true when this get file payment consents consent Id too many requests response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDTooManyRequests) IsRedirect

IsRedirect returns true when this get file payment consents consent Id too many requests response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDTooManyRequests) IsServerError

IsServerError returns true when this get file payment consents consent Id too many requests response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDTooManyRequests) IsSuccess

IsSuccess returns true when this get file payment consents consent Id too many requests response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDTooManyRequests) String

type GetFilePaymentConsentsConsentIDUnauthorized

type GetFilePaymentConsentsConsentIDUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}

GetFilePaymentConsentsConsentIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetFilePaymentConsentsConsentIDUnauthorized

func NewGetFilePaymentConsentsConsentIDUnauthorized() *GetFilePaymentConsentsConsentIDUnauthorized

NewGetFilePaymentConsentsConsentIDUnauthorized creates a GetFilePaymentConsentsConsentIDUnauthorized with default headers values

func (*GetFilePaymentConsentsConsentIDUnauthorized) Code

Code gets the status code for the get file payment consents consent Id unauthorized response

func (*GetFilePaymentConsentsConsentIDUnauthorized) Error

func (*GetFilePaymentConsentsConsentIDUnauthorized) IsClientError

IsClientError returns true when this get file payment consents consent Id unauthorized response has a 4xx status code

func (*GetFilePaymentConsentsConsentIDUnauthorized) IsCode

IsCode returns true when this get file payment consents consent Id unauthorized response a status code equal to that given

func (*GetFilePaymentConsentsConsentIDUnauthorized) IsRedirect

IsRedirect returns true when this get file payment consents consent Id unauthorized response has a 3xx status code

func (*GetFilePaymentConsentsConsentIDUnauthorized) IsServerError

IsServerError returns true when this get file payment consents consent Id unauthorized response has a 5xx status code

func (*GetFilePaymentConsentsConsentIDUnauthorized) IsSuccess

IsSuccess returns true when this get file payment consents consent Id unauthorized response has a 2xx status code

func (*GetFilePaymentConsentsConsentIDUnauthorized) String

Jump to

Keyboard shortcuts

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