balances

package
v0.0.0-...-4b0e152 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 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 balances API

func (*Client) GetAccountsAccountIDBalances

func (a *Client) GetAccountsAccountIDBalances(params *GetAccountsAccountIDBalancesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDBalancesOK, error)

GetAccountsAccountIDBalances gets balances

func (*Client) GetBalances

func (a *Client) GetBalances(params *GetBalancesParams, authInfo runtime.ClientAuthInfoWriter) (*GetBalancesOK, error)

GetBalances gets balances

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetAccountsAccountIDBalances(params *GetAccountsAccountIDBalancesParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDBalancesOK, error)

	GetBalances(params *GetBalancesParams, authInfo runtime.ClientAuthInfoWriter) (*GetBalancesOK, 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 balances API client.

type GetAccountsAccountIDBalancesBadRequest

type GetAccountsAccountIDBalancesBadRequest struct {

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

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

Bad request

func NewGetAccountsAccountIDBalancesBadRequest

func NewGetAccountsAccountIDBalancesBadRequest() *GetAccountsAccountIDBalancesBadRequest

NewGetAccountsAccountIDBalancesBadRequest creates a GetAccountsAccountIDBalancesBadRequest with default headers values

func (*GetAccountsAccountIDBalancesBadRequest) Error

func (*GetAccountsAccountIDBalancesBadRequest) GetPayload

type GetAccountsAccountIDBalancesForbidden

type GetAccountsAccountIDBalancesForbidden struct {

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

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

Forbidden

func NewGetAccountsAccountIDBalancesForbidden

func NewGetAccountsAccountIDBalancesForbidden() *GetAccountsAccountIDBalancesForbidden

NewGetAccountsAccountIDBalancesForbidden creates a GetAccountsAccountIDBalancesForbidden with default headers values

func (*GetAccountsAccountIDBalancesForbidden) Error

func (*GetAccountsAccountIDBalancesForbidden) GetPayload

type GetAccountsAccountIDBalancesInternalServerError

type GetAccountsAccountIDBalancesInternalServerError struct {

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

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

Internal Server Error

func NewGetAccountsAccountIDBalancesInternalServerError

func NewGetAccountsAccountIDBalancesInternalServerError() *GetAccountsAccountIDBalancesInternalServerError

NewGetAccountsAccountIDBalancesInternalServerError creates a GetAccountsAccountIDBalancesInternalServerError with default headers values

func (*GetAccountsAccountIDBalancesInternalServerError) Error

func (*GetAccountsAccountIDBalancesInternalServerError) GetPayload

type GetAccountsAccountIDBalancesMethodNotAllowed

type GetAccountsAccountIDBalancesMethodNotAllowed struct {

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

Method Not Allowed

func NewGetAccountsAccountIDBalancesMethodNotAllowed

func NewGetAccountsAccountIDBalancesMethodNotAllowed() *GetAccountsAccountIDBalancesMethodNotAllowed

NewGetAccountsAccountIDBalancesMethodNotAllowed creates a GetAccountsAccountIDBalancesMethodNotAllowed with default headers values

func (*GetAccountsAccountIDBalancesMethodNotAllowed) Error

type GetAccountsAccountIDBalancesNotAcceptable

type GetAccountsAccountIDBalancesNotAcceptable struct {

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

Not Acceptable

func NewGetAccountsAccountIDBalancesNotAcceptable

func NewGetAccountsAccountIDBalancesNotAcceptable() *GetAccountsAccountIDBalancesNotAcceptable

NewGetAccountsAccountIDBalancesNotAcceptable creates a GetAccountsAccountIDBalancesNotAcceptable with default headers values

func (*GetAccountsAccountIDBalancesNotAcceptable) Error

type GetAccountsAccountIDBalancesOK

type GetAccountsAccountIDBalancesOK struct {

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

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

Balances Read

func NewGetAccountsAccountIDBalancesOK

func NewGetAccountsAccountIDBalancesOK() *GetAccountsAccountIDBalancesOK

NewGetAccountsAccountIDBalancesOK creates a GetAccountsAccountIDBalancesOK with default headers values

func (*GetAccountsAccountIDBalancesOK) Error

func (*GetAccountsAccountIDBalancesOK) GetPayload

type GetAccountsAccountIDBalancesParams

type GetAccountsAccountIDBalancesParams 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
}

GetAccountsAccountIDBalancesParams contains all the parameters to send to the API endpoint

for the get accounts account Id balances operation.

Typically these are written to a http.Request.

func NewGetAccountsAccountIDBalancesParams

func NewGetAccountsAccountIDBalancesParams() *GetAccountsAccountIDBalancesParams

NewGetAccountsAccountIDBalancesParams creates a new GetAccountsAccountIDBalancesParams 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 NewGetAccountsAccountIDBalancesParamsWithContext

func NewGetAccountsAccountIDBalancesParamsWithContext(ctx context.Context) *GetAccountsAccountIDBalancesParams

NewGetAccountsAccountIDBalancesParamsWithContext creates a new GetAccountsAccountIDBalancesParams object with the ability to set a context for a request.

func NewGetAccountsAccountIDBalancesParamsWithHTTPClient

func NewGetAccountsAccountIDBalancesParamsWithHTTPClient(client *http.Client) *GetAccountsAccountIDBalancesParams

NewGetAccountsAccountIDBalancesParamsWithHTTPClient creates a new GetAccountsAccountIDBalancesParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountsAccountIDBalancesParamsWithTimeout

func NewGetAccountsAccountIDBalancesParamsWithTimeout(timeout time.Duration) *GetAccountsAccountIDBalancesParams

NewGetAccountsAccountIDBalancesParamsWithTimeout creates a new GetAccountsAccountIDBalancesParams object with the ability to set a timeout on a request.

func (*GetAccountsAccountIDBalancesParams) SetAccountID

func (o *GetAccountsAccountIDBalancesParams) SetAccountID(accountID string)

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

func (*GetAccountsAccountIDBalancesParams) SetAuthorization

func (o *GetAccountsAccountIDBalancesParams) SetAuthorization(authorization string)

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

func (*GetAccountsAccountIDBalancesParams) SetContext

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

func (*GetAccountsAccountIDBalancesParams) SetDefaults

func (o *GetAccountsAccountIDBalancesParams) SetDefaults()

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

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

func (*GetAccountsAccountIDBalancesParams) SetHTTPClient

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

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

func (*GetAccountsAccountIDBalancesParams) SetTimeout

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

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

func (*GetAccountsAccountIDBalancesParams) SetXCustomerUserAgent

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

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

func (*GetAccountsAccountIDBalancesParams) SetXFapiAuthDate

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

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

func (*GetAccountsAccountIDBalancesParams) SetXFapiCustomerIPAddress

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

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

func (*GetAccountsAccountIDBalancesParams) SetXFapiInteractionID

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

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

func (*GetAccountsAccountIDBalancesParams) WithAccountID

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

func (*GetAccountsAccountIDBalancesParams) WithAuthorization

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

func (*GetAccountsAccountIDBalancesParams) WithContext

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

func (*GetAccountsAccountIDBalancesParams) WithDefaults

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

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

func (*GetAccountsAccountIDBalancesParams) WithHTTPClient

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

func (*GetAccountsAccountIDBalancesParams) WithTimeout

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

func (*GetAccountsAccountIDBalancesParams) WithXCustomerUserAgent

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

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

func (*GetAccountsAccountIDBalancesParams) WithXFapiAuthDate

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

func (*GetAccountsAccountIDBalancesParams) WithXFapiCustomerIPAddress

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

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

func (*GetAccountsAccountIDBalancesParams) WithXFapiInteractionID

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

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

func (*GetAccountsAccountIDBalancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountsAccountIDBalancesReader

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

GetAccountsAccountIDBalancesReader is a Reader for the GetAccountsAccountIDBalances structure.

func (*GetAccountsAccountIDBalancesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountsAccountIDBalancesTooManyRequests

type GetAccountsAccountIDBalancesTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

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

Too Many Requests

func NewGetAccountsAccountIDBalancesTooManyRequests

func NewGetAccountsAccountIDBalancesTooManyRequests() *GetAccountsAccountIDBalancesTooManyRequests

NewGetAccountsAccountIDBalancesTooManyRequests creates a GetAccountsAccountIDBalancesTooManyRequests with default headers values

func (*GetAccountsAccountIDBalancesTooManyRequests) Error

type GetAccountsAccountIDBalancesUnauthorized

type GetAccountsAccountIDBalancesUnauthorized struct {

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

Unauthorized

func NewGetAccountsAccountIDBalancesUnauthorized

func NewGetAccountsAccountIDBalancesUnauthorized() *GetAccountsAccountIDBalancesUnauthorized

NewGetAccountsAccountIDBalancesUnauthorized creates a GetAccountsAccountIDBalancesUnauthorized with default headers values

func (*GetAccountsAccountIDBalancesUnauthorized) Error

type GetBalancesBadRequest

type GetBalancesBadRequest struct {

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

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

Bad request

func NewGetBalancesBadRequest

func NewGetBalancesBadRequest() *GetBalancesBadRequest

NewGetBalancesBadRequest creates a GetBalancesBadRequest with default headers values

func (*GetBalancesBadRequest) Error

func (o *GetBalancesBadRequest) Error() string

func (*GetBalancesBadRequest) GetPayload

type GetBalancesForbidden

type GetBalancesForbidden struct {

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

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

Forbidden

func NewGetBalancesForbidden

func NewGetBalancesForbidden() *GetBalancesForbidden

NewGetBalancesForbidden creates a GetBalancesForbidden with default headers values

func (*GetBalancesForbidden) Error

func (o *GetBalancesForbidden) Error() string

func (*GetBalancesForbidden) GetPayload

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

type GetBalancesInternalServerError

type GetBalancesInternalServerError struct {

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

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

Internal Server Error

func NewGetBalancesInternalServerError

func NewGetBalancesInternalServerError() *GetBalancesInternalServerError

NewGetBalancesInternalServerError creates a GetBalancesInternalServerError with default headers values

func (*GetBalancesInternalServerError) Error

func (*GetBalancesInternalServerError) GetPayload

type GetBalancesMethodNotAllowed

type GetBalancesMethodNotAllowed struct {

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

Method Not Allowed

func NewGetBalancesMethodNotAllowed

func NewGetBalancesMethodNotAllowed() *GetBalancesMethodNotAllowed

NewGetBalancesMethodNotAllowed creates a GetBalancesMethodNotAllowed with default headers values

func (*GetBalancesMethodNotAllowed) Error

type GetBalancesNotAcceptable

type GetBalancesNotAcceptable struct {

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

Not Acceptable

func NewGetBalancesNotAcceptable

func NewGetBalancesNotAcceptable() *GetBalancesNotAcceptable

NewGetBalancesNotAcceptable creates a GetBalancesNotAcceptable with default headers values

func (*GetBalancesNotAcceptable) Error

func (o *GetBalancesNotAcceptable) Error() string

type GetBalancesNotFound

type GetBalancesNotFound struct {

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

Not found

func NewGetBalancesNotFound

func NewGetBalancesNotFound() *GetBalancesNotFound

NewGetBalancesNotFound creates a GetBalancesNotFound with default headers values

func (*GetBalancesNotFound) Error

func (o *GetBalancesNotFound) Error() string

type GetBalancesOK

type GetBalancesOK struct {

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

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

Balances Read

func NewGetBalancesOK

func NewGetBalancesOK() *GetBalancesOK

NewGetBalancesOK creates a GetBalancesOK with default headers values

func (*GetBalancesOK) Error

func (o *GetBalancesOK) Error() string

func (*GetBalancesOK) GetPayload

func (o *GetBalancesOK) GetPayload() *models.OBReadBalance1

type GetBalancesParams

type GetBalancesParams 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
}

GetBalancesParams contains all the parameters to send to the API endpoint

for the get balances operation.

Typically these are written to a http.Request.

func NewGetBalancesParams

func NewGetBalancesParams() *GetBalancesParams

NewGetBalancesParams creates a new GetBalancesParams 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 NewGetBalancesParamsWithContext

func NewGetBalancesParamsWithContext(ctx context.Context) *GetBalancesParams

NewGetBalancesParamsWithContext creates a new GetBalancesParams object with the ability to set a context for a request.

func NewGetBalancesParamsWithHTTPClient

func NewGetBalancesParamsWithHTTPClient(client *http.Client) *GetBalancesParams

NewGetBalancesParamsWithHTTPClient creates a new GetBalancesParams object with the ability to set a custom HTTPClient for a request.

func NewGetBalancesParamsWithTimeout

func NewGetBalancesParamsWithTimeout(timeout time.Duration) *GetBalancesParams

NewGetBalancesParamsWithTimeout creates a new GetBalancesParams object with the ability to set a timeout on a request.

func (*GetBalancesParams) SetAuthorization

func (o *GetBalancesParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get balances params

func (*GetBalancesParams) SetContext

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

SetContext adds the context to the get balances params

func (*GetBalancesParams) SetDefaults

func (o *GetBalancesParams) SetDefaults()

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

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

func (*GetBalancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get balances params

func (*GetBalancesParams) SetTimeout

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

SetTimeout adds the timeout to the get balances params

func (*GetBalancesParams) SetXCustomerUserAgent

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

SetXCustomerUserAgent adds the xCustomerUserAgent to the get balances params

func (*GetBalancesParams) SetXFapiAuthDate

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

SetXFapiAuthDate adds the xFapiAuthDate to the get balances params

func (*GetBalancesParams) SetXFapiCustomerIPAddress

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

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get balances params

func (*GetBalancesParams) SetXFapiInteractionID

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

SetXFapiInteractionID adds the xFapiInteractionId to the get balances params

func (*GetBalancesParams) WithAuthorization

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

WithAuthorization adds the authorization to the get balances params

func (*GetBalancesParams) WithContext

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

WithContext adds the context to the get balances params

func (*GetBalancesParams) WithDefaults

func (o *GetBalancesParams) WithDefaults() *GetBalancesParams

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

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

func (*GetBalancesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get balances params

func (*GetBalancesParams) WithTimeout

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

WithTimeout adds the timeout to the get balances params

func (*GetBalancesParams) WithXCustomerUserAgent

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

WithXCustomerUserAgent adds the xCustomerUserAgent to the get balances params

func (*GetBalancesParams) WithXFapiAuthDate

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

WithXFapiAuthDate adds the xFapiAuthDate to the get balances params

func (*GetBalancesParams) WithXFapiCustomerIPAddress

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

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get balances params

func (*GetBalancesParams) WithXFapiInteractionID

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

WithXFapiInteractionID adds the xFapiInteractionID to the get balances params

func (*GetBalancesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBalancesReader

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

GetBalancesReader is a Reader for the GetBalances structure.

func (*GetBalancesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBalancesTooManyRequests

type GetBalancesTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

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

Too Many Requests

func NewGetBalancesTooManyRequests

func NewGetBalancesTooManyRequests() *GetBalancesTooManyRequests

NewGetBalancesTooManyRequests creates a GetBalancesTooManyRequests with default headers values

func (*GetBalancesTooManyRequests) Error

type GetBalancesUnauthorized

type GetBalancesUnauthorized struct {

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

Unauthorized

func NewGetBalancesUnauthorized

func NewGetBalancesUnauthorized() *GetBalancesUnauthorized

NewGetBalancesUnauthorized creates a GetBalancesUnauthorized with default headers values

func (*GetBalancesUnauthorized) Error

func (o *GetBalancesUnauthorized) Error() string

Jump to

Keyboard shortcuts

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