wallet

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 13 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 {

	/*CurrencyCode*/
	CurrencyCode string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string

	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) 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) SetNamespace added in v0.7.0

func (o *CheckWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace 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) 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

&lt;b&gt;[SERVICE COMMUNICATION ONLY]&lt;/b&gt; Check wallet 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

Credit a user wallet by currency code, 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) 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) 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

Pay with user 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;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;: wallet 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) 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) SetTransport

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

SetTransport changes the transport on the client

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, *CreditUserWalletConflict, *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)
	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)
	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, *PayWithUserWalletConflict, *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)
	QueryWallets(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error)
	QueryWalletsShort(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, 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 CreditUserWalletConflict

type CreditUserWalletConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

CreditUserWalletConflict 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 NewCreditUserWalletConflict

func NewCreditUserWalletConflict() *CreditUserWalletConflict

NewCreditUserWalletConflict creates a CreditUserWalletConflict with default headers values

func (*CreditUserWalletConflict) Error

func (o *CreditUserWalletConflict) Error() string

func (*CreditUserWalletConflict) 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 {

	/*Body*/
	Body *platformclientmodels.CreditRequest
	/*CurrencyCode*/
	CurrencyCode string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string

	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) 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) 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 {

	/*Body*/
	Body *platformclientmodels.DebitRequest
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string
	/*WalletID*/
	WalletID string

	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) 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) 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 {

	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string
	/*WalletID
	  walletId

	*/
	WalletID string

	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) 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) 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 {

	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string
	/*WalletID
	  walletId

	*/
	WalletID string

	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) 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) 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 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 {

	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string
	/*WalletID*/
	WalletID string

	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) 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) 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 {

	/*Namespace
	  Namespace

	*/
	Namespace string
	/*WalletID*/
	WalletID string

	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) 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) 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 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.WalletTransactionPagingSlicedResult
}

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

func (*ListUserWalletTransactionsOK) GetPayload

type ListUserWalletTransactionsParams

type ListUserWalletTransactionsParams struct {

	/*Limit*/
	Limit *int32
	/*Namespace
	  namespace

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

	*/
	UserID string
	/*WalletID
	  walletId

	*/
	WalletID string

	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) 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) 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 PayWithUserWalletConflict

type PayWithUserWalletConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

PayWithUserWalletConflict 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 NewPayWithUserWalletConflict

func NewPayWithUserWalletConflict() *PayWithUserWalletConflict

NewPayWithUserWalletConflict creates a PayWithUserWalletConflict with default headers values

func (*PayWithUserWalletConflict) Error

func (o *PayWithUserWalletConflict) Error() string

func (*PayWithUserWalletConflict) GetPayload

type PayWithUserWalletOK

type PayWithUserWalletOK struct {
	Payload *platformclientmodels.WalletInfo
}

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 {

	/*Body*/
	Body *platformclientmodels.PaymentRequest
	/*CurrencyCode*/
	CurrencyCode string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string

	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) 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) 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.WalletInfo
}

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 {

	/*CurrencyCode*/
	CurrencyCode string
	/*Namespace
	  Namespace

	*/
	Namespace string

	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) 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) 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.WalletInfo
}

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 {

	/*CurrencyCode*/
	CurrencyCode string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string

	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) 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) 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 {

	/*CurrencyCode
	  currencyCode

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

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

	*/
	UserID string

	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) 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) 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 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 {

	/*CurrencyCode
	  currencyCode

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

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

	*/
	UserID *string

	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) 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) 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) 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) 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.

Jump to

Keyboard shortcuts

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