accounts

package
v0.0.0-...-5f4f26f Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: MIT 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 accounts API

func New

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

New creates a new accounts API client.

func (*Client) CreateManualAccount

func (a *Client) CreateManualAccount(params *CreateManualAccountParams) (*CreateManualAccountOK, error)

CreateManualAccount adds manual account

The add account service is used to add manual accounts.<br>The response of add account service includes the account name , account number and Yodlee generated account id.<br>All manual accounts added will be included as part of networth calculation by default.<br>Add manual account support is available for bank, card, investment, insurance, loan and bills container only.<br>

func (*Client) DeleteAccount

func (a *Client) DeleteAccount(params *DeleteAccountParams) (*DeleteAccountNoContent, error)

DeleteAccount deletes account

The delete account service allows an account to be deleted.<br>This service does not return a response. The HTTP response code is 204 (Success with no content).<br>

func (*Client) GetAccount

func (a *Client) GetAccount(params *GetAccountParams) (*GetAccountOK, error)

GetAccount gets account details

The get account details service provides detailed information of an account.<br>

func (*Client) GetAllAccounts

func (a *Client) GetAllAccounts(params *GetAllAccountsParams) (*GetAllAccountsOK, error)

GetAllAccounts gets accounts

The get accounts service provides information about accounts added by the user.<br>By default, this service returns information for active and to be closed accounts.<br>If requestId is provided, the accounts that are updated in the context of the requestId will be provided in the response.<br>

func (*Client) GetHistoricalBalances

func (a *Client) GetHistoricalBalances(params *GetHistoricalBalancesParams) (*GetHistoricalBalancesOK, error)

GetHistoricalBalances gets historical balances

The historical balances service is used to retrieve the historical balances for an account or a user.<br>Historical balances are daily (D), weekly (W), and monthly (M). <br>The interval input should be passed as D, W, and M to retrieve the desired historical balances. The default interval is daily (D). <br>When no account id is provided, historical balances of the accounts that are active, to be closed, and closed are provided in the response. <br>If the fromDate and toDate are not passed, the last 90 days of data will be provided. <br>The fromDate and toDate should be passed in the YYYY-MM-DD format. <br>The date field in the response denotes the date for which the balance is requested.<br>includeCF needs to be sent as true if the customer wants to return carried forward balances <br>for a date when the data is not available. <br>asofDate field in the response denotes the date as of which the balance was updated for that account.<br>When there is no balance available for a requested date and if includeCF is sent as true, the previous <br>date for which the balance is available is provided in the response. When there is no previous <br>balance available, no data will be sent. <br>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAccount

func (a *Client) UpdateAccount(params *UpdateAccountParams) (*UpdateAccountNoContent, error)

UpdateAccount updates account

The update account service is used to update manual and aggregated accounts.<br>The HTTP response code is 204 (Success without content).<br>Update manual account support is available for bank, card, investment, insurance, loan, bills, otherAssets, otherLiabilities and realEstate containers only.<br><b>Note:</b> A real estate account update is only supported for manual valuation.<br>

type CreateManualAccountBadRequest

type CreateManualAccountBadRequest struct {
	Payload *models.YodleeError
}

CreateManualAccountBadRequest handles this case with default header values.

Y800 : Invalid value for accountParam

func NewCreateManualAccountBadRequest

func NewCreateManualAccountBadRequest() *CreateManualAccountBadRequest

NewCreateManualAccountBadRequest creates a CreateManualAccountBadRequest with default headers values

func (*CreateManualAccountBadRequest) Error

func (*CreateManualAccountBadRequest) GetPayload

type CreateManualAccountNotFound

type CreateManualAccountNotFound struct {
}

CreateManualAccountNotFound handles this case with default header values.

Not Found

func NewCreateManualAccountNotFound

func NewCreateManualAccountNotFound() *CreateManualAccountNotFound

NewCreateManualAccountNotFound creates a CreateManualAccountNotFound with default headers values

func (*CreateManualAccountNotFound) Error

type CreateManualAccountOK

type CreateManualAccountOK struct {
	Payload *models.CreatedAccountResponse
}

CreateManualAccountOK handles this case with default header values.

OK

func NewCreateManualAccountOK

func NewCreateManualAccountOK() *CreateManualAccountOK

NewCreateManualAccountOK creates a CreateManualAccountOK with default headers values

func (*CreateManualAccountOK) Error

