on_ramp

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 10 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 on ramp API

func (*Client) CreateFiatOnRampCredential added in v0.12.0

func (a *Client) CreateFiatOnRampCredential(params *CreateFiatOnRampCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFiatOnRampCredentialOK, error)

CreateFiatOnRampCredential creates a fiat on ramp credential

Create a fiat on ramp provider credential

func (*Client) DeleteFiatOnRampCredential added in v0.12.0

func (a *Client) DeleteFiatOnRampCredential(params *DeleteFiatOnRampCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFiatOnRampCredentialOK, error)

DeleteFiatOnRampCredential deletes a fiat on ramp credential

Delete a fiat on ramp provider credential

func (*Client) GetOnRampTransactionStatus added in v0.12.0

func (a *Client) GetOnRampTransactionStatus(params *GetOnRampTransactionStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOnRampTransactionStatusOK, error)

GetOnRampTransactionStatus gets on ramp transaction status

Get the status of an on ramp transaction.

func (*Client) InitFiatOnRamp

func (a *Client) InitFiatOnRamp(params *InitFiatOnRampParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InitFiatOnRampOK, error)

InitFiatOnRamp inits fiat on ramp

Initiate a fiat on ramp flow.

func (*Client) ListFiatOnRampCredentials added in v0.12.0

func (a *Client) ListFiatOnRampCredentials(params *ListFiatOnRampCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFiatOnRampCredentialsOK, error)

ListFiatOnRampCredentials lists fiat on ramp credentials

List all fiat on ramp provider credentials within an organization.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateFiatOnRampCredential added in v0.12.0

func (a *Client) UpdateFiatOnRampCredential(params *UpdateFiatOnRampCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateFiatOnRampCredentialOK, error)

UpdateFiatOnRampCredential updates a fiat on ramp credential

