wallet

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckWalletBadRequest added in v0.7.0

type CheckWalletBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

CheckWalletBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr></table>

func NewCheckWalletBadRequest added in v0.7.0

func NewCheckWalletBadRequest() *CheckWalletBadRequest

NewCheckWalletBadRequest creates a CheckWalletBadRequest with default headers values

func (*CheckWalletBadRequest) Error added in v0.7.0

func (o *CheckWalletBadRequest) Error() string

func (*CheckWalletBadRequest) GetPayload added in v0.7.0

type CheckWalletConflict added in v0.7.0

type CheckWalletConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

CheckWalletConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewCheckWalletConflict added in v0.7.0

func NewCheckWalletConflict() *CheckWalletConflict

NewCheckWalletConflict creates a CheckWalletConflict with default headers values

func (*CheckWalletConflict) Error added in v0.7.0

func (o *CheckWalletConflict) Error() string

func (*CheckWalletConflict) GetPayload added in v0.7.0

type CheckWalletNoContent added in v0.7.0

type CheckWalletNoContent struct {
}

CheckWalletNoContent handles this case with default header values.

check successfully

func NewCheckWalletNoContent added in v0.7.0

func NewCheckWalletNoContent() *CheckWalletNoContent

NewCheckWalletNoContent creates a CheckWalletNoContent with default headers values

func (*CheckWalletNoContent) Error added in v0.7.0

func (o *CheckWalletNoContent) Error() string

type CheckWalletParams added in v0.7.0

type CheckWalletParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CurrencyCode*/
	CurrencyCode string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Origin*/
	Origin string
	/*UserID
	  userId

	*/
	UserID string

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

CheckWalletParams contains all the parameters to send to the API endpoint for the check wallet operation typically these are written to a http.Request

func NewCheckWalletParams added in v0.7.0

func NewCheckWalletParams() *CheckWalletParams

NewCheckWalletParams creates a new CheckWalletParams object with the default values initialized.

func NewCheckWalletParamsWithContext added in v0.7.0

func NewCheckWalletParamsWithContext(ctx context.Context) *CheckWalletParams

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

func NewCheckWalletParamsWithHTTPClient added in v0.7.0

func NewCheckWalletParamsWithHTTPClient(client *http.Client) *CheckWalletParams

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

func NewCheckWalletParamsWithTimeout added in v0.7.0

func NewCheckWalletParamsWithTimeout(timeout time.Duration) *CheckWalletParams

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

func (*CheckWalletParams) SetAuthInfoWriter added in v0.17.0

