parties

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for parties API

func (*Client) GetAccountsAccountIDParties

func (a *Client) GetAccountsAccountIDParties(params *GetAccountsAccountIDPartiesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDPartiesOK, error)

GetAccountsAccountIDParties gets parties

func (*Client) GetAccountsAccountIDParty

func (a *Client) GetAccountsAccountIDParty(params *GetAccountsAccountIDPartyParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDPartyOK, error)

GetAccountsAccountIDParty gets parties

func (*Client) GetParty

func (a *Client) GetParty(params *GetPartyParams, authInfo runtime.ClientAuthInfoWriter) (*GetPartyOK, error)

GetParty gets parties

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetAccountsAccountIDParties(params *GetAccountsAccountIDPartiesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDPartiesOK, error)

	GetAccountsAccountIDParty(params *GetAccountsAccountIDPartyParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDPartyOK, error)

	GetParty(params *GetPartyParams, authInfo runtime.ClientAuthInfoWriter) (*GetPartyOK, 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 parties API client.

type GetAccountsAccountIDPartiesBadRequest

type GetAccountsAccountIDPartiesBadRequest struct {

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

	Payload *models.OBErrorResponse1
}
GetAccountsAccountIDPartiesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetAccountsAccountIDPartiesBadRequest

func NewGetAccountsAccountIDPartiesBadRequest() *GetAccountsAccountIDPartiesBadRequest

NewGetAccountsAccountIDPartiesBadRequest creates a GetAccountsAccountIDPartiesBadRequest with default headers values

func (*GetAccountsAccountIDPartiesBadRequest) Error

func (*GetAccountsAccountIDPartiesBadRequest) GetPayload

type GetAccountsAccountIDPartiesForbidden

type GetAccountsAccountIDPartiesForbidden struct {

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

	Payload *models.OBErrorResponse1
}
GetAccountsAccountIDPartiesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAccountsAccountIDPartiesForbidden

func NewGetAccountsAccountIDPartiesForbidden() *GetAccountsAccountIDPartiesForbidden

NewGetAccountsAccountIDPartiesForbidden creates a GetAccountsAccountIDPartiesForbidden with default headers values

func (*GetAccountsAccountIDPartiesForbidden) Error

func (*GetAccountsAccountIDPartiesForbidden) GetPayload

type GetAccountsAccountIDPartiesInternalServerError

type GetAccountsAccountIDPartiesInternalServerError struct {

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

	Payload *models.OBErrorResponse1
}
GetAccountsAccountIDPartiesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAccountsAccountIDPartiesInternalServerError

func NewGetAccountsAccountIDPartiesInternalServerError() *GetAccountsAccountIDPartiesInternalServerError

NewGetAccountsAccountIDPartiesInternalServerError creates a GetAccountsAccountIDPartiesInternalServerError with default headers values

func (*GetAccountsAccountIDPartiesInternalServerError) Error

func (*GetAccountsAccountIDPartiesInternalServerError) GetPayload

type GetAccountsAccountIDPartiesMethodNotAllowed

type GetAccountsAccountIDPartiesMethodNotAllowed struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDPartiesMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewGetAccountsAccountIDPartiesMethodNotAllowed

func NewGetAccountsAccountIDPartiesMethodNotAllowed() *GetAccountsAccountIDPartiesMethodNotAllowed

NewGetAccountsAccountIDPartiesMethodNotAllowed creates a GetAccountsAccountIDPartiesMethodNotAllowed with default headers values

func (*GetAccountsAccountIDPartiesMethodNotAllowed) Error

type GetAccountsAccountIDPartiesNotAcceptable

type GetAccountsAccountIDPartiesNotAcceptable struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDPartiesNotAcceptable describes a response with status code 406, with default header values.

Not Acceptable

func NewGetAccountsAccountIDPartiesNotAcceptable

func NewGetAccountsAccountIDPartiesNotAcceptable() *GetAccountsAccountIDPartiesNotAcceptable

NewGetAccountsAccountIDPartiesNotAcceptable creates a GetAccountsAccountIDPartiesNotAcceptable with default headers values

func (*GetAccountsAccountIDPartiesNotAcceptable) Error

type GetAccountsAccountIDPartiesNotFound

type GetAccountsAccountIDPartiesNotFound struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDPartiesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetAccountsAccountIDPartiesNotFound

func NewGetAccountsAccountIDPartiesNotFound() *GetAccountsAccountIDPartiesNotFound

NewGetAccountsAccountIDPartiesNotFound creates a GetAccountsAccountIDPartiesNotFound with default headers values

func (*GetAccountsAccountIDPartiesNotFound) Error

type GetAccountsAccountIDPartiesOK

type GetAccountsAccountIDPartiesOK struct {

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

	Payload *models.OBReadParty3
}
GetAccountsAccountIDPartiesOK describes a response with status code 200, with default header values.

Parties Read

func NewGetAccountsAccountIDPartiesOK

func NewGetAccountsAccountIDPartiesOK() *GetAccountsAccountIDPartiesOK

NewGetAccountsAccountIDPartiesOK creates a GetAccountsAccountIDPartiesOK with default headers values

func (*GetAccountsAccountIDPartiesOK) Error

func (*GetAccountsAccountIDPartiesOK) GetPayload

type GetAccountsAccountIDPartiesParams

type GetAccountsAccountIDPartiesParams struct {

	/* AccountID.

	   AccountId
	*/
	AccountID string

	/* Authorization.

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

	/* XCustomerUserAgent.

	   Indicates the user-agent that the PSU is using.
	*/
	XCustomerUserAgent *string

	/* XFapiAuthDate.

	     The time when the PSU last logged in with the TPP.
	All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below:
	Sun, 10 Sep 2017 19:43:31 UTC
	*/
	XFapiAuthDate *string

	/* XFapiCustomerIPAddress.

	   The PSU's IP address if the PSU is currently logged in with the TPP.
	*/
	XFapiCustomerIPAddress *string

	/* XFapiInteractionID.

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

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

GetAccountsAccountIDPartiesParams contains all the parameters to send to the API endpoint

for the get accounts account Id parties operation.

Typically these are written to a http.Request.

func NewGetAccountsAccountIDPartiesParams

func NewGetAccountsAccountIDPartiesParams() *GetAccountsAccountIDPartiesParams

NewGetAccountsAccountIDPartiesParams creates a new GetAccountsAccountIDPartiesParams 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 NewGetAccountsAccountIDPartiesParamsWithContext

func NewGetAccountsAccountIDPartiesParamsWithContext(ctx context.Context) *GetAccountsAccountIDPartiesParams

NewGetAccountsAccountIDPartiesParamsWithContext creates a new GetAccountsAccountIDPartiesParams object with the ability to set a context for a request.

func NewGetAccountsAccountIDPartiesParamsWithHTTPClient

func NewGetAccountsAccountIDPartiesParamsWithHTTPClient(client *http.Client) *GetAccountsAccountIDPartiesParams

NewGetAccountsAccountIDPartiesParamsWithHTTPClient creates a new GetAccountsAccountIDPartiesParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountsAccountIDPartiesParamsWithTimeout

func NewGetAccountsAccountIDPartiesParamsWithTimeout(timeout time.Duration) *GetAccountsAccountIDPartiesParams

NewGetAccountsAccountIDPartiesParamsWithTimeout creates a new GetAccountsAccountIDPartiesParams object with the ability to set a timeout on a request.

func (*GetAccountsAccountIDPartiesParams) SetAccountID

func (o *GetAccountsAccountIDPartiesParams) SetAccountID(accountID string)

SetAccountID adds the accountId to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) SetAuthorization

func (o *GetAccountsAccountIDPartiesParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) SetContext

SetContext adds the context to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) SetDefaults

func (o *GetAccountsAccountIDPartiesParams) SetDefaults()

SetDefaults hydrates default values in the get accounts account Id parties params (not the query body).

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

func (*GetAccountsAccountIDPartiesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) SetTimeout

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

SetTimeout adds the timeout to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) SetXCustomerUserAgent

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

SetXCustomerUserAgent adds the xCustomerUserAgent to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) SetXFapiAuthDate

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

SetXFapiAuthDate adds the xFapiAuthDate to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) SetXFapiCustomerIPAddress

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

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) SetXFapiInteractionID

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

SetXFapiInteractionID adds the xFapiInteractionId to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) WithAccountID

WithAccountID adds the accountID to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) WithAuthorization

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

WithAuthorization adds the authorization to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) WithContext

WithContext adds the context to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) WithDefaults

WithDefaults hydrates default values in the get accounts account Id parties params (not the query body).

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

func (*GetAccountsAccountIDPartiesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) WithTimeout

WithTimeout adds the timeout to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) WithXCustomerUserAgent

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

WithXCustomerUserAgent adds the xCustomerUserAgent to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) WithXFapiAuthDate

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

WithXFapiAuthDate adds the xFapiAuthDate to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) WithXFapiCustomerIPAddress

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

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) WithXFapiInteractionID

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

WithXFapiInteractionID adds the xFapiInteractionID to the get accounts account Id parties params

func (*GetAccountsAccountIDPartiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountsAccountIDPartiesReader

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

GetAccountsAccountIDPartiesReader is a Reader for the GetAccountsAccountIDParties structure.

func (*GetAccountsAccountIDPartiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountsAccountIDPartiesTooManyRequests

type GetAccountsAccountIDPartiesTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDPartiesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetAccountsAccountIDPartiesTooManyRequests

func NewGetAccountsAccountIDPartiesTooManyRequests() *GetAccountsAccountIDPartiesTooManyRequests

NewGetAccountsAccountIDPartiesTooManyRequests creates a GetAccountsAccountIDPartiesTooManyRequests with default headers values

func (*GetAccountsAccountIDPartiesTooManyRequests) Error

type GetAccountsAccountIDPartiesUnauthorized

type GetAccountsAccountIDPartiesUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDPartiesUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetAccountsAccountIDPartiesUnauthorized

func NewGetAccountsAccountIDPartiesUnauthorized() *GetAccountsAccountIDPartiesUnauthorized

NewGetAccountsAccountIDPartiesUnauthorized creates a GetAccountsAccountIDPartiesUnauthorized with default headers values

func (*GetAccountsAccountIDPartiesUnauthorized) Error

type GetAccountsAccountIDPartyBadRequest

type GetAccountsAccountIDPartyBadRequest struct {

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

	Payload *models.OBErrorResponse1
}
GetAccountsAccountIDPartyBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetAccountsAccountIDPartyBadRequest

func NewGetAccountsAccountIDPartyBadRequest() *GetAccountsAccountIDPartyBadRequest

NewGetAccountsAccountIDPartyBadRequest creates a GetAccountsAccountIDPartyBadRequest with default headers values

func (*GetAccountsAccountIDPartyBadRequest) Error

func (*GetAccountsAccountIDPartyBadRequest) GetPayload

type GetAccountsAccountIDPartyForbidden

type GetAccountsAccountIDPartyForbidden struct {

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

	Payload *models.OBErrorResponse1
}
GetAccountsAccountIDPartyForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAccountsAccountIDPartyForbidden

func NewGetAccountsAccountIDPartyForbidden() *GetAccountsAccountIDPartyForbidden

NewGetAccountsAccountIDPartyForbidden creates a GetAccountsAccountIDPartyForbidden with default headers values

func (*GetAccountsAccountIDPartyForbidden) Error

func (*GetAccountsAccountIDPartyForbidden) GetPayload

type GetAccountsAccountIDPartyInternalServerError

type GetAccountsAccountIDPartyInternalServerError struct {

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

	Payload *models.OBErrorResponse1
}
GetAccountsAccountIDPartyInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAccountsAccountIDPartyInternalServerError

func NewGetAccountsAccountIDPartyInternalServerError() *GetAccountsAccountIDPartyInternalServerError

NewGetAccountsAccountIDPartyInternalServerError creates a GetAccountsAccountIDPartyInternalServerError with default headers values

func (*GetAccountsAccountIDPartyInternalServerError) Error

func (*GetAccountsAccountIDPartyInternalServerError) GetPayload

type GetAccountsAccountIDPartyMethodNotAllowed

type GetAccountsAccountIDPartyMethodNotAllowed struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDPartyMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewGetAccountsAccountIDPartyMethodNotAllowed

func NewGetAccountsAccountIDPartyMethodNotAllowed() *GetAccountsAccountIDPartyMethodNotAllowed

NewGetAccountsAccountIDPartyMethodNotAllowed creates a GetAccountsAccountIDPartyMethodNotAllowed with default headers values

func (*GetAccountsAccountIDPartyMethodNotAllowed) Error

type GetAccountsAccountIDPartyNotAcceptable

type GetAccountsAccountIDPartyNotAcceptable struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDPartyNotAcceptable describes a response with status code 406, with default header values.

Not Acceptable

func NewGetAccountsAccountIDPartyNotAcceptable

func NewGetAccountsAccountIDPartyNotAcceptable() *GetAccountsAccountIDPartyNotAcceptable

NewGetAccountsAccountIDPartyNotAcceptable creates a GetAccountsAccountIDPartyNotAcceptable with default headers values

func (*GetAccountsAccountIDPartyNotAcceptable) Error

type GetAccountsAccountIDPartyNotFound

type GetAccountsAccountIDPartyNotFound struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDPartyNotFound describes a response with status code 404, with default header values.

Not found

func NewGetAccountsAccountIDPartyNotFound

func NewGetAccountsAccountIDPartyNotFound() *GetAccountsAccountIDPartyNotFound

NewGetAccountsAccountIDPartyNotFound creates a GetAccountsAccountIDPartyNotFound with default headers values

func (*GetAccountsAccountIDPartyNotFound) Error

type GetAccountsAccountIDPartyOK

type GetAccountsAccountIDPartyOK struct {

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

	Payload *models.OBReadParty2
}
GetAccountsAccountIDPartyOK describes a response with status code 200, with default header values.

Parties Read

func NewGetAccountsAccountIDPartyOK

func NewGetAccountsAccountIDPartyOK() *GetAccountsAccountIDPartyOK

NewGetAccountsAccountIDPartyOK creates a GetAccountsAccountIDPartyOK with default headers values

func (*GetAccountsAccountIDPartyOK) Error

func (*GetAccountsAccountIDPartyOK) GetPayload

type GetAccountsAccountIDPartyParams

type GetAccountsAccountIDPartyParams struct {

	/* AccountID.

	   AccountId
	*/
	AccountID string

	/* Authorization.

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

	/* XCustomerUserAgent.

	   Indicates the user-agent that the PSU is using.
	*/
	XCustomerUserAgent *string

	/* XFapiAuthDate.

	     The time when the PSU last logged in with the TPP.
	All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below:
	Sun, 10 Sep 2017 19:43:31 UTC
	*/
	XFapiAuthDate *string

	/* XFapiCustomerIPAddress.

	   The PSU's IP address if the PSU is currently logged in with the TPP.
	*/
	XFapiCustomerIPAddress *string

	/* XFapiInteractionID.

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

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

GetAccountsAccountIDPartyParams contains all the parameters to send to the API endpoint

for the get accounts account Id party operation.

Typically these are written to a http.Request.

func NewGetAccountsAccountIDPartyParams

func NewGetAccountsAccountIDPartyParams() *GetAccountsAccountIDPartyParams

NewGetAccountsAccountIDPartyParams creates a new GetAccountsAccountIDPartyParams 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 NewGetAccountsAccountIDPartyParamsWithContext

func NewGetAccountsAccountIDPartyParamsWithContext(ctx context.Context) *GetAccountsAccountIDPartyParams

NewGetAccountsAccountIDPartyParamsWithContext creates a new GetAccountsAccountIDPartyParams object with the ability to set a context for a request.

func NewGetAccountsAccountIDPartyParamsWithHTTPClient

func NewGetAccountsAccountIDPartyParamsWithHTTPClient(client *http.Client) *GetAccountsAccountIDPartyParams

NewGetAccountsAccountIDPartyParamsWithHTTPClient creates a new GetAccountsAccountIDPartyParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountsAccountIDPartyParamsWithTimeout

func NewGetAccountsAccountIDPartyParamsWithTimeout(timeout time.Duration) *GetAccountsAccountIDPartyParams

NewGetAccountsAccountIDPartyParamsWithTimeout creates a new GetAccountsAccountIDPartyParams object with the ability to set a timeout on a request.

func (*GetAccountsAccountIDPartyParams) SetAccountID

func (o *GetAccountsAccountIDPartyParams) SetAccountID(accountID string)

SetAccountID adds the accountId to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) SetAuthorization

func (o *GetAccountsAccountIDPartyParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) SetContext

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

SetContext adds the context to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) SetDefaults

func (o *GetAccountsAccountIDPartyParams) SetDefaults()

SetDefaults hydrates default values in the get accounts account Id party params (not the query body).

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

func (*GetAccountsAccountIDPartyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) SetTimeout

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

SetTimeout adds the timeout to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) SetXCustomerUserAgent

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

SetXCustomerUserAgent adds the xCustomerUserAgent to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) SetXFapiAuthDate

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

SetXFapiAuthDate adds the xFapiAuthDate to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) SetXFapiCustomerIPAddress

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

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) SetXFapiInteractionID

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

SetXFapiInteractionID adds the xFapiInteractionId to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) WithAccountID

WithAccountID adds the accountID to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) WithAuthorization

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

WithAuthorization adds the authorization to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) WithContext

WithContext adds the context to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) WithDefaults

WithDefaults hydrates default values in the get accounts account Id party params (not the query body).

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

func (*GetAccountsAccountIDPartyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) WithTimeout

WithTimeout adds the timeout to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) WithXCustomerUserAgent

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

WithXCustomerUserAgent adds the xCustomerUserAgent to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) WithXFapiAuthDate

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

WithXFapiAuthDate adds the xFapiAuthDate to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) WithXFapiCustomerIPAddress

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

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) WithXFapiInteractionID

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

WithXFapiInteractionID adds the xFapiInteractionID to the get accounts account Id party params

func (*GetAccountsAccountIDPartyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountsAccountIDPartyReader

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

GetAccountsAccountIDPartyReader is a Reader for the GetAccountsAccountIDParty structure.

func (*GetAccountsAccountIDPartyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountsAccountIDPartyTooManyRequests

type GetAccountsAccountIDPartyTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDPartyTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetAccountsAccountIDPartyTooManyRequests

func NewGetAccountsAccountIDPartyTooManyRequests() *GetAccountsAccountIDPartyTooManyRequests

NewGetAccountsAccountIDPartyTooManyRequests creates a GetAccountsAccountIDPartyTooManyRequests with default headers values

func (*GetAccountsAccountIDPartyTooManyRequests) Error

type GetAccountsAccountIDPartyUnauthorized

type GetAccountsAccountIDPartyUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDPartyUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetAccountsAccountIDPartyUnauthorized

func NewGetAccountsAccountIDPartyUnauthorized() *GetAccountsAccountIDPartyUnauthorized

NewGetAccountsAccountIDPartyUnauthorized creates a GetAccountsAccountIDPartyUnauthorized with default headers values

func (*GetAccountsAccountIDPartyUnauthorized) Error

type GetPartyBadRequest

type GetPartyBadRequest struct {

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

	Payload *models.OBErrorResponse1
}
GetPartyBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetPartyBadRequest

func NewGetPartyBadRequest() *GetPartyBadRequest

NewGetPartyBadRequest creates a GetPartyBadRequest with default headers values

func (*GetPartyBadRequest) Error

func (o *GetPartyBadRequest) Error() string

func (*GetPartyBadRequest) GetPayload

func (o *GetPartyBadRequest) GetPayload() *models.OBErrorResponse1

type GetPartyForbidden

type GetPartyForbidden struct {

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

	Payload *models.OBErrorResponse1
}
GetPartyForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetPartyForbidden

func NewGetPartyForbidden() *GetPartyForbidden

NewGetPartyForbidden creates a GetPartyForbidden with default headers values

func (*GetPartyForbidden) Error

func (o *GetPartyForbidden) Error() string

func (*GetPartyForbidden) GetPayload

func (o *GetPartyForbidden) GetPayload() *models.OBErrorResponse1

type GetPartyInternalServerError

type GetPartyInternalServerError struct {

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

	Payload *models.OBErrorResponse1
}
GetPartyInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetPartyInternalServerError

func NewGetPartyInternalServerError() *GetPartyInternalServerError

NewGetPartyInternalServerError creates a GetPartyInternalServerError with default headers values

func (*GetPartyInternalServerError) Error

func (*GetPartyInternalServerError) GetPayload

type GetPartyMethodNotAllowed

type GetPartyMethodNotAllowed struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetPartyMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewGetPartyMethodNotAllowed

func NewGetPartyMethodNotAllowed() *GetPartyMethodNotAllowed

NewGetPartyMethodNotAllowed creates a GetPartyMethodNotAllowed with default headers values

func (*GetPartyMethodNotAllowed) Error

func (o *GetPartyMethodNotAllowed) Error() string

type GetPartyNotAcceptable

type GetPartyNotAcceptable struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetPartyNotAcceptable describes a response with status code 406, with default header values.

Not Acceptable

func NewGetPartyNotAcceptable

func NewGetPartyNotAcceptable() *GetPartyNotAcceptable

NewGetPartyNotAcceptable creates a GetPartyNotAcceptable with default headers values

func (*GetPartyNotAcceptable) Error

func (o *GetPartyNotAcceptable) Error() string

type GetPartyNotFound

type GetPartyNotFound struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetPartyNotFound describes a response with status code 404, with default header values.

Not found

func NewGetPartyNotFound

func NewGetPartyNotFound() *GetPartyNotFound

NewGetPartyNotFound creates a GetPartyNotFound with default headers values

func (*GetPartyNotFound) Error

func (o *GetPartyNotFound) Error() string

type GetPartyOK

type GetPartyOK struct {

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

	Payload *models.OBReadParty2
}
GetPartyOK describes a response with status code 200, with default header values.

Parties Read

func NewGetPartyOK

func NewGetPartyOK() *GetPartyOK

NewGetPartyOK creates a GetPartyOK with default headers values

func (*GetPartyOK) Error

func (o *GetPartyOK) Error() string

func (*GetPartyOK) GetPayload

func (o *GetPartyOK) GetPayload() *models.OBReadParty2

type GetPartyParams

type GetPartyParams struct {

	/* Authorization.

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

	/* XCustomerUserAgent.

	   Indicates the user-agent that the PSU is using.
	*/
	XCustomerUserAgent *string

	/* XFapiAuthDate.

	     The time when the PSU last logged in with the TPP.
	All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below:
	Sun, 10 Sep 2017 19:43:31 UTC
	*/
	XFapiAuthDate *string

	/* XFapiCustomerIPAddress.

	   The PSU's IP address if the PSU is currently logged in with the TPP.
	*/
	XFapiCustomerIPAddress *string

	/* XFapiInteractionID.

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

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

GetPartyParams contains all the parameters to send to the API endpoint

for the get party operation.

Typically these are written to a http.Request.

func NewGetPartyParams

func NewGetPartyParams() *GetPartyParams

NewGetPartyParams creates a new GetPartyParams 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 NewGetPartyParamsWithContext

func NewGetPartyParamsWithContext(ctx context.Context) *GetPartyParams

NewGetPartyParamsWithContext creates a new GetPartyParams object with the ability to set a context for a request.

func NewGetPartyParamsWithHTTPClient

func NewGetPartyParamsWithHTTPClient(client *http.Client) *GetPartyParams

NewGetPartyParamsWithHTTPClient creates a new GetPartyParams object with the ability to set a custom HTTPClient for a request.

func NewGetPartyParamsWithTimeout

func NewGetPartyParamsWithTimeout(timeout time.Duration) *GetPartyParams

NewGetPartyParamsWithTimeout creates a new GetPartyParams object with the ability to set a timeout on a request.

func (*GetPartyParams) SetAuthorization

func (o *GetPartyParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get party params

func (*GetPartyParams) SetContext

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

SetContext adds the context to the get party params

func (*GetPartyParams) SetDefaults

func (o *GetPartyParams) SetDefaults()

SetDefaults hydrates default values in the get party params (not the query body).

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

func (*GetPartyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get party params

func (*GetPartyParams) SetTimeout

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

SetTimeout adds the timeout to the get party params

func (*GetPartyParams) SetXCustomerUserAgent

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

SetXCustomerUserAgent adds the xCustomerUserAgent to the get party params

func (*GetPartyParams) SetXFapiAuthDate

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

SetXFapiAuthDate adds the xFapiAuthDate to the get party params

func (*GetPartyParams) SetXFapiCustomerIPAddress

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

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get party params

func (*GetPartyParams) SetXFapiInteractionID

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

SetXFapiInteractionID adds the xFapiInteractionId to the get party params

func (*GetPartyParams) WithAuthorization

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

WithAuthorization adds the authorization to the get party params

func (*GetPartyParams) WithContext

func (o *GetPartyParams) WithContext(ctx context.Context) *GetPartyParams

WithContext adds the context to the get party params

func (*GetPartyParams) WithDefaults

func (o *GetPartyParams) WithDefaults() *GetPartyParams

WithDefaults hydrates default values in the get party params (not the query body).

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

func (*GetPartyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get party params

func (*GetPartyParams) WithTimeout

func (o *GetPartyParams) WithTimeout(timeout time.Duration) *GetPartyParams

WithTimeout adds the timeout to the get party params

func (*GetPartyParams) WithXCustomerUserAgent

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

WithXCustomerUserAgent adds the xCustomerUserAgent to the get party params

func (*GetPartyParams) WithXFapiAuthDate

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

WithXFapiAuthDate adds the xFapiAuthDate to the get party params

func (*GetPartyParams) WithXFapiCustomerIPAddress

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

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get party params

func (*GetPartyParams) WithXFapiInteractionID

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

WithXFapiInteractionID adds the xFapiInteractionID to the get party params

func (*GetPartyParams) WriteToRequest

func (o *GetPartyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetPartyReader

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

GetPartyReader is a Reader for the GetParty structure.

func (*GetPartyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPartyTooManyRequests

type GetPartyTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetPartyTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetPartyTooManyRequests

func NewGetPartyTooManyRequests() *GetPartyTooManyRequests

NewGetPartyTooManyRequests creates a GetPartyTooManyRequests with default headers values

func (*GetPartyTooManyRequests) Error

func (o *GetPartyTooManyRequests) Error() string

type GetPartyUnauthorized

type GetPartyUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetPartyUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetPartyUnauthorized

func NewGetPartyUnauthorized() *GetPartyUnauthorized

NewGetPartyUnauthorized creates a GetPartyUnauthorized with default headers values

func (*GetPartyUnauthorized) Error

func (o *GetPartyUnauthorized) Error() string

Jump to

Keyboard shortcuts

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