Documentation ¶
Index ¶
- Constants
- type CheckWalletBadRequest
- type CheckWalletConflict
- type CheckWalletNoContent
- type CheckWalletParams
- func (o *CheckWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CheckWalletParams) SetContext(ctx context.Context)
- func (o *CheckWalletParams) SetCurrencyCode(currencyCode string)
- func (o *CheckWalletParams) SetHTTPClient(client *http.Client)
- func (o *CheckWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CheckWalletParams) SetNamespace(namespace string)
- func (o *CheckWalletParams) SetOrigin(origin 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) WithOrigin(origin 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, ...)
- 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) GetPlatformWalletConfig(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error)
- func (a *Client) GetPlatformWalletConfigShort(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, 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) ListUserCurrencyTransactions(params *ListUserCurrencyTransactionsParams, ...) (*ListUserCurrencyTransactionsOK, *ListUserCurrencyTransactionsNotFound, error)
- func (a *Client) ListUserCurrencyTransactionsShort(params *ListUserCurrencyTransactionsParams, ...) (*ListUserCurrencyTransactionsOK, 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, ...)
- 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) QueryUserCurrencyWallets(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error)
- func (a *Client) QueryUserCurrencyWalletsShort(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, 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) ResetPlatformWalletConfig(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error)
- func (a *Client) ResetPlatformWalletConfigShort(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePlatformWalletConfig(params *UpdatePlatformWalletConfigParams, ...) (*UpdatePlatformWalletConfigOK, error)
- func (a *Client) UpdatePlatformWalletConfigShort(params *UpdatePlatformWalletConfigParams, ...) (*UpdatePlatformWalletConfigOK, error)
- type ClientService
- type CreditUserWalletBadRequest
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- 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) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DebitUserWalletParams) SetBody(body *platformclientmodels.DebitRequest)
- func (o *DebitUserWalletParams) SetContext(ctx context.Context)
- func (o *DebitUserWalletParams) SetHTTPClient(client *http.Client)
- func (o *DebitUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DisableUserWalletParams) SetContext(ctx context.Context)
- func (o *DisableUserWalletParams) SetHTTPClient(client *http.Client)
- func (o *DisableUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *EnableUserWalletParams) SetContext(ctx context.Context)
- func (o *EnableUserWalletParams) SetHTTPClient(client *http.Client)
- func (o *EnableUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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 GetPlatformWalletConfigOK
- type GetPlatformWalletConfigParams
- func NewGetPlatformWalletConfigParams() *GetPlatformWalletConfigParams
- func NewGetPlatformWalletConfigParamsWithContext(ctx context.Context) *GetPlatformWalletConfigParams
- func NewGetPlatformWalletConfigParamsWithHTTPClient(client *http.Client) *GetPlatformWalletConfigParams
- func NewGetPlatformWalletConfigParamsWithTimeout(timeout time.Duration) *GetPlatformWalletConfigParams
- func (o *GetPlatformWalletConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPlatformWalletConfigParams) SetContext(ctx context.Context)
- func (o *GetPlatformWalletConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetPlatformWalletConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetPlatformWalletConfigParams) SetNamespace(namespace string)
- func (o *GetPlatformWalletConfigParams) SetPlatform(platform string)
- func (o *GetPlatformWalletConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetPlatformWalletConfigParams) WithContext(ctx context.Context) *GetPlatformWalletConfigParams
- func (o *GetPlatformWalletConfigParams) WithHTTPClient(client *http.Client) *GetPlatformWalletConfigParams
- func (o *GetPlatformWalletConfigParams) WithNamespace(namespace string) *GetPlatformWalletConfigParams
- func (o *GetPlatformWalletConfigParams) WithPlatform(platform string) *GetPlatformWalletConfigParams
- func (o *GetPlatformWalletConfigParams) WithTimeout(timeout time.Duration) *GetPlatformWalletConfigParams
- func (o *GetPlatformWalletConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlatformWalletConfigReader
- type GetUserWalletNotFound
- type GetUserWalletOK
- type GetUserWalletParams
- func (o *GetUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserWalletParams) SetContext(ctx context.Context)
- func (o *GetUserWalletParams) SetHTTPClient(client *http.Client)
- func (o *GetUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetWalletParams) SetContext(ctx context.Context)
- func (o *GetWalletParams) SetHTTPClient(client *http.Client)
- func (o *GetWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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 ListUserCurrencyTransactionsNotFound
- type ListUserCurrencyTransactionsOK
- type ListUserCurrencyTransactionsParams
- func NewListUserCurrencyTransactionsParams() *ListUserCurrencyTransactionsParams
- func NewListUserCurrencyTransactionsParamsWithContext(ctx context.Context) *ListUserCurrencyTransactionsParams
- func NewListUserCurrencyTransactionsParamsWithHTTPClient(client *http.Client) *ListUserCurrencyTransactionsParams
- func NewListUserCurrencyTransactionsParamsWithTimeout(timeout time.Duration) *ListUserCurrencyTransactionsParams
- func (o *ListUserCurrencyTransactionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListUserCurrencyTransactionsParams) SetContext(ctx context.Context)
- func (o *ListUserCurrencyTransactionsParams) SetCurrencyCode(currencyCode string)
- func (o *ListUserCurrencyTransactionsParams) SetHTTPClient(client *http.Client)
- func (o *ListUserCurrencyTransactionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListUserCurrencyTransactionsParams) SetLimit(limit *int32)
- func (o *ListUserCurrencyTransactionsParams) SetNamespace(namespace string)
- func (o *ListUserCurrencyTransactionsParams) SetOffset(offset *int32)
- func (o *ListUserCurrencyTransactionsParams) SetTimeout(timeout time.Duration)
- func (o *ListUserCurrencyTransactionsParams) SetUserID(userID string)
- func (o *ListUserCurrencyTransactionsParams) WithContext(ctx context.Context) *ListUserCurrencyTransactionsParams
- func (o *ListUserCurrencyTransactionsParams) WithCurrencyCode(currencyCode string) *ListUserCurrencyTransactionsParams
- func (o *ListUserCurrencyTransactionsParams) WithHTTPClient(client *http.Client) *ListUserCurrencyTransactionsParams
- func (o *ListUserCurrencyTransactionsParams) WithLimit(limit *int32) *ListUserCurrencyTransactionsParams
- func (o *ListUserCurrencyTransactionsParams) WithNamespace(namespace string) *ListUserCurrencyTransactionsParams
- func (o *ListUserCurrencyTransactionsParams) WithOffset(offset *int32) *ListUserCurrencyTransactionsParams
- func (o *ListUserCurrencyTransactionsParams) WithTimeout(timeout time.Duration) *ListUserCurrencyTransactionsParams
- func (o *ListUserCurrencyTransactionsParams) WithUserID(userID string) *ListUserCurrencyTransactionsParams
- func (o *ListUserCurrencyTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserCurrencyTransactionsReader
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListUserWalletTransactionsParams) SetContext(ctx context.Context)
- func (o *ListUserWalletTransactionsParams) SetHTTPClient(client *http.Client)
- func (o *ListUserWalletTransactionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- 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) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetMyWalletParams) SetContext(ctx context.Context)
- func (o *PublicGetMyWalletParams) SetCurrencyCode(currencyCode string)
- func (o *PublicGetMyWalletParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetMyWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetWalletParams) SetContext(ctx context.Context)
- func (o *PublicGetWalletParams) SetCurrencyCode(currencyCode string)
- func (o *PublicGetWalletParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListUserWalletTransactionsParams) SetContext(ctx context.Context)
- func (o *PublicListUserWalletTransactionsParams) SetCurrencyCode(currencyCode string)
- func (o *PublicListUserWalletTransactionsParams) SetHTTPClient(client *http.Client)
- func (o *PublicListUserWalletTransactionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- 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 QueryUserCurrencyWalletsOK
- type QueryUserCurrencyWalletsParams
- func NewQueryUserCurrencyWalletsParams() *QueryUserCurrencyWalletsParams
- func NewQueryUserCurrencyWalletsParamsWithContext(ctx context.Context) *QueryUserCurrencyWalletsParams
- func NewQueryUserCurrencyWalletsParamsWithHTTPClient(client *http.Client) *QueryUserCurrencyWalletsParams
- func NewQueryUserCurrencyWalletsParamsWithTimeout(timeout time.Duration) *QueryUserCurrencyWalletsParams
- func (o *QueryUserCurrencyWalletsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryUserCurrencyWalletsParams) SetContext(ctx context.Context)
- func (o *QueryUserCurrencyWalletsParams) SetHTTPClient(client *http.Client)
- func (o *QueryUserCurrencyWalletsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryUserCurrencyWalletsParams) SetNamespace(namespace string)
- func (o *QueryUserCurrencyWalletsParams) SetTimeout(timeout time.Duration)
- func (o *QueryUserCurrencyWalletsParams) SetUserID(userID string)
- func (o *QueryUserCurrencyWalletsParams) WithContext(ctx context.Context) *QueryUserCurrencyWalletsParams
- func (o *QueryUserCurrencyWalletsParams) WithHTTPClient(client *http.Client) *QueryUserCurrencyWalletsParams
- func (o *QueryUserCurrencyWalletsParams) WithNamespace(namespace string) *QueryUserCurrencyWalletsParams
- func (o *QueryUserCurrencyWalletsParams) WithTimeout(timeout time.Duration) *QueryUserCurrencyWalletsParams
- func (o *QueryUserCurrencyWalletsParams) WithUserID(userID string) *QueryUserCurrencyWalletsParams
- func (o *QueryUserCurrencyWalletsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryUserCurrencyWalletsReader
- type QueryWalletsOK
- type QueryWalletsParams
- func (o *QueryWalletsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryWalletsParams) SetContext(ctx context.Context)
- func (o *QueryWalletsParams) SetCurrencyCode(currencyCode *string)
- func (o *QueryWalletsParams) SetHTTPClient(client *http.Client)
- func (o *QueryWalletsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryWalletsParams) SetLimit(limit *int32)
- func (o *QueryWalletsParams) SetNamespace(namespace string)
- func (o *QueryWalletsParams) SetOffset(offset *int32)
- func (o *QueryWalletsParams) SetOrigin(origin *string)
- 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) WithOrigin(origin *string) *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
- type ResetPlatformWalletConfigOK
- type ResetPlatformWalletConfigParams
- func NewResetPlatformWalletConfigParams() *ResetPlatformWalletConfigParams
- func NewResetPlatformWalletConfigParamsWithContext(ctx context.Context) *ResetPlatformWalletConfigParams
- func NewResetPlatformWalletConfigParamsWithHTTPClient(client *http.Client) *ResetPlatformWalletConfigParams
- func NewResetPlatformWalletConfigParamsWithTimeout(timeout time.Duration) *ResetPlatformWalletConfigParams
- func (o *ResetPlatformWalletConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ResetPlatformWalletConfigParams) SetContext(ctx context.Context)
- func (o *ResetPlatformWalletConfigParams) SetHTTPClient(client *http.Client)
- func (o *ResetPlatformWalletConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ResetPlatformWalletConfigParams) SetNamespace(namespace string)
- func (o *ResetPlatformWalletConfigParams) SetPlatform(platform string)
- func (o *ResetPlatformWalletConfigParams) SetTimeout(timeout time.Duration)
- func (o *ResetPlatformWalletConfigParams) WithContext(ctx context.Context) *ResetPlatformWalletConfigParams
- func (o *ResetPlatformWalletConfigParams) WithHTTPClient(client *http.Client) *ResetPlatformWalletConfigParams
- func (o *ResetPlatformWalletConfigParams) WithNamespace(namespace string) *ResetPlatformWalletConfigParams
- func (o *ResetPlatformWalletConfigParams) WithPlatform(platform string) *ResetPlatformWalletConfigParams
- func (o *ResetPlatformWalletConfigParams) WithTimeout(timeout time.Duration) *ResetPlatformWalletConfigParams
- func (o *ResetPlatformWalletConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetPlatformWalletConfigReader
- type UpdatePlatformWalletConfigOK
- type UpdatePlatformWalletConfigParams
- func NewUpdatePlatformWalletConfigParams() *UpdatePlatformWalletConfigParams
- func NewUpdatePlatformWalletConfigParamsWithContext(ctx context.Context) *UpdatePlatformWalletConfigParams
- func NewUpdatePlatformWalletConfigParamsWithHTTPClient(client *http.Client) *UpdatePlatformWalletConfigParams
- func NewUpdatePlatformWalletConfigParamsWithTimeout(timeout time.Duration) *UpdatePlatformWalletConfigParams
- func (o *UpdatePlatformWalletConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdatePlatformWalletConfigParams) SetBody(body *platformclientmodels.PlatformWalletConfigUpdate)
- func (o *UpdatePlatformWalletConfigParams) SetContext(ctx context.Context)
- func (o *UpdatePlatformWalletConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePlatformWalletConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdatePlatformWalletConfigParams) SetNamespace(namespace string)
- func (o *UpdatePlatformWalletConfigParams) SetPlatform(platform string)
- func (o *UpdatePlatformWalletConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePlatformWalletConfigParams) WithBody(body *platformclientmodels.PlatformWalletConfigUpdate) *UpdatePlatformWalletConfigParams
- func (o *UpdatePlatformWalletConfigParams) WithContext(ctx context.Context) *UpdatePlatformWalletConfigParams
- func (o *UpdatePlatformWalletConfigParams) WithHTTPClient(client *http.Client) *UpdatePlatformWalletConfigParams
- func (o *UpdatePlatformWalletConfigParams) WithNamespace(namespace string) *UpdatePlatformWalletConfigParams
- func (o *UpdatePlatformWalletConfigParams) WithPlatform(platform string) *UpdatePlatformWalletConfigParams
- func (o *UpdatePlatformWalletConfigParams) WithTimeout(timeout time.Duration) *UpdatePlatformWalletConfigParams
- func (o *UpdatePlatformWalletConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePlatformWalletConfigReader
Constants ¶
const ( CheckWalletEpicConstant = "Epic" CheckWalletGooglePlayConstant = "GooglePlay" CheckWalletIOSConstant = "IOS" CheckWalletNintendoConstant = "Nintendo" CheckWalletOtherConstant = "Other" CheckWalletPlaystationConstant = "Playstation" CheckWalletStadiaConstant = "Stadia" CheckWalletSteamConstant = "Steam" CheckWalletSystemConstant = "System" CheckWalletTwitchConstant = "Twitch" CheckWalletXboxConstant = "Xbox" )
Get the enum in CheckWalletParams
const ( GetPlatformWalletConfigEpicConstant = "Epic" GetPlatformWalletConfigGooglePlayConstant = "GooglePlay" GetPlatformWalletConfigIOSConstant = "IOS" GetPlatformWalletConfigNintendoConstant = "Nintendo" GetPlatformWalletConfigOtherConstant = "Other" GetPlatformWalletConfigPlaystationConstant = "Playstation" GetPlatformWalletConfigSteamConstant = "Steam" GetPlatformWalletConfigXboxConstant = "Xbox" )
Get the enum in GetPlatformWalletConfigParams
const ( QueryWalletsEpicConstant = "Epic" QueryWalletsGooglePlayConstant = "GooglePlay" QueryWalletsIOSConstant = "IOS" QueryWalletsNintendoConstant = "Nintendo" QueryWalletsOtherConstant = "Other" QueryWalletsPlaystationConstant = "Playstation" QueryWalletsStadiaConstant = "Stadia" QueryWalletsSteamConstant = "Steam" QueryWalletsSystemConstant = "System" QueryWalletsTwitchConstant = "Twitch" QueryWalletsXboxConstant = "Xbox" )
Get the enum in QueryWalletsParams
const ( ResetPlatformWalletConfigEpicConstant = "Epic" ResetPlatformWalletConfigGooglePlayConstant = "GooglePlay" ResetPlatformWalletConfigIOSConstant = "IOS" ResetPlatformWalletConfigNintendoConstant = "Nintendo" ResetPlatformWalletConfigOtherConstant = "Other" ResetPlatformWalletConfigPlaystationConstant = "Playstation" ResetPlatformWalletConfigSteamConstant = "Steam" ResetPlatformWalletConfigXboxConstant = "Xbox" )
Get the enum in ResetPlatformWalletConfigParams
const ( UpdatePlatformWalletConfigEpicConstant = "Epic" UpdatePlatformWalletConfigGooglePlayConstant = "GooglePlay" UpdatePlatformWalletConfigIOSConstant = "IOS" UpdatePlatformWalletConfigNintendoConstant = "Nintendo" UpdatePlatformWalletConfigOtherConstant = "Other" UpdatePlatformWalletConfigPlaystationConstant = "Playstation" UpdatePlatformWalletConfigSteamConstant = "Steam" UpdatePlatformWalletConfigXboxConstant = "Xbox" )
Get the enum in UpdatePlatformWalletConfigParams
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 { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyCode*/ CurrencyCode string /*Namespace namespace */ Namespace string /*Origin*/ Origin string /*UserID userId */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CheckWalletParams contains all the parameters to send to the API endpoint for the check wallet operation typically these are written to a http.Request
func NewCheckWalletParams ¶ added in v0.7.0
func NewCheckWalletParams() *CheckWalletParams
NewCheckWalletParams creates a new CheckWalletParams object with the default values initialized.
func NewCheckWalletParamsWithContext ¶ added in v0.7.0
func NewCheckWalletParamsWithContext(ctx context.Context) *CheckWalletParams
NewCheckWalletParamsWithContext creates a new CheckWalletParams object with the default values initialized, and the ability to set a context for a request
func NewCheckWalletParamsWithHTTPClient ¶ added in v0.7.0
func NewCheckWalletParamsWithHTTPClient(client *http.Client) *CheckWalletParams
NewCheckWalletParamsWithHTTPClient creates a new CheckWalletParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCheckWalletParamsWithTimeout ¶ added in v0.7.0
func NewCheckWalletParamsWithTimeout(timeout time.Duration) *CheckWalletParams
NewCheckWalletParamsWithTimeout creates a new CheckWalletParams object with the default values initialized, and the ability to set a timeout on a request
func (*CheckWalletParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CheckWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the check wallet params
func (*CheckWalletParams) SetContext ¶ added in v0.7.0
func (o *CheckWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the check wallet params
func (*CheckWalletParams) SetCurrencyCode ¶ added in v0.7.0
func (o *CheckWalletParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the check wallet params
func (*CheckWalletParams) SetHTTPClient ¶ added in v0.7.0
func (o *CheckWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the check wallet params
func (*CheckWalletParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CheckWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the check wallet params
func (*CheckWalletParams) SetNamespace ¶ added in v0.7.0
func (o *CheckWalletParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the check wallet params
func (*CheckWalletParams) SetOrigin ¶ added in v0.18.0
func (o *CheckWalletParams) SetOrigin(origin string)
SetOrigin adds the origin to the check wallet params
func (*CheckWalletParams) SetTimeout ¶ added in v0.7.0
func (o *CheckWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the check wallet params
func (*CheckWalletParams) SetUserID ¶ added in v0.7.0
func (o *CheckWalletParams) SetUserID(userID string)
SetUserID adds the userId to the check wallet params
func (*CheckWalletParams) WithContext ¶ added in v0.7.0
func (o *CheckWalletParams) WithContext(ctx context.Context) *CheckWalletParams
WithContext adds the context to the check wallet params
func (*CheckWalletParams) WithCurrencyCode ¶ added in v0.7.0
func (o *CheckWalletParams) WithCurrencyCode(currencyCode string) *CheckWalletParams
WithCurrencyCode adds the currencyCode to the check wallet params
func (*CheckWalletParams) WithHTTPClient ¶ added in v0.7.0
func (o *CheckWalletParams) WithHTTPClient(client *http.Client) *CheckWalletParams
WithHTTPClient adds the HTTPClient to the check wallet params
func (*CheckWalletParams) WithNamespace ¶ added in v0.7.0
func (o *CheckWalletParams) WithNamespace(namespace string) *CheckWalletParams
WithNamespace adds the namespace to the check wallet params
func (*CheckWalletParams) WithOrigin ¶ added in v0.18.0
func (o *CheckWalletParams) WithOrigin(origin string) *CheckWalletParams
WithOrigin adds the origin to the check wallet params
func (*CheckWalletParams) WithTimeout ¶ added in v0.7.0
func (o *CheckWalletParams) WithTimeout(timeout time.Duration) *CheckWalletParams
WithTimeout adds the timeout to the check wallet params
func (*CheckWalletParams) WithUserID ¶ added in v0.7.0
func (o *CheckWalletParams) WithUserID(userID string) *CheckWalletParams
WithUserID adds the userID to the check wallet params
func (*CheckWalletParams) WriteToRequest ¶ added in v0.7.0
func (o *CheckWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckWalletReader ¶ added in v0.7.0
type CheckWalletReader struct {
// contains filtered or unexported fields
}
CheckWalletReader is a Reader for the CheckWallet structure.
func (*CheckWalletReader) ReadResponse ¶ added in v0.7.0
func (o *CheckWalletReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CheckWalletUnprocessableEntity ¶ added in v0.7.0
type CheckWalletUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
CheckWalletUnprocessableEntity handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>
func NewCheckWalletUnprocessableEntity ¶ added in v0.7.0
func NewCheckWalletUnprocessableEntity() *CheckWalletUnprocessableEntity
NewCheckWalletUnprocessableEntity creates a CheckWalletUnprocessableEntity with default headers values
func (*CheckWalletUnprocessableEntity) Error ¶ added in v0.7.0
func (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 by balance origin and currency code
<b>[SERVICE COMMUNICATION ONLY]</b> Check wallet by balance origin and currency code 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, *CreditUserWalletUnprocessableEntity, error)
CreditUserWallet credits a user wallet by currency code and balance origin
Credit a user wallet by currency code and balance origin, if wallet not exists, it will create a new wallet.<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) GetPlatformWalletConfig ¶ added in v0.18.0
func (a *Client) GetPlatformWalletConfig(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error)
GetPlatformWalletConfig gets platform wallet config list
Get platform wallet config list.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:WALLET:CONFIG", action=2 (READ)</li><li><i>Returns</i>: wallet info</li></ul>
func (*Client) GetPlatformWalletConfigShort ¶ added in v0.18.0
func (a *Client) GetPlatformWalletConfigShort(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, 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) ListUserCurrencyTransactions ¶ added in v0.18.0
func (a *Client) ListUserCurrencyTransactions(params *ListUserCurrencyTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserCurrencyTransactionsOK, *ListUserCurrencyTransactionsNotFound, error)
ListUserCurrencyTransactions lists user currency transactions
List user currency 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>: currency transaction info</li></ul>
func (*Client) ListUserCurrencyTransactionsShort ¶ added in v0.18.0
func (a *Client) ListUserCurrencyTransactionsShort(params *ListUserCurrencyTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserCurrencyTransactionsOK, 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, *PayWithUserWalletUnprocessableEntity, error)
PayWithUserWallet pays with user wallet by currency code and client platform
Pay with user wallet by currency code and client platform.<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>: currency 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) QueryUserCurrencyWallets ¶ added in v0.18.0
func (a *Client) QueryUserCurrencyWallets(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error)
QueryUserCurrencyWallets gets user currency wallet summary
Get user currency wallet summary.<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>: currency wallet summary</li></ul>
func (*Client) QueryUserCurrencyWalletsShort ¶ added in v0.18.0
func (a *Client) QueryUserCurrencyWalletsShort(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error)
func (*Client) QueryWallets ¶
func (a *Client) QueryWallets(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error)
QueryWallets queries wallets
Query wallets.<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) ResetPlatformWalletConfig ¶ added in v0.18.0
func (a *Client) ResetPlatformWalletConfig(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error)
ResetPlatformWalletConfig resets platform wallet config
Reset platform wallet config to default config.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:WALLET:CONFIG", action=4 (UPDATE)</li><li><i>Returns</i>: platform wallet config</li></ul>
func (*Client) ResetPlatformWalletConfigShort ¶ added in v0.18.0
func (a *Client) ResetPlatformWalletConfigShort(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePlatformWalletConfig ¶ added in v0.18.0
func (a *Client) UpdatePlatformWalletConfig(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigOK, error)
UpdatePlatformWalletConfig updates platform wallet config
Update platform wallet config.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:WALLET:CONFIG", action=4 (UPDATE)</li><li><i>Returns</i>: platform wallet config</li></ul>
func (*Client) UpdatePlatformWalletConfigShort ¶ added in v0.18.0
func (a *Client) UpdatePlatformWalletConfigShort(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigOK, error)
type ClientService ¶
type ClientService interface { CheckWallet(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, *CheckWalletBadRequest, *CheckWalletConflict, *CheckWalletUnprocessableEntity, error) CheckWalletShort(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, error) CreditUserWallet(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, *CreditUserWalletBadRequest, *CreditUserWalletUnprocessableEntity, error) CreditUserWalletShort(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, error) DebitUserWallet(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, *DebitUserWalletBadRequest, *DebitUserWalletNotFound, *DebitUserWalletConflict, *DebitUserWalletUnprocessableEntity, error) DebitUserWalletShort(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, error) DisableUserWallet(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, *DisableUserWalletNotFound, *DisableUserWalletConflict, error) DisableUserWalletShort(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, error) EnableUserWallet(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, *EnableUserWalletNotFound, *EnableUserWalletConflict, error) EnableUserWalletShort(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, error) GetPlatformWalletConfig(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error) GetPlatformWalletConfigShort(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error) GetUserWallet(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, *GetUserWalletNotFound, error) GetUserWalletShort(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, error) GetWallet(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, *GetWalletNotFound, error) GetWalletShort(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, error) ListUserCurrencyTransactions(params *ListUserCurrencyTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserCurrencyTransactionsOK, *ListUserCurrencyTransactionsNotFound, error) ListUserCurrencyTransactionsShort(params *ListUserCurrencyTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserCurrencyTransactionsOK, error) ListUserWalletTransactions(params *ListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserWalletTransactionsOK, *ListUserWalletTransactionsNotFound, error) ListUserWalletTransactionsShort(params *ListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserWalletTransactionsOK, error) PayWithUserWallet(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, *PayWithUserWalletBadRequest, *PayWithUserWalletUnprocessableEntity, error) PayWithUserWalletShort(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, error) PublicGetMyWallet(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletOK, error) PublicGetMyWalletShort(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletOK, error) PublicGetWallet(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error) PublicGetWalletShort(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error) PublicListUserWalletTransactions(params *PublicListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserWalletTransactionsOK, error) PublicListUserWalletTransactionsShort(params *PublicListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserWalletTransactionsOK, error) QueryUserCurrencyWallets(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error) QueryUserCurrencyWalletsShort(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error) QueryWallets(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error) QueryWalletsShort(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error) ResetPlatformWalletConfig(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error) ResetPlatformWalletConfigShort(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error) UpdatePlatformWalletConfig(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigOK, error) UpdatePlatformWalletConfigShort(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new wallet API client.
type CreditUserWalletBadRequest ¶
type CreditUserWalletBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
CreditUserWalletBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr></table>
func NewCreditUserWalletBadRequest ¶
func NewCreditUserWalletBadRequest() *CreditUserWalletBadRequest
NewCreditUserWalletBadRequest creates a CreditUserWalletBadRequest with default headers values
func (*CreditUserWalletBadRequest) Error ¶
func (o *CreditUserWalletBadRequest) Error() string
func (*CreditUserWalletBadRequest) GetPayload ¶
func (o *CreditUserWalletBadRequest) 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 { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.CreditRequest /*CurrencyCode*/ CurrencyCode string /*Namespace namespace */ Namespace string /*UserID userId */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreditUserWalletParams contains all the parameters to send to the API endpoint for the credit user wallet operation typically these are written to a http.Request
func NewCreditUserWalletParams ¶
func NewCreditUserWalletParams() *CreditUserWalletParams
NewCreditUserWalletParams creates a new CreditUserWalletParams object with the default values initialized.
func NewCreditUserWalletParamsWithContext ¶
func NewCreditUserWalletParamsWithContext(ctx context.Context) *CreditUserWalletParams
NewCreditUserWalletParamsWithContext creates a new CreditUserWalletParams object with the default values initialized, and the ability to set a context for a request
func NewCreditUserWalletParamsWithHTTPClient ¶
func NewCreditUserWalletParamsWithHTTPClient(client *http.Client) *CreditUserWalletParams
NewCreditUserWalletParamsWithHTTPClient creates a new CreditUserWalletParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreditUserWalletParamsWithTimeout ¶
func NewCreditUserWalletParamsWithTimeout(timeout time.Duration) *CreditUserWalletParams
NewCreditUserWalletParamsWithTimeout creates a new CreditUserWalletParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreditUserWalletParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CreditUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the credit user wallet params
func (*CreditUserWalletParams) SetBody ¶
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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CreditUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the credit user wallet params
func (*CreditUserWalletParams) SetNamespace ¶
func (o *CreditUserWalletParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the credit user wallet params
func (*CreditUserWalletParams) SetTimeout ¶
func (o *CreditUserWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the credit user wallet params
func (*CreditUserWalletParams) SetUserID ¶
func (o *CreditUserWalletParams) SetUserID(userID string)
SetUserID adds the userId to the credit user wallet params
func (*CreditUserWalletParams) WithBody ¶
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 { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.DebitRequest /*Namespace namespace */ Namespace string /*UserID userId */ UserID string /*WalletID*/ WalletID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DebitUserWalletParams contains all the parameters to send to the API endpoint for the debit user wallet operation typically these are written to a http.Request
func NewDebitUserWalletParams ¶
func NewDebitUserWalletParams() *DebitUserWalletParams
NewDebitUserWalletParams creates a new DebitUserWalletParams object with the default values initialized.
func NewDebitUserWalletParamsWithContext ¶
func NewDebitUserWalletParamsWithContext(ctx context.Context) *DebitUserWalletParams
NewDebitUserWalletParamsWithContext creates a new DebitUserWalletParams object with the default values initialized, and the ability to set a context for a request
func NewDebitUserWalletParamsWithHTTPClient ¶
func NewDebitUserWalletParamsWithHTTPClient(client *http.Client) *DebitUserWalletParams
NewDebitUserWalletParamsWithHTTPClient creates a new DebitUserWalletParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDebitUserWalletParamsWithTimeout ¶
func NewDebitUserWalletParamsWithTimeout(timeout time.Duration) *DebitUserWalletParams
NewDebitUserWalletParamsWithTimeout creates a new DebitUserWalletParams object with the default values initialized, and the ability to set a timeout on a request
func (*DebitUserWalletParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DebitUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the debit user wallet params
func (*DebitUserWalletParams) SetBody ¶
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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DebitUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the debit user wallet params
func (*DebitUserWalletParams) SetNamespace ¶
func (o *DebitUserWalletParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the debit user wallet params
func (*DebitUserWalletParams) SetTimeout ¶
func (o *DebitUserWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the debit user wallet params
func (*DebitUserWalletParams) SetUserID ¶
func (o *DebitUserWalletParams) SetUserID(userID string)
SetUserID adds the userId to the debit user wallet params
func (*DebitUserWalletParams) SetWalletID ¶
func (o *DebitUserWalletParams) SetWalletID(walletID string)
SetWalletID adds the walletId to the debit user wallet params
func (*DebitUserWalletParams) WithBody ¶
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 { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*UserID userId */ UserID string /*WalletID walletId */ WalletID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DisableUserWalletParams contains all the parameters to send to the API endpoint for the disable user wallet operation typically these are written to a http.Request
func NewDisableUserWalletParams ¶
func NewDisableUserWalletParams() *DisableUserWalletParams
NewDisableUserWalletParams creates a new DisableUserWalletParams object with the default values initialized.
func NewDisableUserWalletParamsWithContext ¶
func NewDisableUserWalletParamsWithContext(ctx context.Context) *DisableUserWalletParams
NewDisableUserWalletParamsWithContext creates a new DisableUserWalletParams object with the default values initialized, and the ability to set a context for a request
func NewDisableUserWalletParamsWithHTTPClient ¶
func NewDisableUserWalletParamsWithHTTPClient(client *http.Client) *DisableUserWalletParams
NewDisableUserWalletParamsWithHTTPClient creates a new DisableUserWalletParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDisableUserWalletParamsWithTimeout ¶
func NewDisableUserWalletParamsWithTimeout(timeout time.Duration) *DisableUserWalletParams
NewDisableUserWalletParamsWithTimeout creates a new DisableUserWalletParams object with the default values initialized, and the ability to set a timeout on a request
func (*DisableUserWalletParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DisableUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the disable user wallet params
func (*DisableUserWalletParams) SetContext ¶
func (o *DisableUserWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the disable user wallet params
func (*DisableUserWalletParams) SetHTTPClient ¶
func (o *DisableUserWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the disable user wallet params
func (*DisableUserWalletParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DisableUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the disable user wallet params
func (*DisableUserWalletParams) SetNamespace ¶
func (o *DisableUserWalletParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the disable user wallet params
func (*DisableUserWalletParams) SetTimeout ¶
func (o *DisableUserWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the disable user wallet params
func (*DisableUserWalletParams) SetUserID ¶
func (o *DisableUserWalletParams) SetUserID(userID string)
SetUserID adds the userId to the disable user wallet params
func (*DisableUserWalletParams) SetWalletID ¶
func (o *DisableUserWalletParams) SetWalletID(walletID string)
SetWalletID adds the walletId to the disable user wallet params
func (*DisableUserWalletParams) WithContext ¶
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 { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*UserID userId */ UserID string /*WalletID walletId */ WalletID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EnableUserWalletParams contains all the parameters to send to the API endpoint for the enable user wallet operation typically these are written to a http.Request
func NewEnableUserWalletParams ¶
func NewEnableUserWalletParams() *EnableUserWalletParams
NewEnableUserWalletParams creates a new EnableUserWalletParams object with the default values initialized.
func NewEnableUserWalletParamsWithContext ¶
func NewEnableUserWalletParamsWithContext(ctx context.Context) *EnableUserWalletParams
NewEnableUserWalletParamsWithContext creates a new EnableUserWalletParams object with the default values initialized, and the ability to set a context for a request
func NewEnableUserWalletParamsWithHTTPClient ¶
func NewEnableUserWalletParamsWithHTTPClient(client *http.Client) *EnableUserWalletParams
NewEnableUserWalletParamsWithHTTPClient creates a new EnableUserWalletParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEnableUserWalletParamsWithTimeout ¶
func NewEnableUserWalletParamsWithTimeout(timeout time.Duration) *EnableUserWalletParams
NewEnableUserWalletParamsWithTimeout creates a new EnableUserWalletParams object with the default values initialized, and the ability to set a timeout on a request
func (*EnableUserWalletParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *EnableUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the enable user wallet params
func (*EnableUserWalletParams) SetContext ¶
func (o *EnableUserWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the enable user wallet params
func (*EnableUserWalletParams) SetHTTPClient ¶
func (o *EnableUserWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enable user wallet params
func (*EnableUserWalletParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *EnableUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the enable user wallet params
func (*EnableUserWalletParams) SetNamespace ¶
func (o *EnableUserWalletParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the enable user wallet params
func (*EnableUserWalletParams) SetTimeout ¶
func (o *EnableUserWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enable user wallet params
func (*EnableUserWalletParams) SetUserID ¶
func (o *EnableUserWalletParams) SetUserID(userID string)
SetUserID adds the userId to the enable user wallet params
func (*EnableUserWalletParams) SetWalletID ¶
func (o *EnableUserWalletParams) SetWalletID(walletID string)
SetWalletID adds the walletId to the enable user wallet params
func (*EnableUserWalletParams) WithContext ¶
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 GetPlatformWalletConfigOK ¶ added in v0.18.0
type GetPlatformWalletConfigOK struct {
Payload *platformclientmodels.PlatformWalletConfigInfo
}
GetPlatformWalletConfigOK handles this case with default header values.
successful operation
func NewGetPlatformWalletConfigOK ¶ added in v0.18.0
func NewGetPlatformWalletConfigOK() *GetPlatformWalletConfigOK
NewGetPlatformWalletConfigOK creates a GetPlatformWalletConfigOK with default headers values
func (*GetPlatformWalletConfigOK) Error ¶ added in v0.18.0
func (o *GetPlatformWalletConfigOK) Error() string
func (*GetPlatformWalletConfigOK) GetPayload ¶ added in v0.18.0
func (o *GetPlatformWalletConfigOK) GetPayload() *platformclientmodels.PlatformWalletConfigInfo
type GetPlatformWalletConfigParams ¶ added in v0.18.0
type GetPlatformWalletConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*Platform*/ Platform string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPlatformWalletConfigParams contains all the parameters to send to the API endpoint for the get platform wallet config operation typically these are written to a http.Request
func NewGetPlatformWalletConfigParams ¶ added in v0.18.0
func NewGetPlatformWalletConfigParams() *GetPlatformWalletConfigParams
NewGetPlatformWalletConfigParams creates a new GetPlatformWalletConfigParams object with the default values initialized.
func NewGetPlatformWalletConfigParamsWithContext ¶ added in v0.18.0
func NewGetPlatformWalletConfigParamsWithContext(ctx context.Context) *GetPlatformWalletConfigParams
NewGetPlatformWalletConfigParamsWithContext creates a new GetPlatformWalletConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetPlatformWalletConfigParamsWithHTTPClient ¶ added in v0.18.0
func NewGetPlatformWalletConfigParamsWithHTTPClient(client *http.Client) *GetPlatformWalletConfigParams
NewGetPlatformWalletConfigParamsWithHTTPClient creates a new GetPlatformWalletConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPlatformWalletConfigParamsWithTimeout ¶ added in v0.18.0
func NewGetPlatformWalletConfigParamsWithTimeout(timeout time.Duration) *GetPlatformWalletConfigParams
NewGetPlatformWalletConfigParamsWithTimeout creates a new GetPlatformWalletConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPlatformWalletConfigParams) SetAuthInfoWriter ¶ added in v0.18.0
func (o *GetPlatformWalletConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get platform wallet config params
func (*GetPlatformWalletConfigParams) SetContext ¶ added in v0.18.0
func (o *GetPlatformWalletConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get platform wallet config params
func (*GetPlatformWalletConfigParams) SetHTTPClient ¶ added in v0.18.0
func (o *GetPlatformWalletConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get platform wallet config params
func (*GetPlatformWalletConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetPlatformWalletConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get platform wallet config params
func (*GetPlatformWalletConfigParams) SetNamespace ¶ added in v0.18.0
func (o *GetPlatformWalletConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get platform wallet config params
func (*GetPlatformWalletConfigParams) SetPlatform ¶ added in v0.18.0
func (o *GetPlatformWalletConfigParams) SetPlatform(platform string)
SetPlatform adds the platform to the get platform wallet config params
func (*GetPlatformWalletConfigParams) SetTimeout ¶ added in v0.18.0
func (o *GetPlatformWalletConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get platform wallet config params
func (*GetPlatformWalletConfigParams) WithContext ¶ added in v0.18.0
func (o *GetPlatformWalletConfigParams) WithContext(ctx context.Context) *GetPlatformWalletConfigParams
WithContext adds the context to the get platform wallet config params
func (*GetPlatformWalletConfigParams) WithHTTPClient ¶ added in v0.18.0
func (o *GetPlatformWalletConfigParams) WithHTTPClient(client *http.Client) *GetPlatformWalletConfigParams
WithHTTPClient adds the HTTPClient to the get platform wallet config params
func (*GetPlatformWalletConfigParams) WithNamespace ¶ added in v0.18.0
func (o *GetPlatformWalletConfigParams) WithNamespace(namespace string) *GetPlatformWalletConfigParams
WithNamespace adds the namespace to the get platform wallet config params
func (*GetPlatformWalletConfigParams) WithPlatform ¶ added in v0.18.0
func (o *GetPlatformWalletConfigParams) WithPlatform(platform string) *GetPlatformWalletConfigParams
WithPlatform adds the platform to the get platform wallet config params
func (*GetPlatformWalletConfigParams) WithTimeout ¶ added in v0.18.0
func (o *GetPlatformWalletConfigParams) WithTimeout(timeout time.Duration) *GetPlatformWalletConfigParams
WithTimeout adds the timeout to the get platform wallet config params
func (*GetPlatformWalletConfigParams) WriteToRequest ¶ added in v0.18.0
func (o *GetPlatformWalletConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPlatformWalletConfigReader ¶ added in v0.18.0
type GetPlatformWalletConfigReader struct {
// contains filtered or unexported fields
}
GetPlatformWalletConfigReader is a Reader for the GetPlatformWalletConfig structure.
func (*GetPlatformWalletConfigReader) ReadResponse ¶ added in v0.18.0
func (o *GetPlatformWalletConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserWalletNotFound ¶
type GetUserWalletNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetUserWalletNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35141</td><td>Wallet [{walletId}] does not exist</td></tr></table>
func NewGetUserWalletNotFound ¶
func NewGetUserWalletNotFound() *GetUserWalletNotFound
NewGetUserWalletNotFound creates a GetUserWalletNotFound with default headers values
func (*GetUserWalletNotFound) Error ¶
func (o *GetUserWalletNotFound) Error() string
func (*GetUserWalletNotFound) GetPayload ¶
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 { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*UserID userId */ UserID string /*WalletID*/ WalletID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserWalletParams contains all the parameters to send to the API endpoint for the get user wallet operation typically these are written to a http.Request
func NewGetUserWalletParams ¶
func NewGetUserWalletParams() *GetUserWalletParams
NewGetUserWalletParams creates a new GetUserWalletParams object with the default values initialized.
func NewGetUserWalletParamsWithContext ¶
func NewGetUserWalletParamsWithContext(ctx context.Context) *GetUserWalletParams
NewGetUserWalletParamsWithContext creates a new GetUserWalletParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserWalletParamsWithHTTPClient ¶
func NewGetUserWalletParamsWithHTTPClient(client *http.Client) *GetUserWalletParams
NewGetUserWalletParamsWithHTTPClient creates a new GetUserWalletParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserWalletParamsWithTimeout ¶
func NewGetUserWalletParamsWithTimeout(timeout time.Duration) *GetUserWalletParams
NewGetUserWalletParamsWithTimeout creates a new GetUserWalletParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserWalletParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user wallet params
func (*GetUserWalletParams) SetContext ¶
func (o *GetUserWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the get user wallet params
func (*GetUserWalletParams) SetHTTPClient ¶
func (o *GetUserWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user wallet params
func (*GetUserWalletParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user wallet params
func (*GetUserWalletParams) SetNamespace ¶
func (o *GetUserWalletParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user wallet params
func (*GetUserWalletParams) SetTimeout ¶
func (o *GetUserWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user wallet params
func (*GetUserWalletParams) SetUserID ¶
func (o *GetUserWalletParams) SetUserID(userID string)
SetUserID adds the userId to the get user wallet params
func (*GetUserWalletParams) SetWalletID ¶
func (o *GetUserWalletParams) SetWalletID(walletID string)
SetWalletID adds the walletId to the get user wallet params
func (*GetUserWalletParams) WithContext ¶
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 { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*WalletID*/ WalletID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWalletParams contains all the parameters to send to the API endpoint for the get wallet operation typically these are written to a http.Request
func NewGetWalletParams ¶
func NewGetWalletParams() *GetWalletParams
NewGetWalletParams creates a new GetWalletParams object with the default values initialized.
func NewGetWalletParamsWithContext ¶
func NewGetWalletParamsWithContext(ctx context.Context) *GetWalletParams
NewGetWalletParamsWithContext creates a new GetWalletParams object with the default values initialized, and the ability to set a context for a request
func NewGetWalletParamsWithHTTPClient ¶
func NewGetWalletParamsWithHTTPClient(client *http.Client) *GetWalletParams
NewGetWalletParamsWithHTTPClient creates a new GetWalletParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetWalletParamsWithTimeout ¶
func NewGetWalletParamsWithTimeout(timeout time.Duration) *GetWalletParams
NewGetWalletParamsWithTimeout creates a new GetWalletParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetWalletParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get wallet params
func (*GetWalletParams) SetContext ¶
func (o *GetWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the get wallet params
func (*GetWalletParams) SetHTTPClient ¶
func (o *GetWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get wallet params
func (*GetWalletParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get wallet params
func (*GetWalletParams) SetNamespace ¶
func (o *GetWalletParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get wallet params
func (*GetWalletParams) SetTimeout ¶
func (o *GetWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get wallet params
func (*GetWalletParams) SetWalletID ¶
func (o *GetWalletParams) SetWalletID(walletID string)
SetWalletID adds the walletId to the get wallet params
func (*GetWalletParams) WithContext ¶
func (o *GetWalletParams) WithContext(ctx context.Context) *GetWalletParams
WithContext adds the context to the get wallet params
func (*GetWalletParams) WithHTTPClient ¶
func (o *GetWalletParams) WithHTTPClient(client *http.Client) *GetWalletParams
WithHTTPClient adds the HTTPClient to the get wallet params
func (*GetWalletParams) WithNamespace ¶
func (o *GetWalletParams) WithNamespace(namespace string) *GetWalletParams
WithNamespace adds the namespace to the get wallet params
func (*GetWalletParams) WithTimeout ¶
func (o *GetWalletParams) WithTimeout(timeout time.Duration) *GetWalletParams
WithTimeout adds the timeout to the get wallet params
func (*GetWalletParams) WithWalletID ¶
func (o *GetWalletParams) WithWalletID(walletID string) *GetWalletParams
WithWalletID adds the walletID to the get wallet params
func (*GetWalletParams) WriteToRequest ¶
func (o *GetWalletParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWalletReader ¶
type GetWalletReader struct {
// contains filtered or unexported fields
}
GetWalletReader is a Reader for the GetWallet structure.
func (*GetWalletReader) ReadResponse ¶
func (o *GetWalletReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserCurrencyTransactionsNotFound ¶ added in v0.18.0
type ListUserCurrencyTransactionsNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
ListUserCurrencyTransactionsNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35141</td><td>Wallet [{walletId}] does not exist</td></tr></table>
func NewListUserCurrencyTransactionsNotFound ¶ added in v0.18.0
func NewListUserCurrencyTransactionsNotFound() *ListUserCurrencyTransactionsNotFound
NewListUserCurrencyTransactionsNotFound creates a ListUserCurrencyTransactionsNotFound with default headers values
func (*ListUserCurrencyTransactionsNotFound) Error ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsNotFound) Error() string
func (*ListUserCurrencyTransactionsNotFound) GetPayload ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsNotFound) GetPayload() *platformclientmodels.ErrorEntity
type ListUserCurrencyTransactionsOK ¶ added in v0.18.0
type ListUserCurrencyTransactionsOK struct {
Payload *platformclientmodels.WalletTransactionPagingSlicedResult
}
ListUserCurrencyTransactionsOK handles this case with default header values.
successful operation
func NewListUserCurrencyTransactionsOK ¶ added in v0.18.0
func NewListUserCurrencyTransactionsOK() *ListUserCurrencyTransactionsOK
NewListUserCurrencyTransactionsOK creates a ListUserCurrencyTransactionsOK with default headers values
func (*ListUserCurrencyTransactionsOK) Error ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsOK) Error() string
func (*ListUserCurrencyTransactionsOK) GetPayload ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsOK) GetPayload() *platformclientmodels.WalletTransactionPagingSlicedResult
type ListUserCurrencyTransactionsParams ¶ added in v0.18.0
type ListUserCurrencyTransactionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyCode currencyCode */ CurrencyCode string /*Limit*/ Limit *int32 /*Namespace namespace */ Namespace string /*Offset*/ Offset *int32 /*UserID userId */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserCurrencyTransactionsParams contains all the parameters to send to the API endpoint for the list user currency transactions operation typically these are written to a http.Request
func NewListUserCurrencyTransactionsParams ¶ added in v0.18.0
func NewListUserCurrencyTransactionsParams() *ListUserCurrencyTransactionsParams
NewListUserCurrencyTransactionsParams creates a new ListUserCurrencyTransactionsParams object with the default values initialized.
func NewListUserCurrencyTransactionsParamsWithContext ¶ added in v0.18.0
func NewListUserCurrencyTransactionsParamsWithContext(ctx context.Context) *ListUserCurrencyTransactionsParams
NewListUserCurrencyTransactionsParamsWithContext creates a new ListUserCurrencyTransactionsParams object with the default values initialized, and the ability to set a context for a request
func NewListUserCurrencyTransactionsParamsWithHTTPClient ¶ added in v0.18.0
func NewListUserCurrencyTransactionsParamsWithHTTPClient(client *http.Client) *ListUserCurrencyTransactionsParams
NewListUserCurrencyTransactionsParamsWithHTTPClient creates a new ListUserCurrencyTransactionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListUserCurrencyTransactionsParamsWithTimeout ¶ added in v0.18.0
func NewListUserCurrencyTransactionsParamsWithTimeout(timeout time.Duration) *ListUserCurrencyTransactionsParams
NewListUserCurrencyTransactionsParamsWithTimeout creates a new ListUserCurrencyTransactionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListUserCurrencyTransactionsParams) SetAuthInfoWriter ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) SetContext ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) SetCurrencyCode ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) SetHTTPClient ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ListUserCurrencyTransactionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) SetLimit ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) SetLimit(limit *int32)
SetLimit adds the limit to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) SetNamespace ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) SetOffset ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) SetOffset(offset *int32)
SetOffset adds the offset to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) SetTimeout ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) SetUserID ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) SetUserID(userID string)
SetUserID adds the userId to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) WithContext ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) WithContext(ctx context.Context) *ListUserCurrencyTransactionsParams
WithContext adds the context to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) WithCurrencyCode ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) WithCurrencyCode(currencyCode string) *ListUserCurrencyTransactionsParams
WithCurrencyCode adds the currencyCode to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) WithHTTPClient ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) WithHTTPClient(client *http.Client) *ListUserCurrencyTransactionsParams
WithHTTPClient adds the HTTPClient to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) WithLimit ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) WithLimit(limit *int32) *ListUserCurrencyTransactionsParams
WithLimit adds the limit to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) WithNamespace ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) WithNamespace(namespace string) *ListUserCurrencyTransactionsParams
WithNamespace adds the namespace to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) WithOffset ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) WithOffset(offset *int32) *ListUserCurrencyTransactionsParams
WithOffset adds the offset to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) WithTimeout ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) WithTimeout(timeout time.Duration) *ListUserCurrencyTransactionsParams
WithTimeout adds the timeout to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) WithUserID ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) WithUserID(userID string) *ListUserCurrencyTransactionsParams
WithUserID adds the userID to the list user currency transactions params
func (*ListUserCurrencyTransactionsParams) WriteToRequest ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserCurrencyTransactionsReader ¶ added in v0.18.0
type ListUserCurrencyTransactionsReader struct {
// contains filtered or unexported fields
}
ListUserCurrencyTransactionsReader is a Reader for the ListUserCurrencyTransactions structure.
func (*ListUserCurrencyTransactionsReader) ReadResponse ¶ added in v0.18.0
func (o *ListUserCurrencyTransactionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserWalletTransactionsNotFound ¶
type ListUserWalletTransactionsNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
ListUserWalletTransactionsNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35141</td><td>Wallet [{walletId}] does not exist</td></tr></table>
func NewListUserWalletTransactionsNotFound ¶
func NewListUserWalletTransactionsNotFound() *ListUserWalletTransactionsNotFound
NewListUserWalletTransactionsNotFound creates a ListUserWalletTransactionsNotFound with default headers values
func (*ListUserWalletTransactionsNotFound) Error ¶
func (o *ListUserWalletTransactionsNotFound) Error() string
func (*ListUserWalletTransactionsNotFound) GetPayload ¶
func (o *ListUserWalletTransactionsNotFound) GetPayload() *platformclientmodels.ErrorEntity
type ListUserWalletTransactionsOK ¶
type ListUserWalletTransactionsOK struct {
Payload *platformclientmodels.DetailedWalletTransactionPagingSlicedResult
}
ListUserWalletTransactionsOK handles this case with default header values.
successful operation
func NewListUserWalletTransactionsOK ¶
func NewListUserWalletTransactionsOK() *ListUserWalletTransactionsOK
NewListUserWalletTransactionsOK creates a ListUserWalletTransactionsOK with default headers values
func (*ListUserWalletTransactionsOK) Error ¶
func (o *ListUserWalletTransactionsOK) Error() string
func (*ListUserWalletTransactionsOK) GetPayload ¶
func (o *ListUserWalletTransactionsOK) GetPayload() *platformclientmodels.DetailedWalletTransactionPagingSlicedResult
type ListUserWalletTransactionsParams ¶
type ListUserWalletTransactionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Limit*/ Limit *int32 /*Namespace namespace */ Namespace string /*Offset*/ Offset *int32 /*UserID userId */ UserID string /*WalletID walletId */ WalletID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUserWalletTransactionsParams contains all the parameters to send to the API endpoint for the list user wallet transactions operation typically these are written to a http.Request
func NewListUserWalletTransactionsParams ¶
func NewListUserWalletTransactionsParams() *ListUserWalletTransactionsParams
NewListUserWalletTransactionsParams creates a new ListUserWalletTransactionsParams object with the default values initialized.
func NewListUserWalletTransactionsParamsWithContext ¶
func NewListUserWalletTransactionsParamsWithContext(ctx context.Context) *ListUserWalletTransactionsParams
NewListUserWalletTransactionsParamsWithContext creates a new ListUserWalletTransactionsParams object with the default values initialized, and the ability to set a context for a request
func NewListUserWalletTransactionsParamsWithHTTPClient ¶
func NewListUserWalletTransactionsParamsWithHTTPClient(client *http.Client) *ListUserWalletTransactionsParams
NewListUserWalletTransactionsParamsWithHTTPClient creates a new ListUserWalletTransactionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListUserWalletTransactionsParamsWithTimeout ¶
func NewListUserWalletTransactionsParamsWithTimeout(timeout time.Duration) *ListUserWalletTransactionsParams
NewListUserWalletTransactionsParamsWithTimeout creates a new ListUserWalletTransactionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListUserWalletTransactionsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ListUserWalletTransactionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) SetContext ¶
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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ListUserWalletTransactionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) SetLimit ¶
func (o *ListUserWalletTransactionsParams) SetLimit(limit *int32)
SetLimit adds the limit to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) SetNamespace ¶
func (o *ListUserWalletTransactionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) SetOffset ¶
func (o *ListUserWalletTransactionsParams) SetOffset(offset *int32)
SetOffset adds the offset to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) SetTimeout ¶
func (o *ListUserWalletTransactionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) SetUserID ¶
func (o *ListUserWalletTransactionsParams) SetUserID(userID string)
SetUserID adds the userId to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) SetWalletID ¶
func (o *ListUserWalletTransactionsParams) SetWalletID(walletID string)
SetWalletID adds the walletId to the list user wallet transactions params
func (*ListUserWalletTransactionsParams) WithContext ¶
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 PayWithUserWalletOK ¶
type PayWithUserWalletOK struct {
Payload *platformclientmodels.PlatformWallet
}
PayWithUserWalletOK handles this case with default header values.
successful operation
func NewPayWithUserWalletOK ¶
func NewPayWithUserWalletOK() *PayWithUserWalletOK
NewPayWithUserWalletOK creates a PayWithUserWalletOK with default headers values
func (*PayWithUserWalletOK) Error ¶
func (o *PayWithUserWalletOK) Error() string
func (*PayWithUserWalletOK) GetPayload ¶
func (o *PayWithUserWalletOK) GetPayload() *platformclientmodels.PlatformWallet
type PayWithUserWalletParams ¶
type PayWithUserWalletParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.PaymentRequest /*CurrencyCode*/ CurrencyCode string /*Namespace namespace */ Namespace string /*UserID userId */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PayWithUserWalletParams contains all the parameters to send to the API endpoint for the pay with user wallet operation typically these are written to a http.Request
func NewPayWithUserWalletParams ¶
func NewPayWithUserWalletParams() *PayWithUserWalletParams
NewPayWithUserWalletParams creates a new PayWithUserWalletParams object with the default values initialized.
func NewPayWithUserWalletParamsWithContext ¶
func NewPayWithUserWalletParamsWithContext(ctx context.Context) *PayWithUserWalletParams
NewPayWithUserWalletParamsWithContext creates a new PayWithUserWalletParams object with the default values initialized, and the ability to set a context for a request
func NewPayWithUserWalletParamsWithHTTPClient ¶
func NewPayWithUserWalletParamsWithHTTPClient(client *http.Client) *PayWithUserWalletParams
NewPayWithUserWalletParamsWithHTTPClient creates a new PayWithUserWalletParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPayWithUserWalletParamsWithTimeout ¶
func NewPayWithUserWalletParamsWithTimeout(timeout time.Duration) *PayWithUserWalletParams
NewPayWithUserWalletParamsWithTimeout creates a new PayWithUserWalletParams object with the default values initialized, and the ability to set a timeout on a request
func (*PayWithUserWalletParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PayWithUserWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the pay with user wallet params
func (*PayWithUserWalletParams) SetBody ¶
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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PayWithUserWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the pay with user wallet params
func (*PayWithUserWalletParams) SetNamespace ¶
func (o *PayWithUserWalletParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the pay with user wallet params
func (*PayWithUserWalletParams) SetTimeout ¶
func (o *PayWithUserWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pay with user wallet params
func (*PayWithUserWalletParams) SetUserID ¶
func (o *PayWithUserWalletParams) SetUserID(userID string)
SetUserID adds the userId to the pay with user wallet params
func (*PayWithUserWalletParams) WithBody ¶
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.PlatformWallet
}
PublicGetMyWalletOK handles this case with default header values.
successful operation
func NewPublicGetMyWalletOK ¶
func NewPublicGetMyWalletOK() *PublicGetMyWalletOK
NewPublicGetMyWalletOK creates a PublicGetMyWalletOK with default headers values
func (*PublicGetMyWalletOK) Error ¶
func (o *PublicGetMyWalletOK) Error() string
func (*PublicGetMyWalletOK) GetPayload ¶
func (o *PublicGetMyWalletOK) GetPayload() *platformclientmodels.PlatformWallet
type PublicGetMyWalletParams ¶
type PublicGetMyWalletParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyCode*/ CurrencyCode string /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetMyWalletParams contains all the parameters to send to the API endpoint for the public get my wallet operation typically these are written to a http.Request
func NewPublicGetMyWalletParams ¶
func NewPublicGetMyWalletParams() *PublicGetMyWalletParams
NewPublicGetMyWalletParams creates a new PublicGetMyWalletParams object with the default values initialized.
func NewPublicGetMyWalletParamsWithContext ¶
func NewPublicGetMyWalletParamsWithContext(ctx context.Context) *PublicGetMyWalletParams
NewPublicGetMyWalletParamsWithContext creates a new PublicGetMyWalletParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetMyWalletParamsWithHTTPClient ¶
func NewPublicGetMyWalletParamsWithHTTPClient(client *http.Client) *PublicGetMyWalletParams
NewPublicGetMyWalletParamsWithHTTPClient creates a new PublicGetMyWalletParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetMyWalletParamsWithTimeout ¶
func NewPublicGetMyWalletParamsWithTimeout(timeout time.Duration) *PublicGetMyWalletParams
NewPublicGetMyWalletParamsWithTimeout creates a new PublicGetMyWalletParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetMyWalletParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetMyWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get my wallet params
func (*PublicGetMyWalletParams) SetContext ¶
func (o *PublicGetMyWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the public get my wallet params
func (*PublicGetMyWalletParams) SetCurrencyCode ¶
func (o *PublicGetMyWalletParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the public get my wallet params
func (*PublicGetMyWalletParams) SetHTTPClient ¶
func (o *PublicGetMyWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get my wallet params
func (*PublicGetMyWalletParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetMyWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get my wallet params
func (*PublicGetMyWalletParams) SetNamespace ¶
func (o *PublicGetMyWalletParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get my wallet params
func (*PublicGetMyWalletParams) SetTimeout ¶
func (o *PublicGetMyWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get my wallet params
func (*PublicGetMyWalletParams) WithContext ¶
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.PlatformWallet
}
PublicGetWalletOK handles this case with default header values.
successful operation
func NewPublicGetWalletOK ¶
func NewPublicGetWalletOK() *PublicGetWalletOK
NewPublicGetWalletOK creates a PublicGetWalletOK with default headers values
func (*PublicGetWalletOK) Error ¶
func (o *PublicGetWalletOK) Error() string
func (*PublicGetWalletOK) GetPayload ¶
func (o *PublicGetWalletOK) GetPayload() *platformclientmodels.PlatformWallet
type PublicGetWalletParams ¶
type PublicGetWalletParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyCode*/ CurrencyCode string /*Namespace Namespace */ Namespace string /*UserID userId */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicGetWalletParams contains all the parameters to send to the API endpoint for the public get wallet operation typically these are written to a http.Request
func NewPublicGetWalletParams ¶
func NewPublicGetWalletParams() *PublicGetWalletParams
NewPublicGetWalletParams creates a new PublicGetWalletParams object with the default values initialized.
func NewPublicGetWalletParamsWithContext ¶
func NewPublicGetWalletParamsWithContext(ctx context.Context) *PublicGetWalletParams
NewPublicGetWalletParamsWithContext creates a new PublicGetWalletParams object with the default values initialized, and the ability to set a context for a request
func NewPublicGetWalletParamsWithHTTPClient ¶
func NewPublicGetWalletParamsWithHTTPClient(client *http.Client) *PublicGetWalletParams
NewPublicGetWalletParamsWithHTTPClient creates a new PublicGetWalletParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicGetWalletParamsWithTimeout ¶
func NewPublicGetWalletParamsWithTimeout(timeout time.Duration) *PublicGetWalletParams
NewPublicGetWalletParamsWithTimeout creates a new PublicGetWalletParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicGetWalletParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicGetWalletParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public get wallet params
func (*PublicGetWalletParams) SetContext ¶
func (o *PublicGetWalletParams) SetContext(ctx context.Context)
SetContext adds the context to the public get wallet params
func (*PublicGetWalletParams) SetCurrencyCode ¶
func (o *PublicGetWalletParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the public get wallet params
func (*PublicGetWalletParams) SetHTTPClient ¶
func (o *PublicGetWalletParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public get wallet params
func (*PublicGetWalletParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicGetWalletParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public get wallet params
func (*PublicGetWalletParams) SetNamespace ¶
func (o *PublicGetWalletParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public get wallet params
func (*PublicGetWalletParams) SetTimeout ¶
func (o *PublicGetWalletParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public get wallet params
func (*PublicGetWalletParams) SetUserID ¶
func (o *PublicGetWalletParams) SetUserID(userID string)
SetUserID adds the userId to the public get wallet params
func (*PublicGetWalletParams) WithContext ¶
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 { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyCode currencyCode */ CurrencyCode string /*Limit*/ Limit *int32 /*Namespace namespace */ Namespace string /*Offset*/ Offset *int32 /*UserID userId */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicListUserWalletTransactionsParams contains all the parameters to send to the API endpoint for the public list user wallet transactions operation typically these are written to a http.Request
func NewPublicListUserWalletTransactionsParams ¶
func NewPublicListUserWalletTransactionsParams() *PublicListUserWalletTransactionsParams
NewPublicListUserWalletTransactionsParams creates a new PublicListUserWalletTransactionsParams object with the default values initialized.
func NewPublicListUserWalletTransactionsParamsWithContext ¶
func NewPublicListUserWalletTransactionsParamsWithContext(ctx context.Context) *PublicListUserWalletTransactionsParams
NewPublicListUserWalletTransactionsParamsWithContext creates a new PublicListUserWalletTransactionsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicListUserWalletTransactionsParamsWithHTTPClient ¶
func NewPublicListUserWalletTransactionsParamsWithHTTPClient(client *http.Client) *PublicListUserWalletTransactionsParams
NewPublicListUserWalletTransactionsParamsWithHTTPClient creates a new PublicListUserWalletTransactionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicListUserWalletTransactionsParamsWithTimeout ¶
func NewPublicListUserWalletTransactionsParamsWithTimeout(timeout time.Duration) *PublicListUserWalletTransactionsParams
NewPublicListUserWalletTransactionsParamsWithTimeout creates a new PublicListUserWalletTransactionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicListUserWalletTransactionsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *PublicListUserWalletTransactionsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) SetContext ¶
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) SetHTTPClientTransport ¶ added in v0.19.0
func (o *PublicListUserWalletTransactionsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) SetLimit ¶
func (o *PublicListUserWalletTransactionsParams) SetLimit(limit *int32)
SetLimit adds the limit to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) SetNamespace ¶
func (o *PublicListUserWalletTransactionsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) SetOffset ¶
func (o *PublicListUserWalletTransactionsParams) SetOffset(offset *int32)
SetOffset adds the offset to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) SetTimeout ¶
func (o *PublicListUserWalletTransactionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) SetUserID ¶
func (o *PublicListUserWalletTransactionsParams) SetUserID(userID string)
SetUserID adds the userId to the public list user wallet transactions params
func (*PublicListUserWalletTransactionsParams) WithContext ¶
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 QueryUserCurrencyWalletsOK ¶ added in v0.18.0
type QueryUserCurrencyWalletsOK struct {
Payload []*platformclientmodels.CurrencyWallet
}
QueryUserCurrencyWalletsOK handles this case with default header values.
successful operation
func NewQueryUserCurrencyWalletsOK ¶ added in v0.18.0
func NewQueryUserCurrencyWalletsOK() *QueryUserCurrencyWalletsOK
NewQueryUserCurrencyWalletsOK creates a QueryUserCurrencyWalletsOK with default headers values
func (*QueryUserCurrencyWalletsOK) Error ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsOK) Error() string
func (*QueryUserCurrencyWalletsOK) GetPayload ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsOK) GetPayload() []*platformclientmodels.CurrencyWallet
type QueryUserCurrencyWalletsParams ¶ added in v0.18.0
type QueryUserCurrencyWalletsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*UserID userId */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryUserCurrencyWalletsParams contains all the parameters to send to the API endpoint for the query user currency wallets operation typically these are written to a http.Request
func NewQueryUserCurrencyWalletsParams ¶ added in v0.18.0
func NewQueryUserCurrencyWalletsParams() *QueryUserCurrencyWalletsParams
NewQueryUserCurrencyWalletsParams creates a new QueryUserCurrencyWalletsParams object with the default values initialized.
func NewQueryUserCurrencyWalletsParamsWithContext ¶ added in v0.18.0
func NewQueryUserCurrencyWalletsParamsWithContext(ctx context.Context) *QueryUserCurrencyWalletsParams
NewQueryUserCurrencyWalletsParamsWithContext creates a new QueryUserCurrencyWalletsParams object with the default values initialized, and the ability to set a context for a request
func NewQueryUserCurrencyWalletsParamsWithHTTPClient ¶ added in v0.18.0
func NewQueryUserCurrencyWalletsParamsWithHTTPClient(client *http.Client) *QueryUserCurrencyWalletsParams
NewQueryUserCurrencyWalletsParamsWithHTTPClient creates a new QueryUserCurrencyWalletsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryUserCurrencyWalletsParamsWithTimeout ¶ added in v0.18.0
func NewQueryUserCurrencyWalletsParamsWithTimeout(timeout time.Duration) *QueryUserCurrencyWalletsParams
NewQueryUserCurrencyWalletsParamsWithTimeout creates a new QueryUserCurrencyWalletsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryUserCurrencyWalletsParams) SetAuthInfoWriter ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query user currency wallets params
func (*QueryUserCurrencyWalletsParams) SetContext ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsParams) SetContext(ctx context.Context)
SetContext adds the context to the query user currency wallets params
func (*QueryUserCurrencyWalletsParams) SetHTTPClient ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query user currency wallets params
func (*QueryUserCurrencyWalletsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *QueryUserCurrencyWalletsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query user currency wallets params
func (*QueryUserCurrencyWalletsParams) SetNamespace ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query user currency wallets params
func (*QueryUserCurrencyWalletsParams) SetTimeout ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query user currency wallets params
func (*QueryUserCurrencyWalletsParams) SetUserID ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsParams) SetUserID(userID string)
SetUserID adds the userId to the query user currency wallets params
func (*QueryUserCurrencyWalletsParams) WithContext ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsParams) WithContext(ctx context.Context) *QueryUserCurrencyWalletsParams
WithContext adds the context to the query user currency wallets params
func (*QueryUserCurrencyWalletsParams) WithHTTPClient ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsParams) WithHTTPClient(client *http.Client) *QueryUserCurrencyWalletsParams
WithHTTPClient adds the HTTPClient to the query user currency wallets params
func (*QueryUserCurrencyWalletsParams) WithNamespace ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsParams) WithNamespace(namespace string) *QueryUserCurrencyWalletsParams
WithNamespace adds the namespace to the query user currency wallets params
func (*QueryUserCurrencyWalletsParams) WithTimeout ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsParams) WithTimeout(timeout time.Duration) *QueryUserCurrencyWalletsParams
WithTimeout adds the timeout to the query user currency wallets params
func (*QueryUserCurrencyWalletsParams) WithUserID ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsParams) WithUserID(userID string) *QueryUserCurrencyWalletsParams
WithUserID adds the userID to the query user currency wallets params
func (*QueryUserCurrencyWalletsParams) WriteToRequest ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryUserCurrencyWalletsReader ¶ added in v0.18.0
type QueryUserCurrencyWalletsReader struct {
// contains filtered or unexported fields
}
QueryUserCurrencyWalletsReader is a Reader for the QueryUserCurrencyWallets structure.
func (*QueryUserCurrencyWalletsReader) ReadResponse ¶ added in v0.18.0
func (o *QueryUserCurrencyWalletsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryWalletsOK ¶
type QueryWalletsOK struct {
Payload *platformclientmodels.WalletPagingSlicedResult
}
QueryWalletsOK handles this case with default header values.
successful operation
func NewQueryWalletsOK ¶
func NewQueryWalletsOK() *QueryWalletsOK
NewQueryWalletsOK creates a QueryWalletsOK with default headers values
func (*QueryWalletsOK) Error ¶
func (o *QueryWalletsOK) Error() string
func (*QueryWalletsOK) GetPayload ¶
func (o *QueryWalletsOK) GetPayload() *platformclientmodels.WalletPagingSlicedResult
type QueryWalletsParams ¶
type QueryWalletsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyCode currencyCode */ CurrencyCode *string /*Limit*/ Limit *int32 /*Namespace Namespace */ Namespace string /*Offset*/ Offset *int32 /*Origin balance origin */ Origin *string /*UserID userId */ UserID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryWalletsParams contains all the parameters to send to the API endpoint for the query wallets operation typically these are written to a http.Request
func NewQueryWalletsParams ¶
func NewQueryWalletsParams() *QueryWalletsParams
NewQueryWalletsParams creates a new QueryWalletsParams object with the default values initialized.
func NewQueryWalletsParamsWithContext ¶
func NewQueryWalletsParamsWithContext(ctx context.Context) *QueryWalletsParams
NewQueryWalletsParamsWithContext creates a new QueryWalletsParams object with the default values initialized, and the ability to set a context for a request
func NewQueryWalletsParamsWithHTTPClient ¶
func NewQueryWalletsParamsWithHTTPClient(client *http.Client) *QueryWalletsParams
NewQueryWalletsParamsWithHTTPClient creates a new QueryWalletsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryWalletsParamsWithTimeout ¶
func NewQueryWalletsParamsWithTimeout(timeout time.Duration) *QueryWalletsParams
NewQueryWalletsParamsWithTimeout creates a new QueryWalletsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryWalletsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *QueryWalletsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query wallets params
func (*QueryWalletsParams) SetContext ¶
func (o *QueryWalletsParams) SetContext(ctx context.Context)
SetContext adds the context to the query wallets params
func (*QueryWalletsParams) SetCurrencyCode ¶
func (o *QueryWalletsParams) SetCurrencyCode(currencyCode *string)
SetCurrencyCode adds the currencyCode to the query wallets params
func (*QueryWalletsParams) SetHTTPClient ¶
func (o *QueryWalletsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query wallets params
func (*QueryWalletsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *QueryWalletsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query wallets params
func (*QueryWalletsParams) SetLimit ¶
func (o *QueryWalletsParams) SetLimit(limit *int32)
SetLimit adds the limit to the query wallets params
func (*QueryWalletsParams) SetNamespace ¶
func (o *QueryWalletsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query wallets params
func (*QueryWalletsParams) SetOffset ¶
func (o *QueryWalletsParams) SetOffset(offset *int32)
SetOffset adds the offset to the query wallets params
func (*QueryWalletsParams) SetOrigin ¶ added in v0.18.0
func (o *QueryWalletsParams) SetOrigin(origin *string)
SetOrigin adds the origin to the query wallets params
func (*QueryWalletsParams) SetTimeout ¶
func (o *QueryWalletsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query wallets params
func (*QueryWalletsParams) SetUserID ¶
func (o *QueryWalletsParams) SetUserID(userID *string)
SetUserID adds the userId to the query wallets params
func (*QueryWalletsParams) WithContext ¶
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) WithOrigin ¶ added in v0.18.0
func (o *QueryWalletsParams) WithOrigin(origin *string) *QueryWalletsParams
WithOrigin adds the origin to the query wallets params
func (*QueryWalletsParams) WithTimeout ¶
func (o *QueryWalletsParams) WithTimeout(timeout time.Duration) *QueryWalletsParams
WithTimeout adds the timeout to the query wallets params
func (*QueryWalletsParams) WithUserID ¶
func (o *QueryWalletsParams) WithUserID(userID *string) *QueryWalletsParams
WithUserID adds the userID to the query wallets params
func (*QueryWalletsParams) WriteToRequest ¶
func (o *QueryWalletsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryWalletsReader ¶
type QueryWalletsReader struct {
// contains filtered or unexported fields
}
QueryWalletsReader is a Reader for the QueryWallets structure.
func (*QueryWalletsReader) ReadResponse ¶
func (o *QueryWalletsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetPlatformWalletConfigOK ¶ added in v0.18.0
type ResetPlatformWalletConfigOK struct {
Payload *platformclientmodels.PlatformWalletConfigInfo
}
ResetPlatformWalletConfigOK handles this case with default header values.
successful operation
func NewResetPlatformWalletConfigOK ¶ added in v0.18.0
func NewResetPlatformWalletConfigOK() *ResetPlatformWalletConfigOK
NewResetPlatformWalletConfigOK creates a ResetPlatformWalletConfigOK with default headers values
func (*ResetPlatformWalletConfigOK) Error ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigOK) Error() string
func (*ResetPlatformWalletConfigOK) GetPayload ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigOK) GetPayload() *platformclientmodels.PlatformWalletConfigInfo
type ResetPlatformWalletConfigParams ¶ added in v0.18.0
type ResetPlatformWalletConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*Platform*/ Platform string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetPlatformWalletConfigParams contains all the parameters to send to the API endpoint for the reset platform wallet config operation typically these are written to a http.Request
func NewResetPlatformWalletConfigParams ¶ added in v0.18.0
func NewResetPlatformWalletConfigParams() *ResetPlatformWalletConfigParams
NewResetPlatformWalletConfigParams creates a new ResetPlatformWalletConfigParams object with the default values initialized.
func NewResetPlatformWalletConfigParamsWithContext ¶ added in v0.18.0
func NewResetPlatformWalletConfigParamsWithContext(ctx context.Context) *ResetPlatformWalletConfigParams
NewResetPlatformWalletConfigParamsWithContext creates a new ResetPlatformWalletConfigParams object with the default values initialized, and the ability to set a context for a request
func NewResetPlatformWalletConfigParamsWithHTTPClient ¶ added in v0.18.0
func NewResetPlatformWalletConfigParamsWithHTTPClient(client *http.Client) *ResetPlatformWalletConfigParams
NewResetPlatformWalletConfigParamsWithHTTPClient creates a new ResetPlatformWalletConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewResetPlatformWalletConfigParamsWithTimeout ¶ added in v0.18.0
func NewResetPlatformWalletConfigParamsWithTimeout(timeout time.Duration) *ResetPlatformWalletConfigParams
NewResetPlatformWalletConfigParamsWithTimeout creates a new ResetPlatformWalletConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*ResetPlatformWalletConfigParams) SetAuthInfoWriter ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the reset platform wallet config params
func (*ResetPlatformWalletConfigParams) SetContext ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the reset platform wallet config params
func (*ResetPlatformWalletConfigParams) SetHTTPClient ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset platform wallet config params
func (*ResetPlatformWalletConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ResetPlatformWalletConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the reset platform wallet config params
func (*ResetPlatformWalletConfigParams) SetNamespace ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the reset platform wallet config params
func (*ResetPlatformWalletConfigParams) SetPlatform ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigParams) SetPlatform(platform string)
SetPlatform adds the platform to the reset platform wallet config params
func (*ResetPlatformWalletConfigParams) SetTimeout ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset platform wallet config params
func (*ResetPlatformWalletConfigParams) WithContext ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigParams) WithContext(ctx context.Context) *ResetPlatformWalletConfigParams
WithContext adds the context to the reset platform wallet config params
func (*ResetPlatformWalletConfigParams) WithHTTPClient ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigParams) WithHTTPClient(client *http.Client) *ResetPlatformWalletConfigParams
WithHTTPClient adds the HTTPClient to the reset platform wallet config params
func (*ResetPlatformWalletConfigParams) WithNamespace ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigParams) WithNamespace(namespace string) *ResetPlatformWalletConfigParams
WithNamespace adds the namespace to the reset platform wallet config params
func (*ResetPlatformWalletConfigParams) WithPlatform ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigParams) WithPlatform(platform string) *ResetPlatformWalletConfigParams
WithPlatform adds the platform to the reset platform wallet config params
func (*ResetPlatformWalletConfigParams) WithTimeout ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigParams) WithTimeout(timeout time.Duration) *ResetPlatformWalletConfigParams
WithTimeout adds the timeout to the reset platform wallet config params
func (*ResetPlatformWalletConfigParams) WriteToRequest ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetPlatformWalletConfigReader ¶ added in v0.18.0
type ResetPlatformWalletConfigReader struct {
// contains filtered or unexported fields
}
ResetPlatformWalletConfigReader is a Reader for the ResetPlatformWalletConfig structure.
func (*ResetPlatformWalletConfigReader) ReadResponse ¶ added in v0.18.0
func (o *ResetPlatformWalletConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePlatformWalletConfigOK ¶ added in v0.18.0
type UpdatePlatformWalletConfigOK struct {
Payload *platformclientmodels.PlatformWalletConfigInfo
}
UpdatePlatformWalletConfigOK handles this case with default header values.
successful operation
func NewUpdatePlatformWalletConfigOK ¶ added in v0.18.0
func NewUpdatePlatformWalletConfigOK() *UpdatePlatformWalletConfigOK
NewUpdatePlatformWalletConfigOK creates a UpdatePlatformWalletConfigOK with default headers values
func (*UpdatePlatformWalletConfigOK) Error ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigOK) Error() string
func (*UpdatePlatformWalletConfigOK) GetPayload ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigOK) GetPayload() *platformclientmodels.PlatformWalletConfigInfo
type UpdatePlatformWalletConfigParams ¶ added in v0.18.0
type UpdatePlatformWalletConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.PlatformWalletConfigUpdate /*Namespace Namespace */ Namespace string /*Platform*/ Platform string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePlatformWalletConfigParams contains all the parameters to send to the API endpoint for the update platform wallet config operation typically these are written to a http.Request
func NewUpdatePlatformWalletConfigParams ¶ added in v0.18.0
func NewUpdatePlatformWalletConfigParams() *UpdatePlatformWalletConfigParams
NewUpdatePlatformWalletConfigParams creates a new UpdatePlatformWalletConfigParams object with the default values initialized.
func NewUpdatePlatformWalletConfigParamsWithContext ¶ added in v0.18.0
func NewUpdatePlatformWalletConfigParamsWithContext(ctx context.Context) *UpdatePlatformWalletConfigParams
NewUpdatePlatformWalletConfigParamsWithContext creates a new UpdatePlatformWalletConfigParams object with the default values initialized, and the ability to set a context for a request
func NewUpdatePlatformWalletConfigParamsWithHTTPClient ¶ added in v0.18.0
func NewUpdatePlatformWalletConfigParamsWithHTTPClient(client *http.Client) *UpdatePlatformWalletConfigParams
NewUpdatePlatformWalletConfigParamsWithHTTPClient creates a new UpdatePlatformWalletConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdatePlatformWalletConfigParamsWithTimeout ¶ added in v0.18.0
func NewUpdatePlatformWalletConfigParamsWithTimeout(timeout time.Duration) *UpdatePlatformWalletConfigParams
NewUpdatePlatformWalletConfigParamsWithTimeout creates a new UpdatePlatformWalletConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdatePlatformWalletConfigParams) SetAuthInfoWriter ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) SetBody ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) SetBody(body *platformclientmodels.PlatformWalletConfigUpdate)
SetBody adds the body to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) SetContext ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) SetHTTPClient ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdatePlatformWalletConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) SetNamespace ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) SetPlatform ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) SetPlatform(platform string)
SetPlatform adds the platform to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) SetTimeout ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) WithBody ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) WithBody(body *platformclientmodels.PlatformWalletConfigUpdate) *UpdatePlatformWalletConfigParams
WithBody adds the body to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) WithContext ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) WithContext(ctx context.Context) *UpdatePlatformWalletConfigParams
WithContext adds the context to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) WithHTTPClient ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) WithHTTPClient(client *http.Client) *UpdatePlatformWalletConfigParams
WithHTTPClient adds the HTTPClient to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) WithNamespace ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) WithNamespace(namespace string) *UpdatePlatformWalletConfigParams
WithNamespace adds the namespace to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) WithPlatform ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) WithPlatform(platform string) *UpdatePlatformWalletConfigParams
WithPlatform adds the platform to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) WithTimeout ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) WithTimeout(timeout time.Duration) *UpdatePlatformWalletConfigParams
WithTimeout adds the timeout to the update platform wallet config params
func (*UpdatePlatformWalletConfigParams) WriteToRequest ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePlatformWalletConfigReader ¶ added in v0.18.0
type UpdatePlatformWalletConfigReader struct {
// contains filtered or unexported fields
}
UpdatePlatformWalletConfigReader is a Reader for the UpdatePlatformWalletConfig structure.
func (*UpdatePlatformWalletConfigReader) ReadResponse ¶ added in v0.18.0
func (o *UpdatePlatformWalletConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
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_platform_wallet_config_parameters.go
- get_platform_wallet_config_responses.go
- get_user_wallet_parameters.go
- get_user_wallet_responses.go
- get_wallet_parameters.go
- get_wallet_responses.go
- list_user_currency_transactions_parameters.go
- list_user_currency_transactions_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_user_currency_wallets_parameters.go
- query_user_currency_wallets_responses.go
- query_wallets_parameters.go
- query_wallets_responses.go
- reset_platform_wallet_config_parameters.go
- reset_platform_wallet_config_responses.go
- update_platform_wallet_config_parameters.go
- update_platform_wallet_config_responses.go
- wallet_client.go