Documentation ¶
Index ¶
- Constants
- type BulkCreditOK
- type BulkCreditParams
- func (o *BulkCreditParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *BulkCreditParams) SetBody(body []*platformclientmodels.BulkCreditRequest)
- func (o *BulkCreditParams) SetContext(ctx context.Context)
- func (o *BulkCreditParams) SetHTTPClient(client *http.Client)
- func (o *BulkCreditParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *BulkCreditParams) SetNamespace(namespace string)
- func (o *BulkCreditParams) SetTimeout(timeout time.Duration)
- func (o *BulkCreditParams) WithBody(body []*platformclientmodels.BulkCreditRequest) *BulkCreditParams
- func (o *BulkCreditParams) WithContext(ctx context.Context) *BulkCreditParams
- func (o *BulkCreditParams) WithHTTPClient(client *http.Client) *BulkCreditParams
- func (o *BulkCreditParams) WithNamespace(namespace string) *BulkCreditParams
- func (o *BulkCreditParams) WithTimeout(timeout time.Duration) *BulkCreditParams
- func (o *BulkCreditParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkCreditReader
- type BulkCreditUnprocessableEntity
- type BulkDebitOK
- type BulkDebitParams
- func (o *BulkDebitParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *BulkDebitParams) SetBody(body []*platformclientmodels.BulkDebitRequest)
- func (o *BulkDebitParams) SetContext(ctx context.Context)
- func (o *BulkDebitParams) SetHTTPClient(client *http.Client)
- func (o *BulkDebitParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *BulkDebitParams) SetNamespace(namespace string)
- func (o *BulkDebitParams) SetTimeout(timeout time.Duration)
- func (o *BulkDebitParams) WithBody(body []*platformclientmodels.BulkDebitRequest) *BulkDebitParams
- func (o *BulkDebitParams) WithContext(ctx context.Context) *BulkDebitParams
- func (o *BulkDebitParams) WithHTTPClient(client *http.Client) *BulkDebitParams
- func (o *BulkDebitParams) WithNamespace(namespace string) *BulkDebitParams
- func (o *BulkDebitParams) WithTimeout(timeout time.Duration) *BulkDebitParams
- func (o *BulkDebitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkDebitReader
- type BulkDebitUnprocessableEntity
- 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) BulkCredit(params *BulkCreditParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreditOK, *BulkCreditUnprocessableEntity, error)deprecated
- func (a *Client) BulkCreditShort(params *BulkCreditParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreditOK, error)
- func (a *Client) BulkDebit(params *BulkDebitParams, authInfo runtime.ClientAuthInfoWriter) (*BulkDebitOK, *BulkDebitUnprocessableEntity, error)deprecated
- func (a *Client) BulkDebitShort(params *BulkDebitParams, authInfo runtime.ClientAuthInfoWriter) (*BulkDebitOK, error)
- func (a *Client) CheckWallet(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, *CheckWalletBadRequest, *CheckWalletConflict, ...)deprecated
- func (a *Client) CheckWalletShort(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, error)
- func (a *Client) CreditUserWallet(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, *CreditUserWalletBadRequest, ...)deprecated
- func (a *Client) CreditUserWalletShort(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, error)
- func (a *Client) DebitByWalletPlatform(params *DebitByWalletPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*DebitByWalletPlatformOK, *DebitByWalletPlatformBadRequest, ...)deprecated
- func (a *Client) DebitByWalletPlatformShort(params *DebitByWalletPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*DebitByWalletPlatformOK, error)
- func (a *Client) DebitUserWallet(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, *DebitUserWalletBadRequest, *DebitUserWalletNotFound, ...)deprecated
- func (a *Client) DebitUserWalletByCurrencyCode(params *DebitUserWalletByCurrencyCodeParams, ...) (*DebitUserWalletByCurrencyCodeOK, *DebitUserWalletByCurrencyCodeBadRequest, ...)deprecated
- func (a *Client) DebitUserWalletByCurrencyCodeShort(params *DebitUserWalletByCurrencyCodeParams, ...) (*DebitUserWalletByCurrencyCodeOK, error)
- func (a *Client) DebitUserWalletShort(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, error)
- func (a *Client) DisableUserWallet(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, *DisableUserWalletNotFound, ...)deprecated
- func (a *Client) DisableUserWalletShort(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, error)
- func (a *Client) EnableUserWallet(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, *EnableUserWalletNotFound, ...)deprecated
- func (a *Client) EnableUserWalletShort(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, error)
- func (a *Client) GetPlatformWalletConfig(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error)deprecated
- func (a *Client) GetPlatformWalletConfigShort(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error)
- func (a *Client) GetUserWallet(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, *GetUserWalletNotFound, error)deprecated
- func (a *Client) GetUserWalletShort(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, error)
- func (a *Client) GetWallet(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, *GetWalletNotFound, error)deprecated
- func (a *Client) GetWalletShort(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, error)
- func (a *Client) ListUserCurrencyTransactions(params *ListUserCurrencyTransactionsParams, ...) (*ListUserCurrencyTransactionsOK, *ListUserCurrencyTransactionsNotFound, error)deprecated
- func (a *Client) ListUserCurrencyTransactionsShort(params *ListUserCurrencyTransactionsParams, ...) (*ListUserCurrencyTransactionsOK, error)
- func (a *Client) ListUserWalletTransactions(params *ListUserWalletTransactionsParams, ...) (*ListUserWalletTransactionsOK, *ListUserWalletTransactionsNotFound, error)deprecated
- func (a *Client) ListUserWalletTransactionsShort(params *ListUserWalletTransactionsParams, ...) (*ListUserWalletTransactionsOK, error)
- func (a *Client) PayWithUserWallet(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, *PayWithUserWalletBadRequest, ...)deprecated
- func (a *Client) PayWithUserWalletShort(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, error)
- func (a *Client) PublicGetMyWallet(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletOK, error)deprecated
- func (a *Client) PublicGetMyWalletShort(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletOK, error)
- func (a *Client) PublicGetWallet(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error)deprecated
- func (a *Client) PublicGetWalletShort(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error)
- func (a *Client) PublicListUserWalletTransactions(params *PublicListUserWalletTransactionsParams, ...) (*PublicListUserWalletTransactionsOK, error)deprecated
- func (a *Client) PublicListUserWalletTransactionsShort(params *PublicListUserWalletTransactionsParams, ...) (*PublicListUserWalletTransactionsOK, error)
- func (a *Client) QueryUserCurrencyWallets(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error)deprecated
- func (a *Client) QueryUserCurrencyWalletsShort(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error)
- func (a *Client) QueryWallets(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error)deprecated
- func (a *Client) QueryWalletsShort(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error)
- func (a *Client) ResetPlatformWalletConfig(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error)deprecated
- 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)deprecated
- 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 DebitByWalletPlatformBadRequest
- type DebitByWalletPlatformOK
- type DebitByWalletPlatformParams
- func NewDebitByWalletPlatformParams() *DebitByWalletPlatformParams
- func NewDebitByWalletPlatformParamsWithContext(ctx context.Context) *DebitByWalletPlatformParams
- func NewDebitByWalletPlatformParamsWithHTTPClient(client *http.Client) *DebitByWalletPlatformParams
- func NewDebitByWalletPlatformParamsWithTimeout(timeout time.Duration) *DebitByWalletPlatformParams
- func (o *DebitByWalletPlatformParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DebitByWalletPlatformParams) SetBody(body *platformclientmodels.DebitByWalletPlatformRequest)
- func (o *DebitByWalletPlatformParams) SetContext(ctx context.Context)
- func (o *DebitByWalletPlatformParams) SetCurrencyCode(currencyCode string)
- func (o *DebitByWalletPlatformParams) SetHTTPClient(client *http.Client)
- func (o *DebitByWalletPlatformParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DebitByWalletPlatformParams) SetNamespace(namespace string)
- func (o *DebitByWalletPlatformParams) SetTimeout(timeout time.Duration)
- func (o *DebitByWalletPlatformParams) SetUserID(userID string)
- func (o *DebitByWalletPlatformParams) WithBody(body *platformclientmodels.DebitByWalletPlatformRequest) *DebitByWalletPlatformParams
- func (o *DebitByWalletPlatformParams) WithContext(ctx context.Context) *DebitByWalletPlatformParams
- func (o *DebitByWalletPlatformParams) WithCurrencyCode(currencyCode string) *DebitByWalletPlatformParams
- func (o *DebitByWalletPlatformParams) WithHTTPClient(client *http.Client) *DebitByWalletPlatformParams
- func (o *DebitByWalletPlatformParams) WithNamespace(namespace string) *DebitByWalletPlatformParams
- func (o *DebitByWalletPlatformParams) WithTimeout(timeout time.Duration) *DebitByWalletPlatformParams
- func (o *DebitByWalletPlatformParams) WithUserID(userID string) *DebitByWalletPlatformParams
- func (o *DebitByWalletPlatformParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DebitByWalletPlatformReader
- type DebitByWalletPlatformUnprocessableEntity
- type DebitUserWalletBadRequest
- type DebitUserWalletByCurrencyCodeBadRequest
- type DebitUserWalletByCurrencyCodeConflict
- type DebitUserWalletByCurrencyCodeOK
- type DebitUserWalletByCurrencyCodeParams
- func NewDebitUserWalletByCurrencyCodeParams() *DebitUserWalletByCurrencyCodeParams
- func NewDebitUserWalletByCurrencyCodeParamsWithContext(ctx context.Context) *DebitUserWalletByCurrencyCodeParams
- func NewDebitUserWalletByCurrencyCodeParamsWithHTTPClient(client *http.Client) *DebitUserWalletByCurrencyCodeParams
- func NewDebitUserWalletByCurrencyCodeParamsWithTimeout(timeout time.Duration) *DebitUserWalletByCurrencyCodeParams
- func (o *DebitUserWalletByCurrencyCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DebitUserWalletByCurrencyCodeParams) SetBody(body *platformclientmodels.DebitByCurrencyCodeRequest)
- func (o *DebitUserWalletByCurrencyCodeParams) SetContext(ctx context.Context)
- func (o *DebitUserWalletByCurrencyCodeParams) SetCurrencyCode(currencyCode string)
- func (o *DebitUserWalletByCurrencyCodeParams) SetHTTPClient(client *http.Client)
- func (o *DebitUserWalletByCurrencyCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DebitUserWalletByCurrencyCodeParams) SetNamespace(namespace string)
- func (o *DebitUserWalletByCurrencyCodeParams) SetTimeout(timeout time.Duration)
- func (o *DebitUserWalletByCurrencyCodeParams) SetUserID(userID string)
- func (o *DebitUserWalletByCurrencyCodeParams) WithBody(body *platformclientmodels.DebitByCurrencyCodeRequest) *DebitUserWalletByCurrencyCodeParams
- func (o *DebitUserWalletByCurrencyCodeParams) WithContext(ctx context.Context) *DebitUserWalletByCurrencyCodeParams
- func (o *DebitUserWalletByCurrencyCodeParams) WithCurrencyCode(currencyCode string) *DebitUserWalletByCurrencyCodeParams
- func (o *DebitUserWalletByCurrencyCodeParams) WithHTTPClient(client *http.Client) *DebitUserWalletByCurrencyCodeParams
- func (o *DebitUserWalletByCurrencyCodeParams) WithNamespace(namespace string) *DebitUserWalletByCurrencyCodeParams
- func (o *DebitUserWalletByCurrencyCodeParams) WithTimeout(timeout time.Duration) *DebitUserWalletByCurrencyCodeParams
- func (o *DebitUserWalletByCurrencyCodeParams) WithUserID(userID string) *DebitUserWalletByCurrencyCodeParams
- func (o *DebitUserWalletByCurrencyCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DebitUserWalletByCurrencyCodeReader
- type DebitUserWalletByCurrencyCodeUnprocessableEntity
- 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" CheckWalletOculusConstant = "Oculus" CheckWalletOtherConstant = "Other" CheckWalletPlaystationConstant = "Playstation" CheckWalletSteamConstant = "Steam" CheckWalletSystemConstant = "System" CheckWalletTwitchConstant = "Twitch" CheckWalletXboxConstant = "Xbox" )
Get the enum in CheckWalletParams
const ( GetPlatformWalletConfigEpicConstant = "Epic" GetPlatformWalletConfigGooglePlayConstant = "GooglePlay" GetPlatformWalletConfigIOSConstant = "IOS" GetPlatformWalletConfigNintendoConstant = "Nintendo" GetPlatformWalletConfigOculusConstant = "Oculus" GetPlatformWalletConfigOtherConstant = "Other" GetPlatformWalletConfigPlaystationConstant = "Playstation" GetPlatformWalletConfigSteamConstant = "Steam" GetPlatformWalletConfigXboxConstant = "Xbox" )
Get the enum in GetPlatformWalletConfigParams
const ( QueryWalletsEpicConstant = "Epic" QueryWalletsGooglePlayConstant = "GooglePlay" QueryWalletsIOSConstant = "IOS" QueryWalletsNintendoConstant = "Nintendo" QueryWalletsOculusConstant = "Oculus" QueryWalletsOtherConstant = "Other" QueryWalletsPlaystationConstant = "Playstation" QueryWalletsSteamConstant = "Steam" QueryWalletsSystemConstant = "System" QueryWalletsTwitchConstant = "Twitch" QueryWalletsXboxConstant = "Xbox" )
Get the enum in QueryWalletsParams
const ( ResetPlatformWalletConfigEpicConstant = "Epic" ResetPlatformWalletConfigGooglePlayConstant = "GooglePlay" ResetPlatformWalletConfigIOSConstant = "IOS" ResetPlatformWalletConfigNintendoConstant = "Nintendo" ResetPlatformWalletConfigOculusConstant = "Oculus" ResetPlatformWalletConfigOtherConstant = "Other" ResetPlatformWalletConfigPlaystationConstant = "Playstation" ResetPlatformWalletConfigSteamConstant = "Steam" ResetPlatformWalletConfigXboxConstant = "Xbox" )
Get the enum in ResetPlatformWalletConfigParams
const ( UpdatePlatformWalletConfigEpicConstant = "Epic" UpdatePlatformWalletConfigGooglePlayConstant = "GooglePlay" UpdatePlatformWalletConfigIOSConstant = "IOS" UpdatePlatformWalletConfigNintendoConstant = "Nintendo" UpdatePlatformWalletConfigOculusConstant = "Oculus" 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 BulkCreditOK ¶ added in v0.43.0
type BulkCreditOK struct {
Payload *platformclientmodels.BulkCreditResult
}
BulkCreditOK handles this case with default header values.
successful operation
func NewBulkCreditOK ¶ added in v0.43.0
func NewBulkCreditOK() *BulkCreditOK
NewBulkCreditOK creates a BulkCreditOK with default headers values
func (*BulkCreditOK) Error ¶ added in v0.43.0
func (o *BulkCreditOK) Error() string
func (*BulkCreditOK) GetPayload ¶ added in v0.43.0
func (o *BulkCreditOK) GetPayload() *platformclientmodels.BulkCreditResult
func (*BulkCreditOK) ToJSONString ¶ added in v0.43.0
func (o *BulkCreditOK) ToJSONString() string
type BulkCreditParams ¶ added in v0.43.0
type BulkCreditParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body []*platformclientmodels.BulkCreditRequest /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkCreditParams contains all the parameters to send to the API endpoint for the bulk credit operation typically these are written to a http.Request
func NewBulkCreditParams ¶ added in v0.43.0
func NewBulkCreditParams() *BulkCreditParams
NewBulkCreditParams creates a new BulkCreditParams object with the default values initialized.
func NewBulkCreditParamsWithContext ¶ added in v0.43.0
func NewBulkCreditParamsWithContext(ctx context.Context) *BulkCreditParams
NewBulkCreditParamsWithContext creates a new BulkCreditParams object with the default values initialized, and the ability to set a context for a request
func NewBulkCreditParamsWithHTTPClient ¶ added in v0.43.0
func NewBulkCreditParamsWithHTTPClient(client *http.Client) *BulkCreditParams
NewBulkCreditParamsWithHTTPClient creates a new BulkCreditParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBulkCreditParamsWithTimeout ¶ added in v0.43.0
func NewBulkCreditParamsWithTimeout(timeout time.Duration) *BulkCreditParams
NewBulkCreditParamsWithTimeout creates a new BulkCreditParams object with the default values initialized, and the ability to set a timeout on a request
func (*BulkCreditParams) SetAuthInfoWriter ¶ added in v0.43.0
func (o *BulkCreditParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the bulk credit params
func (*BulkCreditParams) SetBody ¶ added in v0.43.0
func (o *BulkCreditParams) SetBody(body []*platformclientmodels.BulkCreditRequest)
SetBody adds the body to the bulk credit params
func (*BulkCreditParams) SetContext ¶ added in v0.43.0
func (o *BulkCreditParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk credit params
func (*BulkCreditParams) SetHTTPClient ¶ added in v0.43.0
func (o *BulkCreditParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk credit params
func (*BulkCreditParams) SetHTTPClientTransport ¶ added in v0.43.0
func (o *BulkCreditParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the bulk credit params
func (*BulkCreditParams) SetNamespace ¶ added in v0.43.0
func (o *BulkCreditParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the bulk credit params
func (*BulkCreditParams) SetTimeout ¶ added in v0.43.0
func (o *BulkCreditParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk credit params
func (*BulkCreditParams) WithBody ¶ added in v0.43.0
func (o *BulkCreditParams) WithBody(body []*platformclientmodels.BulkCreditRequest) *BulkCreditParams
WithBody adds the body to the bulk credit params
func (*BulkCreditParams) WithContext ¶ added in v0.43.0
func (o *BulkCreditParams) WithContext(ctx context.Context) *BulkCreditParams
WithContext adds the context to the bulk credit params
func (*BulkCreditParams) WithHTTPClient ¶ added in v0.43.0
func (o *BulkCreditParams) WithHTTPClient(client *http.Client) *BulkCreditParams
WithHTTPClient adds the HTTPClient to the bulk credit params
func (*BulkCreditParams) WithNamespace ¶ added in v0.43.0
func (o *BulkCreditParams) WithNamespace(namespace string) *BulkCreditParams
WithNamespace adds the namespace to the bulk credit params
func (*BulkCreditParams) WithTimeout ¶ added in v0.43.0
func (o *BulkCreditParams) WithTimeout(timeout time.Duration) *BulkCreditParams
WithTimeout adds the timeout to the bulk credit params
func (*BulkCreditParams) WriteToRequest ¶ added in v0.43.0
func (o *BulkCreditParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkCreditReader ¶ added in v0.43.0
type BulkCreditReader struct {
// contains filtered or unexported fields
}
BulkCreditReader is a Reader for the BulkCredit structure.
func (*BulkCreditReader) ReadResponse ¶ added in v0.43.0
func (o *BulkCreditReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BulkCreditUnprocessableEntity ¶ added in v0.43.0
type BulkCreditUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
BulkCreditUnprocessableEntity 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 NewBulkCreditUnprocessableEntity ¶ added in v0.43.0
func NewBulkCreditUnprocessableEntity() *BulkCreditUnprocessableEntity
NewBulkCreditUnprocessableEntity creates a BulkCreditUnprocessableEntity with default headers values
func (*BulkCreditUnprocessableEntity) Error ¶ added in v0.43.0
func (o *BulkCreditUnprocessableEntity) Error() string
func (*BulkCreditUnprocessableEntity) GetPayload ¶ added in v0.43.0
func (o *BulkCreditUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*BulkCreditUnprocessableEntity) ToJSONString ¶ added in v0.43.0
func (o *BulkCreditUnprocessableEntity) ToJSONString() string
type BulkDebitOK ¶ added in v0.43.0
type BulkDebitOK struct {
Payload *platformclientmodels.BulkDebitResult
}
BulkDebitOK handles this case with default header values.
successful operation
func NewBulkDebitOK ¶ added in v0.43.0
func NewBulkDebitOK() *BulkDebitOK
NewBulkDebitOK creates a BulkDebitOK with default headers values
func (*BulkDebitOK) Error ¶ added in v0.43.0
func (o *BulkDebitOK) Error() string
func (*BulkDebitOK) GetPayload ¶ added in v0.43.0
func (o *BulkDebitOK) GetPayload() *platformclientmodels.BulkDebitResult
func (*BulkDebitOK) ToJSONString ¶ added in v0.43.0
func (o *BulkDebitOK) ToJSONString() string
type BulkDebitParams ¶ added in v0.43.0
type BulkDebitParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body []*platformclientmodels.BulkDebitRequest /*Namespace*/ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkDebitParams contains all the parameters to send to the API endpoint for the bulk debit operation typically these are written to a http.Request
func NewBulkDebitParams ¶ added in v0.43.0
func NewBulkDebitParams() *BulkDebitParams
NewBulkDebitParams creates a new BulkDebitParams object with the default values initialized.
func NewBulkDebitParamsWithContext ¶ added in v0.43.0
func NewBulkDebitParamsWithContext(ctx context.Context) *BulkDebitParams
NewBulkDebitParamsWithContext creates a new BulkDebitParams object with the default values initialized, and the ability to set a context for a request
func NewBulkDebitParamsWithHTTPClient ¶ added in v0.43.0
func NewBulkDebitParamsWithHTTPClient(client *http.Client) *BulkDebitParams
NewBulkDebitParamsWithHTTPClient creates a new BulkDebitParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBulkDebitParamsWithTimeout ¶ added in v0.43.0
func NewBulkDebitParamsWithTimeout(timeout time.Duration) *BulkDebitParams
NewBulkDebitParamsWithTimeout creates a new BulkDebitParams object with the default values initialized, and the ability to set a timeout on a request
func (*BulkDebitParams) SetAuthInfoWriter ¶ added in v0.43.0
func (o *BulkDebitParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the bulk debit params
func (*BulkDebitParams) SetBody ¶ added in v0.43.0
func (o *BulkDebitParams) SetBody(body []*platformclientmodels.BulkDebitRequest)
SetBody adds the body to the bulk debit params
func (*BulkDebitParams) SetContext ¶ added in v0.43.0
func (o *BulkDebitParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk debit params
func (*BulkDebitParams) SetHTTPClient ¶ added in v0.43.0
func (o *BulkDebitParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk debit params
func (*BulkDebitParams) SetHTTPClientTransport ¶ added in v0.43.0
func (o *BulkDebitParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the bulk debit params
func (*BulkDebitParams) SetNamespace ¶ added in v0.43.0
func (o *BulkDebitParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the bulk debit params
func (*BulkDebitParams) SetTimeout ¶ added in v0.43.0
func (o *BulkDebitParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk debit params
func (*BulkDebitParams) WithBody ¶ added in v0.43.0
func (o *BulkDebitParams) WithBody(body []*platformclientmodels.BulkDebitRequest) *BulkDebitParams
WithBody adds the body to the bulk debit params
func (*BulkDebitParams) WithContext ¶ added in v0.43.0
func (o *BulkDebitParams) WithContext(ctx context.Context) *BulkDebitParams
WithContext adds the context to the bulk debit params
func (*BulkDebitParams) WithHTTPClient ¶ added in v0.43.0
func (o *BulkDebitParams) WithHTTPClient(client *http.Client) *BulkDebitParams
WithHTTPClient adds the HTTPClient to the bulk debit params
func (*BulkDebitParams) WithNamespace ¶ added in v0.43.0
func (o *BulkDebitParams) WithNamespace(namespace string) *BulkDebitParams
WithNamespace adds the namespace to the bulk debit params
func (*BulkDebitParams) WithTimeout ¶ added in v0.43.0
func (o *BulkDebitParams) WithTimeout(timeout time.Duration) *BulkDebitParams
WithTimeout adds the timeout to the bulk debit params
func (*BulkDebitParams) WriteToRequest ¶ added in v0.43.0
func (o *BulkDebitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkDebitReader ¶ added in v0.43.0
type BulkDebitReader struct {
// contains filtered or unexported fields
}
BulkDebitReader is a Reader for the BulkDebit structure.
func (*BulkDebitReader) ReadResponse ¶ added in v0.43.0
func (o *BulkDebitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BulkDebitUnprocessableEntity ¶ added in v0.43.0
type BulkDebitUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
BulkDebitUnprocessableEntity 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 NewBulkDebitUnprocessableEntity ¶ added in v0.43.0
func NewBulkDebitUnprocessableEntity() *BulkDebitUnprocessableEntity
NewBulkDebitUnprocessableEntity creates a BulkDebitUnprocessableEntity with default headers values
func (*BulkDebitUnprocessableEntity) Error ¶ added in v0.43.0
func (o *BulkDebitUnprocessableEntity) Error() string
func (*BulkDebitUnprocessableEntity) GetPayload ¶ added in v0.43.0
func (o *BulkDebitUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*BulkDebitUnprocessableEntity) ToJSONString ¶ added in v0.43.0
func (o *BulkDebitUnprocessableEntity) ToJSONString() string
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
func (*CheckWalletBadRequest) ToJSONString ¶ added in v0.25.0
func (o *CheckWalletBadRequest) ToJSONString() string
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
func (*CheckWalletConflict) ToJSONString ¶ added in v0.25.0
func (o *CheckWalletConflict) ToJSONString() string
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 /*UserID userId */ UserID string /*Origin*/ Origin 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
func (*CheckWalletUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *CheckWalletUnprocessableEntity) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for wallet API
func (*Client) BulkCredit
deprecated
added in
v0.43.0
func (a *Client) BulkCredit(params *BulkCreditParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreditOK, *BulkCreditUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use BulkCreditShort instead.
BulkCredit credit different users' wallets Credit different users' wallets. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET", action=4 (UPDATE)
- Returns : bulk credit result
func (*Client) BulkCreditShort ¶ added in v0.43.0
func (a *Client) BulkCreditShort(params *BulkCreditParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreditOK, error)
BulkCreditShort credit different users' wallets Credit different users' wallets. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET", action=4 (UPDATE)
- Returns : bulk credit result
func (*Client) BulkDebit
deprecated
added in
v0.43.0
func (a *Client) BulkDebit(params *BulkDebitParams, authInfo runtime.ClientAuthInfoWriter) (*BulkDebitOK, *BulkDebitUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use BulkDebitShort instead.
BulkDebit debit different users' wallets Debit different users' wallets. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET", action=4 (UPDATE)
- Returns : bulk credit result
func (*Client) BulkDebitShort ¶ added in v0.43.0
func (a *Client) BulkDebitShort(params *BulkDebitParams, authInfo runtime.ClientAuthInfoWriter) (*BulkDebitOK, error)
BulkDebitShort debit different users' wallets Debit different users' wallets. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET", action=4 (UPDATE)
- Returns : bulk credit result
func (*Client) CheckWallet
deprecated
added in
v0.7.0
func (a *Client) CheckWallet(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, *CheckWalletBadRequest, *CheckWalletConflict, *CheckWalletUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use CheckWalletShort instead.
CheckWallet check wallet by balance origin and currency code
[SERVICE COMMUNICATION ONLY] Check wallet by balance origin and currency code whether it's inactive.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
func (*Client) CheckWalletShort ¶ added in v0.8.0
func (a *Client) CheckWalletShort(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletNoContent, error)
CheckWalletShort check wallet by balance origin and currency code
[SERVICE COMMUNICATION ONLY] Check wallet by balance origin and currency code whether it's inactive.
Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
func (*Client) CreditUserWallet
deprecated
func (a *Client) CreditUserWallet(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, *CreditUserWalletBadRequest, *CreditUserWalletUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use CreditUserWalletShort instead.
CreditUserWallet credit 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. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
func (*Client) CreditUserWalletShort ¶ added in v0.8.0
func (a *Client) CreditUserWalletShort(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletOK, error)
CreditUserWalletShort credit 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. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
func (*Client) DebitByWalletPlatform
deprecated
added in
v0.57.0
func (a *Client) DebitByWalletPlatform(params *DebitByWalletPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*DebitByWalletPlatformOK, *DebitByWalletPlatformBadRequest, *DebitByWalletPlatformUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use DebitByWalletPlatformShort instead.
DebitByWalletPlatform pay with user wallet by currency code and client platform Pay with user wallet by currency code and client platform. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
## Restrictions for metadata
1. Cannot use "." as the key name -
{ "data.2": "value" }
2. Cannot use "$" as the prefix in key names -
{ "$data": "value" }
func (*Client) DebitByWalletPlatformShort ¶ added in v0.57.0
func (a *Client) DebitByWalletPlatformShort(params *DebitByWalletPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*DebitByWalletPlatformOK, error)
DebitByWalletPlatformShort pay with user wallet by currency code and client platform Pay with user wallet by currency code and client platform. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
## Restrictions for metadata
1. Cannot use "." as the key name -
{ "data.2": "value" }
2. Cannot use "$" as the prefix in key names -
{ "$data": "value" }
func (*Client) DebitUserWallet
deprecated
func (a *Client) DebitUserWallet(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, *DebitUserWalletBadRequest, *DebitUserWalletNotFound, *DebitUserWalletConflict, *DebitUserWalletUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use DebitUserWalletShort instead.
DebitUserWallet debit a user wallet Debit a user wallet. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
func (*Client) DebitUserWalletByCurrencyCode
deprecated
added in
v0.38.0
func (a *Client) DebitUserWalletByCurrencyCode(params *DebitUserWalletByCurrencyCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletByCurrencyCodeOK, *DebitUserWalletByCurrencyCodeBadRequest, *DebitUserWalletByCurrencyCodeConflict, *DebitUserWalletByCurrencyCodeUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use DebitUserWalletByCurrencyCodeShort instead.
DebitUserWalletByCurrencyCode debit a user wallet by currency code Debit a user wallet by currency code, default is debit system wallet. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
func (*Client) DebitUserWalletByCurrencyCodeShort ¶ added in v0.38.0
func (a *Client) DebitUserWalletByCurrencyCodeShort(params *DebitUserWalletByCurrencyCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletByCurrencyCodeOK, error)
DebitUserWalletByCurrencyCodeShort debit a user wallet by currency code Debit a user wallet by currency code, default is debit system wallet. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
func (*Client) DebitUserWalletShort ¶ added in v0.8.0
func (a *Client) DebitUserWalletShort(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletOK, error)
DebitUserWalletShort debit a user wallet Debit a user wallet. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
func (*Client) DisableUserWallet
deprecated
func (a *Client) DisableUserWallet(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, *DisableUserWalletNotFound, *DisableUserWalletConflict, error)
Deprecated: 2022-08-10 - Use DisableUserWalletShort instead.
DisableUserWallet disable a user wallet disable a user wallet. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
func (*Client) DisableUserWalletShort ¶ added in v0.8.0
func (a *Client) DisableUserWalletShort(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletNoContent, error)
DisableUserWalletShort disable a user wallet disable a user wallet. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
func (*Client) EnableUserWallet
deprecated
func (a *Client) EnableUserWallet(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, *EnableUserWalletNotFound, *EnableUserWalletConflict, error)
Deprecated: 2022-08-10 - Use EnableUserWalletShort instead.
EnableUserWallet enable a user wallet enable a user wallet. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
func (*Client) EnableUserWalletShort ¶ added in v0.8.0
func (a *Client) EnableUserWalletShort(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletNoContent, error)
EnableUserWalletShort enable a user wallet enable a user wallet. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
func (*Client) GetPlatformWalletConfig
deprecated
added in
v0.18.0
func (a *Client) GetPlatformWalletConfig(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error)
Deprecated: 2022-08-10 - Use GetPlatformWalletConfigShort instead.
GetPlatformWalletConfig get platform wallet config list Get platform wallet config list. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET:CONFIG", action=2 (READ)
- Returns : wallet info
func (*Client) GetPlatformWalletConfigShort ¶ added in v0.18.0
func (a *Client) GetPlatformWalletConfigShort(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error)
GetPlatformWalletConfigShort get platform wallet config list Get platform wallet config list. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET:CONFIG", action=2 (READ)
- Returns : wallet info
func (*Client) GetUserWallet
deprecated
func (a *Client) GetUserWallet(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, *GetUserWalletNotFound, error)
Deprecated: 2022-08-10 - Use GetUserWalletShort instead.
GetUserWallet get a user wallet get a user wallet. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
- Returns : wallet info
func (*Client) GetUserWalletShort ¶ added in v0.8.0
func (a *Client) GetUserWalletShort(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, error)
GetUserWalletShort get a user wallet get a user wallet. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
- Returns : wallet info
func (*Client) GetWallet
deprecated
func (a *Client) GetWallet(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, *GetWalletNotFound, error)
Deprecated: 2022-08-10 - Use GetWalletShort instead.
GetWallet get a wallet by wallet id get a wallet by wallet id. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET", action=2 (READ)
- Returns : wallet info
func (*Client) GetWalletShort ¶ added in v0.8.0
func (a *Client) GetWalletShort(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, error)
GetWalletShort get a wallet by wallet id get a wallet by wallet id. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET", action=2 (READ)
- Returns : wallet info
func (*Client) ListUserCurrencyTransactions
deprecated
added in
v0.18.0
func (a *Client) ListUserCurrencyTransactions(params *ListUserCurrencyTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserCurrencyTransactionsOK, *ListUserCurrencyTransactionsNotFound, error)
Deprecated: 2022-08-10 - Use ListUserCurrencyTransactionsShort instead.
ListUserCurrencyTransactions list user currency transactions List user currency transactions ordered by create time desc. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
- Returns : currency transaction info
func (*Client) ListUserCurrencyTransactionsShort ¶ added in v0.18.0
func (a *Client) ListUserCurrencyTransactionsShort(params *ListUserCurrencyTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserCurrencyTransactionsOK, error)
ListUserCurrencyTransactionsShort list user currency transactions List user currency transactions ordered by create time desc. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
- Returns : currency transaction info
func (*Client) ListUserWalletTransactions
deprecated
func (a *Client) ListUserWalletTransactions(params *ListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserWalletTransactionsOK, *ListUserWalletTransactionsNotFound, error)
Deprecated: 2022-08-10 - Use ListUserWalletTransactionsShort instead.
ListUserWalletTransactions list user wallet transactions List user wallet transactions ordered by create time desc. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
- Returns : wallet transaction info
func (*Client) ListUserWalletTransactionsShort ¶ added in v0.8.0
func (a *Client) ListUserWalletTransactionsShort(params *ListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserWalletTransactionsOK, error)
ListUserWalletTransactionsShort list user wallet transactions List user wallet transactions ordered by create time desc. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
- Returns : wallet transaction info
func (*Client) PayWithUserWallet
deprecated
func (a *Client) PayWithUserWallet(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, *PayWithUserWalletBadRequest, *PayWithUserWalletUnprocessableEntity, error)
Deprecated: 2022-08-10 - Use PayWithUserWalletShort instead.
PayWithUserWallet pay with user wallet by currency code and client platform Pay with user wallet by currency code and client platform. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
func (*Client) PayWithUserWalletShort ¶ added in v0.8.0
func (a *Client) PayWithUserWalletShort(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, error)
PayWithUserWalletShort pay with user wallet by currency code and client platform Pay with user wallet by currency code and client platform. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=4 (UPDATE)
func (*Client) PublicGetMyWallet
deprecated
func (a *Client) PublicGetMyWallet(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletOK, error)
Deprecated: 2022-08-10 - Use PublicGetMyWalletShort instead.
PublicGetMyWallet get my wallet by currency code and namespace get my wallet by currency code and namespace. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:WALLET", action=2 (READ)
- Returns : wallet info
- Path's namespace :
- can be filled with publisher namespace in order to get publisher user wallet
- can be filled with game namespace in order to get game user wallet
func (*Client) PublicGetMyWalletShort ¶ added in v0.8.0
func (a *Client) PublicGetMyWalletShort(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletOK, error)
PublicGetMyWalletShort get my wallet by currency code and namespace get my wallet by currency code and namespace. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:WALLET", action=2 (READ)
- Returns : wallet info
- Path's namespace :
- can be filled with publisher namespace in order to get publisher user wallet
- can be filled with game namespace in order to get game user wallet
func (*Client) PublicGetWallet
deprecated
func (a *Client) PublicGetWallet(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error)
Deprecated: 2022-08-10 - Use PublicGetWalletShort instead.
PublicGetWallet get a wallet by currency code get a wallet by currency code. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
- Returns : wallet info
func (*Client) PublicGetWalletShort ¶ added in v0.8.0
func (a *Client) PublicGetWalletShort(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletOK, error)
PublicGetWalletShort get a wallet by currency code get a wallet by currency code. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
- Returns : wallet info
func (*Client) PublicListUserWalletTransactions
deprecated
func (a *Client) PublicListUserWalletTransactions(params *PublicListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserWalletTransactionsOK, error)
Deprecated: 2022-08-10 - Use PublicListUserWalletTransactionsShort instead.
PublicListUserWalletTransactions list wallet transactions by currency code List wallet transactions by currency code ordered by create time desc. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
- Returns : currency transaction info
func (*Client) PublicListUserWalletTransactionsShort ¶ added in v0.8.0
func (a *Client) PublicListUserWalletTransactionsShort(params *PublicListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserWalletTransactionsOK, error)
PublicListUserWalletTransactionsShort list wallet transactions by currency code List wallet transactions by currency code ordered by create time desc. Other detail info:
- Required permission : resource="NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
- Returns : currency transaction info
func (*Client) QueryUserCurrencyWallets
deprecated
added in
v0.18.0
func (a *Client) QueryUserCurrencyWallets(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error)
Deprecated: 2022-08-10 - Use QueryUserCurrencyWalletsShort instead.
QueryUserCurrencyWallets get user currency wallet summary Get user currency wallet summary. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
- Returns : currency wallet summary
func (*Client) QueryUserCurrencyWalletsShort ¶ added in v0.18.0
func (a *Client) QueryUserCurrencyWalletsShort(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error)
QueryUserCurrencyWalletsShort get user currency wallet summary Get user currency wallet summary. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)
- Returns : currency wallet summary
func (*Client) QueryWallets
deprecated
func (a *Client) QueryWallets(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error)
Deprecated: 2022-08-10 - Use QueryWalletsShort instead.
QueryWallets query wallets Query wallets. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET", action=2 (READ)
- Returns : paginated wallets info
func (*Client) QueryWalletsShort ¶ added in v0.8.0
func (a *Client) QueryWalletsShort(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error)
QueryWalletsShort query wallets Query wallets. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET", action=2 (READ)
- Returns : paginated wallets info
func (*Client) ResetPlatformWalletConfig
deprecated
added in
v0.18.0
func (a *Client) ResetPlatformWalletConfig(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error)
Deprecated: 2022-08-10 - Use ResetPlatformWalletConfigShort instead.
ResetPlatformWalletConfig reset platform wallet config Reset platform wallet config to default config. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET:CONFIG", action=4 (UPDATE)
- Returns : platform wallet config
func (*Client) ResetPlatformWalletConfigShort ¶ added in v0.18.0
func (a *Client) ResetPlatformWalletConfigShort(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error)
ResetPlatformWalletConfigShort reset platform wallet config Reset platform wallet config to default config. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET:CONFIG", action=4 (UPDATE)
- Returns : platform wallet config
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePlatformWalletConfig
deprecated
added in
v0.18.0
func (a *Client) UpdatePlatformWalletConfig(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigOK, error)
Deprecated: 2022-08-10 - Use UpdatePlatformWalletConfigShort instead.
UpdatePlatformWalletConfig update platform wallet config Update platform wallet config. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET:CONFIG", action=4 (UPDATE)
- Returns : platform wallet config
func (*Client) UpdatePlatformWalletConfigShort ¶ added in v0.18.0
func (a *Client) UpdatePlatformWalletConfigShort(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigOK, error)
UpdatePlatformWalletConfigShort update platform wallet config Update platform wallet config. Other detail info:
- Required permission : resource="ADMIN:NAMESPACE:{namespace}:WALLET:CONFIG", action=4 (UPDATE)
- Returns : platform wallet config
type ClientService ¶
type ClientService interface { GetPlatformWalletConfig(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error) GetPlatformWalletConfigShort(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigOK, error) UpdatePlatformWalletConfig(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigOK, error) UpdatePlatformWalletConfigShort(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigOK, error) ResetPlatformWalletConfig(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error) ResetPlatformWalletConfigShort(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigOK, error) QueryUserCurrencyWallets(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error) QueryUserCurrencyWalletsShort(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsOK, error) DebitUserWalletByCurrencyCode(params *DebitUserWalletByCurrencyCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletByCurrencyCodeOK, *DebitUserWalletByCurrencyCodeBadRequest, *DebitUserWalletByCurrencyCodeConflict, *DebitUserWalletByCurrencyCodeUnprocessableEntity, error) DebitUserWalletByCurrencyCodeShort(params *DebitUserWalletByCurrencyCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletByCurrencyCodeOK, error) ListUserCurrencyTransactions(params *ListUserCurrencyTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserCurrencyTransactionsOK, *ListUserCurrencyTransactionsNotFound, error) ListUserCurrencyTransactionsShort(params *ListUserCurrencyTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserCurrencyTransactionsOK, error) 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) DebitByWalletPlatform(params *DebitByWalletPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*DebitByWalletPlatformOK, *DebitByWalletPlatformBadRequest, *DebitByWalletPlatformUnprocessableEntity, error) DebitByWalletPlatformShort(params *DebitByWalletPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*DebitByWalletPlatformOK, error) PayWithUserWallet(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, *PayWithUserWalletBadRequest, *PayWithUserWalletUnprocessableEntity, error) PayWithUserWalletShort(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletOK, error) GetUserWallet(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, *GetUserWalletNotFound, error) GetUserWalletShort(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletOK, 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) ListUserWalletTransactions(params *ListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserWalletTransactionsOK, *ListUserWalletTransactionsNotFound, error) ListUserWalletTransactionsShort(params *ListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserWalletTransactionsOK, error) QueryWallets(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error) QueryWalletsShort(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsOK, error) BulkCredit(params *BulkCreditParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreditOK, *BulkCreditUnprocessableEntity, error) BulkCreditShort(params *BulkCreditParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreditOK, error) BulkDebit(params *BulkDebitParams, authInfo runtime.ClientAuthInfoWriter) (*BulkDebitOK, *BulkDebitUnprocessableEntity, error) BulkDebitShort(params *BulkDebitParams, authInfo runtime.ClientAuthInfoWriter) (*BulkDebitOK, error) GetWallet(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, *GetWalletNotFound, error) GetWalletShort(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletOK, 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) 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
func (*CreditUserWalletBadRequest) ToJSONString ¶ added in v0.25.0
func (o *CreditUserWalletBadRequest) ToJSONString() string
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
func (*CreditUserWalletOK) ToJSONString ¶ added in v0.25.0
func (o *CreditUserWalletOK) ToJSONString() string
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
func (*CreditUserWalletUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *CreditUserWalletUnprocessableEntity) ToJSONString() string
type DebitByWalletPlatformBadRequest ¶ added in v0.57.0
type DebitByWalletPlatformBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
DebitByWalletPlatformBadRequest 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 NewDebitByWalletPlatformBadRequest ¶ added in v0.57.0
func NewDebitByWalletPlatformBadRequest() *DebitByWalletPlatformBadRequest
NewDebitByWalletPlatformBadRequest creates a DebitByWalletPlatformBadRequest with default headers values
func (*DebitByWalletPlatformBadRequest) Error ¶ added in v0.57.0
func (o *DebitByWalletPlatformBadRequest) Error() string
func (*DebitByWalletPlatformBadRequest) GetPayload ¶ added in v0.57.0
func (o *DebitByWalletPlatformBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*DebitByWalletPlatformBadRequest) ToJSONString ¶ added in v0.57.0
func (o *DebitByWalletPlatformBadRequest) ToJSONString() string
type DebitByWalletPlatformOK ¶ added in v0.57.0
type DebitByWalletPlatformOK struct {
Payload *platformclientmodels.PlatformWallet
}
DebitByWalletPlatformOK handles this case with default header values.
successful operation
func NewDebitByWalletPlatformOK ¶ added in v0.57.0
func NewDebitByWalletPlatformOK() *DebitByWalletPlatformOK
NewDebitByWalletPlatformOK creates a DebitByWalletPlatformOK with default headers values
func (*DebitByWalletPlatformOK) Error ¶ added in v0.57.0
func (o *DebitByWalletPlatformOK) Error() string
func (*DebitByWalletPlatformOK) GetPayload ¶ added in v0.57.0
func (o *DebitByWalletPlatformOK) GetPayload() *platformclientmodels.PlatformWallet
func (*DebitByWalletPlatformOK) ToJSONString ¶ added in v0.57.0
func (o *DebitByWalletPlatformOK) ToJSONString() string
type DebitByWalletPlatformParams ¶ added in v0.57.0
type DebitByWalletPlatformParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.DebitByWalletPlatformRequest /*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 }
DebitByWalletPlatformParams contains all the parameters to send to the API endpoint for the debit by wallet platform operation typically these are written to a http.Request
func NewDebitByWalletPlatformParams ¶ added in v0.57.0
func NewDebitByWalletPlatformParams() *DebitByWalletPlatformParams
NewDebitByWalletPlatformParams creates a new DebitByWalletPlatformParams object with the default values initialized.
func NewDebitByWalletPlatformParamsWithContext ¶ added in v0.57.0
func NewDebitByWalletPlatformParamsWithContext(ctx context.Context) *DebitByWalletPlatformParams
NewDebitByWalletPlatformParamsWithContext creates a new DebitByWalletPlatformParams object with the default values initialized, and the ability to set a context for a request
func NewDebitByWalletPlatformParamsWithHTTPClient ¶ added in v0.57.0
func NewDebitByWalletPlatformParamsWithHTTPClient(client *http.Client) *DebitByWalletPlatformParams
NewDebitByWalletPlatformParamsWithHTTPClient creates a new DebitByWalletPlatformParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDebitByWalletPlatformParamsWithTimeout ¶ added in v0.57.0
func NewDebitByWalletPlatformParamsWithTimeout(timeout time.Duration) *DebitByWalletPlatformParams
NewDebitByWalletPlatformParamsWithTimeout creates a new DebitByWalletPlatformParams object with the default values initialized, and the ability to set a timeout on a request
func (*DebitByWalletPlatformParams) SetAuthInfoWriter ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the debit by wallet platform params
func (*DebitByWalletPlatformParams) SetBody ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) SetBody(body *platformclientmodels.DebitByWalletPlatformRequest)
SetBody adds the body to the debit by wallet platform params
func (*DebitByWalletPlatformParams) SetContext ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) SetContext(ctx context.Context)
SetContext adds the context to the debit by wallet platform params
func (*DebitByWalletPlatformParams) SetCurrencyCode ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the debit by wallet platform params
func (*DebitByWalletPlatformParams) SetHTTPClient ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the debit by wallet platform params
func (*DebitByWalletPlatformParams) SetHTTPClientTransport ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the debit by wallet platform params
func (*DebitByWalletPlatformParams) SetNamespace ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the debit by wallet platform params
func (*DebitByWalletPlatformParams) SetTimeout ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the debit by wallet platform params
func (*DebitByWalletPlatformParams) SetUserID ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) SetUserID(userID string)
SetUserID adds the userId to the debit by wallet platform params
func (*DebitByWalletPlatformParams) WithBody ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) WithBody(body *platformclientmodels.DebitByWalletPlatformRequest) *DebitByWalletPlatformParams
WithBody adds the body to the debit by wallet platform params
func (*DebitByWalletPlatformParams) WithContext ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) WithContext(ctx context.Context) *DebitByWalletPlatformParams
WithContext adds the context to the debit by wallet platform params
func (*DebitByWalletPlatformParams) WithCurrencyCode ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) WithCurrencyCode(currencyCode string) *DebitByWalletPlatformParams
WithCurrencyCode adds the currencyCode to the debit by wallet platform params
func (*DebitByWalletPlatformParams) WithHTTPClient ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) WithHTTPClient(client *http.Client) *DebitByWalletPlatformParams
WithHTTPClient adds the HTTPClient to the debit by wallet platform params
func (*DebitByWalletPlatformParams) WithNamespace ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) WithNamespace(namespace string) *DebitByWalletPlatformParams
WithNamespace adds the namespace to the debit by wallet platform params
func (*DebitByWalletPlatformParams) WithTimeout ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) WithTimeout(timeout time.Duration) *DebitByWalletPlatformParams
WithTimeout adds the timeout to the debit by wallet platform params
func (*DebitByWalletPlatformParams) WithUserID ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) WithUserID(userID string) *DebitByWalletPlatformParams
WithUserID adds the userID to the debit by wallet platform params
func (*DebitByWalletPlatformParams) WriteToRequest ¶ added in v0.57.0
func (o *DebitByWalletPlatformParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DebitByWalletPlatformReader ¶ added in v0.57.0
type DebitByWalletPlatformReader struct {
// contains filtered or unexported fields
}
DebitByWalletPlatformReader is a Reader for the DebitByWalletPlatform structure.
func (*DebitByWalletPlatformReader) ReadResponse ¶ added in v0.57.0
func (o *DebitByWalletPlatformReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DebitByWalletPlatformUnprocessableEntity ¶ added in v0.57.0
type DebitByWalletPlatformUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
DebitByWalletPlatformUnprocessableEntity 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 NewDebitByWalletPlatformUnprocessableEntity ¶ added in v0.57.0
func NewDebitByWalletPlatformUnprocessableEntity() *DebitByWalletPlatformUnprocessableEntity
NewDebitByWalletPlatformUnprocessableEntity creates a DebitByWalletPlatformUnprocessableEntity with default headers values
func (*DebitByWalletPlatformUnprocessableEntity) Error ¶ added in v0.57.0
func (o *DebitByWalletPlatformUnprocessableEntity) Error() string
func (*DebitByWalletPlatformUnprocessableEntity) GetPayload ¶ added in v0.57.0
func (o *DebitByWalletPlatformUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*DebitByWalletPlatformUnprocessableEntity) ToJSONString ¶ added in v0.57.0
func (o *DebitByWalletPlatformUnprocessableEntity) ToJSONString() string
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
func (*DebitUserWalletBadRequest) ToJSONString ¶ added in v0.25.0
func (o *DebitUserWalletBadRequest) ToJSONString() string
type DebitUserWalletByCurrencyCodeBadRequest ¶ added in v0.38.0
type DebitUserWalletByCurrencyCodeBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
DebitUserWalletByCurrencyCodeBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35124</td><td>Wallet [{currencyCode}] has insufficient balance</td></tr></table>
func NewDebitUserWalletByCurrencyCodeBadRequest ¶ added in v0.38.0
func NewDebitUserWalletByCurrencyCodeBadRequest() *DebitUserWalletByCurrencyCodeBadRequest
NewDebitUserWalletByCurrencyCodeBadRequest creates a DebitUserWalletByCurrencyCodeBadRequest with default headers values
func (*DebitUserWalletByCurrencyCodeBadRequest) Error ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeBadRequest) Error() string
func (*DebitUserWalletByCurrencyCodeBadRequest) GetPayload ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*DebitUserWalletByCurrencyCodeBadRequest) ToJSONString ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeBadRequest) ToJSONString() string
type DebitUserWalletByCurrencyCodeConflict ¶ added in v0.38.0
type DebitUserWalletByCurrencyCodeConflict struct {
Payload *platformclientmodels.ErrorEntity
}
DebitUserWalletByCurrencyCodeConflict 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 NewDebitUserWalletByCurrencyCodeConflict ¶ added in v0.38.0
func NewDebitUserWalletByCurrencyCodeConflict() *DebitUserWalletByCurrencyCodeConflict
NewDebitUserWalletByCurrencyCodeConflict creates a DebitUserWalletByCurrencyCodeConflict with default headers values
func (*DebitUserWalletByCurrencyCodeConflict) Error ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeConflict) Error() string
func (*DebitUserWalletByCurrencyCodeConflict) GetPayload ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*DebitUserWalletByCurrencyCodeConflict) ToJSONString ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeConflict) ToJSONString() string
type DebitUserWalletByCurrencyCodeOK ¶ added in v0.38.0
type DebitUserWalletByCurrencyCodeOK struct {
Payload *platformclientmodels.WalletInfo
}
DebitUserWalletByCurrencyCodeOK handles this case with default header values.
successful operation
func NewDebitUserWalletByCurrencyCodeOK ¶ added in v0.38.0
func NewDebitUserWalletByCurrencyCodeOK() *DebitUserWalletByCurrencyCodeOK
NewDebitUserWalletByCurrencyCodeOK creates a DebitUserWalletByCurrencyCodeOK with default headers values
func (*DebitUserWalletByCurrencyCodeOK) Error ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeOK) Error() string
func (*DebitUserWalletByCurrencyCodeOK) GetPayload ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeOK) GetPayload() *platformclientmodels.WalletInfo
func (*DebitUserWalletByCurrencyCodeOK) ToJSONString ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeOK) ToJSONString() string
type DebitUserWalletByCurrencyCodeParams ¶ added in v0.38.0
type DebitUserWalletByCurrencyCodeParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.DebitByCurrencyCodeRequest /*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 }
DebitUserWalletByCurrencyCodeParams contains all the parameters to send to the API endpoint for the debit user wallet by currency code operation typically these are written to a http.Request
func NewDebitUserWalletByCurrencyCodeParams ¶ added in v0.38.0
func NewDebitUserWalletByCurrencyCodeParams() *DebitUserWalletByCurrencyCodeParams
NewDebitUserWalletByCurrencyCodeParams creates a new DebitUserWalletByCurrencyCodeParams object with the default values initialized.
func NewDebitUserWalletByCurrencyCodeParamsWithContext ¶ added in v0.38.0
func NewDebitUserWalletByCurrencyCodeParamsWithContext(ctx context.Context) *DebitUserWalletByCurrencyCodeParams
NewDebitUserWalletByCurrencyCodeParamsWithContext creates a new DebitUserWalletByCurrencyCodeParams object with the default values initialized, and the ability to set a context for a request
func NewDebitUserWalletByCurrencyCodeParamsWithHTTPClient ¶ added in v0.38.0
func NewDebitUserWalletByCurrencyCodeParamsWithHTTPClient(client *http.Client) *DebitUserWalletByCurrencyCodeParams
NewDebitUserWalletByCurrencyCodeParamsWithHTTPClient creates a new DebitUserWalletByCurrencyCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDebitUserWalletByCurrencyCodeParamsWithTimeout ¶ added in v0.38.0
func NewDebitUserWalletByCurrencyCodeParamsWithTimeout(timeout time.Duration) *DebitUserWalletByCurrencyCodeParams
NewDebitUserWalletByCurrencyCodeParamsWithTimeout creates a new DebitUserWalletByCurrencyCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*DebitUserWalletByCurrencyCodeParams) SetAuthInfoWriter ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) SetBody ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) SetBody(body *platformclientmodels.DebitByCurrencyCodeRequest)
SetBody adds the body to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) SetContext ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) SetCurrencyCode ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) SetCurrencyCode(currencyCode string)
SetCurrencyCode adds the currencyCode to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) SetHTTPClient ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) SetHTTPClientTransport ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) SetNamespace ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) SetTimeout ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) SetUserID ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) SetUserID(userID string)
SetUserID adds the userId to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) WithBody ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) WithBody(body *platformclientmodels.DebitByCurrencyCodeRequest) *DebitUserWalletByCurrencyCodeParams
WithBody adds the body to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) WithContext ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) WithContext(ctx context.Context) *DebitUserWalletByCurrencyCodeParams
WithContext adds the context to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) WithCurrencyCode ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) WithCurrencyCode(currencyCode string) *DebitUserWalletByCurrencyCodeParams
WithCurrencyCode adds the currencyCode to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) WithHTTPClient ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) WithHTTPClient(client *http.Client) *DebitUserWalletByCurrencyCodeParams
WithHTTPClient adds the HTTPClient to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) WithNamespace ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) WithNamespace(namespace string) *DebitUserWalletByCurrencyCodeParams
WithNamespace adds the namespace to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) WithTimeout ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) WithTimeout(timeout time.Duration) *DebitUserWalletByCurrencyCodeParams
WithTimeout adds the timeout to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) WithUserID ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) WithUserID(userID string) *DebitUserWalletByCurrencyCodeParams
WithUserID adds the userID to the debit user wallet by currency code params
func (*DebitUserWalletByCurrencyCodeParams) WriteToRequest ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DebitUserWalletByCurrencyCodeReader ¶ added in v0.38.0
type DebitUserWalletByCurrencyCodeReader struct {
// contains filtered or unexported fields
}
DebitUserWalletByCurrencyCodeReader is a Reader for the DebitUserWalletByCurrencyCode structure.
func (*DebitUserWalletByCurrencyCodeReader) ReadResponse ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DebitUserWalletByCurrencyCodeUnprocessableEntity ¶ added in v0.38.0
type DebitUserWalletByCurrencyCodeUnprocessableEntity struct {
Payload *platformclientmodels.ValidationErrorEntity
}
DebitUserWalletByCurrencyCodeUnprocessableEntity 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 NewDebitUserWalletByCurrencyCodeUnprocessableEntity ¶ added in v0.38.0
func NewDebitUserWalletByCurrencyCodeUnprocessableEntity() *DebitUserWalletByCurrencyCodeUnprocessableEntity
NewDebitUserWalletByCurrencyCodeUnprocessableEntity creates a DebitUserWalletByCurrencyCodeUnprocessableEntity with default headers values
func (*DebitUserWalletByCurrencyCodeUnprocessableEntity) Error ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeUnprocessableEntity) Error() string
func (*DebitUserWalletByCurrencyCodeUnprocessableEntity) GetPayload ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
func (*DebitUserWalletByCurrencyCodeUnprocessableEntity) ToJSONString ¶ added in v0.38.0
func (o *DebitUserWalletByCurrencyCodeUnprocessableEntity) ToJSONString() string
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
func (*DebitUserWalletConflict) ToJSONString ¶ added in v0.25.0
func (o *DebitUserWalletConflict) ToJSONString() string
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
func (*DebitUserWalletNotFound) ToJSONString ¶ added in v0.25.0
func (o *DebitUserWalletNotFound) ToJSONString() string
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
func (*DebitUserWalletOK) ToJSONString ¶ added in v0.25.0
func (o *DebitUserWalletOK) ToJSONString() string
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
func (*DebitUserWalletUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *DebitUserWalletUnprocessableEntity) ToJSONString() string
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
func (*DisableUserWalletConflict) ToJSONString ¶ added in v0.25.0
func (o *DisableUserWalletConflict) ToJSONString() string
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
func (*DisableUserWalletNotFound) ToJSONString ¶ added in v0.25.0
func (o *DisableUserWalletNotFound) ToJSONString() string
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
func (*EnableUserWalletConflict) ToJSONString ¶ added in v0.25.0
func (o *EnableUserWalletConflict) ToJSONString() string
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
func (*EnableUserWalletNotFound) ToJSONString ¶ added in v0.25.0
func (o *EnableUserWalletNotFound) ToJSONString() string
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
func (*GetPlatformWalletConfigOK) ToJSONString ¶ added in v0.25.0
func (o *GetPlatformWalletConfigOK) ToJSONString() string
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
func (*GetUserWalletNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetUserWalletNotFound) ToJSONString() string
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
func (*GetUserWalletOK) ToJSONString ¶ added in v0.25.0
func (o *GetUserWalletOK) ToJSONString() string
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
func (*GetWalletNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetWalletNotFound) ToJSONString() string
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
func (*GetWalletOK) ToJSONString ¶ added in v0.25.0
func (o *GetWalletOK) ToJSONString() string
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
func (*ListUserCurrencyTransactionsNotFound) ToJSONString ¶ added in v0.25.0
func (o *ListUserCurrencyTransactionsNotFound) ToJSONString() string
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
func (*ListUserCurrencyTransactionsOK) ToJSONString ¶ added in v0.25.0
func (o *ListUserCurrencyTransactionsOK) ToJSONString() string
type ListUserCurrencyTransactionsParams ¶ added in v0.18.0
type ListUserCurrencyTransactionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyCode currencyCode */ CurrencyCode string /*Namespace namespace */ Namespace string /*UserID userId */ UserID string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 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
func (*ListUserWalletTransactionsNotFound) ToJSONString ¶ added in v0.25.0
func (o *ListUserWalletTransactionsNotFound) ToJSONString() string
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
func (*ListUserWalletTransactionsOK) ToJSONString ¶ added in v0.25.0
func (o *ListUserWalletTransactionsOK) ToJSONString() string
type ListUserWalletTransactionsParams ¶
type ListUserWalletTransactionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace */ Namespace string /*UserID userId */ UserID string /*WalletID walletId */ WalletID string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 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
func (*PayWithUserWalletBadRequest) ToJSONString ¶ added in v0.25.0
func (o *PayWithUserWalletBadRequest) ToJSONString() string
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
func (*PayWithUserWalletOK) ToJSONString ¶ added in v0.25.0
func (o *PayWithUserWalletOK) ToJSONString() string
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
func (*PayWithUserWalletUnprocessableEntity) ToJSONString ¶ added in v0.25.0
func (o *PayWithUserWalletUnprocessableEntity) ToJSONString() string
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
func (*PublicGetMyWalletOK) ToJSONString ¶ added in v0.25.0
func (o *PublicGetMyWalletOK) ToJSONString() string
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
func (*PublicGetWalletOK) ToJSONString ¶ added in v0.25.0
func (o *PublicGetWalletOK) ToJSONString() string
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
func (*PublicListUserWalletTransactionsOK) ToJSONString ¶ added in v0.25.0
func (o *PublicListUserWalletTransactionsOK) ToJSONString() string
type PublicListUserWalletTransactionsParams ¶
type PublicListUserWalletTransactionsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*CurrencyCode currencyCode */ CurrencyCode string /*Namespace namespace */ Namespace string /*UserID userId */ UserID string /*Limit*/ Limit *int32 /*Offset*/ Offset *int32 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
func (*QueryUserCurrencyWalletsOK) ToJSONString ¶ added in v0.25.0
func (o *QueryUserCurrencyWalletsOK) ToJSONString() string
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
func (*QueryWalletsOK) ToJSONString ¶ added in v0.25.0
func (o *QueryWalletsOK) ToJSONString() string
type QueryWalletsParams ¶
type QueryWalletsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*CurrencyCode currencyCode */ CurrencyCode *string /*Limit*/ Limit *int32 /*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
func (*ResetPlatformWalletConfigOK) ToJSONString ¶ added in v0.25.0
func (o *ResetPlatformWalletConfigOK) ToJSONString() string
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
func (*UpdatePlatformWalletConfigOK) ToJSONString ¶ added in v0.25.0
func (o *UpdatePlatformWalletConfigOK) ToJSONString() string
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 ¶
- bulk_credit_parameters.go
- bulk_credit_responses.go
- bulk_debit_parameters.go
- bulk_debit_responses.go
- check_wallet_parameters.go
- check_wallet_responses.go
- credit_user_wallet_parameters.go
- credit_user_wallet_responses.go
- debit_by_wallet_platform_parameters.go
- debit_by_wallet_platform_responses.go
- debit_user_wallet_by_currency_code_parameters.go
- debit_user_wallet_by_currency_code_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