func (o *CreateManualAccountOK) Error() string

func (*CreateManualAccountOK) GetPayload

type CreateManualAccountParams

type CreateManualAccountParams struct {

	/*AccountParam
	  accountParam

	*/
	AccountParam *models.CreateAccountRequest

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

CreateManualAccountParams contains all the parameters to send to the API endpoint for the create manual account operation typically these are written to a http.Request

func NewCreateManualAccountParams

func NewCreateManualAccountParams() *CreateManualAccountParams

NewCreateManualAccountParams creates a new CreateManualAccountParams object with the default values initialized.

func NewCreateManualAccountParamsWithContext

func NewCreateManualAccountParamsWithContext(ctx context.Context) *CreateManualAccountParams

NewCreateManualAccountParamsWithContext creates a new CreateManualAccountParams object with the default values initialized, and the ability to set a context for a request

func NewCreateManualAccountParamsWithHTTPClient

func NewCreateManualAccountParamsWithHTTPClient(client *http.Client) *CreateManualAccountParams

NewCreateManualAccountParamsWithHTTPClient creates a new CreateManualAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateManualAccountParamsWithTimeout

func NewCreateManualAccountParamsWithTimeout(timeout time.Duration) *CreateManualAccountParams

NewCreateManualAccountParamsWithTimeout creates a new CreateManualAccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateManualAccountParams) SetAccountParam

func (o *CreateManualAccountParams) SetAccountParam(accountParam *models.CreateAccountRequest)

SetAccountParam adds the accountParam to the create manual account params

func (*CreateManualAccountParams) SetContext

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

SetContext adds the context to the create manual account params