func (o *CheckWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the check wallet params

func (*CheckWalletParams) SetContext added in v0.7.0

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

SetContext adds the context to the check wallet params

func (*CheckWalletParams) SetCurrencyCode added in v0.7.0

func (o *CheckWalletParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the check wallet params

func (*CheckWalletParams) SetHTTPClient added in v0.7.0

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

SetHTTPClient adds the HTTPClient to the check wallet params

func (*CheckWalletParams) SetHTTPClientTransport added in v0.19.0

func (o *CheckWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the check wallet params

func (*CheckWalletParams) SetNamespace added in v0.7.0

func (o *CheckWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the check wallet params

func (*CheckWalletParams) SetOrigin added in v0.18.0

func (o *CheckWalletParams) SetOrigin(origin string)

SetOrigin adds the origin to the check wallet params

func (*CheckWalletParams) SetTimeout added in v0.7.0

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

SetTimeout adds the timeout to the check wallet params

func (*CheckWalletParams) SetUserID added in v0.7.0

func (o *CheckWalletParams) SetUserID(userID string)

SetUserID adds the userId to the check wallet params

func (*CheckWalletParams) WithContext added in v0.7.0

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

WithContext adds the context to the check wallet params

func (*CheckWalletParams) WithCurrencyCode added in v0.7.0

func (o *CheckWalletParams) WithCurrencyCode(currencyCode string) *CheckWalletParams

WithCurrencyCode adds the currencyCode to the check wallet params

func (*CheckWalletParams) WithHTTPClient added in v0.7.0

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

WithHTTPClient adds the HTTPClient to the check wallet params

func (*CheckWalletParams) WithNamespace added in v0.7.0

func (o *CheckWalletParams) WithNamespace(namespace string) *CheckWalletParams

WithNamespace adds the namespace to the check wallet params

func (*CheckWalletParams) WithOrigin added in v0.18.0

func (o *CheckWalletParams) WithOrigin(origin string) *CheckWalletParams

WithOrigin adds the origin to the check wallet params

func (*CheckWalletParams) WithTimeout added in v0.7.0

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

WithTimeout adds the timeout to the check wallet params

func (*CheckWalletParams) WithUserID added in v0.7.0

func (o *CheckWalletParams) WithUserID(userID string) *CheckWalletParams

WithUserID adds the userID to the check wallet params

func (*CheckWalletParams) WriteToRequest added in v0.7.0

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

WriteToRequest writes these params to a swagger request

type CheckWalletReader added in v0.7.0

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

CheckWalletReader is a Reader for the CheckWallet structure.

func (*CheckWalletReader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type CheckWalletUnprocessableEntity added in v0.7.0

type CheckWalletUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

CheckWalletUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewCheckWalletUnprocessableEntity added in v0.7.0

func NewCheckWalletUnprocessableEntity() *CheckWalletUnprocessableEntity

NewCheckWalletUnprocessableEntity creates a CheckWalletUnprocessableEntity with default headers values

func (*CheckWalletUnprocessableEntity) Error added in v0.7.0

func (*CheckWalletUnprocessableEntity) GetPayload added in v0.7.0

type Client

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

Client for wallet API

func (*Client) CheckWallet added in v0.7.0

CheckWallet checks wallet by balance origin and currency code

&lt;b&gt;[SERVICE COMMUNICATION ONLY]&lt;/b&gt; Check wallet by balance origin and currency code whether it&#39;s inactive.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET&#34;, action=2 (READ)&lt;/li&gt;&lt;/ul&gt;

func (*Client) CheckWalletShort added in v0.8.0

func (a *Client) CheckWalletShort(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, error)

func (*Client) CreditUserWallet

CreditUserWallet credits a user wallet by currency code and balance origin

Credit a user wallet by currency code and balance origin, if wallet not exists, it will create a new wallet.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) CreditUserWalletShort added in v0.8.0

func (a *Client) CreditUserWalletShort(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, error)

func (*Client) DebitUserWallet

DebitUserWallet debits a user wallet

Debit a user wallet.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) DebitUserWalletShort added in v0.8.0

func (a *Client) DebitUserWalletShort(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, error)

func (*Client) DisableUserWallet

DisableUserWallet disables a user wallet

disable a user wallet.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) DisableUserWalletShort added in v0.8.0

func (a *Client) DisableUserWalletShort(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, error)

func (*Client) EnableUserWallet

EnableUserWallet enables a user wallet

enable a user wallet.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) EnableUserWalletShort added in v0.8.0

func (a *Client) EnableUserWalletShort(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, error)

func (*Client) GetPlatformWalletConfig added in v0.18.0

func (a *Client) GetPlatformWalletConfig(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error)

GetPlatformWalletConfig gets platform wallet config list

Get platform wallet config list.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:WALLET:CONFIG&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: wallet info&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetPlatformWalletConfigShort added in v0.18.0

func (a *Client) GetPlatformWalletConfigShort(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error)

func (*Client) GetUserWallet

GetUserWallet gets a user wallet

get a user wallet.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: wallet info&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetUserWalletShort added in v0.8.0

func (a *Client) GetUserWalletShort(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, error)

func (*Client) GetWallet

GetWallet gets a wallet by wallet id

get a wallet by wallet id.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:WALLET&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: wallet info&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetWalletShort added in v0.8.0

func (a *Client) GetWalletShort(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, error)

func (*Client) ListUserCurrencyTransactions added in v0.18.0

ListUserCurrencyTransactions lists user currency transactions

List user currency transactions ordered by create time desc.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: currency transaction info&lt;/li&gt;&lt;/ul&gt;

func (*Client) ListUserCurrencyTransactionsShort added in v0.18.0

func (a *Client) ListUserCurrencyTransactionsShort(params *ListUserCurrencyTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserCurrencyTransactionsOK, error)

func (*Client) ListUserWalletTransactions

ListUserWalletTransactions lists user wallet transactions

List user wallet transactions ordered by create time desc.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: wallet transaction info&lt;/li&gt;&lt;/ul&gt;

func (*Client) ListUserWalletTransactionsShort added in v0.8.0

func (a *Client) ListUserWalletTransactionsShort(params *ListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserWalletTransactionsOK, error)

func (*Client) PayWithUserWallet

PayWithUserWallet pays with user wallet by currency code and client platform

Pay with user wallet by currency code and client platform.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;/ul&gt;

func (*Client) PayWithUserWalletShort added in v0.8.0

func (a *Client) PayWithUserWalletShort(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, error)

func (*Client) PublicGetMyWallet

func (a *Client) PublicGetMyWallet(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletOK, error)

PublicGetMyWallet gets my wallet by currency code and namespace

get my wallet by currency code and namespace.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;NAMESPACE:{namespace}:WALLET&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: wallet info&lt;/li&gt;&lt;li&gt;&lt;i&gt;Path&#39;s namespace&lt;/i&gt; : &lt;ul&gt; &lt;li&gt;can be filled with &lt;b&gt;publisher namespace&lt;/b&gt; in order to get &lt;b&gt;publisher user wallet&lt;/b&gt;&lt;/li&gt; &lt;li&gt;can be filled with &lt;b&gt;game namespace&lt;/b&gt; in order to get &lt;b&gt;game user wallet&lt;/b&gt;&lt;/li&gt; &lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublicGetMyWalletShort added in v0.8.0

func (a *Client) PublicGetMyWalletShort(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletOK, error)

func (*Client) PublicGetWallet

func (a *Client) PublicGetWallet(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error)

PublicGetWallet gets a wallet by currency code

get a wallet by currency code.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;NAMESPACE:{namespace}:USER:{userId}:WALLET&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: wallet info&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublicGetWalletShort added in v0.8.0

func (a *Client) PublicGetWalletShort(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error)

func (*Client) PublicListUserWalletTransactions

PublicListUserWalletTransactions lists wallet transactions by currency code

List wallet transactions by currency code ordered by create time desc.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;NAMESPACE:{namespace}:USER:{userId}:WALLET&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: currency transaction info&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublicListUserWalletTransactionsShort added in v0.8.0

func (a *Client) PublicListUserWalletTransactionsShort(params *PublicListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserWalletTransactionsOK, error)

func (*Client) QueryUserCurrencyWallets added in v0.18.0

func (a *Client) QueryUserCurrencyWallets(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error)

QueryUserCurrencyWallets gets user currency wallet summary

Get user currency wallet summary.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: currency wallet summary&lt;/li&gt;&lt;/ul&gt;

func (*Client) QueryUserCurrencyWalletsShort added in v0.18.0

func (a *Client) QueryUserCurrencyWalletsShort(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error)

func (*Client) QueryWallets

func (a *Client) QueryWallets(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error)

QueryWallets queries wallets

Query wallets.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:WALLET&#34;, action=2 (READ)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: paginated wallets info&lt;/li&gt;&lt;/ul&gt;

func (*Client) QueryWalletsShort added in v0.8.0

func (a *Client) QueryWalletsShort(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error)

func (*Client) ResetPlatformWalletConfig added in v0.18.0

func (a *Client) ResetPlatformWalletConfig(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error)

ResetPlatformWalletConfig resets platform wallet config

Reset platform wallet config to default config.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:WALLET:CONFIG&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: platform wallet config&lt;/li&gt;&lt;/ul&gt;

func (*Client) ResetPlatformWalletConfigShort added in v0.18.0

func (a *Client) ResetPlatformWalletConfigShort(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePlatformWalletConfig added in v0.18.0

func (a *Client) UpdatePlatformWalletConfig(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigOK, error)

UpdatePlatformWalletConfig updates platform wallet config

Update platform wallet config.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&#34;ADMIN:NAMESPACE:{namespace}:WALLET:CONFIG&#34;, action=4 (UPDATE)&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: platform wallet config&lt;/li&gt;&lt;/ul&gt;

func (*Client) UpdatePlatformWalletConfigShort added in v0.18.0

func (a *Client) UpdatePlatformWalletConfigShort(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigOK, error)

type ClientService

type ClientService interface {
	CheckWallet(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, *CheckWalletBadRequest, *CheckWalletConflict, *CheckWalletUnprocessableEntity, error)
	CheckWalletShort(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, error)
	CreditUserWallet(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, *CreditUserWalletBadRequest, *CreditUserWalletUnprocessableEntity, error)
	CreditUserWalletShort(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, error)
	DebitUserWallet(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, *DebitUserWalletBadRequest, *DebitUserWalletNotFound, *DebitUserWalletConflict, *DebitUserWalletUnprocessableEntity, error)
	DebitUserWalletShort(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, error)
	DisableUserWallet(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, *DisableUserWalletNotFound, *DisableUserWalletConflict, error)
	DisableUserWalletShort(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, error)
	EnableUserWallet(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, *EnableUserWalletNotFound, *EnableUserWalletConflict, error)
	EnableUserWalletShort(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, error)
	GetPlatformWalletConfig(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error)
	GetPlatformWalletConfigShort(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error)
	GetUserWallet(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, *GetUserWalletNotFound, error)
	GetUserWalletShort(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, error)
	GetWallet(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, *GetWalletNotFound, error)
	GetWalletShort(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, error)
	ListUserCurrencyTransactions(params *ListUserCurrencyTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserCurrencyTransactionsOK, *ListUserCurrencyTransactionsNotFound, error)
	ListUserCurrencyTransactionsShort(params *ListUserCurrencyTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserCurrencyTransactionsOK, error)
	ListUserWalletTransactions(params *ListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserWalletTransactionsOK, *ListUserWalletTransactionsNotFound, error)
	ListUserWalletTransactionsShort(params *ListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserWalletTransactionsOK, error)
	PayWithUserWallet(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, *PayWithUserWalletBadRequest, *PayWithUserWalletUnprocessableEntity, error)
	PayWithUserWalletShort(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, error)
	PublicGetMyWallet(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletOK, error)
	PublicGetMyWalletShort(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletOK, error)
	PublicGetWallet(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error)
	PublicGetWalletShort(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error)
	PublicListUserWalletTransactions(params *PublicListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserWalletTransactionsOK, error)
	PublicListUserWalletTransactionsShort(params *PublicListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserWalletTransactionsOK, error)
	QueryUserCurrencyWallets(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error)
	QueryUserCurrencyWalletsShort(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error)
	QueryWallets(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error)
	QueryWalletsShort(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error)
	ResetPlatformWalletConfig(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error)
	ResetPlatformWalletConfigShort(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error)
	UpdatePlatformWalletConfig(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigOK, error)
	UpdatePlatformWalletConfigShort(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigOK, 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 wallet API client.

type CreditUserWalletBadRequest

type CreditUserWalletBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

CreditUserWalletBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr></table>

func NewCreditUserWalletBadRequest

func NewCreditUserWalletBadRequest() *CreditUserWalletBadRequest

NewCreditUserWalletBadRequest creates a CreditUserWalletBadRequest with default headers values

func (*CreditUserWalletBadRequest) Error

func (*CreditUserWalletBadRequest) GetPayload

type CreditUserWalletOK

type CreditUserWalletOK struct {
	Payload *platformclientmodels.WalletInfo
}

CreditUserWalletOK handles this case with default header values.

successful operation

func NewCreditUserWalletOK

func NewCreditUserWalletOK() *CreditUserWalletOK

NewCreditUserWalletOK creates a CreditUserWalletOK with default headers values

func (*CreditUserWalletOK) Error

func (o *CreditUserWalletOK) Error() string

func (*CreditUserWalletOK) GetPayload

type CreditUserWalletParams

type CreditUserWalletParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.CreditRequest
	/*CurrencyCode*/
	CurrencyCode string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string

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

CreditUserWalletParams contains all the parameters to send to the API endpoint for the credit user wallet operation typically these are written to a http.Request

func NewCreditUserWalletParams

func NewCreditUserWalletParams() *CreditUserWalletParams

NewCreditUserWalletParams creates a new CreditUserWalletParams object with the default values initialized.

func NewCreditUserWalletParamsWithContext

func NewCreditUserWalletParamsWithContext(ctx context.Context) *CreditUserWalletParams

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

func NewCreditUserWalletParamsWithHTTPClient

func NewCreditUserWalletParamsWithHTTPClient(client *http.Client) *CreditUserWalletParams

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

func NewCreditUserWalletParamsWithTimeout

func NewCreditUserWalletParamsWithTimeout(timeout time.Duration) *CreditUserWalletParams

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

func (*CreditUserWalletParams) SetAuthInfoWriter added in v0.17.0

func (o *CreditUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the credit user wallet params

func (*CreditUserWalletParams) SetBody

SetBody adds the body to the credit user wallet params

func (*CreditUserWalletParams) SetContext

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

SetContext adds the context to the credit user wallet params

func (*CreditUserWalletParams) SetCurrencyCode

func (o *CreditUserWalletParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the credit user wallet params

func (*CreditUserWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the credit user wallet params

func (*CreditUserWalletParams) SetHTTPClientTransport added in v0.19.0

func (o *CreditUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the credit user wallet params

func (*CreditUserWalletParams) SetNamespace

func (o *CreditUserWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the credit user wallet params

func (*CreditUserWalletParams) SetTimeout

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

SetTimeout adds the timeout to the credit user wallet params

func (*CreditUserWalletParams) SetUserID

func (o *CreditUserWalletParams) SetUserID(userID string)

SetUserID adds the userId to the credit user wallet params

func (*CreditUserWalletParams) WithBody

WithBody adds the body to the credit user wallet params

func (*CreditUserWalletParams) WithContext

WithContext adds the context to the credit user wallet params

func (*CreditUserWalletParams) WithCurrencyCode

func (o *CreditUserWalletParams) WithCurrencyCode(currencyCode string) *CreditUserWalletParams

WithCurrencyCode adds the currencyCode to the credit user wallet params

func (*CreditUserWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the credit user wallet params

func (*CreditUserWalletParams) WithNamespace

func (o *CreditUserWalletParams) WithNamespace(namespace string) *CreditUserWalletParams

WithNamespace adds the namespace to the credit user wallet params

func (*CreditUserWalletParams) WithTimeout

WithTimeout adds the timeout to the credit user wallet params

func (*CreditUserWalletParams) WithUserID

func (o *CreditUserWalletParams) WithUserID(userID string) *CreditUserWalletParams

WithUserID adds the userID to the credit user wallet params

func (*CreditUserWalletParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreditUserWalletReader

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

CreditUserWalletReader is a Reader for the CreditUserWallet structure.

func (*CreditUserWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreditUserWalletUnprocessableEntity

type CreditUserWalletUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

CreditUserWalletUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewCreditUserWalletUnprocessableEntity

func NewCreditUserWalletUnprocessableEntity() *CreditUserWalletUnprocessableEntity

NewCreditUserWalletUnprocessableEntity creates a CreditUserWalletUnprocessableEntity with default headers values

func (*CreditUserWalletUnprocessableEntity) Error

func (*CreditUserWalletUnprocessableEntity) GetPayload

type DebitUserWalletBadRequest

type DebitUserWalletBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

DebitUserWalletBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr><tr><td>35124</td><td>Wallet [{currencyCode}] has insufficient balance</td></tr></table>

func NewDebitUserWalletBadRequest

func NewDebitUserWalletBadRequest() *DebitUserWalletBadRequest

NewDebitUserWalletBadRequest creates a DebitUserWalletBadRequest with default headers values

func (*DebitUserWalletBadRequest) Error

func (o *DebitUserWalletBadRequest) Error() string

func (*DebitUserWalletBadRequest) GetPayload

type DebitUserWalletConflict

type DebitUserWalletConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

DebitUserWalletConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewDebitUserWalletConflict

func NewDebitUserWalletConflict() *DebitUserWalletConflict

NewDebitUserWalletConflict creates a DebitUserWalletConflict with default headers values

func (*DebitUserWalletConflict) Error

func (o *DebitUserWalletConflict) Error() string

func (*DebitUserWalletConflict) GetPayload

type DebitUserWalletNotFound

type DebitUserWalletNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DebitUserWalletNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35141</td><td>Wallet [{walletId}] does not exist</td></tr></table>

func NewDebitUserWalletNotFound

func NewDebitUserWalletNotFound() *DebitUserWalletNotFound

NewDebitUserWalletNotFound creates a DebitUserWalletNotFound with default headers values

func (*DebitUserWalletNotFound) Error

func (o *DebitUserWalletNotFound) Error() string

func (*DebitUserWalletNotFound) GetPayload

type DebitUserWalletOK

type DebitUserWalletOK struct {
	Payload *platformclientmodels.WalletInfo
}

DebitUserWalletOK handles this case with default header values.

successful operation

func NewDebitUserWalletOK

func NewDebitUserWalletOK() *DebitUserWalletOK

NewDebitUserWalletOK creates a DebitUserWalletOK with default headers values

func (*DebitUserWalletOK) Error

func (o *DebitUserWalletOK) Error() string

func (*DebitUserWalletOK) GetPayload

type DebitUserWalletParams

type DebitUserWalletParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.DebitRequest
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string
	/*WalletID*/
	WalletID string

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

DebitUserWalletParams contains all the parameters to send to the API endpoint for the debit user wallet operation typically these are written to a http.Request

func NewDebitUserWalletParams

func NewDebitUserWalletParams() *DebitUserWalletParams

NewDebitUserWalletParams creates a new DebitUserWalletParams object with the default values initialized.

func NewDebitUserWalletParamsWithContext

func NewDebitUserWalletParamsWithContext(ctx context.Context) *DebitUserWalletParams

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

func NewDebitUserWalletParamsWithHTTPClient

func NewDebitUserWalletParamsWithHTTPClient(client *http.Client) *DebitUserWalletParams

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

func NewDebitUserWalletParamsWithTimeout

func NewDebitUserWalletParamsWithTimeout(timeout time.Duration) *DebitUserWalletParams

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

func (*DebitUserWalletParams) SetAuthInfoWriter added in v0.17.0

func (o *DebitUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the debit user wallet params

func (*DebitUserWalletParams) SetBody

SetBody adds the body to the debit user wallet params

func (*DebitUserWalletParams) SetContext

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

SetContext adds the context to the debit user wallet params

func (*DebitUserWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the debit user wallet params

func (*DebitUserWalletParams) SetHTTPClientTransport added in v0.19.0

func (o *DebitUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the debit user wallet params

func (*DebitUserWalletParams) SetNamespace

func (o *DebitUserWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the debit user wallet params

func (*DebitUserWalletParams) SetTimeout

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

SetTimeout adds the timeout to the debit user wallet params

func (*DebitUserWalletParams) SetUserID

func (o *DebitUserWalletParams) SetUserID(userID string)

SetUserID adds the userId to the debit user wallet params

func (*DebitUserWalletParams) SetWalletID

func (o *DebitUserWalletParams) SetWalletID(walletID string)

SetWalletID adds the walletId to the debit user wallet params

func (*DebitUserWalletParams) WithBody

WithBody adds the body to the debit user wallet params

func (*DebitUserWalletParams) WithContext

WithContext adds the context to the debit user wallet params

func (*DebitUserWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the debit user wallet params

func (*DebitUserWalletParams) WithNamespace

func (o *DebitUserWalletParams) WithNamespace(namespace string) *DebitUserWalletParams

WithNamespace adds the namespace to the debit user wallet params

func (*DebitUserWalletParams) WithTimeout

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

WithTimeout adds the timeout to the debit user wallet params

func (*DebitUserWalletParams) WithUserID

func (o *DebitUserWalletParams) WithUserID(userID string) *DebitUserWalletParams

WithUserID adds the userID to the debit user wallet params

func (*DebitUserWalletParams) WithWalletID

func (o *DebitUserWalletParams) WithWalletID(walletID string) *DebitUserWalletParams

WithWalletID adds the walletID to the debit user wallet params

func (*DebitUserWalletParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DebitUserWalletReader

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

DebitUserWalletReader is a Reader for the DebitUserWallet structure.

func (*DebitUserWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DebitUserWalletUnprocessableEntity

type DebitUserWalletUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

DebitUserWalletUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewDebitUserWalletUnprocessableEntity

func NewDebitUserWalletUnprocessableEntity() *DebitUserWalletUnprocessableEntity

NewDebitUserWalletUnprocessableEntity creates a DebitUserWalletUnprocessableEntity with default headers values

func (*DebitUserWalletUnprocessableEntity) Error

func (*DebitUserWalletUnprocessableEntity) GetPayload

type DisableUserWalletConflict

type DisableUserWalletConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

DisableUserWalletConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewDisableUserWalletConflict

func NewDisableUserWalletConflict() *DisableUserWalletConflict

NewDisableUserWalletConflict creates a DisableUserWalletConflict with default headers values

func (*DisableUserWalletConflict) Error

func (o *DisableUserWalletConflict) Error() string

func (*DisableUserWalletConflict) GetPayload

type DisableUserWalletNoContent added in v0.7.0

type DisableUserWalletNoContent struct {
}

DisableUserWalletNoContent handles this case with default header values.

Successful operation

func NewDisableUserWalletNoContent added in v0.7.0

func NewDisableUserWalletNoContent() *DisableUserWalletNoContent

NewDisableUserWalletNoContent creates a DisableUserWalletNoContent with default headers values

func (*DisableUserWalletNoContent) Error added in v0.7.0

type DisableUserWalletNotFound

type DisableUserWalletNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DisableUserWalletNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35141</td><td>Wallet [{walletId}] does not exist</td></tr></table>

func NewDisableUserWalletNotFound

func NewDisableUserWalletNotFound() *DisableUserWalletNotFound

NewDisableUserWalletNotFound creates a DisableUserWalletNotFound with default headers values

func (*DisableUserWalletNotFound) Error

func (o *DisableUserWalletNotFound) Error() string

func (*DisableUserWalletNotFound) GetPayload

type DisableUserWalletParams

type DisableUserWalletParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string
	/*WalletID
	  walletId

	*/
	WalletID string

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

DisableUserWalletParams contains all the parameters to send to the API endpoint for the disable user wallet operation typically these are written to a http.Request

func NewDisableUserWalletParams

func NewDisableUserWalletParams() *DisableUserWalletParams

NewDisableUserWalletParams creates a new DisableUserWalletParams object with the default values initialized.

func NewDisableUserWalletParamsWithContext

func NewDisableUserWalletParamsWithContext(ctx context.Context) *DisableUserWalletParams

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

func NewDisableUserWalletParamsWithHTTPClient

func NewDisableUserWalletParamsWithHTTPClient(client *http.Client) *DisableUserWalletParams

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

func NewDisableUserWalletParamsWithTimeout

func NewDisableUserWalletParamsWithTimeout(timeout time.Duration) *DisableUserWalletParams

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

func (*DisableUserWalletParams) SetAuthInfoWriter added in v0.17.0

func (o *DisableUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the disable user wallet params

func (*DisableUserWalletParams) SetContext

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

SetContext adds the context to the disable user wallet params

func (*DisableUserWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable user wallet params

func (*DisableUserWalletParams) SetHTTPClientTransport added in v0.19.0

func (o *DisableUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the disable user wallet params

func (*DisableUserWalletParams) SetNamespace

func (o *DisableUserWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the disable user wallet params

func (*DisableUserWalletParams) SetTimeout

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

SetTimeout adds the timeout to the disable user wallet params

func (*DisableUserWalletParams) SetUserID

func (o *DisableUserWalletParams) SetUserID(userID string)

SetUserID adds the userId to the disable user wallet params

func (*DisableUserWalletParams) SetWalletID

func (o *DisableUserWalletParams) SetWalletID(walletID string)

SetWalletID adds the walletId to the disable user wallet params

func (*DisableUserWalletParams) WithContext

WithContext adds the context to the disable user wallet params

func (*DisableUserWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the disable user wallet params

func (*DisableUserWalletParams) WithNamespace

func (o *DisableUserWalletParams) WithNamespace(namespace string) *DisableUserWalletParams

WithNamespace adds the namespace to the disable user wallet params

func (*DisableUserWalletParams) WithTimeout

WithTimeout adds the timeout to the disable user wallet params

func (*DisableUserWalletParams) WithUserID

WithUserID adds the userID to the disable user wallet params

func (*DisableUserWalletParams) WithWalletID

func (o *DisableUserWalletParams) WithWalletID(walletID string) *DisableUserWalletParams

WithWalletID adds the walletID to the disable user wallet params

func (*DisableUserWalletParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DisableUserWalletReader

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

DisableUserWalletReader is a Reader for the DisableUserWallet structure.

func (*DisableUserWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnableUserWalletConflict

type EnableUserWalletConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

EnableUserWalletConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewEnableUserWalletConflict

func NewEnableUserWalletConflict() *EnableUserWalletConflict

NewEnableUserWalletConflict creates a EnableUserWalletConflict with default headers values

func (*EnableUserWalletConflict) Error

func (o *EnableUserWalletConflict) Error() string

func (*EnableUserWalletConflict) GetPayload

type EnableUserWalletNoContent added in v0.7.0

type EnableUserWalletNoContent struct {
}

EnableUserWalletNoContent handles this case with default header values.

Successful operation

func NewEnableUserWalletNoContent added in v0.7.0

func NewEnableUserWalletNoContent() *EnableUserWalletNoContent

NewEnableUserWalletNoContent creates a EnableUserWalletNoContent with default headers values

func (*EnableUserWalletNoContent) Error added in v0.7.0

func (o *EnableUserWalletNoContent) Error() string

type EnableUserWalletNotFound

type EnableUserWalletNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

EnableUserWalletNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35141</td><td>Wallet [{walletId}] does not exist</td></tr></table>

func NewEnableUserWalletNotFound

func NewEnableUserWalletNotFound() *EnableUserWalletNotFound

NewEnableUserWalletNotFound creates a EnableUserWalletNotFound with default headers values

func (*EnableUserWalletNotFound) Error

func (o *EnableUserWalletNotFound) Error() string

func (*EnableUserWalletNotFound) GetPayload

type EnableUserWalletParams

type EnableUserWalletParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string
	/*WalletID
	  walletId

	*/
	WalletID string

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

EnableUserWalletParams contains all the parameters to send to the API endpoint for the enable user wallet operation typically these are written to a http.Request

func NewEnableUserWalletParams

func NewEnableUserWalletParams() *EnableUserWalletParams

NewEnableUserWalletParams creates a new EnableUserWalletParams object with the default values initialized.

func NewEnableUserWalletParamsWithContext

func NewEnableUserWalletParamsWithContext(ctx context.Context) *EnableUserWalletParams

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

func NewEnableUserWalletParamsWithHTTPClient

func NewEnableUserWalletParamsWithHTTPClient(client *http.Client) *EnableUserWalletParams

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

func NewEnableUserWalletParamsWithTimeout

func NewEnableUserWalletParamsWithTimeout(timeout time.Duration) *EnableUserWalletParams

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

func (*EnableUserWalletParams) SetAuthInfoWriter added in v0.17.0

func (o *EnableUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the enable user wallet params

func (*EnableUserWalletParams) SetContext

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

SetContext adds the context to the enable user wallet params

func (*EnableUserWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable user wallet params

func (*EnableUserWalletParams) SetHTTPClientTransport added in v0.19.0

func (o *EnableUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the enable user wallet params

func (*EnableUserWalletParams) SetNamespace

func (o *EnableUserWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the enable user wallet params

func (*EnableUserWalletParams) SetTimeout

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

SetTimeout adds the timeout to the enable user wallet params

func (*EnableUserWalletParams) SetUserID

func (o *EnableUserWalletParams) SetUserID(userID string)

SetUserID adds the userId to the enable user wallet params

func (*EnableUserWalletParams) SetWalletID

func (o *EnableUserWalletParams) SetWalletID(walletID string)

SetWalletID adds the walletId to the enable user wallet params

func (*EnableUserWalletParams) WithContext

WithContext adds the context to the enable user wallet params

func (*EnableUserWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enable user wallet params

func (*EnableUserWalletParams) WithNamespace

func (o *EnableUserWalletParams) WithNamespace(namespace string) *EnableUserWalletParams

WithNamespace adds the namespace to the enable user wallet params

func (*EnableUserWalletParams) WithTimeout

WithTimeout adds the timeout to the enable user wallet params

func (*EnableUserWalletParams) WithUserID

func (o *EnableUserWalletParams) WithUserID(userID string) *EnableUserWalletParams

WithUserID adds the userID to the enable user wallet params

func (*EnableUserWalletParams) WithWalletID

func (o *EnableUserWalletParams) WithWalletID(walletID string) *EnableUserWalletParams

WithWalletID adds the walletID to the enable user wallet params

func (*EnableUserWalletParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EnableUserWalletReader

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

EnableUserWalletReader is a Reader for the EnableUserWallet structure.

func (*EnableUserWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPlatformWalletConfigOK added in v0.18.0

type GetPlatformWalletConfigOK struct {
	Payload *platformclientmodels.PlatformWalletConfigInfo
}

GetPlatformWalletConfigOK handles this case with default header values.

successful operation

func NewGetPlatformWalletConfigOK added in v0.18.0

func NewGetPlatformWalletConfigOK() *GetPlatformWalletConfigOK

NewGetPlatformWalletConfigOK creates a GetPlatformWalletConfigOK with default headers values

func (*GetPlatformWalletConfigOK) Error added in v0.18.0

func (o *GetPlatformWalletConfigOK) Error() string

func (*GetPlatformWalletConfigOK) GetPayload added in v0.18.0

type GetPlatformWalletConfigParams added in v0.18.0

type GetPlatformWalletConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Platform*/
	Platform string

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

GetPlatformWalletConfigParams contains all the parameters to send to the API endpoint for the get platform wallet config operation typically these are written to a http.Request

func NewGetPlatformWalletConfigParams added in v0.18.0

func NewGetPlatformWalletConfigParams() *GetPlatformWalletConfigParams

NewGetPlatformWalletConfigParams creates a new GetPlatformWalletConfigParams object with the default values initialized.

func NewGetPlatformWalletConfigParamsWithContext added in v0.18.0

func NewGetPlatformWalletConfigParamsWithContext(ctx context.Context) *GetPlatformWalletConfigParams

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

func NewGetPlatformWalletConfigParamsWithHTTPClient added in v0.18.0

func NewGetPlatformWalletConfigParamsWithHTTPClient(client *http.Client) *GetPlatformWalletConfigParams

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

func NewGetPlatformWalletConfigParamsWithTimeout added in v0.18.0

func NewGetPlatformWalletConfigParamsWithTimeout(timeout time.Duration) *GetPlatformWalletConfigParams

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

func (*GetPlatformWalletConfigParams) SetAuthInfoWriter added in v0.18.0

func (o *GetPlatformWalletConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get platform wallet config params

func (*GetPlatformWalletConfigParams) SetContext added in v0.18.0

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

SetContext adds the context to the get platform wallet config params

func (*GetPlatformWalletConfigParams) SetHTTPClient added in v0.18.0

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

SetHTTPClient adds the HTTPClient to the get platform wallet config params

func (*GetPlatformWalletConfigParams) SetHTTPClientTransport added in v0.19.0

func (o *GetPlatformWalletConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get platform wallet config params

func (*GetPlatformWalletConfigParams) SetNamespace added in v0.18.0

func (o *GetPlatformWalletConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get platform wallet config params

func (*GetPlatformWalletConfigParams) SetPlatform added in v0.18.0

func (o *GetPlatformWalletConfigParams) SetPlatform(platform string)

SetPlatform adds the platform to the get platform wallet config params

func (*GetPlatformWalletConfigParams) SetTimeout added in v0.18.0

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

SetTimeout adds the timeout to the get platform wallet config params

func (*GetPlatformWalletConfigParams) WithContext added in v0.18.0

WithContext adds the context to the get platform wallet config params

func (*GetPlatformWalletConfigParams) WithHTTPClient added in v0.18.0

WithHTTPClient adds the HTTPClient to the get platform wallet config params

func (*GetPlatformWalletConfigParams) WithNamespace added in v0.18.0

WithNamespace adds the namespace to the get platform wallet config params

func (*GetPlatformWalletConfigParams) WithPlatform added in v0.18.0

WithPlatform adds the platform to the get platform wallet config params

func (*GetPlatformWalletConfigParams) WithTimeout added in v0.18.0

WithTimeout adds the timeout to the get platform wallet config params

func (*GetPlatformWalletConfigParams) WriteToRequest added in v0.18.0

WriteToRequest writes these params to a swagger request

type GetPlatformWalletConfigReader added in v0.18.0

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

GetPlatformWalletConfigReader is a Reader for the GetPlatformWalletConfig structure.

func (*GetPlatformWalletConfigReader) ReadResponse added in v0.18.0

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

ReadResponse reads a server response into the received o.

type GetUserWalletNotFound

type GetUserWalletNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetUserWalletNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35141</td><td>Wallet [{walletId}] does not exist</td></tr></table>

func NewGetUserWalletNotFound

func NewGetUserWalletNotFound() *GetUserWalletNotFound

NewGetUserWalletNotFound creates a GetUserWalletNotFound with default headers values

func (*GetUserWalletNotFound) Error

func (o *GetUserWalletNotFound) Error() string

func (*GetUserWalletNotFound) GetPayload

type GetUserWalletOK

type GetUserWalletOK struct {
	Payload *platformclientmodels.WalletInfo
}

GetUserWalletOK handles this case with default header values.

successful operation

func NewGetUserWalletOK

func NewGetUserWalletOK() *GetUserWalletOK

NewGetUserWalletOK creates a GetUserWalletOK with default headers values

func (*GetUserWalletOK) Error

func (o *GetUserWalletOK) Error() string

func (*GetUserWalletOK) GetPayload

type GetUserWalletParams

type GetUserWalletParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string
	/*WalletID*/
	WalletID string

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

GetUserWalletParams contains all the parameters to send to the API endpoint for the get user wallet operation typically these are written to a http.Request

func NewGetUserWalletParams

func NewGetUserWalletParams() *GetUserWalletParams

NewGetUserWalletParams creates a new GetUserWalletParams object with the default values initialized.

func NewGetUserWalletParamsWithContext

func NewGetUserWalletParamsWithContext(ctx context.Context) *GetUserWalletParams

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

func NewGetUserWalletParamsWithHTTPClient

func NewGetUserWalletParamsWithHTTPClient(client *http.Client) *GetUserWalletParams

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

func NewGetUserWalletParamsWithTimeout

func NewGetUserWalletParamsWithTimeout(timeout time.Duration) *GetUserWalletParams

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

func (*GetUserWalletParams) SetAuthInfoWriter added in v0.17.0

func (o *GetUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user wallet params

func (*GetUserWalletParams) SetContext

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

SetContext adds the context to the get user wallet params

func (*GetUserWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user wallet params

func (*GetUserWalletParams) SetHTTPClientTransport added in v0.19.0

func (o *GetUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get user wallet params

func (*GetUserWalletParams) SetNamespace

func (o *GetUserWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user wallet params

func (*GetUserWalletParams) SetTimeout

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

SetTimeout adds the timeout to the get user wallet params

func (*GetUserWalletParams) SetUserID

func (o *GetUserWalletParams) SetUserID(userID string)

SetUserID adds the userId to the get user wallet params

func (*GetUserWalletParams) SetWalletID

func (o *GetUserWalletParams) SetWalletID(walletID string)

SetWalletID adds the walletId to the get user wallet params

func (*GetUserWalletParams) WithContext

WithContext adds the context to the get user wallet params

func (*GetUserWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user wallet params

func (*GetUserWalletParams) WithNamespace

func (o *GetUserWalletParams) WithNamespace(namespace string) *GetUserWalletParams

WithNamespace adds the namespace to the get user wallet params

func (*GetUserWalletParams) WithTimeout

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

WithTimeout adds the timeout to the get user wallet params

func (*GetUserWalletParams) WithUserID

func (o *GetUserWalletParams) WithUserID(userID string) *GetUserWalletParams

WithUserID adds the userID to the get user wallet params

func (*GetUserWalletParams) WithWalletID

func (o *GetUserWalletParams) WithWalletID(walletID string) *GetUserWalletParams

WithWalletID adds the walletID to the get user wallet params

func (*GetUserWalletParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserWalletReader

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

GetUserWalletReader is a Reader for the GetUserWallet structure.

func (*GetUserWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWalletNotFound

type GetWalletNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetWalletNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35141</td><td>Wallet [{walletId}] does not exist</td></tr></table>

func NewGetWalletNotFound

func NewGetWalletNotFound() *GetWalletNotFound

NewGetWalletNotFound creates a GetWalletNotFound with default headers values

func (*GetWalletNotFound) Error

func (o *GetWalletNotFound) Error() string

func (*GetWalletNotFound) GetPayload

type GetWalletOK

type GetWalletOK struct {
	Payload *platformclientmodels.WalletInfo
}

GetWalletOK handles this case with default header values.

successful operation

func NewGetWalletOK

func NewGetWalletOK() *GetWalletOK

NewGetWalletOK creates a GetWalletOK with default headers values

func (*GetWalletOK) Error

func (o *GetWalletOK) Error() string

func (*GetWalletOK) GetPayload

func (o *GetWalletOK) GetPayload() *platformclientmodels.WalletInfo

type GetWalletParams

type GetWalletParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*WalletID*/
	WalletID string

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

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

func NewGetWalletParams

func NewGetWalletParams() *GetWalletParams

NewGetWalletParams creates a new GetWalletParams object with the default values initialized.

func NewGetWalletParamsWithContext

func NewGetWalletParamsWithContext(ctx context.Context) *GetWalletParams

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

func NewGetWalletParamsWithHTTPClient

func NewGetWalletParamsWithHTTPClient(client *http.Client) *GetWalletParams

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

func NewGetWalletParamsWithTimeout

func NewGetWalletParamsWithTimeout(timeout time.Duration) *GetWalletParams

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

func (*GetWalletParams) SetAuthInfoWriter added in v0.17.0

func (o *GetWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get wallet params

func (*GetWalletParams) SetContext

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

SetContext adds the context to the get wallet params

func (*GetWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get wallet params

func (*GetWalletParams) SetHTTPClientTransport added in v0.19.0

func (o *GetWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get wallet params

func (*GetWalletParams) SetNamespace

func (o *GetWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get wallet params

func (*GetWalletParams) SetTimeout

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

SetTimeout adds the timeout to the get wallet params

func (*GetWalletParams) SetWalletID

func (o *GetWalletParams) SetWalletID(walletID string)

SetWalletID adds the walletId to the get wallet params

func (*GetWalletParams) WithContext

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

WithContext adds the context to the get wallet params

func (*GetWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get wallet params

func (*GetWalletParams) WithNamespace

func (o *GetWalletParams) WithNamespace(namespace string) *GetWalletParams

WithNamespace adds the namespace to the get wallet params

func (*GetWalletParams) WithTimeout

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

WithTimeout adds the timeout to the get wallet params

func (*GetWalletParams) WithWalletID

func (o *GetWalletParams) WithWalletID(walletID string) *GetWalletParams

WithWalletID adds the walletID to the get wallet params

func (*GetWalletParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetWalletReader

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

GetWalletReader is a Reader for the GetWallet structure.

func (*GetWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserCurrencyTransactionsNotFound added in v0.18.0

type ListUserCurrencyTransactionsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ListUserCurrencyTransactionsNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35141</td><td>Wallet [{walletId}] does not exist</td></tr></table>

func NewListUserCurrencyTransactionsNotFound added in v0.18.0

func NewListUserCurrencyTransactionsNotFound() *ListUserCurrencyTransactionsNotFound

NewListUserCurrencyTransactionsNotFound creates a ListUserCurrencyTransactionsNotFound with default headers values

func (*ListUserCurrencyTransactionsNotFound) Error added in v0.18.0

func (*ListUserCurrencyTransactionsNotFound) GetPayload added in v0.18.0

type ListUserCurrencyTransactionsOK added in v0.18.0

type ListUserCurrencyTransactionsOK struct {
	Payload *platformclientmodels.WalletTransactionPagingSlicedResult
}

ListUserCurrencyTransactionsOK handles this case with default header values.

successful operation

func NewListUserCurrencyTransactionsOK added in v0.18.0

func NewListUserCurrencyTransactionsOK() *ListUserCurrencyTransactionsOK

NewListUserCurrencyTransactionsOK creates a ListUserCurrencyTransactionsOK with default headers values

func (*ListUserCurrencyTransactionsOK) Error added in v0.18.0

func (*ListUserCurrencyTransactionsOK) GetPayload added in v0.18.0

type ListUserCurrencyTransactionsParams added in v0.18.0

type ListUserCurrencyTransactionsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CurrencyCode
	  currencyCode

	*/
	CurrencyCode string
	/*Limit*/
	Limit *int32
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*UserID
	  userId

	*/
	UserID string

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

ListUserCurrencyTransactionsParams contains all the parameters to send to the API endpoint for the list user currency transactions operation typically these are written to a http.Request

func NewListUserCurrencyTransactionsParams added in v0.18.0

func NewListUserCurrencyTransactionsParams() *ListUserCurrencyTransactionsParams

NewListUserCurrencyTransactionsParams creates a new ListUserCurrencyTransactionsParams object with the default values initialized.

func NewListUserCurrencyTransactionsParamsWithContext added in v0.18.0

func NewListUserCurrencyTransactionsParamsWithContext(ctx context.Context) *ListUserCurrencyTransactionsParams

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

func NewListUserCurrencyTransactionsParamsWithHTTPClient added in v0.18.0

func NewListUserCurrencyTransactionsParamsWithHTTPClient(client *http.Client) *ListUserCurrencyTransactionsParams

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

func NewListUserCurrencyTransactionsParamsWithTimeout added in v0.18.0

func NewListUserCurrencyTransactionsParamsWithTimeout(timeout time.Duration) *ListUserCurrencyTransactionsParams

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

func (*ListUserCurrencyTransactionsParams) SetAuthInfoWriter added in v0.18.0

func (o *ListUserCurrencyTransactionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetContext added in v0.18.0

SetContext adds the context to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetCurrencyCode added in v0.18.0

func (o *ListUserCurrencyTransactionsParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetHTTPClient added in v0.18.0

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

SetHTTPClient adds the HTTPClient to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetHTTPClientTransport added in v0.19.0

func (o *ListUserCurrencyTransactionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetLimit added in v0.18.0

func (o *ListUserCurrencyTransactionsParams) SetLimit(limit *int32)

SetLimit adds the limit to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetNamespace added in v0.18.0

func (o *ListUserCurrencyTransactionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetOffset added in v0.18.0

func (o *ListUserCurrencyTransactionsParams) SetOffset(offset *int32)

SetOffset adds the offset to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetTimeout added in v0.18.0

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

SetTimeout adds the timeout to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetUserID added in v0.18.0

func (o *ListUserCurrencyTransactionsParams) SetUserID(userID string)

SetUserID adds the userId to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithContext added in v0.18.0

WithContext adds the context to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithCurrencyCode added in v0.18.0

WithCurrencyCode adds the currencyCode to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithHTTPClient added in v0.18.0

WithHTTPClient adds the HTTPClient to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithLimit added in v0.18.0

WithLimit adds the limit to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithNamespace added in v0.18.0

WithNamespace adds the namespace to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithOffset added in v0.18.0

WithOffset adds the offset to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithTimeout added in v0.18.0

WithTimeout adds the timeout to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithUserID added in v0.18.0

WithUserID adds the userID to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WriteToRequest added in v0.18.0

WriteToRequest writes these params to a swagger request

type ListUserCurrencyTransactionsReader added in v0.18.0

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

ListUserCurrencyTransactionsReader is a Reader for the ListUserCurrencyTransactions structure.

func (*ListUserCurrencyTransactionsReader) ReadResponse added in v0.18.0

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

ReadResponse reads a server response into the received o.

type ListUserWalletTransactionsNotFound

type ListUserWalletTransactionsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ListUserWalletTransactionsNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35141</td><td>Wallet [{walletId}] does not exist</td></tr></table>

func NewListUserWalletTransactionsNotFound

func NewListUserWalletTransactionsNotFound() *ListUserWalletTransactionsNotFound

NewListUserWalletTransactionsNotFound creates a ListUserWalletTransactionsNotFound with default headers values

func (*ListUserWalletTransactionsNotFound) Error

func (*ListUserWalletTransactionsNotFound) GetPayload

type ListUserWalletTransactionsOK

type ListUserWalletTransactionsOK struct {
	Payload *platformclientmodels.DetailedWalletTransactionPagingSlicedResult
}

ListUserWalletTransactionsOK handles this case with default header values.

successful operation

func NewListUserWalletTransactionsOK

func NewListUserWalletTransactionsOK() *ListUserWalletTransactionsOK

NewListUserWalletTransactionsOK creates a ListUserWalletTransactionsOK with default headers values

func (*ListUserWalletTransactionsOK) Error

type ListUserWalletTransactionsParams

type ListUserWalletTransactionsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Limit*/
	Limit *int32
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*UserID
	  userId

	*/
	UserID string
	/*WalletID
	  walletId

	*/
	WalletID string

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

ListUserWalletTransactionsParams contains all the parameters to send to the API endpoint for the list user wallet transactions operation typically these are written to a http.Request

func NewListUserWalletTransactionsParams

func NewListUserWalletTransactionsParams() *ListUserWalletTransactionsParams

NewListUserWalletTransactionsParams creates a new ListUserWalletTransactionsParams object with the default values initialized.

func NewListUserWalletTransactionsParamsWithContext

func NewListUserWalletTransactionsParamsWithContext(ctx context.Context) *ListUserWalletTransactionsParams

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

func NewListUserWalletTransactionsParamsWithHTTPClient

func NewListUserWalletTransactionsParamsWithHTTPClient(client *http.Client) *ListUserWalletTransactionsParams

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

func NewListUserWalletTransactionsParamsWithTimeout

func NewListUserWalletTransactionsParamsWithTimeout(timeout time.Duration) *ListUserWalletTransactionsParams

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

func (*ListUserWalletTransactionsParams) SetAuthInfoWriter added in v0.17.0

func (o *ListUserWalletTransactionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetContext

SetContext adds the context to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetHTTPClientTransport added in v0.19.0

func (o *ListUserWalletTransactionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetLimit

func (o *ListUserWalletTransactionsParams) SetLimit(limit *int32)

SetLimit adds the limit to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetNamespace

func (o *ListUserWalletTransactionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetOffset

func (o *ListUserWalletTransactionsParams) SetOffset(offset *int32)

SetOffset adds the offset to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetTimeout

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

SetTimeout adds the timeout to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetUserID

func (o *ListUserWalletTransactionsParams) SetUserID(userID string)

SetUserID adds the userId to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetWalletID

func (o *ListUserWalletTransactionsParams) SetWalletID(walletID string)

SetWalletID adds the walletId to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithContext

WithContext adds the context to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithLimit

WithLimit adds the limit to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithNamespace

WithNamespace adds the namespace to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithOffset

WithOffset adds the offset to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithTimeout

WithTimeout adds the timeout to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithUserID

WithUserID adds the userID to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithWalletID

WithWalletID adds the walletID to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListUserWalletTransactionsReader

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

ListUserWalletTransactionsReader is a Reader for the ListUserWalletTransactions structure.

func (*ListUserWalletTransactionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PayWithUserWalletBadRequest

type PayWithUserWalletBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

PayWithUserWalletBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr><tr><td>35124</td><td>Wallet [{currencyCode}] has insufficient balance</td></tr></table>

func NewPayWithUserWalletBadRequest

func NewPayWithUserWalletBadRequest() *PayWithUserWalletBadRequest

NewPayWithUserWalletBadRequest creates a PayWithUserWalletBadRequest with default headers values

func (*PayWithUserWalletBadRequest) Error

func (*PayWithUserWalletBadRequest) GetPayload

type PayWithUserWalletOK

type PayWithUserWalletOK struct {
	Payload *platformclientmodels.PlatformWallet
}

PayWithUserWalletOK handles this case with default header values.

successful operation

func NewPayWithUserWalletOK

func NewPayWithUserWalletOK() *PayWithUserWalletOK

NewPayWithUserWalletOK creates a PayWithUserWalletOK with default headers values

func (*PayWithUserWalletOK) Error

func (o *PayWithUserWalletOK) Error() string

func (*PayWithUserWalletOK) GetPayload

type PayWithUserWalletParams

type PayWithUserWalletParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.PaymentRequest
	/*CurrencyCode*/
	CurrencyCode string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string

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

PayWithUserWalletParams contains all the parameters to send to the API endpoint for the pay with user wallet operation typically these are written to a http.Request

func NewPayWithUserWalletParams

func NewPayWithUserWalletParams() *PayWithUserWalletParams

NewPayWithUserWalletParams creates a new PayWithUserWalletParams object with the default values initialized.

func NewPayWithUserWalletParamsWithContext

func NewPayWithUserWalletParamsWithContext(ctx context.Context) *PayWithUserWalletParams

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

func NewPayWithUserWalletParamsWithHTTPClient

func NewPayWithUserWalletParamsWithHTTPClient(client *http.Client) *PayWithUserWalletParams

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

func NewPayWithUserWalletParamsWithTimeout

func NewPayWithUserWalletParamsWithTimeout(timeout time.Duration) *PayWithUserWalletParams

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

func (*PayWithUserWalletParams) SetAuthInfoWriter added in v0.17.0

func (o *PayWithUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the pay with user wallet params

func (*PayWithUserWalletParams) SetBody

SetBody adds the body to the pay with user wallet params

func (*PayWithUserWalletParams) SetContext

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

SetContext adds the context to the pay with user wallet params

func (*PayWithUserWalletParams) SetCurrencyCode

func (o *PayWithUserWalletParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the pay with user wallet params

func (*PayWithUserWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pay with user wallet params

func (*PayWithUserWalletParams) SetHTTPClientTransport added in v0.19.0

func (o *PayWithUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the pay with user wallet params

func (*PayWithUserWalletParams) SetNamespace

func (o *PayWithUserWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the pay with user wallet params

func (*PayWithUserWalletParams) SetTimeout

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

SetTimeout adds the timeout to the pay with user wallet params

func (*PayWithUserWalletParams) SetUserID

func (o *PayWithUserWalletParams) SetUserID(userID string)

SetUserID adds the userId to the pay with user wallet params

func (*PayWithUserWalletParams) WithBody

WithBody adds the body to the pay with user wallet params

func (*PayWithUserWalletParams) WithContext

WithContext adds the context to the pay with user wallet params

func (*PayWithUserWalletParams) WithCurrencyCode

func (o *PayWithUserWalletParams) WithCurrencyCode(currencyCode string) *PayWithUserWalletParams

WithCurrencyCode adds the currencyCode to the pay with user wallet params

func (*PayWithUserWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pay with user wallet params

func (*PayWithUserWalletParams) WithNamespace

func (o *PayWithUserWalletParams) WithNamespace(namespace string) *PayWithUserWalletParams

WithNamespace adds the namespace to the pay with user wallet params

func (*PayWithUserWalletParams) WithTimeout

WithTimeout adds the timeout to the pay with user wallet params

func (*PayWithUserWalletParams) WithUserID

WithUserID adds the userID to the pay with user wallet params

func (*PayWithUserWalletParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PayWithUserWalletReader

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

PayWithUserWalletReader is a Reader for the PayWithUserWallet structure.

func (*PayWithUserWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PayWithUserWalletUnprocessableEntity

type PayWithUserWalletUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

PayWithUserWalletUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewPayWithUserWalletUnprocessableEntity

func NewPayWithUserWalletUnprocessableEntity() *PayWithUserWalletUnprocessableEntity

NewPayWithUserWalletUnprocessableEntity creates a PayWithUserWalletUnprocessableEntity with default headers values

func (*PayWithUserWalletUnprocessableEntity) Error

func (*PayWithUserWalletUnprocessableEntity) GetPayload

type PublicGetMyWalletOK

type PublicGetMyWalletOK struct {
	Payload *platformclientmodels.PlatformWallet
}

PublicGetMyWalletOK handles this case with default header values.

successful operation

func NewPublicGetMyWalletOK

func NewPublicGetMyWalletOK() *PublicGetMyWalletOK

NewPublicGetMyWalletOK creates a PublicGetMyWalletOK with default headers values

func (*PublicGetMyWalletOK) Error

func (o *PublicGetMyWalletOK) Error() string

func (*PublicGetMyWalletOK) GetPayload

type PublicGetMyWalletParams

type PublicGetMyWalletParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CurrencyCode*/
	CurrencyCode string
	/*Namespace
	  Namespace

	*/
	Namespace string

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

PublicGetMyWalletParams contains all the parameters to send to the API endpoint for the public get my wallet operation typically these are written to a http.Request

func NewPublicGetMyWalletParams

func NewPublicGetMyWalletParams() *PublicGetMyWalletParams

NewPublicGetMyWalletParams creates a new PublicGetMyWalletParams object with the default values initialized.

func NewPublicGetMyWalletParamsWithContext

func NewPublicGetMyWalletParamsWithContext(ctx context.Context) *PublicGetMyWalletParams

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

func NewPublicGetMyWalletParamsWithHTTPClient

func NewPublicGetMyWalletParamsWithHTTPClient(client *http.Client) *PublicGetMyWalletParams

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

func NewPublicGetMyWalletParamsWithTimeout

func NewPublicGetMyWalletParamsWithTimeout(timeout time.Duration) *PublicGetMyWalletParams

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

func (*PublicGetMyWalletParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetMyWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get my wallet params

func (*PublicGetMyWalletParams) SetContext

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

SetContext adds the context to the public get my wallet params

func (*PublicGetMyWalletParams) SetCurrencyCode

func (o *PublicGetMyWalletParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the public get my wallet params

func (*PublicGetMyWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get my wallet params

func (*PublicGetMyWalletParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetMyWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get my wallet params

func (*PublicGetMyWalletParams) SetNamespace

func (o *PublicGetMyWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get my wallet params

func (*PublicGetMyWalletParams) SetTimeout

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

SetTimeout adds the timeout to the public get my wallet params

func (*PublicGetMyWalletParams) WithContext

WithContext adds the context to the public get my wallet params

func (*PublicGetMyWalletParams) WithCurrencyCode

func (o *PublicGetMyWalletParams) WithCurrencyCode(currencyCode string) *PublicGetMyWalletParams

WithCurrencyCode adds the currencyCode to the public get my wallet params

func (*PublicGetMyWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public get my wallet params

func (*PublicGetMyWalletParams) WithNamespace

func (o *PublicGetMyWalletParams) WithNamespace(namespace string) *PublicGetMyWalletParams

WithNamespace adds the namespace to the public get my wallet params

func (*PublicGetMyWalletParams) WithTimeout

WithTimeout adds the timeout to the public get my wallet params

func (*PublicGetMyWalletParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetMyWalletReader

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

PublicGetMyWalletReader is a Reader for the PublicGetMyWallet structure.

func (*PublicGetMyWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetWalletOK

type PublicGetWalletOK struct {
	Payload *platformclientmodels.PlatformWallet
}

PublicGetWalletOK handles this case with default header values.

successful operation

func NewPublicGetWalletOK

func NewPublicGetWalletOK() *PublicGetWalletOK

NewPublicGetWalletOK creates a PublicGetWalletOK with default headers values

func (*PublicGetWalletOK) Error

func (o *PublicGetWalletOK) Error() string

func (*PublicGetWalletOK) GetPayload

type PublicGetWalletParams

type PublicGetWalletParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CurrencyCode*/
	CurrencyCode string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string

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

PublicGetWalletParams contains all the parameters to send to the API endpoint for the public get wallet operation typically these are written to a http.Request

func NewPublicGetWalletParams

func NewPublicGetWalletParams() *PublicGetWalletParams

NewPublicGetWalletParams creates a new PublicGetWalletParams object with the default values initialized.

func NewPublicGetWalletParamsWithContext

func NewPublicGetWalletParamsWithContext(ctx context.Context) *PublicGetWalletParams

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

func NewPublicGetWalletParamsWithHTTPClient

func NewPublicGetWalletParamsWithHTTPClient(client *http.Client) *PublicGetWalletParams

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

func NewPublicGetWalletParamsWithTimeout

func NewPublicGetWalletParamsWithTimeout(timeout time.Duration) *PublicGetWalletParams

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

func (*PublicGetWalletParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get wallet params

func (*PublicGetWalletParams) SetContext

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

SetContext adds the context to the public get wallet params

func (*PublicGetWalletParams) SetCurrencyCode

func (o *PublicGetWalletParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the public get wallet params

func (*PublicGetWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get wallet params

func (*PublicGetWalletParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get wallet params

func (*PublicGetWalletParams) SetNamespace

func (o *PublicGetWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get wallet params

func (*PublicGetWalletParams) SetTimeout

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

SetTimeout adds the timeout to the public get wallet params

func (*PublicGetWalletParams) SetUserID

func (o *PublicGetWalletParams) SetUserID(userID string)

SetUserID adds the userId to the public get wallet params

func (*PublicGetWalletParams) WithContext

WithContext adds the context to the public get wallet params

func (*PublicGetWalletParams) WithCurrencyCode

func (o *PublicGetWalletParams) WithCurrencyCode(currencyCode string) *PublicGetWalletParams

WithCurrencyCode adds the currencyCode to the public get wallet params

func (*PublicGetWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public get wallet params

func (*PublicGetWalletParams) WithNamespace

func (o *PublicGetWalletParams) WithNamespace(namespace string) *PublicGetWalletParams

WithNamespace adds the namespace to the public get wallet params

func (*PublicGetWalletParams) WithTimeout

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

WithTimeout adds the timeout to the public get wallet params

func (*PublicGetWalletParams) WithUserID

func (o *PublicGetWalletParams) WithUserID(userID string) *PublicGetWalletParams

WithUserID adds the userID to the public get wallet params

func (*PublicGetWalletParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PublicGetWalletReader

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

PublicGetWalletReader is a Reader for the PublicGetWallet structure.

func (*PublicGetWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListUserWalletTransactionsOK

type PublicListUserWalletTransactionsOK struct {
	Payload *platformclientmodels.WalletTransactionPagingSlicedResult
}

PublicListUserWalletTransactionsOK handles this case with default header values.

successful operation

func NewPublicListUserWalletTransactionsOK

func NewPublicListUserWalletTransactionsOK() *PublicListUserWalletTransactionsOK

NewPublicListUserWalletTransactionsOK creates a PublicListUserWalletTransactionsOK with default headers values

func (*PublicListUserWalletTransactionsOK) Error

func (*PublicListUserWalletTransactionsOK) GetPayload

type PublicListUserWalletTransactionsParams

type PublicListUserWalletTransactionsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CurrencyCode
	  currencyCode

	*/
	CurrencyCode string
	/*Limit*/
	Limit *int32
	/*Namespace
	  namespace

	*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*UserID
	  userId

	*/
	UserID string

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

PublicListUserWalletTransactionsParams contains all the parameters to send to the API endpoint for the public list user wallet transactions operation typically these are written to a http.Request

func NewPublicListUserWalletTransactionsParams

func NewPublicListUserWalletTransactionsParams() *PublicListUserWalletTransactionsParams

NewPublicListUserWalletTransactionsParams creates a new PublicListUserWalletTransactionsParams object with the default values initialized.

func NewPublicListUserWalletTransactionsParamsWithContext

func NewPublicListUserWalletTransactionsParamsWithContext(ctx context.Context) *PublicListUserWalletTransactionsParams

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

func NewPublicListUserWalletTransactionsParamsWithHTTPClient

func NewPublicListUserWalletTransactionsParamsWithHTTPClient(client *http.Client) *PublicListUserWalletTransactionsParams

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

func NewPublicListUserWalletTransactionsParamsWithTimeout

func NewPublicListUserWalletTransactionsParamsWithTimeout(timeout time.Duration) *PublicListUserWalletTransactionsParams

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

func (*PublicListUserWalletTransactionsParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicListUserWalletTransactionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) SetContext

SetContext adds the context to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) SetCurrencyCode

func (o *PublicListUserWalletTransactionsParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicListUserWalletTransactionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) SetLimit

func (o *PublicListUserWalletTransactionsParams) SetLimit(limit *int32)

SetLimit adds the limit to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) SetNamespace

func (o *PublicListUserWalletTransactionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) SetOffset

func (o *PublicListUserWalletTransactionsParams) SetOffset(offset *int32)

SetOffset adds the offset to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) SetTimeout

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

SetTimeout adds the timeout to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) SetUserID

func (o *PublicListUserWalletTransactionsParams) SetUserID(userID string)

SetUserID adds the userId to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) WithContext

WithContext adds the context to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) WithCurrencyCode

WithCurrencyCode adds the currencyCode to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) WithLimit

WithLimit adds the limit to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) WithNamespace

WithNamespace adds the namespace to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) WithOffset

WithOffset adds the offset to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) WithTimeout

WithTimeout adds the timeout to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) WithUserID

WithUserID adds the userID to the public list user wallet transactions params

func (*PublicListUserWalletTransactionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListUserWalletTransactionsReader

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

PublicListUserWalletTransactionsReader is a Reader for the PublicListUserWalletTransactions structure.

func (*PublicListUserWalletTransactionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryUserCurrencyWalletsOK added in v0.18.0

type QueryUserCurrencyWalletsOK struct {
	Payload []*platformclientmodels.CurrencyWallet
}

QueryUserCurrencyWalletsOK handles this case with default header values.

successful operation

func NewQueryUserCurrencyWalletsOK added in v0.18.0

func NewQueryUserCurrencyWalletsOK() *QueryUserCurrencyWalletsOK

NewQueryUserCurrencyWalletsOK creates a QueryUserCurrencyWalletsOK with default headers values

func (*QueryUserCurrencyWalletsOK) Error added in v0.18.0

func (*QueryUserCurrencyWalletsOK) GetPayload added in v0.18.0

type QueryUserCurrencyWalletsParams added in v0.18.0

type QueryUserCurrencyWalletsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string

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

QueryUserCurrencyWalletsParams contains all the parameters to send to the API endpoint for the query user currency wallets operation typically these are written to a http.Request

func NewQueryUserCurrencyWalletsParams added in v0.18.0

func NewQueryUserCurrencyWalletsParams() *QueryUserCurrencyWalletsParams

NewQueryUserCurrencyWalletsParams creates a new QueryUserCurrencyWalletsParams object with the default values initialized.

func NewQueryUserCurrencyWalletsParamsWithContext added in v0.18.0

func NewQueryUserCurrencyWalletsParamsWithContext(ctx context.Context) *QueryUserCurrencyWalletsParams

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

func NewQueryUserCurrencyWalletsParamsWithHTTPClient added in v0.18.0

func NewQueryUserCurrencyWalletsParamsWithHTTPClient(client *http.Client) *QueryUserCurrencyWalletsParams

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

func NewQueryUserCurrencyWalletsParamsWithTimeout added in v0.18.0

func NewQueryUserCurrencyWalletsParamsWithTimeout(timeout time.Duration) *QueryUserCurrencyWalletsParams

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

func (*QueryUserCurrencyWalletsParams) SetAuthInfoWriter added in v0.18.0

func (o *QueryUserCurrencyWalletsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) SetContext added in v0.18.0

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

SetContext adds the context to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) SetHTTPClient added in v0.18.0

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

SetHTTPClient adds the HTTPClient to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) SetHTTPClientTransport added in v0.19.0

func (o *QueryUserCurrencyWalletsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) SetNamespace added in v0.18.0

func (o *QueryUserCurrencyWalletsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) SetTimeout added in v0.18.0

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

SetTimeout adds the timeout to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) SetUserID added in v0.18.0

func (o *QueryUserCurrencyWalletsParams) SetUserID(userID string)

SetUserID adds the userId to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) WithContext added in v0.18.0

WithContext adds the context to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) WithHTTPClient added in v0.18.0

WithHTTPClient adds the HTTPClient to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) WithNamespace added in v0.18.0

WithNamespace adds the namespace to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) WithTimeout added in v0.18.0

WithTimeout adds the timeout to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) WithUserID added in v0.18.0

WithUserID adds the userID to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) WriteToRequest added in v0.18.0

WriteToRequest writes these params to a swagger request

type QueryUserCurrencyWalletsReader added in v0.18.0

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

QueryUserCurrencyWalletsReader is a Reader for the QueryUserCurrencyWallets structure.

func (*QueryUserCurrencyWalletsReader) ReadResponse added in v0.18.0

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

ReadResponse reads a server response into the received o.

type QueryWalletsOK

type QueryWalletsOK struct {
	Payload *platformclientmodels.WalletPagingSlicedResult
}

QueryWalletsOK handles this case with default header values.

successful operation

func NewQueryWalletsOK

func NewQueryWalletsOK() *QueryWalletsOK

NewQueryWalletsOK creates a QueryWalletsOK with default headers values

func (*QueryWalletsOK) Error

func (o *QueryWalletsOK) Error() string

func (*QueryWalletsOK) GetPayload

type QueryWalletsParams

type QueryWalletsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CurrencyCode
	  currencyCode

	*/
	CurrencyCode *string
	/*Limit*/
	Limit *int32
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Offset*/
	Offset *int32
	/*Origin
	  balance origin

	*/
	Origin *string
	/*UserID
	  userId

	*/
	UserID *string

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

QueryWalletsParams contains all the parameters to send to the API endpoint for the query wallets operation typically these are written to a http.Request

func NewQueryWalletsParams

func NewQueryWalletsParams() *QueryWalletsParams

NewQueryWalletsParams creates a new QueryWalletsParams object with the default values initialized.

func NewQueryWalletsParamsWithContext

func NewQueryWalletsParamsWithContext(ctx context.Context) *QueryWalletsParams

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

func NewQueryWalletsParamsWithHTTPClient

func NewQueryWalletsParamsWithHTTPClient(client *http.Client) *QueryWalletsParams

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

func NewQueryWalletsParamsWithTimeout

func NewQueryWalletsParamsWithTimeout(timeout time.Duration) *QueryWalletsParams

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

func (*QueryWalletsParams) SetAuthInfoWriter added in v0.17.0

func (o *QueryWalletsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the query wallets params

func (*QueryWalletsParams) SetContext

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

SetContext adds the context to the query wallets params

func (*QueryWalletsParams) SetCurrencyCode

func (o *QueryWalletsParams) SetCurrencyCode(currencyCode *string)

SetCurrencyCode adds the currencyCode to the query wallets params

func (*QueryWalletsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query wallets params

func (*QueryWalletsParams) SetHTTPClientTransport added in v0.19.0

func (o *QueryWalletsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the query wallets params

func (*QueryWalletsParams) SetLimit

func (o *QueryWalletsParams) SetLimit(limit *int32)

SetLimit adds the limit to the query wallets params

func (*QueryWalletsParams) SetNamespace

func (o *QueryWalletsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query wallets params

func (*QueryWalletsParams) SetOffset

func (o *QueryWalletsParams) SetOffset(offset *int32)

SetOffset adds the offset to the query wallets params

func (*QueryWalletsParams) SetOrigin added in v0.18.0

func (o *QueryWalletsParams) SetOrigin(origin *string)

SetOrigin adds the origin to the query wallets params

func (*QueryWalletsParams) SetTimeout

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

SetTimeout adds the timeout to the query wallets params

func (*QueryWalletsParams) SetUserID

func (o *QueryWalletsParams) SetUserID(userID *string)

SetUserID adds the userId to the query wallets params

func (*QueryWalletsParams) WithContext

WithContext adds the context to the query wallets params

func (*QueryWalletsParams) WithCurrencyCode

func (o *QueryWalletsParams) WithCurrencyCode(currencyCode *string) *QueryWalletsParams

WithCurrencyCode adds the currencyCode to the query wallets params

func (*QueryWalletsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query wallets params

func (*QueryWalletsParams) WithLimit

func (o *QueryWalletsParams) WithLimit(limit *int32) *QueryWalletsParams

WithLimit adds the limit to the query wallets params

func (*QueryWalletsParams) WithNamespace

func (o *QueryWalletsParams) WithNamespace(namespace string) *QueryWalletsParams

WithNamespace adds the namespace to the query wallets params

func (*QueryWalletsParams) WithOffset

func (o *QueryWalletsParams) WithOffset(offset *int32) *QueryWalletsParams

WithOffset adds the offset to the query wallets params

func (*QueryWalletsParams) WithOrigin added in v0.18.0

func (o *QueryWalletsParams) WithOrigin(origin *string) *QueryWalletsParams

WithOrigin adds the origin to the query wallets params

func (*QueryWalletsParams) WithTimeout

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

WithTimeout adds the timeout to the query wallets params

func (*QueryWalletsParams) WithUserID

func (o *QueryWalletsParams) WithUserID(userID *string) *QueryWalletsParams

WithUserID adds the userID to the query wallets params

func (*QueryWalletsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryWalletsReader

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

QueryWalletsReader is a Reader for the QueryWallets structure.

func (*QueryWalletsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetPlatformWalletConfigOK added in v0.18.0

type ResetPlatformWalletConfigOK struct {
	Payload *platformclientmodels.PlatformWalletConfigInfo
}

ResetPlatformWalletConfigOK handles this case with default header values.

successful operation

func NewResetPlatformWalletConfigOK added in v0.18.0

func NewResetPlatformWalletConfigOK() *ResetPlatformWalletConfigOK

NewResetPlatformWalletConfigOK creates a ResetPlatformWalletConfigOK with default headers values

func (*ResetPlatformWalletConfigOK) Error added in v0.18.0

func (*ResetPlatformWalletConfigOK) GetPayload added in v0.18.0

type ResetPlatformWalletConfigParams added in v0.18.0

type ResetPlatformWalletConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Platform*/
	Platform string

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

ResetPlatformWalletConfigParams contains all the parameters to send to the API endpoint for the reset platform wallet config operation typically these are written to a http.Request

func NewResetPlatformWalletConfigParams added in v0.18.0

func NewResetPlatformWalletConfigParams() *ResetPlatformWalletConfigParams

NewResetPlatformWalletConfigParams creates a new ResetPlatformWalletConfigParams object with the default values initialized.

func NewResetPlatformWalletConfigParamsWithContext added in v0.18.0

func NewResetPlatformWalletConfigParamsWithContext(ctx context.Context) *ResetPlatformWalletConfigParams

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

func NewResetPlatformWalletConfigParamsWithHTTPClient added in v0.18.0

func NewResetPlatformWalletConfigParamsWithHTTPClient(client *http.Client) *ResetPlatformWalletConfigParams

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

func NewResetPlatformWalletConfigParamsWithTimeout added in v0.18.0

func NewResetPlatformWalletConfigParamsWithTimeout(timeout time.Duration) *ResetPlatformWalletConfigParams

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

func (*ResetPlatformWalletConfigParams) SetAuthInfoWriter added in v0.18.0

func (o *ResetPlatformWalletConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) SetContext added in v0.18.0

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

SetContext adds the context to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) SetHTTPClient added in v0.18.0

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

SetHTTPClient adds the HTTPClient to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) SetHTTPClientTransport added in v0.19.0

func (o *ResetPlatformWalletConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) SetNamespace added in v0.18.0

func (o *ResetPlatformWalletConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) SetPlatform added in v0.18.0

func (o *ResetPlatformWalletConfigParams) SetPlatform(platform string)

SetPlatform adds the platform to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) SetTimeout added in v0.18.0

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

SetTimeout adds the timeout to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) WithContext added in v0.18.0

WithContext adds the context to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) WithHTTPClient added in v0.18.0

WithHTTPClient adds the HTTPClient to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) WithNamespace added in v0.18.0

WithNamespace adds the namespace to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) WithPlatform added in v0.18.0

WithPlatform adds the platform to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) WithTimeout added in v0.18.0

WithTimeout adds the timeout to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) WriteToRequest added in v0.18.0

WriteToRequest writes these params to a swagger request

type ResetPlatformWalletConfigReader added in v0.18.0

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

ResetPlatformWalletConfigReader is a Reader for the ResetPlatformWalletConfig structure.

func (*ResetPlatformWalletConfigReader) ReadResponse added in v0.18.0

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

ReadResponse reads a server response into the received o.

type UpdatePlatformWalletConfigOK added in v0.18.0

type UpdatePlatformWalletConfigOK struct {
	Payload *platformclientmodels.PlatformWalletConfigInfo
}

UpdatePlatformWalletConfigOK handles this case with default header values.

successful operation

func NewUpdatePlatformWalletConfigOK added in v0.18.0

func NewUpdatePlatformWalletConfigOK() *UpdatePlatformWalletConfigOK

NewUpdatePlatformWalletConfigOK creates a UpdatePlatformWalletConfigOK with default headers values

func (*UpdatePlatformWalletConfigOK) Error added in v0.18.0

func (*UpdatePlatformWalletConfigOK) GetPayload added in v0.18.0

type UpdatePlatformWalletConfigParams added in v0.18.0

type UpdatePlatformWalletConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.PlatformWalletConfigUpdate
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*Platform*/
	Platform string

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

UpdatePlatformWalletConfigParams contains all the parameters to send to the API endpoint for the update platform wallet config operation typically these are written to a http.Request

func NewUpdatePlatformWalletConfigParams added in v0.18.0

func NewUpdatePlatformWalletConfigParams() *UpdatePlatformWalletConfigParams

NewUpdatePlatformWalletConfigParams creates a new UpdatePlatformWalletConfigParams object with the default values initialized.

func NewUpdatePlatformWalletConfigParamsWithContext added in v0.18.0

func NewUpdatePlatformWalletConfigParamsWithContext(ctx context.Context) *UpdatePlatformWalletConfigParams

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

func NewUpdatePlatformWalletConfigParamsWithHTTPClient added in v0.18.0

func NewUpdatePlatformWalletConfigParamsWithHTTPClient(client *http.Client) *UpdatePlatformWalletConfigParams

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

func NewUpdatePlatformWalletConfigParamsWithTimeout added in v0.18.0

func NewUpdatePlatformWalletConfigParamsWithTimeout(timeout time.Duration) *UpdatePlatformWalletConfigParams

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

func (*UpdatePlatformWalletConfigParams) SetAuthInfoWriter added in v0.18.0

func (o *UpdatePlatformWalletConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetBody added in v0.18.0

SetBody adds the body to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetContext added in v0.18.0

SetContext adds the context to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetHTTPClient added in v0.18.0

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

SetHTTPClient adds the HTTPClient to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetHTTPClientTransport added in v0.19.0

func (o *UpdatePlatformWalletConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetNamespace added in v0.18.0

func (o *UpdatePlatformWalletConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetPlatform added in v0.18.0

func (o *UpdatePlatformWalletConfigParams) SetPlatform(platform string)

SetPlatform adds the platform to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetTimeout added in v0.18.0

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

SetTimeout adds the timeout to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WithBody added in v0.18.0

WithBody adds the body to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WithContext added in v0.18.0

WithContext adds the context to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WithHTTPClient added in v0.18.0

WithHTTPClient adds the HTTPClient to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WithNamespace added in v0.18.0

WithNamespace adds the namespace to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WithPlatform added in v0.18.0

WithPlatform adds the platform to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WithTimeout added in v0.18.0

WithTimeout adds the timeout to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WriteToRequest added in v0.18.0

WriteToRequest writes these params to a swagger request

type UpdatePlatformWalletConfigReader added in v0.18.0

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

UpdatePlatformWalletConfigReader is a Reader for the UpdatePlatformWalletConfig structure.

func (*UpdatePlatformWalletConfigReader) ReadResponse added in v0.18.0

func (o *UpdatePlatformWalletConfigReader) 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