Documentation ¶
Index ¶
- type CheckWalletBadRequest
- type CheckWalletConflict
- type CheckWalletNoContent
- type CheckWalletParams
- func (o *CheckWalletParams) SetContext(ctx context.Context)
- func (o *CheckWalletParams) SetCurrencyCode(currencyCode string)
- func (o *CheckWalletParams) SetHTTPClient(client *http.Client)
- func (o *CheckWalletParams) SetNamespace(namespace string)
- func (o *CheckWalletParams) SetTimeout(timeout time.Duration)
- func (o *CheckWalletParams) SetUserID(userID string)
- func (o *CheckWalletParams) WithContext(ctx context.Context) *CheckWalletParams
- func (o *CheckWalletParams) WithCurrencyCode(currencyCode string) *CheckWalletParams
- func (o *CheckWalletParams) WithHTTPClient(client *http.Client) *CheckWalletParams
- func (o *CheckWalletParams) WithNamespace(namespace string) *CheckWalletParams
- func (o *CheckWalletParams) WithTimeout(timeout time.Duration) *CheckWalletParams
- func (o *CheckWalletParams) WithUserID(userID string) *CheckWalletParams
- func (o *CheckWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckWalletReader
- type CheckWalletUnprocessableEntity
- type Client
- func (a *Client) CheckWallet(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, *CheckWalletBadRequest, *CheckWalletConflict, ...)
- func (a *Client) CheckWalletShort(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, error)
- func (a *Client) CreditUserWallet(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, *CreditUserWalletBadRequest, *CreditUserWalletConflict, ...)
- func (a *Client) CreditUserWalletShort(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, error)
- func (a *Client) DebitUserWallet(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, *DebitUserWalletBadRequest, *DebitUserWalletNotFound, ...)
- func (a *Client) DebitUserWalletShort(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, error)
- func (a *Client) DisableUserWallet(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, *DisableUserWalletNotFound, ...)
- func (a *Client) DisableUserWalletShort(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, error)
- func (a *Client) EnableUserWallet(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, *EnableUserWalletNotFound, ...)
- func (a *Client) EnableUserWalletShort(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, error)
- func (a *Client) GetUserWallet(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, *GetUserWalletNotFound, error)
- func (a *Client) GetUserWalletShort(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, error)
- func (a *Client) GetWallet(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, *GetWalletNotFound, error)
- func (a *Client) GetWalletShort(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, error)
- func (a *Client) ListUserWalletTransactions(params *ListUserWalletTransactionsParams, ...) (*ListUserWalletTransactionsOK, *ListUserWalletTransactionsNotFound, error)
- func (a *Client) ListUserWalletTransactionsShort(params *ListUserWalletTransactionsParams, ...) (*ListUserWalletTransactionsOK, error)
- func (a *Client) PayWithUserWallet(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, *PayWithUserWalletBadRequest, *PayWithUserWalletConflict, ...)
- func (a *Client) PayWithUserWalletShort(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, error)
- func (a *Client) PublicGetMyWallet(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletOK, error)
- func (a *Client) PublicGetMyWalletShort(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletOK, error)
- func (a *Client) PublicGetWallet(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error)
- func (a *Client) PublicGetWalletShort(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error)
- func (a *Client) PublicListUserWalletTransactions(params *PublicListUserWalletTransactionsParams, ...) (*PublicListUserWalletTransactionsOK, error)
- func (a *Client) PublicListUserWalletTransactionsShort(params *PublicListUserWalletTransactionsParams, ...) (*PublicListUserWalletTransactionsOK, error)
- func (a *Client) QueryWallets(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error)
- func (a *Client) QueryWalletsShort(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreditUserWalletBadRequest
- type CreditUserWalletConflict
- type CreditUserWalletOK
- type CreditUserWalletParams
- func NewCreditUserWalletParams() *CreditUserWalletParams
- func NewCreditUserWalletParamsWithContext(ctx context.Context) *CreditUserWalletParams
- func NewCreditUserWalletParamsWithHTTPClient(client *http.Client) *CreditUserWalletParams
- func NewCreditUserWalletParamsWithTimeout(timeout time.Duration) *CreditUserWalletParams
- func (o *CreditUserWalletParams) SetBody(body *platformclientmodels.CreditRequest)
- func (o *CreditUserWalletParams) SetContext(ctx context.Context)
- func (o *CreditUserWalletParams) SetCurrencyCode(currencyCode string)
- func (o *CreditUserWalletParams) SetHTTPClient(client *http.Client)
- func (o *CreditUserWalletParams) SetNamespace(namespace string)
- func (o *CreditUserWalletParams) SetTimeout(timeout time.Duration)
- func (o *CreditUserWalletParams) SetUserID(userID string)
- func (o *CreditUserWalletParams) WithBody(body *platformclientmodels.CreditRequest) *CreditUserWalletParams
- func (o *CreditUserWalletParams) WithContext(ctx context.Context) *CreditUserWalletParams
- func (o *CreditUserWalletParams) WithCurrencyCode(currencyCode string) *CreditUserWalletParams
- func (o *CreditUserWalletParams) WithHTTPClient(client *http.Client) *CreditUserWalletParams
- func (o *CreditUserWalletParams) WithNamespace(namespace string) *CreditUserWalletParams
- func (o *CreditUserWalletParams) WithTimeout(timeout time.Duration) *CreditUserWalletParams
- func (o *CreditUserWalletParams) WithUserID(userID string) *CreditUserWalletParams
- func (o *CreditUserWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreditUserWalletReader
- type CreditUserWalletUnprocessableEntity
- type DebitUserWalletBadRequest
- type DebitUserWalletConflict
- type DebitUserWalletNotFound
- type DebitUserWalletOK
- type DebitUserWalletParams
- func NewDebitUserWalletParams() *DebitUserWalletParams
- func NewDebitUserWalletParamsWithContext(ctx context.Context) *DebitUserWalletParams
- func NewDebitUserWalletParamsWithHTTPClient(client *http.Client) *DebitUserWalletParams
- func NewDebitUserWalletParamsWithTimeout(timeout time.Duration) *DebitUserWalletParams
- func (o *DebitUserWalletParams) SetBody(body *platformclientmodels.DebitRequest)
- func (o *DebitUserWalletParams) SetContext(ctx context.Context)
- func (o *DebitUserWalletParams) SetHTTPClient(client *http.Client)
- func (o *DebitUserWalletParams) SetNamespace(namespace string)
- func (o *DebitUserWalletParams) SetTimeout(timeout time.Duration)
- func (o *DebitUserWalletParams) SetUserID(userID string)
- func (o *DebitUserWalletParams) SetWalletID(walletID string)
- func (o *DebitUserWalletParams) WithBody(body *platformclientmodels.DebitRequest) *DebitUserWalletParams
- func (o *DebitUserWalletParams) WithContext(ctx context.Context) *DebitUserWalletParams
- func (o *DebitUserWalletParams) WithHTTPClient(client *http.Client) *DebitUserWalletParams
- func (o *DebitUserWalletParams) WithNamespace(namespace string) *DebitUserWalletParams
- func (o *DebitUserWalletParams) WithTimeout(timeout time.Duration) *DebitUserWalletParams
- func (o *DebitUserWalletParams) WithUserID(userID string) *DebitUserWalletParams
- func (o *DebitUserWalletParams) WithWalletID(walletID string) *DebitUserWalletParams
- func (o *DebitUserWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DebitUserWalletReader
- type DebitUserWalletUnprocessableEntity
- type DisableUserWalletConflict
- type DisableUserWalletNoContent
- type DisableUserWalletNotFound
- type DisableUserWalletParams
- func NewDisableUserWalletParams() *DisableUserWalletParams
- func NewDisableUserWalletParamsWithContext(ctx context.Context) *DisableUserWalletParams
- func NewDisableUserWalletParamsWithHTTPClient(client *http.Client) *DisableUserWalletParams
- func NewDisableUserWalletParamsWithTimeout(timeout time.Duration) *DisableUserWalletParams
- func (o *DisableUserWalletParams) SetContext(ctx context.Context)
- func (o *DisableUserWalletParams) SetHTTPClient(client *http.Client)
- func (o *DisableUserWalletParams) SetNamespace(namespace string)
- func (o *DisableUserWalletParams) SetTimeout(timeout time.Duration)
- func (o *DisableUserWalletParams) SetUserID(userID string)
- func (o *DisableUserWalletParams) SetWalletID(walletID string)
- func (o *DisableUserWalletParams) WithContext(ctx context.Context) *DisableUserWalletParams
- func (o *DisableUserWalletParams) WithHTTPClient(client *http.Client) *DisableUserWalletParams
- func (o *DisableUserWalletParams) WithNamespace(namespace string) *DisableUserWalletParams
- func (o *DisableUserWalletParams) WithTimeout(timeout time.Duration) *DisableUserWalletParams
- func (o *DisableUserWalletParams) WithUserID(userID string) *DisableUserWalletParams
- func (o *DisableUserWalletParams) WithWalletID(walletID string) *DisableUserWalletParams
- func (o *DisableUserWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DisableUserWalletReader
- type EnableUserWalletConflict
- type EnableUserWalletNoContent
- type EnableUserWalletNotFound
- type EnableUserWalletParams
- func NewEnableUserWalletParams() *EnableUserWalletParams
- func NewEnableUserWalletParamsWithContext(ctx context.Context) *EnableUserWalletParams
- func NewEnableUserWalletParamsWithHTTPClient(client *http.Client) *EnableUserWalletParams
- func NewEnableUserWalletParamsWithTimeout(timeout time.Duration) *EnableUserWalletParams
- func (o *EnableUserWalletParams) SetContext(ctx context.Context)
- func (o *EnableUserWalletParams) SetHTTPClient(client *http.Client)
- func (o *EnableUserWalletParams) SetNamespace(namespace string)
- func (o *EnableUserWalletParams) SetTimeout(timeout time.Duration)
- func (o *EnableUserWalletParams) SetUserID(userID string)
- func (o *EnableUserWalletParams) SetWalletID(walletID string)
- func (o *EnableUserWalletParams) WithContext(ctx context.Context) *EnableUserWalletParams
- func (o *EnableUserWalletParams) WithHTTPClient(client *http.Client) *EnableUserWalletParams
- func (o *EnableUserWalletParams) WithNamespace(namespace string) *EnableUserWalletParams
- func (o *EnableUserWalletParams) WithTimeout(timeout time.Duration) *EnableUserWalletParams
- func (o *EnableUserWalletParams) WithUserID(userID string) *EnableUserWalletParams
- func (o *EnableUserWalletParams) WithWalletID(walletID string) *EnableUserWalletParams
- func (o *EnableUserWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnableUserWalletReader
- type GetUserWalletNotFound
- type GetUserWalletOK
- type GetUserWalletParams
- func (o *GetUserWalletParams) SetContext(ctx context.Context)
- func (o *GetUserWalletParams) SetHTTPClient(client *http.Client)
- func (o *GetUserWalletParams) SetNamespace(namespace string)
- func (o *GetUserWalletParams) SetTimeout(timeout time.Duration)
- func (o *GetUserWalletParams) SetUserID(userID string)
- func (o *GetUserWalletParams) SetWalletID(walletID string)
- func (o *GetUserWalletParams) WithContext(ctx context.Context) *GetUserWalletParams
- func (o *GetUserWalletParams) WithHTTPClient(client *http.Client) *GetUserWalletParams
- func (o *GetUserWalletParams) WithNamespace(namespace string) *GetUserWalletParams
- func (o *GetUserWalletParams) WithTimeout(timeout time.Duration) *GetUserWalletParams
- func (o *GetUserWalletParams) WithUserID(userID string) *GetUserWalletParams
- func (o *GetUserWalletParams) WithWalletID(walletID string) *GetUserWalletParams
- func (o *GetUserWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserWalletReader
- type GetWalletNotFound
- type GetWalletOK
- type GetWalletParams
- func (o *GetWalletParams) SetContext(ctx context.Context)
- func (o *GetWalletParams) SetHTTPClient(client *http.Client)
- func (o *GetWalletParams) SetNamespace(namespace string)
- func (o *GetWalletParams) SetTimeout(timeout time.Duration)
- func (o *GetWalletParams) SetWalletID(walletID string)
- func (o *GetWalletParams) WithContext(ctx context.Context) *GetWalletParams
- func (o *GetWalletParams) WithHTTPClient(client *http.Client) *GetWalletParams
- func (o *GetWalletParams) WithNamespace(namespace string) *GetWalletParams
- func (o *GetWalletParams) WithTimeout(timeout time.Duration) *GetWalletParams
- func (o *GetWalletParams) WithWalletID(walletID string) *GetWalletParams
- func (o *GetWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWalletReader
- type ListUserWalletTransactionsNotFound
- type ListUserWalletTransactionsOK
- type ListUserWalletTransactionsParams
- func NewListUserWalletTransactionsParams() *ListUserWalletTransactionsParams
- func NewListUserWalletTransactionsParamsWithContext(ctx context.Context) *ListUserWalletTransactionsParams
- func NewListUserWalletTransactionsParamsWithHTTPClient(client *http.Client) *ListUserWalletTransactionsParams
- func NewListUserWalletTransactionsParamsWithTimeout(timeout time.Duration) *ListUserWalletTransactionsParams
- func (o *ListUserWalletTransactionsParams) SetContext(ctx context.Context)
- func (o *ListUserWalletTransactionsParams) SetHTTPClient(client *http.Client)
- func (o *ListUserWalletTransactionsParams) SetLimit(limit *int32)
- func (o *ListUserWalletTransactionsParams) SetNamespace(namespace string)
- func (o *ListUserWalletTransactionsParams) SetOffset(offset *int32)
- func (o *ListUserWalletTransactionsParams) SetTimeout(timeout time.Duration)
- func (o *ListUserWalletTransactionsParams) SetUserID(userID string)
- func (o *ListUserWalletTransactionsParams) SetWalletID(walletID string)
- func (o *ListUserWalletTransactionsParams) WithContext(ctx context.Context) *ListUserWalletTransactionsParams
- func (o *ListUserWalletTransactionsParams) WithHTTPClient(client *http.Client) *ListUserWalletTransactionsParams
- func (o *ListUserWalletTransactionsParams) WithLimit(limit *int32) *ListUserWalletTransactionsParams
- func (o *ListUserWalletTransactionsParams) WithNamespace(namespace string) *ListUserWalletTransactionsParams
- func (o *ListUserWalletTransactionsParams) WithOffset(offset *int32) *ListUserWalletTransactionsParams
- func (o *ListUserWalletTransactionsParams) WithTimeout(timeout time.Duration) *ListUserWalletTransactionsParams
- func (o *ListUserWalletTransactionsParams) WithUserID(userID string) *ListUserWalletTransactionsParams
- func (o *ListUserWalletTransactionsParams) WithWalletID(walletID string) *ListUserWalletTransactionsParams
- func (o *ListUserWalletTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserWalletTransactionsReader
- type PayWithUserWalletBadRequest
- type PayWithUserWalletConflict
- type PayWithUserWalletOK
- type PayWithUserWalletParams
- func NewPayWithUserWalletParams() *PayWithUserWalletParams
- func NewPayWithUserWalletParamsWithContext(ctx context.Context) *PayWithUserWalletParams
- func NewPayWithUserWalletParamsWithHTTPClient(client *http.Client) *PayWithUserWalletParams
- func NewPayWithUserWalletParamsWithTimeout(timeout time.Duration) *PayWithUserWalletParams
- func (o *PayWithUserWalletParams) SetBody(body *platformclientmodels.PaymentRequest)
- func (o *PayWithUserWalletParams) SetContext(ctx context.Context)
- func (o *PayWithUserWalletParams) SetCurrencyCode(currencyCode string)
- func (o *PayWithUserWalletParams) SetHTTPClient(client *http.Client)
- func (o *PayWithUserWalletParams) SetNamespace(namespace string)
- func (o *PayWithUserWalletParams) SetTimeout(timeout time.Duration)
- func (o *PayWithUserWalletParams) SetUserID(userID string)
- func (o *PayWithUserWalletParams) WithBody(body *platformclientmodels.PaymentRequest) *PayWithUserWalletParams
- func (o *PayWithUserWalletParams) WithContext(ctx context.Context) *PayWithUserWalletParams
- func (o *PayWithUserWalletParams) WithCurrencyCode(currencyCode string) *PayWithUserWalletParams
- func (o *PayWithUserWalletParams) WithHTTPClient(client *http.Client) *PayWithUserWalletParams
- func (o *PayWithUserWalletParams) WithNamespace(namespace string) *PayWithUserWalletParams
- func (o *PayWithUserWalletParams) WithTimeout(timeout time.Duration) *PayWithUserWalletParams
- func (o *PayWithUserWalletParams) WithUserID(userID string) *PayWithUserWalletParams
- func (o *PayWithUserWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PayWithUserWalletReader
- type PayWithUserWalletUnprocessableEntity
- type PublicGetMyWalletOK
- type PublicGetMyWalletParams
- func NewPublicGetMyWalletParams() *PublicGetMyWalletParams
- func NewPublicGetMyWalletParamsWithContext(ctx context.Context) *PublicGetMyWalletParams
- func NewPublicGetMyWalletParamsWithHTTPClient(client *http.Client) *PublicGetMyWalletParams
- func NewPublicGetMyWalletParamsWithTimeout(timeout time.Duration) *PublicGetMyWalletParams
- func (o *PublicGetMyWalletParams) SetContext(ctx context.Context)
- func (o *PublicGetMyWalletParams) SetCurrencyCode(currencyCode string)
- func (o *PublicGetMyWalletParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetMyWalletParams) SetNamespace(namespace string)
- func (o *PublicGetMyWalletParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetMyWalletParams) WithContext(ctx context.Context) *PublicGetMyWalletParams
- func (o *PublicGetMyWalletParams) WithCurrencyCode(currencyCode string) *PublicGetMyWalletParams
- func (o *PublicGetMyWalletParams) WithHTTPClient(client *http.Client) *PublicGetMyWalletParams
- func (o *PublicGetMyWalletParams) WithNamespace(namespace string) *PublicGetMyWalletParams
- func (o *PublicGetMyWalletParams) WithTimeout(timeout time.Duration) *PublicGetMyWalletParams
- func (o *PublicGetMyWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetMyWalletReader
- type PublicGetWalletOK
- type PublicGetWalletParams
- func NewPublicGetWalletParams() *PublicGetWalletParams
- func NewPublicGetWalletParamsWithContext(ctx context.Context) *PublicGetWalletParams
- func NewPublicGetWalletParamsWithHTTPClient(client *http.Client) *PublicGetWalletParams
- func NewPublicGetWalletParamsWithTimeout(timeout time.Duration) *PublicGetWalletParams
- func (o *PublicGetWalletParams) SetContext(ctx context.Context)
- func (o *PublicGetWalletParams) SetCurrencyCode(currencyCode string)
- func (o *PublicGetWalletParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetWalletParams) SetNamespace(namespace string)
- func (o *PublicGetWalletParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetWalletParams) SetUserID(userID string)
- func (o *PublicGetWalletParams) WithContext(ctx context.Context) *PublicGetWalletParams
- func (o *PublicGetWalletParams) WithCurrencyCode(currencyCode string) *PublicGetWalletParams
- func (o *PublicGetWalletParams) WithHTTPClient(client *http.Client) *PublicGetWalletParams
- func (o *PublicGetWalletParams) WithNamespace(namespace string) *PublicGetWalletParams
- func (o *PublicGetWalletParams) WithTimeout(timeout time.Duration) *PublicGetWalletParams
- func (o *PublicGetWalletParams) WithUserID(userID string) *PublicGetWalletParams
- func (o *PublicGetWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetWalletReader
- type PublicListUserWalletTransactionsOK
- type PublicListUserWalletTransactionsParams
- func NewPublicListUserWalletTransactionsParams() *PublicListUserWalletTransactionsParams
- func NewPublicListUserWalletTransactionsParamsWithContext(ctx context.Context) *PublicListUserWalletTransactionsParams
- func NewPublicListUserWalletTransactionsParamsWithHTTPClient(client *http.Client) *PublicListUserWalletTransactionsParams
- func NewPublicListUserWalletTransactionsParamsWithTimeout(timeout time.Duration) *PublicListUserWalletTransactionsParams
- func (o *PublicListUserWalletTransactionsParams) SetContext(ctx context.Context)
- func (o *PublicListUserWalletTransactionsParams) SetCurrencyCode(currencyCode string)
- func (o *PublicListUserWalletTransactionsParams) SetHTTPClient(client *http.Client)
- func (o *PublicListUserWalletTransactionsParams) SetLimit(limit *int32)
- func (o *PublicListUserWalletTransactionsParams) SetNamespace(namespace string)
- func (o *PublicListUserWalletTransactionsParams) SetOffset(offset *int32)
- func (o *PublicListUserWalletTransactionsParams) SetTimeout(timeout time.Duration)
- func (o *PublicListUserWalletTransactionsParams) SetUserID(userID string)
- func (o *PublicListUserWalletTransactionsParams) WithContext(ctx context.Context) *PublicListUserWalletTransactionsParams
- func (o *PublicListUserWalletTransactionsParams) WithCurrencyCode(currencyCode string) *PublicListUserWalletTransactionsParams
- func (o *PublicListUserWalletTransactionsParams) WithHTTPClient(client *http.Client) *PublicListUserWalletTransactionsParams
- func (o *PublicListUserWalletTransactionsParams) WithLimit(limit *int32) *PublicListUserWalletTransactionsParams
- func (o *PublicListUserWalletTransactionsParams) WithNamespace(namespace string) *PublicListUserWalletTransactionsParams
- func (o *PublicListUserWalletTransactionsParams) WithOffset(offset *int32) *PublicListUserWalletTransactionsParams
- func (o *PublicListUserWalletTransactionsParams) WithTimeout(timeout time.Duration) *PublicListUserWalletTransactionsParams
- func (o *PublicListUserWalletTransactionsParams) WithUserID(userID string) *PublicListUserWalletTransactionsParams
- func (o *PublicListUserWalletTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListUserWalletTransactionsReader
- type QueryWalletsOK
- type QueryWalletsParams
- func (o *QueryWalletsParams) SetContext(ctx context.Context)
- func (o *QueryWalletsParams) SetCurrencyCode(currencyCode *string)
- func (o *QueryWalletsParams) SetHTTPClient(client *http.Client)
- func (o *QueryWalletsParams) SetLimit(limit *int32)
- func (o *QueryWalletsParams) SetNamespace(namespace string)
- func (o *QueryWalletsParams) SetOffset(offset *int32)
- func (o *QueryWalletsParams) SetTimeout(timeout time.Duration)
- func (o *QueryWalletsParams) SetUserID(userID *string)
- func (o *QueryWalletsParams) WithContext(ctx context.Context) *QueryWalletsParams
- func (o *QueryWalletsParams) WithCurrencyCode(currencyCode *string) *QueryWalletsParams
- func (o *QueryWalletsParams) WithHTTPClient(client *http.Client) *QueryWalletsParams
- func (o *QueryWalletsParams) WithLimit(limit *int32) *QueryWalletsParams
- func (o *QueryWalletsParams) WithNamespace(namespace string) *QueryWalletsParams
- func (o *QueryWalletsParams) WithOffset(offset *int32) *QueryWalletsParams
- func (o *QueryWalletsParams) WithTimeout(timeout time.Duration) *QueryWalletsParams
- func (o *QueryWalletsParams) WithUserID(userID *string) *QueryWalletsParams
- func (o *QueryWalletsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryWalletsReader
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
func (o *CheckWalletBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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
func (o *CheckWalletConflict) GetPayload() *platformclientmodels.ErrorEntity
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 (o *CheckWalletUnprocessableEntity) Error() string
func (*CheckWalletUnprocessableEntity) GetPayload ¶ added in v0.7.0
func (o *CheckWalletUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for wallet API
func (*Client) CheckWallet ¶ added in v0.7.0
func (a *Client) CheckWallet(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, *CheckWalletBadRequest, *CheckWalletConflict, *CheckWalletUnprocessableEntity, error)
CheckWallet checks wallet
<b>[SERVICE COMMUNICATION ONLY]</b> Check wallet whether it's inactive.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)</li></ul>
func (*Client) CheckWalletShort ¶ added in v0.8.0
func (a *Client) CheckWalletShort(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, error)
func (*Client) CreditUserWallet ¶
func (a *Client) CreditUserWallet(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, *CreditUserWalletBadRequest, *CreditUserWalletConflict, *CreditUserWalletUnprocessableEntity, error)
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.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)</li></ul>
func (*Client) CreditUserWalletShort ¶ added in v0.8.0
func (a *Client) CreditUserWalletShort(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, error)
func (*Client) DebitUserWallet ¶
func (a *Client) DebitUserWallet(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, *DebitUserWalletBadRequest, *DebitUserWalletNotFound, *DebitUserWalletConflict, *DebitUserWalletUnprocessableEntity, error)
DebitUserWallet debits a user wallet
Debit a user wallet.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)</li></ul>
func (*Client) DebitUserWalletShort ¶ added in v0.8.0
func (a *Client) DebitUserWalletShort(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, error)
func (*Client) DisableUserWallet ¶
func (a *Client) DisableUserWallet(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, *DisableUserWalletNotFound, *DisableUserWalletConflict, error)
DisableUserWallet disables a user wallet
disable a user wallet.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)</li></ul>
func (*Client) DisableUserWalletShort ¶ added in v0.8.0
func (a *Client) DisableUserWalletShort(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, error)
func (*Client) EnableUserWallet ¶
func (a *Client) EnableUserWallet(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, *EnableUserWalletNotFound, *EnableUserWalletConflict, error)
EnableUserWallet enables a user wallet
enable a user wallet.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)</li></ul>
func (*Client) EnableUserWalletShort ¶ added in v0.8.0
func (a *Client) EnableUserWalletShort(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, error)
func (*Client) GetUserWallet ¶
func (a *Client) GetUserWallet(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, *GetUserWalletNotFound, error)
GetUserWallet gets a user wallet
get a user wallet.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet info</li></ul>
func (*Client) GetUserWalletShort ¶ added in v0.8.0
func (a *Client) GetUserWalletShort(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, error)
func (*Client) GetWallet ¶
func (a *Client) GetWallet(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, *GetWalletNotFound, error)
GetWallet gets a wallet by wallet id
get a wallet by wallet id.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet info</li></ul>
func (*Client) GetWalletShort ¶ added in v0.8.0
func (a *Client) GetWalletShort(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, error)
func (*Client) ListUserWalletTransactions ¶
func (a *Client) ListUserWalletTransactions(params *ListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserWalletTransactionsOK, *ListUserWalletTransactionsNotFound, error)
ListUserWalletTransactions lists user wallet transactions
List user wallet transactions ordered by create time desc.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet transaction info</li></ul>
func (*Client) ListUserWalletTransactionsShort ¶ added in v0.8.0
func (a *Client) ListUserWalletTransactionsShort(params *ListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserWalletTransactionsOK, error)
func (*Client) PayWithUserWallet ¶
func (a *Client) PayWithUserWallet(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, *PayWithUserWalletBadRequest, *PayWithUserWalletConflict, *PayWithUserWalletUnprocessableEntity, error)
PayWithUserWallet pays with user wallet by currency code
Pay with user wallet by currency code.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)</li></ul>
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.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet info</li><li><i>Path's namespace</i> : <ul> <li>can be filled with <b>publisher namespace</b> in order to get <b>publisher user wallet</b></li> <li>can be filled with <b>game namespace</b> in order to get <b>game user wallet</b></li> </ul></li></ul>
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.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet info</li></ul>
func (*Client) PublicGetWalletShort ¶ added in v0.8.0
func (a *Client) PublicGetWalletShort(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error)
func (*Client) PublicListUserWalletTransactions ¶
func (a *Client) PublicListUserWalletTransactions(params *PublicListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserWalletTransactionsOK, error)
PublicListUserWalletTransactions lists wallet transactions by currency code
List wallet transactions by currency code ordered by create time desc.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet transaction info</li></ul>
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.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:WALLET", action=2 (READ)</li><li><i>Returns</i>: paginated wallets info</li></ul>
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 (o *CreditUserWalletBadRequest) Error() string
func (*CreditUserWalletBadRequest) GetPayload ¶
func (o *CreditUserWalletBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *CreditUserWalletConflict) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *CreditUserWalletOK) GetPayload() *platformclientmodels.WalletInfo
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 ¶
func (o *CreditUserWalletParams) SetBody(body *platformclientmodels.CreditRequest)
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 ¶
func (o *CreditUserWalletParams) WithBody(body *platformclientmodels.CreditRequest) *CreditUserWalletParams
WithBody adds the body to the credit user wallet params
func (*CreditUserWalletParams) WithContext ¶
func (o *CreditUserWalletParams) WithContext(ctx context.Context) *CreditUserWalletParams
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 ¶
func (o *CreditUserWalletParams) WithTimeout(timeout time.Duration) *CreditUserWalletParams
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 ¶
func (o *CreditUserWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreditUserWalletUnprocessableEntity) Error() string
func (*CreditUserWalletUnprocessableEntity) GetPayload ¶
func (o *CreditUserWalletUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
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 ¶
func (o *DebitUserWalletBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *DebitUserWalletConflict) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *DebitUserWalletNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *DebitUserWalletOK) GetPayload() *platformclientmodels.WalletInfo
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 ¶
func (o *DebitUserWalletParams) SetBody(body *platformclientmodels.DebitRequest)
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 ¶
func (o *DebitUserWalletParams) WithBody(body *platformclientmodels.DebitRequest) *DebitUserWalletParams
WithBody adds the body to the debit user wallet params
func (*DebitUserWalletParams) WithContext ¶
func (o *DebitUserWalletParams) WithContext(ctx context.Context) *DebitUserWalletParams
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 (o *DebitUserWalletUnprocessableEntity) Error() string
func (*DebitUserWalletUnprocessableEntity) GetPayload ¶
func (o *DebitUserWalletUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
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 ¶
func (o *DisableUserWalletConflict) GetPayload() *platformclientmodels.ErrorEntity
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
func (o *DisableUserWalletNoContent) Error() string
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 ¶
func (o *DisableUserWalletNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *DisableUserWalletParams) WithContext(ctx context.Context) *DisableUserWalletParams
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 ¶
func (o *DisableUserWalletParams) WithTimeout(timeout time.Duration) *DisableUserWalletParams
WithTimeout adds the timeout to the disable user wallet params
func (*DisableUserWalletParams) WithUserID ¶
func (o *DisableUserWalletParams) WithUserID(userID string) *DisableUserWalletParams
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 ¶
func (o *DisableUserWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *EnableUserWalletConflict) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *EnableUserWalletNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *EnableUserWalletParams) WithContext(ctx context.Context) *EnableUserWalletParams
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 ¶
func (o *EnableUserWalletParams) WithTimeout(timeout time.Duration) *EnableUserWalletParams
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 ¶
func (o *EnableUserWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetUserWalletNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *GetUserWalletOK) GetPayload() *platformclientmodels.WalletInfo
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 ¶
func (o *GetUserWalletParams) WithContext(ctx context.Context) *GetUserWalletParams
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 ¶
func (o *GetWalletNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *ListUserWalletTransactionsNotFound) Error() string
func (*ListUserWalletTransactionsNotFound) GetPayload ¶
func (o *ListUserWalletTransactionsNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *ListUserWalletTransactionsOK) Error() string
func (*ListUserWalletTransactionsOK) GetPayload ¶
func (o *ListUserWalletTransactionsOK) GetPayload() *platformclientmodels.WalletTransactionPagingSlicedResult
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 ¶
func (o *ListUserWalletTransactionsParams) SetContext(ctx context.Context)
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 ¶
func (o *ListUserWalletTransactionsParams) WithContext(ctx context.Context) *ListUserWalletTransactionsParams
WithContext adds the context to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) WithHTTPClient ¶
func (o *ListUserWalletTransactionsParams) WithHTTPClient(client *http.Client) *ListUserWalletTransactionsParams
WithHTTPClient adds the HTTPClient to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) WithLimit ¶
func (o *ListUserWalletTransactionsParams) WithLimit(limit *int32) *ListUserWalletTransactionsParams
WithLimit adds the limit to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) WithNamespace ¶
func (o *ListUserWalletTransactionsParams) WithNamespace(namespace string) *ListUserWalletTransactionsParams
WithNamespace adds the namespace to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) WithOffset ¶
func (o *ListUserWalletTransactionsParams) WithOffset(offset *int32) *ListUserWalletTransactionsParams
WithOffset adds the offset to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) WithTimeout ¶
func (o *ListUserWalletTransactionsParams) WithTimeout(timeout time.Duration) *ListUserWalletTransactionsParams
WithTimeout adds the timeout to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) WithUserID ¶
func (o *ListUserWalletTransactionsParams) WithUserID(userID string) *ListUserWalletTransactionsParams
WithUserID adds the userID to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) WithWalletID ¶
func (o *ListUserWalletTransactionsParams) WithWalletID(walletID string) *ListUserWalletTransactionsParams
WithWalletID adds the walletID to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) WriteToRequest ¶
func (o *ListUserWalletTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PayWithUserWalletBadRequest) Error() string
func (*PayWithUserWalletBadRequest) GetPayload ¶
func (o *PayWithUserWalletBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *PayWithUserWalletConflict) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *PayWithUserWalletOK) GetPayload() *platformclientmodels.WalletInfo
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 ¶
func (o *PayWithUserWalletParams) SetBody(body *platformclientmodels.PaymentRequest)
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 ¶
func (o *PayWithUserWalletParams) WithBody(body *platformclientmodels.PaymentRequest) *PayWithUserWalletParams
WithBody adds the body to the pay with user wallet params
func (*PayWithUserWalletParams) WithContext ¶
func (o *PayWithUserWalletParams) WithContext(ctx context.Context) *PayWithUserWalletParams
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 ¶
func (o *PayWithUserWalletParams) WithTimeout(timeout time.Duration) *PayWithUserWalletParams
WithTimeout adds the timeout to the pay with user wallet params
func (*PayWithUserWalletParams) WithUserID ¶
func (o *PayWithUserWalletParams) WithUserID(userID string) *PayWithUserWalletParams
WithUserID adds the userID to the pay with user wallet params
func (*PayWithUserWalletParams) WriteToRequest ¶
func (o *PayWithUserWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PayWithUserWalletUnprocessableEntity) Error() string
func (*PayWithUserWalletUnprocessableEntity) GetPayload ¶
func (o *PayWithUserWalletUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
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 ¶
func (o *PublicGetMyWalletOK) GetPayload() *platformclientmodels.WalletInfo
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 ¶
func (o *PublicGetMyWalletParams) WithContext(ctx context.Context) *PublicGetMyWalletParams
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 ¶
func (o *PublicGetMyWalletParams) WithTimeout(timeout time.Duration) *PublicGetMyWalletParams
WithTimeout adds the timeout to the public get my wallet params
func (*PublicGetMyWalletParams) WriteToRequest ¶
func (o *PublicGetMyWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PublicGetWalletOK) GetPayload() *platformclientmodels.WalletInfo
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 ¶
func (o *PublicGetWalletParams) WithContext(ctx context.Context) *PublicGetWalletParams
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 (o *PublicListUserWalletTransactionsOK) Error() string
func (*PublicListUserWalletTransactionsOK) GetPayload ¶
func (o *PublicListUserWalletTransactionsOK) GetPayload() *platformclientmodels.WalletTransactionPagingSlicedResult
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 ¶
func (o *PublicListUserWalletTransactionsParams) SetContext(ctx context.Context)
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 ¶
func (o *PublicListUserWalletTransactionsParams) WithContext(ctx context.Context) *PublicListUserWalletTransactionsParams
WithContext adds the context to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) WithCurrencyCode ¶
func (o *PublicListUserWalletTransactionsParams) WithCurrencyCode(currencyCode string) *PublicListUserWalletTransactionsParams
WithCurrencyCode adds the currencyCode to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) WithHTTPClient ¶
func (o *PublicListUserWalletTransactionsParams) WithHTTPClient(client *http.Client) *PublicListUserWalletTransactionsParams
WithHTTPClient adds the HTTPClient to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) WithLimit ¶
func (o *PublicListUserWalletTransactionsParams) WithLimit(limit *int32) *PublicListUserWalletTransactionsParams
WithLimit adds the limit to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) WithNamespace ¶
func (o *PublicListUserWalletTransactionsParams) WithNamespace(namespace string) *PublicListUserWalletTransactionsParams
WithNamespace adds the namespace to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) WithOffset ¶
func (o *PublicListUserWalletTransactionsParams) WithOffset(offset *int32) *PublicListUserWalletTransactionsParams
WithOffset adds the offset to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) WithTimeout ¶
func (o *PublicListUserWalletTransactionsParams) WithTimeout(timeout time.Duration) *PublicListUserWalletTransactionsParams
WithTimeout adds the timeout to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) WithUserID ¶
func (o *PublicListUserWalletTransactionsParams) WithUserID(userID string) *PublicListUserWalletTransactionsParams
WithUserID adds the userID to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) WriteToRequest ¶
func (o *PublicListUserWalletTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *QueryWalletsOK) GetPayload() *platformclientmodels.WalletPagingSlicedResult
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 ¶
func (o *QueryWalletsParams) WithContext(ctx context.Context) *QueryWalletsParams
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.
Source Files ¶
- check_wallet_parameters.go
- check_wallet_responses.go
- credit_user_wallet_parameters.go
- credit_user_wallet_responses.go
- debit_user_wallet_parameters.go
- debit_user_wallet_responses.go
- disable_user_wallet_parameters.go
- disable_user_wallet_responses.go
- enable_user_wallet_parameters.go
- enable_user_wallet_responses.go
- get_user_wallet_parameters.go
- get_user_wallet_responses.go
- get_wallet_parameters.go
- get_wallet_responses.go
- list_user_wallet_transactions_parameters.go
- list_user_wallet_transactions_responses.go
- pay_with_user_wallet_parameters.go
- pay_with_user_wallet_responses.go
- public_get_my_wallet_parameters.go
- public_get_my_wallet_responses.go
- public_get_wallet_parameters.go
- public_get_wallet_responses.go
- public_list_user_wallet_transactions_parameters.go
- public_list_user_wallet_transactions_responses.go
- query_wallets_parameters.go
- query_wallets_responses.go
- wallet_client.go