accounts

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 13 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 {
	Defaults client.Defaults
	// contains filtered or unexported fields
}

Client for accounts API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, defaults client.Defaults) *Client

New creates a new accounts API client.

func (*Client) CreateAccount

func (c *Client) CreateAccount() *CreateAccountRequest

Client.CreateAccount creates a new CreateAccountRequest object with the default values initialized.

func (*Client) DeleteAccount

func (c *Client) DeleteAccount() *DeleteAccountRequest

Client.DeleteAccount creates a new DeleteAccountRequest object with the default values initialized.

func (*Client) GetAccount

func (c *Client) GetAccount() *GetAccountRequest

Client.GetAccount creates a new GetAccountRequest object with the default values initialized.

func (*Client) ListAccountEvents

func (c *Client) ListAccountEvents() *ListAccountEventsRequest

Client.ListAccountEvents creates a new ListAccountEventsRequest object with the default values initialized.

func (*Client) ListAccounts

func (c *Client) ListAccounts() *ListAccountsRequest

Client.ListAccounts creates a new ListAccountsRequest object with the default values initialized.

func (*Client) ModifyAccount

func (c *Client) ModifyAccount() *ModifyAccountRequest

Client.ModifyAccount creates a new ModifyAccountRequest object with the default values initialized.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateAccountCreated

type CreateAccountCreated struct {

	// isStream: false
	*models.AccountCreationResponse
}

CreateAccountCreated handles this case with default header values.

Account creation response

func NewCreateAccountCreated

func NewCreateAccountCreated() *CreateAccountCreated

NewCreateAccountCreated creates a CreateAccountCreated with default headers values

func (*CreateAccountCreated) Error

func (o *CreateAccountCreated) Error() string

type CreateAccountReader

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

CreateAccountReader is a Reader for the CreateAccount structure.