Update a fiat on ramp provider credential

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateFiatOnRampCredential(params *CreateFiatOnRampCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFiatOnRampCredentialOK, error)

	DeleteFiatOnRampCredential(params *DeleteFiatOnRampCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFiatOnRampCredentialOK, error)

	GetOnRampTransactionStatus(params *GetOnRampTransactionStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOnRampTransactionStatusOK, error)

	InitFiatOnRamp(params *InitFiatOnRampParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InitFiatOnRampOK, error)

	ListFiatOnRampCredentials(params *ListFiatOnRampCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFiatOnRampCredentialsOK, error)

	UpdateFiatOnRampCredential(params *UpdateFiatOnRampCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateFiatOnRampCredentialOK, 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 on ramp API client.

type CreateFiatOnRampCredentialOK added in v0.12.0

type CreateFiatOnRampCredentialOK struct {
	Payload *models.ActivityResponse
}

CreateFiatOnRampCredentialOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateFiatOnRampCredentialOK added in v0.12.0

func NewCreateFiatOnRampCredentialOK() *CreateFiatOnRampCredentialOK

NewCreateFiatOnRampCredentialOK creates a CreateFiatOnRampCredentialOK with default headers values

func (*CreateFiatOnRampCredentialOK) Code added in v0.12.0

Code gets the status code for the create fiat on ramp credential o k response

func (*CreateFiatOnRampCredentialOK) Error added in v0.12.0

func (*CreateFiatOnRampCredentialOK) GetPayload added in v0.12.0

func (*CreateFiatOnRampCredentialOK) IsClientError added in v0.12.0

func (o *CreateFiatOnRampCredentialOK) IsClientError() bool

IsClientError returns true when this create fiat on ramp credential o k response has a 4xx status code

func (*CreateFiatOnRampCredentialOK) IsCode added in v0.12.0

func (o *CreateFiatOnRampCredentialOK) IsCode(code int) bool

IsCode returns true when this create fiat on ramp credential o k response a status code equal to that given

func (*CreateFiatOnRampCredentialOK) IsRedirect added in v0.12.0

func (o *CreateFiatOnRampCredentialOK) IsRedirect() bool

IsRedirect returns true when this create fiat on ramp credential o k response has a 3xx status code

func (*CreateFiatOnRampCredentialOK) IsServerError added in v0.12.0

func (o *CreateFiatOnRampCredentialOK) IsServerError() bool

IsServerError returns true when this create fiat on ramp credential o k response has a 5xx status code

func (*CreateFiatOnRampCredentialOK) IsSuccess added in v0.12.0

func (o *CreateFiatOnRampCredentialOK) IsSuccess() bool

IsSuccess returns true when this create fiat on ramp credential o k response has a 2xx status code

func (*CreateFiatOnRampCredentialOK) String added in v0.12.0

type CreateFiatOnRampCredentialParams added in v0.12.0

type CreateFiatOnRampCredentialParams struct {

	// Body.
	Body *models.CreateFiatOnRampCredentialRequest

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

CreateFiatOnRampCredentialParams contains all the parameters to send to the API endpoint

for the create fiat on ramp credential operation.

Typically these are written to a http.Request.

func NewCreateFiatOnRampCredentialParams added in v0.12.0

func NewCreateFiatOnRampCredentialParams() *CreateFiatOnRampCredentialParams

NewCreateFiatOnRampCredentialParams creates a new CreateFiatOnRampCredentialParams 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 NewCreateFiatOnRampCredentialParamsWithContext added in v0.12.0

func NewCreateFiatOnRampCredentialParamsWithContext(ctx context.Context) *CreateFiatOnRampCredentialParams

NewCreateFiatOnRampCredentialParamsWithContext creates a new CreateFiatOnRampCredentialParams object with the ability to set a context for a request.

func NewCreateFiatOnRampCredentialParamsWithHTTPClient added in v0.12.0

func NewCreateFiatOnRampCredentialParamsWithHTTPClient(client *http.Client) *CreateFiatOnRampCredentialParams

NewCreateFiatOnRampCredentialParamsWithHTTPClient creates a new CreateFiatOnRampCredentialParams object with the ability to set a custom HTTPClient for a request.

func NewCreateFiatOnRampCredentialParamsWithTimeout added in v0.12.0

func NewCreateFiatOnRampCredentialParamsWithTimeout(timeout time.Duration) *CreateFiatOnRampCredentialParams

NewCreateFiatOnRampCredentialParamsWithTimeout creates a new CreateFiatOnRampCredentialParams object with the ability to set a timeout on a request.

func (*CreateFiatOnRampCredentialParams) SetBody added in v0.12.0

SetBody adds the body to the create fiat on ramp credential params

func (*CreateFiatOnRampCredentialParams) SetContext added in v0.12.0

SetContext adds the context to the create fiat on ramp credential params

func (*CreateFiatOnRampCredentialParams) SetDefaults added in v0.12.0

func (o *CreateFiatOnRampCredentialParams) SetDefaults()

SetDefaults hydrates default values in the create fiat on ramp credential params (not the query body).

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

func (*CreateFiatOnRampCredentialParams) SetHTTPClient added in v0.12.0

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

SetHTTPClient adds the HTTPClient to the create fiat on ramp credential params

func (*CreateFiatOnRampCredentialParams) SetTimeout added in v0.12.0

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

SetTimeout adds the timeout to the create fiat on ramp credential params

func (*CreateFiatOnRampCredentialParams) WithBody added in v0.12.0

WithBody adds the body to the create fiat on ramp credential params

func (*CreateFiatOnRampCredentialParams) WithContext added in v0.12.0

WithContext adds the context to the create fiat on ramp credential params

func (*CreateFiatOnRampCredentialParams) WithDefaults added in v0.12.0

WithDefaults hydrates default values in the create fiat on ramp credential params (not the query body).

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

func (*CreateFiatOnRampCredentialParams) WithHTTPClient added in v0.12.0

WithHTTPClient adds the HTTPClient to the create fiat on ramp credential params

func (*CreateFiatOnRampCredentialParams) WithTimeout added in v0.12.0

WithTimeout adds the timeout to the create fiat on ramp credential params

func (*CreateFiatOnRampCredentialParams) WriteToRequest added in v0.12.0

WriteToRequest writes these params to a swagger request

type CreateFiatOnRampCredentialReader added in v0.12.0

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

CreateFiatOnRampCredentialReader is a Reader for the CreateFiatOnRampCredential structure.

func (*CreateFiatOnRampCredentialReader) ReadResponse added in v0.12.0

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

ReadResponse reads a server response into the received o.

type DeleteFiatOnRampCredentialOK added in v0.12.0

type DeleteFiatOnRampCredentialOK struct {
	Payload *models.ActivityResponse
}

DeleteFiatOnRampCredentialOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteFiatOnRampCredentialOK added in v0.12.0

func NewDeleteFiatOnRampCredentialOK() *DeleteFiatOnRampCredentialOK

NewDeleteFiatOnRampCredentialOK creates a DeleteFiatOnRampCredentialOK with default headers values

func (*DeleteFiatOnRampCredentialOK) Code added in v0.12.0

Code gets the status code for the delete fiat on ramp credential o k response

func (*DeleteFiatOnRampCredentialOK) Error added in v0.12.0

func (*DeleteFiatOnRampCredentialOK) GetPayload added in v0.12.0

func (*DeleteFiatOnRampCredentialOK) IsClientError added in v0.12.0

func (o *DeleteFiatOnRampCredentialOK) IsClientError() bool

IsClientError returns true when this delete fiat on ramp credential o k response has a 4xx status code

func (*DeleteFiatOnRampCredentialOK) IsCode added in v0.12.0

func (o *DeleteFiatOnRampCredentialOK) IsCode(code int) bool

IsCode returns true when this delete fiat on ramp credential o k response a status code equal to that given

func (*DeleteFiatOnRampCredentialOK) IsRedirect added in v0.12.0

func (o *DeleteFiatOnRampCredentialOK) IsRedirect() bool

IsRedirect returns true when this delete fiat on ramp credential o k response has a 3xx status code

func (*DeleteFiatOnRampCredentialOK) IsServerError added in v0.12.0

func (o *DeleteFiatOnRampCredentialOK) IsServerError() bool

IsServerError returns true when this delete fiat on ramp credential o k response has a 5xx status code

func (*DeleteFiatOnRampCredentialOK) IsSuccess added in v0.12.0

func (o *DeleteFiatOnRampCredentialOK) IsSuccess() bool

IsSuccess returns true when this delete fiat on ramp credential o k response has a 2xx status code

func (*DeleteFiatOnRampCredentialOK) String added in v0.12.0

type DeleteFiatOnRampCredentialParams added in v0.12.0

type DeleteFiatOnRampCredentialParams struct {

	// Body.
	Body *models.DeleteFiatOnRampCredentialRequest

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

DeleteFiatOnRampCredentialParams contains all the parameters to send to the API endpoint

for the delete fiat on ramp credential operation.

Typically these are written to a http.Request.

func NewDeleteFiatOnRampCredentialParams added in v0.12.0

func NewDeleteFiatOnRampCredentialParams() *DeleteFiatOnRampCredentialParams

NewDeleteFiatOnRampCredentialParams creates a new DeleteFiatOnRampCredentialParams 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 NewDeleteFiatOnRampCredentialParamsWithContext added in v0.12.0

func NewDeleteFiatOnRampCredentialParamsWithContext(ctx context.Context) *DeleteFiatOnRampCredentialParams

NewDeleteFiatOnRampCredentialParamsWithContext creates a new DeleteFiatOnRampCredentialParams object with the ability to set a context for a request.

func NewDeleteFiatOnRampCredentialParamsWithHTTPClient added in v0.12.0

func NewDeleteFiatOnRampCredentialParamsWithHTTPClient(client *http.Client) *DeleteFiatOnRampCredentialParams

NewDeleteFiatOnRampCredentialParamsWithHTTPClient creates a new DeleteFiatOnRampCredentialParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteFiatOnRampCredentialParamsWithTimeout added in v0.12.0

func NewDeleteFiatOnRampCredentialParamsWithTimeout(timeout time.Duration) *DeleteFiatOnRampCredentialParams

NewDeleteFiatOnRampCredentialParamsWithTimeout creates a new DeleteFiatOnRampCredentialParams object with the ability to set a timeout on a request.

func (*DeleteFiatOnRampCredentialParams) SetBody added in v0.12.0

SetBody adds the body to the delete fiat on ramp credential params

func (*DeleteFiatOnRampCredentialParams) SetContext added in v0.12.0

SetContext adds the context to the delete fiat on ramp credential params

func (*DeleteFiatOnRampCredentialParams) SetDefaults added in v0.12.0

func (o *DeleteFiatOnRampCredentialParams) SetDefaults()

SetDefaults hydrates default values in the delete fiat on ramp credential params (not the query body).

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

func (*DeleteFiatOnRampCredentialParams) SetHTTPClient added in v0.12.0

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

SetHTTPClient adds the HTTPClient to the delete fiat on ramp credential params

func (*DeleteFiatOnRampCredentialParams) SetTimeout added in v0.12.0

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

SetTimeout adds the timeout to the delete fiat on ramp credential params

func (*DeleteFiatOnRampCredentialParams) WithBody added in v0.12.0

WithBody adds the body to the delete fiat on ramp credential params

func (*DeleteFiatOnRampCredentialParams) WithContext added in v0.12.0

WithContext adds the context to the delete fiat on ramp credential params

func (*DeleteFiatOnRampCredentialParams) WithDefaults added in v0.12.0

WithDefaults hydrates default values in the delete fiat on ramp credential params (not the query body).

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

func (*DeleteFiatOnRampCredentialParams) WithHTTPClient added in v0.12.0

WithHTTPClient adds the HTTPClient to the delete fiat on ramp credential params

func (*DeleteFiatOnRampCredentialParams) WithTimeout added in v0.12.0

WithTimeout adds the timeout to the delete fiat on ramp credential params

func (*DeleteFiatOnRampCredentialParams) WriteToRequest added in v0.12.0

WriteToRequest writes these params to a swagger request

type DeleteFiatOnRampCredentialReader added in v0.12.0

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

DeleteFiatOnRampCredentialReader is a Reader for the DeleteFiatOnRampCredential structure.

func (*DeleteFiatOnRampCredentialReader) ReadResponse added in v0.12.0

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

ReadResponse reads a server response into the received o.

type GetOnRampTransactionStatusOK added in v0.12.0

type GetOnRampTransactionStatusOK struct {
	Payload *models.GetOnRampTransactionStatusResponse
}

GetOnRampTransactionStatusOK describes a response with status code 200, with default header values.

A successful response.

func NewGetOnRampTransactionStatusOK added in v0.12.0

func NewGetOnRampTransactionStatusOK() *GetOnRampTransactionStatusOK

NewGetOnRampTransactionStatusOK creates a GetOnRampTransactionStatusOK with default headers values

func (*GetOnRampTransactionStatusOK) Code added in v0.12.0

Code gets the status code for the get on ramp transaction status o k response

func (*GetOnRampTransactionStatusOK) Error added in v0.12.0

func (*GetOnRampTransactionStatusOK) GetPayload added in v0.12.0

func (*GetOnRampTransactionStatusOK) IsClientError added in v0.12.0

func (o *GetOnRampTransactionStatusOK) IsClientError() bool

IsClientError returns true when this get on ramp transaction status o k response has a 4xx status code

func (*GetOnRampTransactionStatusOK) IsCode added in v0.12.0

func (o *GetOnRampTransactionStatusOK) IsCode(code int) bool

IsCode returns true when this get on ramp transaction status o k response a status code equal to that given

func (*GetOnRampTransactionStatusOK) IsRedirect added in v0.12.0

func (o *GetOnRampTransactionStatusOK) IsRedirect() bool

IsRedirect returns true when this get on ramp transaction status o k response has a 3xx status code

func (*GetOnRampTransactionStatusOK) IsServerError added in v0.12.0

func (o *GetOnRampTransactionStatusOK) IsServerError() bool

IsServerError returns true when this get on ramp transaction status o k response has a 5xx status code

func (*GetOnRampTransactionStatusOK) IsSuccess added in v0.12.0

func (o *GetOnRampTransactionStatusOK) IsSuccess() bool

IsSuccess returns true when this get on ramp transaction status o k response has a 2xx status code

func (*GetOnRampTransactionStatusOK) String added in v0.12.0

type GetOnRampTransactionStatusParams added in v0.12.0

type GetOnRampTransactionStatusParams struct {

	// Body.
	Body *models.GetOnRampTransactionStatusRequest

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

GetOnRampTransactionStatusParams contains all the parameters to send to the API endpoint

for the get on ramp transaction status operation.

Typically these are written to a http.Request.

func NewGetOnRampTransactionStatusParams added in v0.12.0

func NewGetOnRampTransactionStatusParams() *GetOnRampTransactionStatusParams

NewGetOnRampTransactionStatusParams creates a new GetOnRampTransactionStatusParams 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 NewGetOnRampTransactionStatusParamsWithContext added in v0.12.0

func NewGetOnRampTransactionStatusParamsWithContext(ctx context.Context) *GetOnRampTransactionStatusParams

NewGetOnRampTransactionStatusParamsWithContext creates a new GetOnRampTransactionStatusParams object with the ability to set a context for a request.

func NewGetOnRampTransactionStatusParamsWithHTTPClient added in v0.12.0

func NewGetOnRampTransactionStatusParamsWithHTTPClient(client *http.Client) *GetOnRampTransactionStatusParams

NewGetOnRampTransactionStatusParamsWithHTTPClient creates a new GetOnRampTransactionStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetOnRampTransactionStatusParamsWithTimeout added in v0.12.0

func NewGetOnRampTransactionStatusParamsWithTimeout(timeout time.Duration) *GetOnRampTransactionStatusParams

NewGetOnRampTransactionStatusParamsWithTimeout creates a new GetOnRampTransactionStatusParams object with the ability to set a timeout on a request.

func (*GetOnRampTransactionStatusParams) SetBody added in v0.12.0

SetBody adds the body to the get on ramp transaction status params

func (*GetOnRampTransactionStatusParams) SetContext added in v0.12.0

SetContext adds the context to the get on ramp transaction status params

func (*GetOnRampTransactionStatusParams) SetDefaults added in v0.12.0

func (o *GetOnRampTransactionStatusParams) SetDefaults()

SetDefaults hydrates default values in the get on ramp transaction status params (not the query body).

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

func (*GetOnRampTransactionStatusParams) SetHTTPClient added in v0.12.0

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

SetHTTPClient adds the HTTPClient to the get on ramp transaction status params

func (*GetOnRampTransactionStatusParams) SetTimeout added in v0.12.0

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

SetTimeout adds the timeout to the get on ramp transaction status params

func (*GetOnRampTransactionStatusParams) WithBody added in v0.12.0

WithBody adds the body to the get on ramp transaction status params

func (*GetOnRampTransactionStatusParams) WithContext added in v0.12.0

WithContext adds the context to the get on ramp transaction status params

func (*GetOnRampTransactionStatusParams) WithDefaults added in v0.12.0

WithDefaults hydrates default values in the get on ramp transaction status params (not the query body).

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

func (*GetOnRampTransactionStatusParams) WithHTTPClient added in v0.12.0

WithHTTPClient adds the HTTPClient to the get on ramp transaction status params

func (*GetOnRampTransactionStatusParams) WithTimeout added in v0.12.0

WithTimeout adds the timeout to the get on ramp transaction status params

func (*GetOnRampTransactionStatusParams) WriteToRequest added in v0.12.0

WriteToRequest writes these params to a swagger request

type GetOnRampTransactionStatusReader added in v0.12.0

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

GetOnRampTransactionStatusReader is a Reader for the GetOnRampTransactionStatus structure.

func (*GetOnRampTransactionStatusReader) ReadResponse added in v0.12.0

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

ReadResponse reads a server response into the received o.

type InitFiatOnRampOK

type InitFiatOnRampOK struct {
	Payload *models.ActivityResponse
}

InitFiatOnRampOK describes a response with status code 200, with default header values.

A successful response.

func NewInitFiatOnRampOK

func NewInitFiatOnRampOK() *InitFiatOnRampOK

NewInitFiatOnRampOK creates a InitFiatOnRampOK with default headers values

func (*InitFiatOnRampOK) Code

func (o *InitFiatOnRampOK) Code() int

Code gets the status code for the init fiat on ramp o k response

func (*InitFiatOnRampOK) Error

func (o *InitFiatOnRampOK) Error() string

func (*InitFiatOnRampOK) GetPayload

func (o *InitFiatOnRampOK) GetPayload() *models.ActivityResponse

func (*InitFiatOnRampOK) IsClientError

func (o *InitFiatOnRampOK) IsClientError() bool

IsClientError returns true when this init fiat on ramp o k response has a 4xx status code

func (*InitFiatOnRampOK) IsCode

func (o *InitFiatOnRampOK) IsCode(code int) bool

IsCode returns true when this init fiat on ramp o k response a status code equal to that given

func (*InitFiatOnRampOK) IsRedirect

func (o *InitFiatOnRampOK) IsRedirect() bool

IsRedirect returns true when this init fiat on ramp o k response has a 3xx status code

func (*InitFiatOnRampOK) IsServerError

func (o *InitFiatOnRampOK) IsServerError() bool

IsServerError returns true when this init fiat on ramp o k response has a 5xx status code

func (*InitFiatOnRampOK) IsSuccess

func (o *InitFiatOnRampOK) IsSuccess() bool

IsSuccess returns true when this init fiat on ramp o k response has a 2xx status code

func (*InitFiatOnRampOK) String

func (o *InitFiatOnRampOK) String() string

type InitFiatOnRampParams

type InitFiatOnRampParams struct {

	// Body.
	Body *models.InitFiatOnRampRequest

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

InitFiatOnRampParams contains all the parameters to send to the API endpoint

for the init fiat on ramp operation.

Typically these are written to a http.Request.

func NewInitFiatOnRampParams

func NewInitFiatOnRampParams() *InitFiatOnRampParams

NewInitFiatOnRampParams creates a new InitFiatOnRampParams 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 NewInitFiatOnRampParamsWithContext

func NewInitFiatOnRampParamsWithContext(ctx context.Context) *InitFiatOnRampParams

NewInitFiatOnRampParamsWithContext creates a new InitFiatOnRampParams object with the ability to set a context for a request.

func NewInitFiatOnRampParamsWithHTTPClient

func NewInitFiatOnRampParamsWithHTTPClient(client *http.Client) *InitFiatOnRampParams

NewInitFiatOnRampParamsWithHTTPClient creates a new InitFiatOnRampParams object with the ability to set a custom HTTPClient for a request.

func NewInitFiatOnRampParamsWithTimeout

func NewInitFiatOnRampParamsWithTimeout(timeout time.Duration) *InitFiatOnRampParams

NewInitFiatOnRampParamsWithTimeout creates a new InitFiatOnRampParams object with the ability to set a timeout on a request.

func (*InitFiatOnRampParams) SetBody

SetBody adds the body to the init fiat on ramp params

func (*InitFiatOnRampParams) SetContext

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

SetContext adds the context to the init fiat on ramp params

func (*InitFiatOnRampParams) SetDefaults

func (o *InitFiatOnRampParams) SetDefaults()

SetDefaults hydrates default values in the init fiat on ramp params (not the query body).

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

func (*InitFiatOnRampParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the init fiat on ramp params

func (*InitFiatOnRampParams) SetTimeout

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

SetTimeout adds the timeout to the init fiat on ramp params

func (*InitFiatOnRampParams) WithBody

WithBody adds the body to the init fiat on ramp params

func (*InitFiatOnRampParams) WithContext

WithContext adds the context to the init fiat on ramp params

func (*InitFiatOnRampParams) WithDefaults

func (o *InitFiatOnRampParams) WithDefaults() *InitFiatOnRampParams

WithDefaults hydrates default values in the init fiat on ramp params (not the query body).

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

func (*InitFiatOnRampParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the init fiat on ramp params

func (*InitFiatOnRampParams) WithTimeout

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

WithTimeout adds the timeout to the init fiat on ramp params

func (*InitFiatOnRampParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type InitFiatOnRampReader

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

InitFiatOnRampReader is a Reader for the InitFiatOnRamp structure.

func (*InitFiatOnRampReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListFiatOnRampCredentialsOK added in v0.12.0

type ListFiatOnRampCredentialsOK struct {
	Payload *models.ListFiatOnRampCredentialsResponse
}

ListFiatOnRampCredentialsOK describes a response with status code 200, with default header values.

A successful response.

func NewListFiatOnRampCredentialsOK added in v0.12.0

func NewListFiatOnRampCredentialsOK() *ListFiatOnRampCredentialsOK

NewListFiatOnRampCredentialsOK creates a ListFiatOnRampCredentialsOK with default headers values

func (*ListFiatOnRampCredentialsOK) Code added in v0.12.0

func (o *ListFiatOnRampCredentialsOK) Code() int

Code gets the status code for the list fiat on ramp credentials o k response

func (*ListFiatOnRampCredentialsOK) Error added in v0.12.0

func (*ListFiatOnRampCredentialsOK) GetPayload added in v0.12.0

func (*ListFiatOnRampCredentialsOK) IsClientError added in v0.12.0

func (o *ListFiatOnRampCredentialsOK) IsClientError() bool

IsClientError returns true when this list fiat on ramp credentials o k response has a 4xx status code

func (*ListFiatOnRampCredentialsOK) IsCode added in v0.12.0

func (o *ListFiatOnRampCredentialsOK) IsCode(code int) bool

IsCode returns true when this list fiat on ramp credentials o k response a status code equal to that given

func (*ListFiatOnRampCredentialsOK) IsRedirect added in v0.12.0

func (o *ListFiatOnRampCredentialsOK) IsRedirect() bool

IsRedirect returns true when this list fiat on ramp credentials o k response has a 3xx status code

func (*ListFiatOnRampCredentialsOK) IsServerError added in v0.12.0

func (o *ListFiatOnRampCredentialsOK) IsServerError() bool

IsServerError returns true when this list fiat on ramp credentials o k response has a 5xx status code

func (*ListFiatOnRampCredentialsOK) IsSuccess added in v0.12.0

func (o *ListFiatOnRampCredentialsOK) IsSuccess() bool

IsSuccess returns true when this list fiat on ramp credentials o k response has a 2xx status code

func (*ListFiatOnRampCredentialsOK) String added in v0.12.0

func (o *ListFiatOnRampCredentialsOK) String() string

type ListFiatOnRampCredentialsParams added in v0.12.0

type ListFiatOnRampCredentialsParams struct {

	// Body.
	Body *models.ListFiatOnRampCredentialsRequest

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

ListFiatOnRampCredentialsParams contains all the parameters to send to the API endpoint

for the list fiat on ramp credentials operation.

Typically these are written to a http.Request.

func NewListFiatOnRampCredentialsParams added in v0.12.0

func NewListFiatOnRampCredentialsParams() *ListFiatOnRampCredentialsParams

NewListFiatOnRampCredentialsParams creates a new ListFiatOnRampCredentialsParams 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 NewListFiatOnRampCredentialsParamsWithContext added in v0.12.0

func NewListFiatOnRampCredentialsParamsWithContext(ctx context.Context) *ListFiatOnRampCredentialsParams

NewListFiatOnRampCredentialsParamsWithContext creates a new ListFiatOnRampCredentialsParams object with the ability to set a context for a request.

func NewListFiatOnRampCredentialsParamsWithHTTPClient added in v0.12.0

func NewListFiatOnRampCredentialsParamsWithHTTPClient(client *http.Client) *ListFiatOnRampCredentialsParams

NewListFiatOnRampCredentialsParamsWithHTTPClient creates a new ListFiatOnRampCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewListFiatOnRampCredentialsParamsWithTimeout added in v0.12.0

func NewListFiatOnRampCredentialsParamsWithTimeout(timeout time.Duration) *ListFiatOnRampCredentialsParams

NewListFiatOnRampCredentialsParamsWithTimeout creates a new ListFiatOnRampCredentialsParams object with the ability to set a timeout on a request.

func (*ListFiatOnRampCredentialsParams) SetBody added in v0.12.0

SetBody adds the body to the list fiat on ramp credentials params

func (*ListFiatOnRampCredentialsParams) SetContext added in v0.12.0

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

SetContext adds the context to the list fiat on ramp credentials params

func (*ListFiatOnRampCredentialsParams) SetDefaults added in v0.12.0

func (o *ListFiatOnRampCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the list fiat on ramp credentials params (not the query body).

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

func (*ListFiatOnRampCredentialsParams) SetHTTPClient added in v0.12.0

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

SetHTTPClient adds the HTTPClient to the list fiat on ramp credentials params

func (*ListFiatOnRampCredentialsParams) SetTimeout added in v0.12.0

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

SetTimeout adds the timeout to the list fiat on ramp credentials params

func (*ListFiatOnRampCredentialsParams) WithBody added in v0.12.0

WithBody adds the body to the list fiat on ramp credentials params

func (*ListFiatOnRampCredentialsParams) WithContext added in v0.12.0

WithContext adds the context to the list fiat on ramp credentials params

func (*ListFiatOnRampCredentialsParams) WithDefaults added in v0.12.0

WithDefaults hydrates default values in the list fiat on ramp credentials params (not the query body).

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

func (*ListFiatOnRampCredentialsParams) WithHTTPClient added in v0.12.0

WithHTTPClient adds the HTTPClient to the list fiat on ramp credentials params

func (*ListFiatOnRampCredentialsParams) WithTimeout added in v0.12.0

WithTimeout adds the timeout to the list fiat on ramp credentials params

func (*ListFiatOnRampCredentialsParams) WriteToRequest added in v0.12.0

WriteToRequest writes these params to a swagger request

type ListFiatOnRampCredentialsReader added in v0.12.0

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

ListFiatOnRampCredentialsReader is a Reader for the ListFiatOnRampCredentials structure.

func (*ListFiatOnRampCredentialsReader) ReadResponse added in v0.12.0

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

ReadResponse reads a server response into the received o.

type UpdateFiatOnRampCredentialOK added in v0.12.0

type UpdateFiatOnRampCredentialOK struct {
	Payload *models.ActivityResponse
}

UpdateFiatOnRampCredentialOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateFiatOnRampCredentialOK added in v0.12.0

func NewUpdateFiatOnRampCredentialOK() *UpdateFiatOnRampCredentialOK

NewUpdateFiatOnRampCredentialOK creates a UpdateFiatOnRampCredentialOK with default headers values

func (*UpdateFiatOnRampCredentialOK) Code added in v0.12.0

Code gets the status code for the update fiat on ramp credential o k response

func (*UpdateFiatOnRampCredentialOK) Error added in v0.12.0

func (*UpdateFiatOnRampCredentialOK) GetPayload added in v0.12.0

func (*UpdateFiatOnRampCredentialOK) IsClientError added in v0.12.0

func (o *UpdateFiatOnRampCredentialOK) IsClientError() bool

IsClientError returns true when this update fiat on ramp credential o k response has a 4xx status code

func (*UpdateFiatOnRampCredentialOK) IsCode added in v0.12.0

func (o *UpdateFiatOnRampCredentialOK) IsCode(code int) bool

IsCode returns true when this update fiat on ramp credential o k response a status code equal to that given

func (*UpdateFiatOnRampCredentialOK) IsRedirect added in v0.12.0

func (o *UpdateFiatOnRampCredentialOK) IsRedirect() bool

IsRedirect returns true when this update fiat on ramp credential o k response has a 3xx status code

func (*UpdateFiatOnRampCredentialOK) IsServerError added in v0.12.0

func (o *UpdateFiatOnRampCredentialOK) IsServerError() bool

IsServerError returns true when this update fiat on ramp credential o k response has a 5xx status code

func (*UpdateFiatOnRampCredentialOK) IsSuccess added in v0.12.0

func (o *UpdateFiatOnRampCredentialOK) IsSuccess() bool

IsSuccess returns true when this update fiat on ramp credential o k response has a 2xx status code

func (*UpdateFiatOnRampCredentialOK) String added in v0.12.0

type UpdateFiatOnRampCredentialParams added in v0.12.0

type UpdateFiatOnRampCredentialParams struct {

	// Body.
	Body *models.UpdateFiatOnRampCredentialRequest

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

UpdateFiatOnRampCredentialParams contains all the parameters to send to the API endpoint

for the update fiat on ramp credential operation.

Typically these are written to a http.Request.

func NewUpdateFiatOnRampCredentialParams added in v0.12.0

func NewUpdateFiatOnRampCredentialParams() *UpdateFiatOnRampCredentialParams

NewUpdateFiatOnRampCredentialParams creates a new UpdateFiatOnRampCredentialParams 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 NewUpdateFiatOnRampCredentialParamsWithContext added in v0.12.0

func NewUpdateFiatOnRampCredentialParamsWithContext(ctx context.Context) *UpdateFiatOnRampCredentialParams

NewUpdateFiatOnRampCredentialParamsWithContext creates a new UpdateFiatOnRampCredentialParams object with the ability to set a context for a request.

func NewUpdateFiatOnRampCredentialParamsWithHTTPClient added in v0.12.0

func NewUpdateFiatOnRampCredentialParamsWithHTTPClient(client *http.Client) *UpdateFiatOnRampCredentialParams

NewUpdateFiatOnRampCredentialParamsWithHTTPClient creates a new UpdateFiatOnRampCredentialParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateFiatOnRampCredentialParamsWithTimeout added in v0.12.0

func NewUpdateFiatOnRampCredentialParamsWithTimeout(timeout time.Duration) *UpdateFiatOnRampCredentialParams

NewUpdateFiatOnRampCredentialParamsWithTimeout creates a new UpdateFiatOnRampCredentialParams object with the ability to set a timeout on a request.

func (*UpdateFiatOnRampCredentialParams) SetBody added in v0.12.0

SetBody adds the body to the update fiat on ramp credential params

func (*UpdateFiatOnRampCredentialParams) SetContext added in v0.12.0

SetContext adds the context to the update fiat on ramp credential params

func (*UpdateFiatOnRampCredentialParams) SetDefaults added in v0.12.0

func (o *UpdateFiatOnRampCredentialParams) SetDefaults()

SetDefaults hydrates default values in the update fiat on ramp credential params (not the query body).

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

func (*UpdateFiatOnRampCredentialParams) SetHTTPClient added in v0.12.0

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

SetHTTPClient adds the HTTPClient to the update fiat on ramp credential params

func (*UpdateFiatOnRampCredentialParams) SetTimeout added in v0.12.0

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

SetTimeout adds the timeout to the update fiat on ramp credential params

func (*UpdateFiatOnRampCredentialParams) WithBody added in v0.12.0

WithBody adds the body to the update fiat on ramp credential params

func (*UpdateFiatOnRampCredentialParams) WithContext added in v0.12.0

WithContext adds the context to the update fiat on ramp credential params

func (*UpdateFiatOnRampCredentialParams) WithDefaults added in v0.12.0

WithDefaults hydrates default values in the update fiat on ramp credential params (not the query body).

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

func (*UpdateFiatOnRampCredentialParams) WithHTTPClient added in v0.12.0

WithHTTPClient adds the HTTPClient to the update fiat on ramp credential params

func (*UpdateFiatOnRampCredentialParams) WithTimeout added in v0.12.0

WithTimeout adds the timeout to the update fiat on ramp credential params

func (*UpdateFiatOnRampCredentialParams) WriteToRequest added in v0.12.0

WriteToRequest writes these params to a swagger request

type UpdateFiatOnRampCredentialReader added in v0.12.0

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

UpdateFiatOnRampCredentialReader is a Reader for the UpdateFiatOnRampCredential structure.

func (*UpdateFiatOnRampCredentialReader) ReadResponse added in v0.12.0

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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