offers

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 offers API

func (*Client) GetAccountsAccountIDOffers

func (a *Client) GetAccountsAccountIDOffers(params *GetAccountsAccountIDOffersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountsAccountIDOffersOK, error)

GetAccountsAccountIDOffers gets offers

func (*Client) GetOffers

func (a *Client) GetOffers(params *GetOffersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOffersOK, error)

GetOffers gets offers

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetAccountsAccountIDOffers(params *GetAccountsAccountIDOffersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountsAccountIDOffersOK, error)

	GetOffers(params *GetOffersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOffersOK, 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 offers API client.

type GetAccountsAccountIDOffersBadRequest

type GetAccountsAccountIDOffersBadRequest struct {

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

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

Bad request

func NewGetAccountsAccountIDOffersBadRequest

func NewGetAccountsAccountIDOffersBadRequest() *GetAccountsAccountIDOffersBadRequest

NewGetAccountsAccountIDOffersBadRequest creates a GetAccountsAccountIDOffersBadRequest with default headers values

func (*GetAccountsAccountIDOffersBadRequest) Error

func (*GetAccountsAccountIDOffersBadRequest) GetPayload

type GetAccountsAccountIDOffersForbidden

type GetAccountsAccountIDOffersForbidden struct {

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

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

Forbidden

func NewGetAccountsAccountIDOffersForbidden

func NewGetAccountsAccountIDOffersForbidden() *GetAccountsAccountIDOffersForbidden

NewGetAccountsAccountIDOffersForbidden creates a GetAccountsAccountIDOffersForbidden with default headers values

func (*GetAccountsAccountIDOffersForbidden) Error

func (*GetAccountsAccountIDOffersForbidden) GetPayload

type GetAccountsAccountIDOffersInternalServerError

type GetAccountsAccountIDOffersInternalServerError struct {

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

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

Internal Server Error

func NewGetAccountsAccountIDOffersInternalServerError

func NewGetAccountsAccountIDOffersInternalServerError() *GetAccountsAccountIDOffersInternalServerError

NewGetAccountsAccountIDOffersInternalServerError creates a GetAccountsAccountIDOffersInternalServerError with default headers values

func (*GetAccountsAccountIDOffersInternalServerError) Error

func (*GetAccountsAccountIDOffersInternalServerError) GetPayload

type GetAccountsAccountIDOffersMethodNotAllowed

type GetAccountsAccountIDOffersMethodNotAllowed struct {

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

Method Not Allowed

func NewGetAccountsAccountIDOffersMethodNotAllowed

func NewGetAccountsAccountIDOffersMethodNotAllowed() *GetAccountsAccountIDOffersMethodNotAllowed

NewGetAccountsAccountIDOffersMethodNotAllowed creates a GetAccountsAccountIDOffersMethodNotAllowed with default headers values

func (*GetAccountsAccountIDOffersMethodNotAllowed) Error

type GetAccountsAccountIDOffersNotAcceptable

type GetAccountsAccountIDOffersNotAcceptable struct {

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

Not Acceptable

func NewGetAccountsAccountIDOffersNotAcceptable

func NewGetAccountsAccountIDOffersNotAcceptable() *GetAccountsAccountIDOffersNotAcceptable

NewGetAccountsAccountIDOffersNotAcceptable creates a GetAccountsAccountIDOffersNotAcceptable with default headers values

func (*GetAccountsAccountIDOffersNotAcceptable) Error

type GetAccountsAccountIDOffersNotFound

type GetAccountsAccountIDOffersNotFound struct {

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

Not found

func NewGetAccountsAccountIDOffersNotFound

func NewGetAccountsAccountIDOffersNotFound() *GetAccountsAccountIDOffersNotFound

NewGetAccountsAccountIDOffersNotFound creates a GetAccountsAccountIDOffersNotFound with default headers values

func (*GetAccountsAccountIDOffersNotFound) Error

type GetAccountsAccountIDOffersOK

type GetAccountsAccountIDOffersOK struct {

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

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

Offers Read

func NewGetAccountsAccountIDOffersOK

func NewGetAccountsAccountIDOffersOK() *GetAccountsAccountIDOffersOK

NewGetAccountsAccountIDOffersOK creates a GetAccountsAccountIDOffersOK with default headers values

func (*GetAccountsAccountIDOffersOK) Error

func (*GetAccountsAccountIDOffersOK) GetPayload

type GetAccountsAccountIDOffersParams

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

GetAccountsAccountIDOffersParams contains all the parameters to send to the API endpoint

for the get accounts account Id offers operation.

Typically these are written to a http.Request.

func NewGetAccountsAccountIDOffersParams

func NewGetAccountsAccountIDOffersParams() *GetAccountsAccountIDOffersParams

NewGetAccountsAccountIDOffersParams creates a new GetAccountsAccountIDOffersParams 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 NewGetAccountsAccountIDOffersParamsWithContext

func NewGetAccountsAccountIDOffersParamsWithContext(ctx context.Context) *GetAccountsAccountIDOffersParams

NewGetAccountsAccountIDOffersParamsWithContext creates a new GetAccountsAccountIDOffersParams object with the ability to set a context for a request.

func NewGetAccountsAccountIDOffersParamsWithHTTPClient

func NewGetAccountsAccountIDOffersParamsWithHTTPClient(client *http.Client) *GetAccountsAccountIDOffersParams

NewGetAccountsAccountIDOffersParamsWithHTTPClient creates a new GetAccountsAccountIDOffersParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountsAccountIDOffersParamsWithTimeout

func NewGetAccountsAccountIDOffersParamsWithTimeout(timeout time.Duration) *GetAccountsAccountIDOffersParams

NewGetAccountsAccountIDOffersParamsWithTimeout creates a new GetAccountsAccountIDOffersParams object with the ability to set a timeout on a request.

func (*GetAccountsAccountIDOffersParams) SetAccountID

func (o *GetAccountsAccountIDOffersParams) SetAccountID(accountID string)

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

func (*GetAccountsAccountIDOffersParams) SetAuthorization

func (o *GetAccountsAccountIDOffersParams) SetAuthorization(authorization string)

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

func (*GetAccountsAccountIDOffersParams) SetContext

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

func (*GetAccountsAccountIDOffersParams) SetDefaults

func (o *GetAccountsAccountIDOffersParams) SetDefaults()

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

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

func (*GetAccountsAccountIDOffersParams) SetHTTPClient

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

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

func (*GetAccountsAccountIDOffersParams) SetTimeout

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

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

func (*GetAccountsAccountIDOffersParams) SetXCustomerUserAgent

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

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

func (*GetAccountsAccountIDOffersParams) SetXFapiAuthDate

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

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

func (*GetAccountsAccountIDOffersParams) SetXFapiCustomerIPAddress

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

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

func (*GetAccountsAccountIDOffersParams) SetXFapiInteractionID

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

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

func (*GetAccountsAccountIDOffersParams) WithAccountID

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

func (*GetAccountsAccountIDOffersParams) WithAuthorization

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

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

func (*GetAccountsAccountIDOffersParams) WithContext

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

func (*GetAccountsAccountIDOffersParams) WithDefaults

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

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

func (*GetAccountsAccountIDOffersParams) WithHTTPClient

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

func (*GetAccountsAccountIDOffersParams) WithTimeout

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

func (*GetAccountsAccountIDOffersParams) WithXCustomerUserAgent

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

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

func (*GetAccountsAccountIDOffersParams) WithXFapiAuthDate

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

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

func (*GetAccountsAccountIDOffersParams) WithXFapiCustomerIPAddress

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

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

func (*GetAccountsAccountIDOffersParams) WithXFapiInteractionID

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

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

func (*GetAccountsAccountIDOffersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountsAccountIDOffersReader

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

GetAccountsAccountIDOffersReader is a Reader for the GetAccountsAccountIDOffers structure.

func (*GetAccountsAccountIDOffersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountsAccountIDOffersTooManyRequests

type GetAccountsAccountIDOffersTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

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

Too Many Requests

func NewGetAccountsAccountIDOffersTooManyRequests

func NewGetAccountsAccountIDOffersTooManyRequests() *GetAccountsAccountIDOffersTooManyRequests

NewGetAccountsAccountIDOffersTooManyRequests creates a GetAccountsAccountIDOffersTooManyRequests with default headers values

func (*GetAccountsAccountIDOffersTooManyRequests) Error

type GetAccountsAccountIDOffersUnauthorized

type GetAccountsAccountIDOffersUnauthorized struct {

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

Unauthorized

func NewGetAccountsAccountIDOffersUnauthorized

func NewGetAccountsAccountIDOffersUnauthorized() *GetAccountsAccountIDOffersUnauthorized

NewGetAccountsAccountIDOffersUnauthorized creates a GetAccountsAccountIDOffersUnauthorized with default headers values

func (*GetAccountsAccountIDOffersUnauthorized) Error

type GetOffersBadRequest

type GetOffersBadRequest struct {

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

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

Bad request

func NewGetOffersBadRequest

func NewGetOffersBadRequest() *GetOffersBadRequest

NewGetOffersBadRequest creates a GetOffersBadRequest with default headers values

func (*GetOffersBadRequest) Error

func (o *GetOffersBadRequest) Error() string

func (*GetOffersBadRequest) GetPayload

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

type GetOffersForbidden

type GetOffersForbidden struct {

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

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

Forbidden

func NewGetOffersForbidden

func NewGetOffersForbidden() *GetOffersForbidden

NewGetOffersForbidden creates a GetOffersForbidden with default headers values

func (*GetOffersForbidden) Error

func (o *GetOffersForbidden) Error() string

func (*GetOffersForbidden) GetPayload

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

type GetOffersInternalServerError

type GetOffersInternalServerError struct {

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

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

Internal Server Error

func NewGetOffersInternalServerError

func NewGetOffersInternalServerError() *GetOffersInternalServerError

NewGetOffersInternalServerError creates a GetOffersInternalServerError with default headers values

func (*GetOffersInternalServerError) Error

func (*GetOffersInternalServerError) GetPayload

type GetOffersMethodNotAllowed

type GetOffersMethodNotAllowed struct {

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

Method Not Allowed

func NewGetOffersMethodNotAllowed

func NewGetOffersMethodNotAllowed() *GetOffersMethodNotAllowed

NewGetOffersMethodNotAllowed creates a GetOffersMethodNotAllowed with default headers values

func (*GetOffersMethodNotAllowed) Error

func (o *GetOffersMethodNotAllowed) Error() string

type GetOffersNotAcceptable

type GetOffersNotAcceptable struct {

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

Not Acceptable

func NewGetOffersNotAcceptable

func NewGetOffersNotAcceptable() *GetOffersNotAcceptable

NewGetOffersNotAcceptable creates a GetOffersNotAcceptable with default headers values

func (*GetOffersNotAcceptable) Error

func (o *GetOffersNotAcceptable) Error() string

type GetOffersNotFound

type GetOffersNotFound struct {

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

Not found

func NewGetOffersNotFound

func NewGetOffersNotFound() *GetOffersNotFound

NewGetOffersNotFound creates a GetOffersNotFound with default headers values

func (*GetOffersNotFound) Error

func (o *GetOffersNotFound) Error() string

type GetOffersOK

type GetOffersOK struct {

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

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

Offers Read

func NewGetOffersOK

func NewGetOffersOK() *GetOffersOK

NewGetOffersOK creates a GetOffersOK with default headers values

func (*GetOffersOK) Error

func (o *GetOffersOK) Error() string

func (*GetOffersOK) GetPayload

func (o *GetOffersOK) GetPayload() *models.OBReadOffer1

type GetOffersParams

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

GetOffersParams contains all the parameters to send to the API endpoint

for the get offers operation.

Typically these are written to a http.Request.

func NewGetOffersParams

func NewGetOffersParams() *GetOffersParams

NewGetOffersParams creates a new GetOffersParams 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 NewGetOffersParamsWithContext

func NewGetOffersParamsWithContext(ctx context.Context) *GetOffersParams

NewGetOffersParamsWithContext creates a new GetOffersParams object with the ability to set a context for a request.

func NewGetOffersParamsWithHTTPClient

func NewGetOffersParamsWithHTTPClient(client *http.Client) *GetOffersParams

NewGetOffersParamsWithHTTPClient creates a new GetOffersParams object with the ability to set a custom HTTPClient for a request.

func NewGetOffersParamsWithTimeout

func NewGetOffersParamsWithTimeout(timeout time.Duration) *GetOffersParams

NewGetOffersParamsWithTimeout creates a new GetOffersParams object with the ability to set a timeout on a request.

func (*GetOffersParams) SetAuthorization

func (o *GetOffersParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get offers params

func (*GetOffersParams) SetContext

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

SetContext adds the context to the get offers params

func (*GetOffersParams) SetDefaults

func (o *GetOffersParams) SetDefaults()

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

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

func (*GetOffersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get offers params

func (*GetOffersParams) SetTimeout

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

SetTimeout adds the timeout to the get offers params

func (*GetOffersParams) SetXCustomerUserAgent

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

SetXCustomerUserAgent adds the xCustomerUserAgent to the get offers params

func (*GetOffersParams) SetXFapiAuthDate

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

SetXFapiAuthDate adds the xFapiAuthDate to the get offers params

func (*GetOffersParams) SetXFapiCustomerIPAddress

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

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get offers params

func (*GetOffersParams) SetXFapiInteractionID

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

SetXFapiInteractionID adds the xFapiInteractionId to the get offers params

func (*GetOffersParams) WithAuthorization

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

WithAuthorization adds the authorization to the get offers params

func (*GetOffersParams) WithContext

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

WithContext adds the context to the get offers params

func (*GetOffersParams) WithDefaults

func (o *GetOffersParams) WithDefaults() *GetOffersParams

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

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

func (*GetOffersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get offers params

func (*GetOffersParams) WithTimeout

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

WithTimeout adds the timeout to the get offers params

func (*GetOffersParams) WithXCustomerUserAgent

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

WithXCustomerUserAgent adds the xCustomerUserAgent to the get offers params

func (*GetOffersParams) WithXFapiAuthDate

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

WithXFapiAuthDate adds the xFapiAuthDate to the get offers params

func (*GetOffersParams) WithXFapiCustomerIPAddress

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

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get offers params

func (*GetOffersParams) WithXFapiInteractionID

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

WithXFapiInteractionID adds the xFapiInteractionID to the get offers params

func (*GetOffersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetOffersReader

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

GetOffersReader is a Reader for the GetOffers structure.

func (*GetOffersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOffersTooManyRequests

type GetOffersTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

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

Too Many Requests

func NewGetOffersTooManyRequests

func NewGetOffersTooManyRequests() *GetOffersTooManyRequests

NewGetOffersTooManyRequests creates a GetOffersTooManyRequests with default headers values

func (*GetOffersTooManyRequests) Error

func (o *GetOffersTooManyRequests) Error() string

type GetOffersUnauthorized

type GetOffersUnauthorized struct {

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

Unauthorized

func NewGetOffersUnauthorized

func NewGetOffersUnauthorized() *GetOffersUnauthorized

NewGetOffersUnauthorized creates a GetOffersUnauthorized with default headers values

func (*GetOffersUnauthorized) Error

func (o *GetOffersUnauthorized) Error() string

Jump to

Keyboard shortcuts

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