func (*CreateAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateAccountRequest

type CreateAccountRequest struct {
	*models.AccountCreation

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

func (*CreateAccountRequest) Do

create account API

func (*CreateAccountRequest) FromJson

func (*CreateAccountRequest) MustDo

func (*CreateAccountRequest) WithAccountCreationRequest

func (o *CreateAccountRequest) WithAccountCreationRequest(accountCreationRequest models.AccountCreation) *CreateAccountRequest

func (*CreateAccountRequest) WithContext

//////////////// WithContext adds the context to the create account Request

func (*CreateAccountRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create account Request

func (*CreateAccountRequest) WithoutAccountCreationRequest

func (o *CreateAccountRequest) WithoutAccountCreationRequest() *CreateAccountRequest

func (*CreateAccountRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type DeleteAccountNoContent

type DeleteAccountNoContent struct {
}

DeleteAccountNoContent handles this case with default header values.

Account deleted

func NewDeleteAccountNoContent

func NewDeleteAccountNoContent() *DeleteAccountNoContent

NewDeleteAccountNoContent creates a DeleteAccountNoContent with default headers values

func (*DeleteAccountNoContent) Error

func (o *DeleteAccountNoContent) Error() string

type DeleteAccountReader

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

DeleteAccountReader is a Reader for the DeleteAccount structure.

func (*DeleteAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAccountRequest

type DeleteAccountRequest struct {
	ID strfmt.UUID

	Version int64

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

func (*DeleteAccountRequest) Do

delete account API

func (*DeleteAccountRequest) FromJson

func (*DeleteAccountRequest) MustDo

func (*DeleteAccountRequest) WithContext

//////////////// WithContext adds the context to the delete account Request

func (*DeleteAccountRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete account Request

func (*DeleteAccountRequest) WithID

func (*DeleteAccountRequest) WithVersion

func (o *DeleteAccountRequest) WithVersion(version int64) *DeleteAccountRequest

func (*DeleteAccountRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type GetAccountOK

type GetAccountOK struct {

	// isStream: false
	*models.AccountDetailsResponse
}

GetAccountOK handles this case with default header values.

Account details

func NewGetAccountOK

func NewGetAccountOK() *GetAccountOK

NewGetAccountOK creates a GetAccountOK with default headers values

func (*GetAccountOK) Error

func (o *GetAccountOK) Error() string

type GetAccountReader

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

GetAccountReader is a Reader for the GetAccount structure.

func (*GetAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountRequest

type GetAccountRequest struct {
	ID strfmt.UUID

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

func (*GetAccountRequest) Do

func (a *GetAccountRequest) Do() (*GetAccountOK, error)

get account API

func (*GetAccountRequest) FromJson

func (o *GetAccountRequest) FromJson(j string) (*GetAccountRequest, error)

func (*GetAccountRequest) MustDo

func (a *GetAccountRequest) MustDo() *GetAccountOK

func (*GetAccountRequest) WithContext

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

//////////////// WithContext adds the context to the get account Request

func (*GetAccountRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account Request

func (*GetAccountRequest) WithID

func (*GetAccountRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type ListAccountEventsOK

type ListAccountEventsOK struct {

	// isStream: false
	*models.AccountEventListResponse
}

ListAccountEventsOK handles this case with default header values.

Account event list

func NewListAccountEventsOK

func NewListAccountEventsOK() *ListAccountEventsOK

NewListAccountEventsOK creates a ListAccountEventsOK with default headers values

func (*ListAccountEventsOK) Error

func (o *ListAccountEventsOK) Error() string

type ListAccountEventsReader

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

ListAccountEventsReader is a Reader for the ListAccountEvents structure.

func (*ListAccountEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAccountEventsRequest

type ListAccountEventsRequest struct {
	ID strfmt.UUID

	PageNumber *string

	PageSize *int64

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

func (*ListAccountEventsRequest) Do

list account events API

func (*ListAccountEventsRequest) FromJson

func (*ListAccountEventsRequest) MustDo

func (*ListAccountEventsRequest) WithContext

//////////////// WithContext adds the context to the list account events Request

func (*ListAccountEventsRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list account events Request

func (*ListAccountEventsRequest) WithID

func (*ListAccountEventsRequest) WithPageNumber

func (o *ListAccountEventsRequest) WithPageNumber(pageNumber string) *ListAccountEventsRequest

func (*ListAccountEventsRequest) WithPageSize

func (o *ListAccountEventsRequest) WithPageSize(pageSize int64) *ListAccountEventsRequest

func (*ListAccountEventsRequest) WithoutPageNumber

func (o *ListAccountEventsRequest) WithoutPageNumber() *ListAccountEventsRequest

func (*ListAccountEventsRequest) WithoutPageSize

func (o *ListAccountEventsRequest) WithoutPageSize() *ListAccountEventsRequest

func (*ListAccountEventsRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type ListAccountsOK

type ListAccountsOK struct {

	// isStream: false
	*models.AccountDetailsListResponse
}

ListAccountsOK handles this case with default header values.

List of account details

func NewListAccountsOK

func NewListAccountsOK() *ListAccountsOK

NewListAccountsOK creates a ListAccountsOK with default headers values

func (*ListAccountsOK) Error

func (o *ListAccountsOK) Error() string

type ListAccountsReader

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

ListAccountsReader is a Reader for the ListAccounts structure.

func (*ListAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAccountsRequest

type ListAccountsRequest struct {
	FilterAccountNumber []string

	FilterBankID []string

	FilterBankIDCode []string

	FilterCountry []string

	FilterCustomerID []string

	FilterIban []string

	FilterOrganisationID []strfmt.UUID

	PageNumber *string

	PageSize *int64

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

func (*ListAccountsRequest) Do

list accounts API

func (*ListAccountsRequest) FromJson

func (*ListAccountsRequest) MustDo

func (a *ListAccountsRequest) MustDo() *ListAccountsOK

func (*ListAccountsRequest) WithContext

//////////////// WithContext adds the context to the list accounts Request

func (*ListAccountsRequest) WithFilterAccountNumber

func (o *ListAccountsRequest) WithFilterAccountNumber(filterAccountNumber []string) *ListAccountsRequest

func (*ListAccountsRequest) WithFilterBankID

func (o *ListAccountsRequest) WithFilterBankID(filterBankID []string) *ListAccountsRequest

func (*ListAccountsRequest) WithFilterBankIDCode

func (o *ListAccountsRequest) WithFilterBankIDCode(filterBankIDCode []string) *ListAccountsRequest

func (*ListAccountsRequest) WithFilterCountry

func (o *ListAccountsRequest) WithFilterCountry(filterCountry []string) *ListAccountsRequest

func (*ListAccountsRequest) WithFilterCustomerID

func (o *ListAccountsRequest) WithFilterCustomerID(filterCustomerID []string) *ListAccountsRequest

func (*ListAccountsRequest) WithFilterIban

func (o *ListAccountsRequest) WithFilterIban(filterIban []string) *ListAccountsRequest

func (*ListAccountsRequest) WithFilterOrganisationID

func (o *ListAccountsRequest) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *ListAccountsRequest

func (*ListAccountsRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list accounts Request

func (*ListAccountsRequest) WithPageNumber

func (o *ListAccountsRequest) WithPageNumber(pageNumber string) *ListAccountsRequest

func (*ListAccountsRequest) WithPageSize

func (o *ListAccountsRequest) WithPageSize(pageSize int64) *ListAccountsRequest

func (*ListAccountsRequest) WithoutFilterAccountNumber

func (o *ListAccountsRequest) WithoutFilterAccountNumber() *ListAccountsRequest

func (*ListAccountsRequest) WithoutFilterBankID

func (o *ListAccountsRequest) WithoutFilterBankID() *ListAccountsRequest

func (*ListAccountsRequest) WithoutFilterBankIDCode

func (o *ListAccountsRequest) WithoutFilterBankIDCode() *ListAccountsRequest

func (*ListAccountsRequest) WithoutFilterCountry

func (o *ListAccountsRequest) WithoutFilterCountry() *ListAccountsRequest

func (*ListAccountsRequest) WithoutFilterCustomerID

func (o *ListAccountsRequest) WithoutFilterCustomerID() *ListAccountsRequest

func (*ListAccountsRequest) WithoutFilterIban

func (o *ListAccountsRequest) WithoutFilterIban() *ListAccountsRequest

func (*ListAccountsRequest) WithoutFilterOrganisationID

func (o *ListAccountsRequest) WithoutFilterOrganisationID() *ListAccountsRequest

func (*ListAccountsRequest) WithoutPageNumber

func (o *ListAccountsRequest) WithoutPageNumber() *ListAccountsRequest

func (*ListAccountsRequest) WithoutPageSize

func (o *ListAccountsRequest) WithoutPageSize() *ListAccountsRequest

func (*ListAccountsRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type ModifyAccountOK

type ModifyAccountOK struct {

	// isStream: false
	*models.AccountDetailsResponse
}

ModifyAccountOK handles this case with default header values.

Account updated

func NewModifyAccountOK

func NewModifyAccountOK() *ModifyAccountOK

NewModifyAccountOK creates a ModifyAccountOK with default headers values

func (*ModifyAccountOK) Error

func (o *ModifyAccountOK) Error() string

type ModifyAccountReader

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

ModifyAccountReader is a Reader for the ModifyAccount structure.

func (*ModifyAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ModifyAccountRequest

type ModifyAccountRequest struct {
	*models.AccountAmendment

	ID strfmt.UUID

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

func (*ModifyAccountRequest) Do

modify account API

func (*ModifyAccountRequest) FromJson

func (*ModifyAccountRequest) MustDo

func (*ModifyAccountRequest) WithAccountAmendRequest

func (o *ModifyAccountRequest) WithAccountAmendRequest(accountAmendRequest models.AccountAmendment) *ModifyAccountRequest

func (*ModifyAccountRequest) WithContext

//////////////// WithContext adds the context to the modify account Request

func (*ModifyAccountRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the modify account Request

func (*ModifyAccountRequest) WithID

func (*ModifyAccountRequest) WithoutAccountAmendRequest

func (o *ModifyAccountRequest) WithoutAccountAmendRequest() *ModifyAccountRequest

func (*ModifyAccountRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

Jump to

Keyboard shortcuts

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