func (*CreateManualAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create manual account params

func (*CreateManualAccountParams) SetTimeout

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

SetTimeout adds the timeout to the create manual account params

func (*CreateManualAccountParams) WithAccountParam

WithAccountParam adds the accountParam to the create manual account params

func (*CreateManualAccountParams) WithContext

WithContext adds the context to the create manual account params

func (*CreateManualAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create manual account params

func (*CreateManualAccountParams) WithTimeout

WithTimeout adds the timeout to the create manual account params

func (*CreateManualAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateManualAccountReader

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

CreateManualAccountReader is a Reader for the CreateManualAccount structure.

func (*CreateManualAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateManualAccountUnauthorized

type CreateManualAccountUnauthorized struct {
}

CreateManualAccountUnauthorized handles this case with default header values.

Unauthorized

func NewCreateManualAccountUnauthorized

func NewCreateManualAccountUnauthorized() *CreateManualAccountUnauthorized

NewCreateManualAccountUnauthorized creates a CreateManualAccountUnauthorized with default headers values

func (*CreateManualAccountUnauthorized) Error

type DeleteAccountBadRequest

type DeleteAccountBadRequest struct {
	Payload *models.YodleeError
}

DeleteAccountBadRequest handles this case with default header values.

Y800 : Invalid value for accountId

func NewDeleteAccountBadRequest

func NewDeleteAccountBadRequest() *DeleteAccountBadRequest

NewDeleteAccountBadRequest creates a DeleteAccountBadRequest with default headers values

func (*DeleteAccountBadRequest) Error

func (o *DeleteAccountBadRequest) Error() string

func (*DeleteAccountBadRequest) GetPayload

func (o *DeleteAccountBadRequest) GetPayload() *models.YodleeError

type DeleteAccountNoContent

type DeleteAccountNoContent struct {
}

DeleteAccountNoContent handles this case with default header values.

OK

func NewDeleteAccountNoContent

func NewDeleteAccountNoContent() *DeleteAccountNoContent

NewDeleteAccountNoContent creates a DeleteAccountNoContent with default headers values

func (*DeleteAccountNoContent) Error

func (o *DeleteAccountNoContent) Error() string

type DeleteAccountNotFound

type DeleteAccountNotFound struct {
}

DeleteAccountNotFound handles this case with default header values.

Not Found

func NewDeleteAccountNotFound

func NewDeleteAccountNotFound() *DeleteAccountNotFound

NewDeleteAccountNotFound creates a DeleteAccountNotFound with default headers values

func (*DeleteAccountNotFound) Error

func (o *DeleteAccountNotFound) Error() string

type DeleteAccountParams

type DeleteAccountParams struct {

	/*AccountID
	  accountId

	*/
	AccountID int64

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

DeleteAccountParams contains all the parameters to send to the API endpoint for the delete account operation typically these are written to a http.Request

func NewDeleteAccountParams

func NewDeleteAccountParams() *DeleteAccountParams

NewDeleteAccountParams creates a new DeleteAccountParams object with the default values initialized.

func NewDeleteAccountParamsWithContext

func NewDeleteAccountParamsWithContext(ctx context.Context) *DeleteAccountParams

NewDeleteAccountParamsWithContext creates a new DeleteAccountParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAccountParamsWithHTTPClient

func NewDeleteAccountParamsWithHTTPClient(client *http.Client) *DeleteAccountParams

NewDeleteAccountParamsWithHTTPClient creates a new DeleteAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAccountParamsWithTimeout

func NewDeleteAccountParamsWithTimeout(timeout time.Duration) *DeleteAccountParams

NewDeleteAccountParamsWithTimeout creates a new DeleteAccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAccountParams) SetAccountID

func (o *DeleteAccountParams) SetAccountID(accountID int64)

SetAccountID adds the accountId to the delete account params

func (*DeleteAccountParams) SetContext

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

SetContext adds the context to the delete account params

func (*DeleteAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete account params

func (*DeleteAccountParams) SetTimeout

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

SetTimeout adds the timeout to the delete account params

func (*DeleteAccountParams) WithAccountID

func (o *DeleteAccountParams) WithAccountID(accountID int64) *DeleteAccountParams

WithAccountID adds the accountID to the delete account params

func (*DeleteAccountParams) WithContext

WithContext adds the context to the delete account params

func (*DeleteAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete account params

func (*DeleteAccountParams) WithTimeout

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

WithTimeout adds the timeout to the delete account params

func (*DeleteAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

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 DeleteAccountUnauthorized

type DeleteAccountUnauthorized struct {
}

DeleteAccountUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteAccountUnauthorized

func NewDeleteAccountUnauthorized() *DeleteAccountUnauthorized

NewDeleteAccountUnauthorized creates a DeleteAccountUnauthorized with default headers values

func (*DeleteAccountUnauthorized) Error

func (o *DeleteAccountUnauthorized) Error() string

type GetAccountBadRequest

type GetAccountBadRequest struct {
	Payload *models.YodleeError
}

GetAccountBadRequest handles this case with default header values.

Y800 : Invalid value for container

func NewGetAccountBadRequest

func NewGetAccountBadRequest() *GetAccountBadRequest

NewGetAccountBadRequest creates a GetAccountBadRequest with default headers values

func (*GetAccountBadRequest) Error

func (o *GetAccountBadRequest) Error() string

func (*GetAccountBadRequest) GetPayload

func (o *GetAccountBadRequest) GetPayload() *models.YodleeError

type GetAccountNotFound

type GetAccountNotFound struct {
}

GetAccountNotFound handles this case with default header values.

Not Found

func NewGetAccountNotFound

func NewGetAccountNotFound() *GetAccountNotFound

NewGetAccountNotFound creates a GetAccountNotFound with default headers values

func (*GetAccountNotFound) Error

func (o *GetAccountNotFound) Error() string

type GetAccountOK

type GetAccountOK struct {
	Payload *models.AccountResponse
}

GetAccountOK handles this case with default header values.

OK

func NewGetAccountOK

func NewGetAccountOK() *GetAccountOK

NewGetAccountOK creates a GetAccountOK with default headers values

func (*GetAccountOK) Error

func (o *GetAccountOK) Error() string

func (*GetAccountOK) GetPayload

func (o *GetAccountOK) GetPayload() *models.AccountResponse

type GetAccountParams

type GetAccountParams struct {

	/*AccountID
	  accountId

	*/
	AccountID int64
	/*Container
	  bank/creditCard/investment/insurance/loan/reward/bill/realEstate/otherAssets/otherLiabilities
	* bank: Applicable for Aggregated and Manual<br>
	* creditCard: Applicable for Aggregated and Manual<br>
	* investment: Applicable for Aggregated and Manual<br>
	* insurance: Applicable for Aggregated and Manual<br>
	* loan: Applicable for Aggregated and Manual<br>
	* reward: Applicable for Aggregated and Manual<br>
	* bill: Applicable for Aggregated and Manual<br>
	* realEstate: Applicable for Manual<br>
	* otherAssets: Applicable for Manual<br>
	* otherLiabilities: Applicable for Manual

	*/
	Container string
	/*Include
	  profile, holder, fullAccountNumber, paymentProfile, autoRefresh

	*/
	Include *string

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

GetAccountParams contains all the parameters to send to the API endpoint for the get account operation typically these are written to a http.Request

func NewGetAccountParams

func NewGetAccountParams() *GetAccountParams

NewGetAccountParams creates a new GetAccountParams object with the default values initialized.

func NewGetAccountParamsWithContext

func NewGetAccountParamsWithContext(ctx context.Context) *GetAccountParams

NewGetAccountParamsWithContext creates a new GetAccountParams object with the default values initialized, and the ability to set a context for a request

func NewGetAccountParamsWithHTTPClient

func NewGetAccountParamsWithHTTPClient(client *http.Client) *GetAccountParams

NewGetAccountParamsWithHTTPClient creates a new GetAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAccountParamsWithTimeout

func NewGetAccountParamsWithTimeout(timeout time.Duration) *GetAccountParams

NewGetAccountParamsWithTimeout creates a new GetAccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAccountParams) SetAccountID

func (o *GetAccountParams) SetAccountID(accountID int64)

SetAccountID adds the accountId to the get account params

func (*GetAccountParams) SetContainer

func (o *GetAccountParams) SetContainer(container string)

SetContainer adds the container to the get account params

func (*GetAccountParams) SetContext

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

SetContext adds the context to the get account params

func (*GetAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account params

func (*GetAccountParams) SetInclude

func (o *GetAccountParams) SetInclude(include *string)

SetInclude adds the include to the get account params

func (*GetAccountParams) SetTimeout

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

SetTimeout adds the timeout to the get account params

func (*GetAccountParams) WithAccountID

func (o *GetAccountParams) WithAccountID(accountID int64) *GetAccountParams

WithAccountID adds the accountID to the get account params

func (*GetAccountParams) WithContainer

func (o *GetAccountParams) WithContainer(container string) *GetAccountParams

WithContainer adds the container to the get account params

func (*GetAccountParams) WithContext

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

WithContext adds the context to the get account params

func (*GetAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account params

func (*GetAccountParams) WithInclude

func (o *GetAccountParams) WithInclude(include *string) *GetAccountParams

WithInclude adds the include to the get account params

func (*GetAccountParams) WithTimeout

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

WithTimeout adds the timeout to the get account params

func (*GetAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

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 GetAccountUnauthorized

type GetAccountUnauthorized struct {
}

GetAccountUnauthorized handles this case with default header values.

Unauthorized

func NewGetAccountUnauthorized

func NewGetAccountUnauthorized() *GetAccountUnauthorized

NewGetAccountUnauthorized creates a GetAccountUnauthorized with default headers values

func (*GetAccountUnauthorized) Error

func (o *GetAccountUnauthorized) Error() string

type GetAllAccountsBadRequest

type GetAllAccountsBadRequest struct {
	Payload *models.YodleeError
}

GetAllAccountsBadRequest handles this case with default header values.

Y800 : Invalid value for status<br>Y800 : Invalid value for container<br>Y800 : Invalid value for providerAccountId<br>Y824 : The maximum number of accountIds permitted is 100

func NewGetAllAccountsBadRequest

func NewGetAllAccountsBadRequest() *GetAllAccountsBadRequest

NewGetAllAccountsBadRequest creates a GetAllAccountsBadRequest with default headers values

func (*GetAllAccountsBadRequest) Error

func (o *GetAllAccountsBadRequest) Error() string

func (*GetAllAccountsBadRequest) GetPayload

func (o *GetAllAccountsBadRequest) GetPayload() *models.YodleeError

type GetAllAccountsNotFound

type GetAllAccountsNotFound struct {
}

GetAllAccountsNotFound handles this case with default header values.

Not Found

func NewGetAllAccountsNotFound

func NewGetAllAccountsNotFound() *GetAllAccountsNotFound

NewGetAllAccountsNotFound creates a GetAllAccountsNotFound with default headers values

func (*GetAllAccountsNotFound) Error

func (o *GetAllAccountsNotFound) Error() string

type GetAllAccountsOK

type GetAllAccountsOK struct {
	Payload *models.AccountResponse
}

GetAllAccountsOK handles this case with default header values.

OK

func NewGetAllAccountsOK

func NewGetAllAccountsOK() *GetAllAccountsOK

NewGetAllAccountsOK creates a GetAllAccountsOK with default headers values

func (*GetAllAccountsOK) Error

func (o *GetAllAccountsOK) Error() string

func (*GetAllAccountsOK) GetPayload

func (o *GetAllAccountsOK) GetPayload() *models.AccountResponse

type GetAllAccountsParams

type GetAllAccountsParams struct {

	/*AccountID
	  Comma separated accountIds.

	*/
	AccountID *string
	/*Container
	  bank/creditCard/investment/insurance/loan/reward/bill/realEstate/otherAssets/otherLiabilities

	*/
	Container *string
	/*Include
	  profile, holder, fullAccountNumber, paymentProfile, autoRefresh

	*/
	Include *string
	/*ProviderAccountID
	  providerAccountId

	*/
	ProviderAccountID *string
	/*RequestID
	  The unique identifier that returns contextual data

	*/
	RequestID *string
	/*Status
	  ACTIVE/INACTIVE/TO_BE_CLOSED/CLOSED

	*/
	Status *string

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

GetAllAccountsParams contains all the parameters to send to the API endpoint for the get all accounts operation typically these are written to a http.Request

func NewGetAllAccountsParams

func NewGetAllAccountsParams() *GetAllAccountsParams

NewGetAllAccountsParams creates a new GetAllAccountsParams object with the default values initialized.

func NewGetAllAccountsParamsWithContext

func NewGetAllAccountsParamsWithContext(ctx context.Context) *GetAllAccountsParams

NewGetAllAccountsParamsWithContext creates a new GetAllAccountsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAllAccountsParamsWithHTTPClient

func NewGetAllAccountsParamsWithHTTPClient(client *http.Client) *GetAllAccountsParams

NewGetAllAccountsParamsWithHTTPClient creates a new GetAllAccountsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAllAccountsParamsWithTimeout

func NewGetAllAccountsParamsWithTimeout(timeout time.Duration) *GetAllAccountsParams

NewGetAllAccountsParamsWithTimeout creates a new GetAllAccountsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAllAccountsParams) SetAccountID

func (o *GetAllAccountsParams) SetAccountID(accountID *string)

SetAccountID adds the accountId to the get all accounts params

func (*GetAllAccountsParams) SetContainer

func (o *GetAllAccountsParams) SetContainer(container *string)

SetContainer adds the container to the get all accounts params

func (*GetAllAccountsParams) SetContext

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

SetContext adds the context to the get all accounts params

func (*GetAllAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get all accounts params

func (*GetAllAccountsParams) SetInclude

func (o *GetAllAccountsParams) SetInclude(include *string)

SetInclude adds the include to the get all accounts params

func (*GetAllAccountsParams) SetProviderAccountID

func (o *GetAllAccountsParams) SetProviderAccountID(providerAccountID *string)

SetProviderAccountID adds the providerAccountId to the get all accounts params

func (*GetAllAccountsParams) SetRequestID

func (o *GetAllAccountsParams) SetRequestID(requestID *string)

SetRequestID adds the requestId to the get all accounts params

func (*GetAllAccountsParams) SetStatus

func (o *GetAllAccountsParams) SetStatus(status *string)

SetStatus adds the status to the get all accounts params

func (*GetAllAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the get all accounts params

func (*GetAllAccountsParams) WithAccountID

func (o *GetAllAccountsParams) WithAccountID(accountID *string) *GetAllAccountsParams

WithAccountID adds the accountID to the get all accounts params

func (*GetAllAccountsParams) WithContainer

func (o *GetAllAccountsParams) WithContainer(container *string) *GetAllAccountsParams

WithContainer adds the container to the get all accounts params

func (*GetAllAccountsParams) WithContext

WithContext adds the context to the get all accounts params

func (*GetAllAccountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get all accounts params

func (*GetAllAccountsParams) WithInclude

func (o *GetAllAccountsParams) WithInclude(include *string) *GetAllAccountsParams

WithInclude adds the include to the get all accounts params

func (*GetAllAccountsParams) WithProviderAccountID

func (o *GetAllAccountsParams) WithProviderAccountID(providerAccountID *string) *GetAllAccountsParams

WithProviderAccountID adds the providerAccountID to the get all accounts params

func (*GetAllAccountsParams) WithRequestID

func (o *GetAllAccountsParams) WithRequestID(requestID *string) *GetAllAccountsParams

WithRequestID adds the requestID to the get all accounts params

func (*GetAllAccountsParams) WithStatus

func (o *GetAllAccountsParams) WithStatus(status *string) *GetAllAccountsParams

WithStatus adds the status to the get all accounts params

func (*GetAllAccountsParams) WithTimeout

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

WithTimeout adds the timeout to the get all accounts params

func (*GetAllAccountsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAllAccountsReader

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

GetAllAccountsReader is a Reader for the GetAllAccounts structure.

func (*GetAllAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAllAccountsUnauthorized

type GetAllAccountsUnauthorized struct {
}

GetAllAccountsUnauthorized handles this case with default header values.

Unauthorized

func NewGetAllAccountsUnauthorized

func NewGetAllAccountsUnauthorized() *GetAllAccountsUnauthorized

NewGetAllAccountsUnauthorized creates a GetAllAccountsUnauthorized with default headers values

func (*GetAllAccountsUnauthorized) Error

type GetHistoricalBalancesBadRequest

type GetHistoricalBalancesBadRequest struct {
	Payload *models.YodleeError
}

GetHistoricalBalancesBadRequest handles this case with default header values.

Y800 : Invalid value for accountId<br>Y800 : Invalid value for fromDate<br>Y800 : Invalid value for toDate<br>Y809 : Invalid date range<br>Y800 : Invalid value for interval<br>Y802 : Future date not allowed

func NewGetHistoricalBalancesBadRequest

func NewGetHistoricalBalancesBadRequest() *GetHistoricalBalancesBadRequest

NewGetHistoricalBalancesBadRequest creates a GetHistoricalBalancesBadRequest with default headers values

func (*GetHistoricalBalancesBadRequest) Error

func (*GetHistoricalBalancesBadRequest) GetPayload

type GetHistoricalBalancesNotFound

type GetHistoricalBalancesNotFound struct {
}

GetHistoricalBalancesNotFound handles this case with default header values.

Not Found

func NewGetHistoricalBalancesNotFound

func NewGetHistoricalBalancesNotFound() *GetHistoricalBalancesNotFound

NewGetHistoricalBalancesNotFound creates a GetHistoricalBalancesNotFound with default headers values

func (*GetHistoricalBalancesNotFound) Error

type GetHistoricalBalancesOK

type GetHistoricalBalancesOK struct {
	Payload *models.AccountHistoricalBalancesResponse
}

GetHistoricalBalancesOK handles this case with default header values.

OK

func NewGetHistoricalBalancesOK

func NewGetHistoricalBalancesOK() *GetHistoricalBalancesOK

NewGetHistoricalBalancesOK creates a GetHistoricalBalancesOK with default headers values

func (*GetHistoricalBalancesOK) Error

func (o *GetHistoricalBalancesOK) Error() string

func (*GetHistoricalBalancesOK) GetPayload

type GetHistoricalBalancesParams

type GetHistoricalBalancesParams struct {

	/*AccountID
	  accountId

	*/
	AccountID *string
	/*FromDate
	  from date for balance retrieval (YYYY-MM-DD)

	*/
	FromDate *string
	/*IncludeCF
	  Consider carry forward logic for missing balances

	*/
	IncludeCF *bool
	/*Interval
	  D-daily, W-weekly or M-monthly

	*/
	Interval *string
	/*Skip
	  skip (Min 0)

	*/
	Skip *int32
	/*ToDate
	  toDate for balance retrieval (YYYY-MM-DD)

	*/
	ToDate *string
	/*Top
	  top (Max 500)

	*/
	Top *int32

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

GetHistoricalBalancesParams contains all the parameters to send to the API endpoint for the get historical balances operation typically these are written to a http.Request

func NewGetHistoricalBalancesParams

func NewGetHistoricalBalancesParams() *GetHistoricalBalancesParams

NewGetHistoricalBalancesParams creates a new GetHistoricalBalancesParams object with the default values initialized.

func NewGetHistoricalBalancesParamsWithContext

func NewGetHistoricalBalancesParamsWithContext(ctx context.Context) *GetHistoricalBalancesParams

NewGetHistoricalBalancesParamsWithContext creates a new GetHistoricalBalancesParams object with the default values initialized, and the ability to set a context for a request

func NewGetHistoricalBalancesParamsWithHTTPClient

func NewGetHistoricalBalancesParamsWithHTTPClient(client *http.Client) *GetHistoricalBalancesParams

NewGetHistoricalBalancesParamsWithHTTPClient creates a new GetHistoricalBalancesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetHistoricalBalancesParamsWithTimeout

func NewGetHistoricalBalancesParamsWithTimeout(timeout time.Duration) *GetHistoricalBalancesParams

NewGetHistoricalBalancesParamsWithTimeout creates a new GetHistoricalBalancesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetHistoricalBalancesParams) SetAccountID

func (o *GetHistoricalBalancesParams) SetAccountID(accountID *string)

SetAccountID adds the accountId to the get historical balances params

func (*GetHistoricalBalancesParams) SetContext

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

SetContext adds the context to the get historical balances params

func (*GetHistoricalBalancesParams) SetFromDate

func (o *GetHistoricalBalancesParams) SetFromDate(fromDate *string)

SetFromDate adds the fromDate to the get historical balances params

func (*GetHistoricalBalancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get historical balances params

func (*GetHistoricalBalancesParams) SetIncludeCF

func (o *GetHistoricalBalancesParams) SetIncludeCF(includeCF *bool)

SetIncludeCF adds the includeCF to the get historical balances params

func (*GetHistoricalBalancesParams) SetInterval

func (o *GetHistoricalBalancesParams) SetInterval(interval *string)

SetInterval adds the interval to the get historical balances params

func (*GetHistoricalBalancesParams) SetSkip

func (o *GetHistoricalBalancesParams) SetSkip(skip *int32)

SetSkip adds the skip to the get historical balances params

func (*GetHistoricalBalancesParams) SetTimeout

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

SetTimeout adds the timeout to the get historical balances params

func (*GetHistoricalBalancesParams) SetToDate

func (o *GetHistoricalBalancesParams) SetToDate(toDate *string)

SetToDate adds the toDate to the get historical balances params

func (*GetHistoricalBalancesParams) SetTop

func (o *GetHistoricalBalancesParams) SetTop(top *int32)

SetTop adds the top to the get historical balances params

func (*GetHistoricalBalancesParams) WithAccountID

func (o *GetHistoricalBalancesParams) WithAccountID(accountID *string) *GetHistoricalBalancesParams

WithAccountID adds the accountID to the get historical balances params

func (*GetHistoricalBalancesParams) WithContext

WithContext adds the context to the get historical balances params

func (*GetHistoricalBalancesParams) WithFromDate

WithFromDate adds the fromDate to the get historical balances params

func (*GetHistoricalBalancesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get historical balances params

func (*GetHistoricalBalancesParams) WithIncludeCF

func (o *GetHistoricalBalancesParams) WithIncludeCF(includeCF *bool) *GetHistoricalBalancesParams

WithIncludeCF adds the includeCF to the get historical balances params

func (*GetHistoricalBalancesParams) WithInterval

WithInterval adds the interval to the get historical balances params

func (*GetHistoricalBalancesParams) WithSkip

WithSkip adds the skip to the get historical balances params

func (*GetHistoricalBalancesParams) WithTimeout

WithTimeout adds the timeout to the get historical balances params

func (*GetHistoricalBalancesParams) WithToDate

WithToDate adds the toDate to the get historical balances params

func (*GetHistoricalBalancesParams) WithTop

WithTop adds the top to the get historical balances params

func (*GetHistoricalBalancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHistoricalBalancesReader

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

GetHistoricalBalancesReader is a Reader for the GetHistoricalBalances structure.

func (*GetHistoricalBalancesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHistoricalBalancesUnauthorized

type GetHistoricalBalancesUnauthorized struct {
}

GetHistoricalBalancesUnauthorized handles this case with default header values.

Unauthorized

func NewGetHistoricalBalancesUnauthorized

func NewGetHistoricalBalancesUnauthorized() *GetHistoricalBalancesUnauthorized

NewGetHistoricalBalancesUnauthorized creates a GetHistoricalBalancesUnauthorized with default headers values

func (*GetHistoricalBalancesUnauthorized) Error

type UpdateAccountBadRequest

type UpdateAccountBadRequest struct {
	Payload *models.YodleeError
}

UpdateAccountBadRequest handles this case with default header values.

Y800 : Invalid value for accountId<br>Y800 : Invalid value for updateParam

func NewUpdateAccountBadRequest

func NewUpdateAccountBadRequest() *UpdateAccountBadRequest

NewUpdateAccountBadRequest creates a UpdateAccountBadRequest with default headers values

func (*UpdateAccountBadRequest) Error

func (o *UpdateAccountBadRequest) Error() string

func (*UpdateAccountBadRequest) GetPayload

func (o *UpdateAccountBadRequest) GetPayload() *models.YodleeError

type UpdateAccountNoContent

type UpdateAccountNoContent struct {
}

UpdateAccountNoContent handles this case with default header values.

OK

func NewUpdateAccountNoContent

func NewUpdateAccountNoContent() *UpdateAccountNoContent

NewUpdateAccountNoContent creates a UpdateAccountNoContent with default headers values

func (*UpdateAccountNoContent) Error

func (o *UpdateAccountNoContent) Error() string

type UpdateAccountNotFound

type UpdateAccountNotFound struct {
}

UpdateAccountNotFound handles this case with default header values.

Not Found

func NewUpdateAccountNotFound

func NewUpdateAccountNotFound() *UpdateAccountNotFound

NewUpdateAccountNotFound creates a UpdateAccountNotFound with default headers values

func (*UpdateAccountNotFound) Error

func (o *UpdateAccountNotFound) Error() string

type UpdateAccountParams

type UpdateAccountParams struct {

	/*AccountID
	  accountId

	*/
	AccountID int64
	/*AccountRequest
	  accountRequest

	*/
	AccountRequest *models.UpdateAccountRequest

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

UpdateAccountParams contains all the parameters to send to the API endpoint for the update account operation typically these are written to a http.Request

func NewUpdateAccountParams

func NewUpdateAccountParams() *UpdateAccountParams

NewUpdateAccountParams creates a new UpdateAccountParams object with the default values initialized.

func NewUpdateAccountParamsWithContext

func NewUpdateAccountParamsWithContext(ctx context.Context) *UpdateAccountParams

NewUpdateAccountParamsWithContext creates a new UpdateAccountParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateAccountParamsWithHTTPClient

func NewUpdateAccountParamsWithHTTPClient(client *http.Client) *UpdateAccountParams

NewUpdateAccountParamsWithHTTPClient creates a new UpdateAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateAccountParamsWithTimeout

func NewUpdateAccountParamsWithTimeout(timeout time.Duration) *UpdateAccountParams

NewUpdateAccountParamsWithTimeout creates a new UpdateAccountParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateAccountParams) SetAccountID

func (o *UpdateAccountParams) SetAccountID(accountID int64)

SetAccountID adds the accountId to the update account params

func (*UpdateAccountParams) SetAccountRequest

func (o *UpdateAccountParams) SetAccountRequest(accountRequest *models.UpdateAccountRequest)

SetAccountRequest adds the accountRequest to the update account params

func (*UpdateAccountParams) SetContext

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

SetContext adds the context to the update account params

func (*UpdateAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update account params

func (*UpdateAccountParams) SetTimeout

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

SetTimeout adds the timeout to the update account params

func (*UpdateAccountParams) WithAccountID

func (o *UpdateAccountParams) WithAccountID(accountID int64) *UpdateAccountParams

WithAccountID adds the accountID to the update account params

func (*UpdateAccountParams) WithAccountRequest

func (o *UpdateAccountParams) WithAccountRequest(accountRequest *models.UpdateAccountRequest) *UpdateAccountParams

WithAccountRequest adds the accountRequest to the update account params

func (*UpdateAccountParams) WithContext

WithContext adds the context to the update account params

func (*UpdateAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update account params

func (*UpdateAccountParams) WithTimeout

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

WithTimeout adds the timeout to the update account params

func (*UpdateAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateAccountReader

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

UpdateAccountReader is a Reader for the UpdateAccount structure.

func (*UpdateAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAccountUnauthorized

type UpdateAccountUnauthorized struct {
}

UpdateAccountUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateAccountUnauthorized

func NewUpdateAccountUnauthorized() *UpdateAccountUnauthorized

NewUpdateAccountUnauthorized creates a UpdateAccountUnauthorized with default headers values

func (*UpdateAccountUnauthorized) Error

func (o *UpdateAccountUnauthorized) Error() string

Jump to

Keyboard shortcuts

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