Help us shape the future of Go! Take the 2026 Go Developer Survey

wallet

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	CheckWalletEpicConstant        = "Epic"
	CheckWalletGooglePlayConstant  = "GooglePlay"
	CheckWalletIOSConstant         = "IOS"
	CheckWalletNintendoConstant    = "Nintendo"
	CheckWalletOculusConstant      = "Oculus"
	CheckWalletOtherConstant       = "Other"
	CheckWalletPlaystationConstant = "Playstation"
	CheckWalletSteamConstant       = "Steam"
	CheckWalletSystemConstant      = "System"
	CheckWalletTwitchConstant      = "Twitch"
	CheckWalletXboxConstant        = "Xbox"
)

Deprecated: 2025-07-16 - Use CheckWalletOrigin<EnumValue>Constant instead. Get the enum in CheckWalletParams

View Source
const (
	CheckWalletOriginEpicConstant        = "Epic"
	CheckWalletOriginGooglePlayConstant  = "GooglePlay"
	CheckWalletOriginIOSConstant         = "IOS"
	CheckWalletOriginNintendoConstant    = "Nintendo"
	CheckWalletOriginOculusConstant      = "Oculus"
	CheckWalletOriginOtherConstant       = "Other"
	CheckWalletOriginPlaystationConstant = "Playstation"
	CheckWalletOriginSteamConstant       = "Steam"
	CheckWalletOriginSystemConstant      = "System"
	CheckWalletOriginTwitchConstant      = "Twitch"
	CheckWalletOriginXboxConstant        = "Xbox"
)

Get the enum in CheckWalletParams

View Source
const (
	GetPlatformWalletConfigEpicConstant        = "Epic"
	GetPlatformWalletConfigGooglePlayConstant  = "GooglePlay"
	GetPlatformWalletConfigIOSConstant         = "IOS"
	GetPlatformWalletConfigNintendoConstant    = "Nintendo"
	GetPlatformWalletConfigOculusConstant      = "Oculus"
	GetPlatformWalletConfigOtherConstant       = "Other"
	GetPlatformWalletConfigPlaystationConstant = "Playstation"
	GetPlatformWalletConfigSteamConstant       = "Steam"
	GetPlatformWalletConfigXboxConstant        = "Xbox"
)

Deprecated: 2025-07-16 - Use GetPlatformWalletConfigPlatform<EnumValue>Constant instead. Get the enum in GetPlatformWalletConfigParams

View Source
const (
	GetPlatformWalletConfigPlatformEpicConstant        = "Epic"
	GetPlatformWalletConfigPlatformGooglePlayConstant  = "GooglePlay"
	GetPlatformWalletConfigPlatformIOSConstant         = "IOS"
	GetPlatformWalletConfigPlatformNintendoConstant    = "Nintendo"
	GetPlatformWalletConfigPlatformOculusConstant      = "Oculus"
	GetPlatformWalletConfigPlatformOtherConstant       = "Other"
	GetPlatformWalletConfigPlatformPlaystationConstant = "Playstation"
	GetPlatformWalletConfigPlatformSteamConstant       = "Steam"
	GetPlatformWalletConfigPlatformXboxConstant        = "Xbox"
)

Get the enum in GetPlatformWalletConfigParams

View Source
const (
	QueryWalletsEpicConstant        = "Epic"
	QueryWalletsGooglePlayConstant  = "GooglePlay"
	QueryWalletsIOSConstant         = "IOS"
	QueryWalletsNintendoConstant    = "Nintendo"
	QueryWalletsOculusConstant      = "Oculus"
	QueryWalletsOtherConstant       = "Other"
	QueryWalletsPlaystationConstant = "Playstation"
	QueryWalletsSteamConstant       = "Steam"
	QueryWalletsSystemConstant      = "System"
	QueryWalletsTwitchConstant      = "Twitch"
	QueryWalletsXboxConstant        = "Xbox"
)

Deprecated: 2025-07-16 - Use QueryWalletsOrigin<EnumValue>Constant instead. Get the enum in QueryWalletsParams

View Source
const (
	QueryWalletsOriginEpicConstant        = "Epic"
	QueryWalletsOriginGooglePlayConstant  = "GooglePlay"
	QueryWalletsOriginIOSConstant         = "IOS"
	QueryWalletsOriginNintendoConstant    = "Nintendo"
	QueryWalletsOriginOculusConstant      = "Oculus"
	QueryWalletsOriginOtherConstant       = "Other"
	QueryWalletsOriginPlaystationConstant = "Playstation"
	QueryWalletsOriginSteamConstant       = "Steam"
	QueryWalletsOriginSystemConstant      = "System"
	QueryWalletsOriginTwitchConstant      = "Twitch"
	QueryWalletsOriginXboxConstant        = "Xbox"
)

Get the enum in QueryWalletsParams

View Source
const (
	ResetPlatformWalletConfigEpicConstant        = "Epic"
	ResetPlatformWalletConfigGooglePlayConstant  = "GooglePlay"
	ResetPlatformWalletConfigIOSConstant         = "IOS"
	ResetPlatformWalletConfigNintendoConstant    = "Nintendo"
	ResetPlatformWalletConfigOculusConstant      = "Oculus"
	ResetPlatformWalletConfigOtherConstant       = "Other"
	ResetPlatformWalletConfigPlaystationConstant = "Playstation"
	ResetPlatformWalletConfigSteamConstant       = "Steam"
	ResetPlatformWalletConfigXboxConstant        = "Xbox"
)

Deprecated: 2025-07-16 - Use ResetPlatformWalletConfigPlatform<EnumValue>Constant instead. Get the enum in ResetPlatformWalletConfigParams

View Source
const (
	ResetPlatformWalletConfigPlatformEpicConstant        = "Epic"
	ResetPlatformWalletConfigPlatformGooglePlayConstant  = "GooglePlay"
	ResetPlatformWalletConfigPlatformIOSConstant         = "IOS"
	ResetPlatformWalletConfigPlatformNintendoConstant    = "Nintendo"
	ResetPlatformWalletConfigPlatformOculusConstant      = "Oculus"
	ResetPlatformWalletConfigPlatformOtherConstant       = "Other"
	ResetPlatformWalletConfigPlatformPlaystationConstant = "Playstation"
	ResetPlatformWalletConfigPlatformSteamConstant       = "Steam"
	ResetPlatformWalletConfigPlatformXboxConstant        = "Xbox"
)

Get the enum in ResetPlatformWalletConfigParams

View Source
const (
	UpdatePlatformWalletConfigEpicConstant        = "Epic"
	UpdatePlatformWalletConfigGooglePlayConstant  = "GooglePlay"
	UpdatePlatformWalletConfigIOSConstant         = "IOS"
	UpdatePlatformWalletConfigNintendoConstant    = "Nintendo"
	UpdatePlatformWalletConfigOculusConstant      = "Oculus"
	UpdatePlatformWalletConfigOtherConstant       = "Other"
	UpdatePlatformWalletConfigPlaystationConstant = "Playstation"
	UpdatePlatformWalletConfigSteamConstant       = "Steam"
	UpdatePlatformWalletConfigXboxConstant        = "Xbox"
)

Deprecated: 2025-07-16 - Use UpdatePlatformWalletConfigPlatform<EnumValue>Constant instead. Get the enum in UpdatePlatformWalletConfigParams

View Source
const (
	UpdatePlatformWalletConfigPlatformEpicConstant        = "Epic"
	UpdatePlatformWalletConfigPlatformGooglePlayConstant  = "GooglePlay"
	UpdatePlatformWalletConfigPlatformIOSConstant         = "IOS"
	UpdatePlatformWalletConfigPlatformNintendoConstant    = "Nintendo"
	UpdatePlatformWalletConfigPlatformOculusConstant      = "Oculus"
	UpdatePlatformWalletConfigPlatformOtherConstant       = "Other"
	UpdatePlatformWalletConfigPlatformPlaystationConstant = "Playstation"
	UpdatePlatformWalletConfigPlatformSteamConstant       = "Steam"
	UpdatePlatformWalletConfigPlatformXboxConstant        = "Xbox"
)

Get the enum in UpdatePlatformWalletConfigParams

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkCreditOK

type BulkCreditOK struct {
	Payload *platformclientmodels.BulkCreditResult
}

BulkCreditOK handles this case with default header values.

successful operation

func NewBulkCreditOK

func NewBulkCreditOK() *BulkCreditOK

NewBulkCreditOK creates a BulkCreditOK with default headers values

func (*BulkCreditOK) Error

func (o *BulkCreditOK) Error() string

func (*BulkCreditOK) GetPayload

func (*BulkCreditOK) ToJSONString

func (o *BulkCreditOK) ToJSONString() string

type BulkCreditParams

type BulkCreditParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []*platformclientmodels.BulkCreditRequest
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewBulkCreditParams() *BulkCreditParams

NewBulkCreditParams creates a new BulkCreditParams object with the default values initialized.

func NewBulkCreditParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the bulk credit params

func (*BulkCreditParams) SetBody

SetBody adds the body to the bulk credit params

func (*BulkCreditParams) SetContext

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

SetContext adds the context to the bulk credit params

func (*BulkCreditParams) SetFlightId

func (o *BulkCreditParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*BulkCreditParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk credit params

func (*BulkCreditParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the bulk credit params

func (*BulkCreditParams) SetNamespace

func (o *BulkCreditParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the bulk credit params

func (*BulkCreditParams) SetTimeout

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

SetTimeout adds the timeout to the bulk credit params

func (*BulkCreditParams) WithBody

WithBody adds the body to the bulk credit params

func (*BulkCreditParams) WithContext

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

WithContext adds the context to the bulk credit params

func (*BulkCreditParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the bulk credit params

func (*BulkCreditParams) WithNamespace

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

WithNamespace adds the namespace to the bulk credit params

func (*BulkCreditParams) WithTimeout

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

WithTimeout adds the timeout to the bulk credit params

func (*BulkCreditParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type BulkCreditReader

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

BulkCreditReader is a Reader for the BulkCredit structure.

func (*BulkCreditReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkCreditUnprocessableEntity

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

func NewBulkCreditUnprocessableEntity() *BulkCreditUnprocessableEntity

NewBulkCreditUnprocessableEntity creates a BulkCreditUnprocessableEntity with default headers values

func (*BulkCreditUnprocessableEntity) Error

func (*BulkCreditUnprocessableEntity) GetPayload

func (*BulkCreditUnprocessableEntity) ToJSONString

func (o *BulkCreditUnprocessableEntity) ToJSONString() string

type BulkDebitOK

type BulkDebitOK struct {
	Payload *platformclientmodels.BulkDebitResult
}

BulkDebitOK handles this case with default header values.

successful operation

func NewBulkDebitOK

func NewBulkDebitOK() *BulkDebitOK

NewBulkDebitOK creates a BulkDebitOK with default headers values

func (*BulkDebitOK) Error

func (o *BulkDebitOK) Error() string

func (*BulkDebitOK) GetPayload

func (*BulkDebitOK) ToJSONString

func (o *BulkDebitOK) ToJSONString() string

type BulkDebitParams

type BulkDebitParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []*platformclientmodels.BulkDebitRequest
	/*Namespace*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewBulkDebitParams() *BulkDebitParams

NewBulkDebitParams creates a new BulkDebitParams object with the default values initialized.

func NewBulkDebitParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the bulk debit params

func (*BulkDebitParams) SetBody

SetBody adds the body to the bulk debit params

func (*BulkDebitParams) SetContext

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

SetContext adds the context to the bulk debit params

func (*BulkDebitParams) SetFlightId

func (o *BulkDebitParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*BulkDebitParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk debit params

func (*BulkDebitParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the bulk debit params

func (*BulkDebitParams) SetNamespace

func (o *BulkDebitParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the bulk debit params

func (*BulkDebitParams) SetTimeout

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

SetTimeout adds the timeout to the bulk debit params

func (*BulkDebitParams) WithBody

WithBody adds the body to the bulk debit params

func (*BulkDebitParams) WithContext

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

WithContext adds the context to the bulk debit params

func (*BulkDebitParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the bulk debit params

func (*BulkDebitParams) WithNamespace

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

WithNamespace adds the namespace to the bulk debit params

func (*BulkDebitParams) WithTimeout

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

WithTimeout adds the timeout to the bulk debit params

func (*BulkDebitParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type BulkDebitReader

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

BulkDebitReader is a Reader for the BulkDebit structure.

func (*BulkDebitReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkDebitUnprocessableEntity

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

func NewBulkDebitUnprocessableEntity() *BulkDebitUnprocessableEntity

NewBulkDebitUnprocessableEntity creates a BulkDebitUnprocessableEntity with default headers values

func (*BulkDebitUnprocessableEntity) Error

func (*BulkDebitUnprocessableEntity) GetPayload

func (*BulkDebitUnprocessableEntity) ToJSONString

func (o *BulkDebitUnprocessableEntity) ToJSONString() string

type CheckBalanceBadRequest

type CheckBalanceBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

CheckBalanceBadRequest 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 NewCheckBalanceBadRequest

func NewCheckBalanceBadRequest() *CheckBalanceBadRequest

NewCheckBalanceBadRequest creates a CheckBalanceBadRequest with default headers values

func (*CheckBalanceBadRequest) Error

func (o *CheckBalanceBadRequest) Error() string

func (*CheckBalanceBadRequest) GetPayload

func (*CheckBalanceBadRequest) ToJSONString

func (o *CheckBalanceBadRequest) ToJSONString() string

type CheckBalanceOK

type CheckBalanceOK struct {
	Payload *platformclientmodels.CheckBalanceResponse
}

CheckBalanceOK handles this case with default header values.

Successfully determined if user has enough balance.

func NewCheckBalanceOK

func NewCheckBalanceOK() *CheckBalanceOK

NewCheckBalanceOK creates a CheckBalanceOK with default headers values

func (*CheckBalanceOK) Error

func (o *CheckBalanceOK) Error() string

func (*CheckBalanceOK) GetPayload added in v0.10.0

func (*CheckBalanceOK) ToJSONString added in v0.10.0

func (o *CheckBalanceOK) ToJSONString() string

type CheckBalanceParams

type CheckBalanceParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Request*/
	Request *platformclientmodels.DebitByWalletPlatformRequest
	/*CurrencyCode*/
	CurrencyCode string
	/*Namespace
	  Namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewCheckBalanceParams

func NewCheckBalanceParams() *CheckBalanceParams

NewCheckBalanceParams creates a new CheckBalanceParams object with the default values initialized.

func NewCheckBalanceParamsWithContext

func NewCheckBalanceParamsWithContext(ctx context.Context) *CheckBalanceParams

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

func NewCheckBalanceParamsWithHTTPClient

func NewCheckBalanceParamsWithHTTPClient(client *http.Client) *CheckBalanceParams

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

func NewCheckBalanceParamsWithTimeout

func NewCheckBalanceParamsWithTimeout(timeout time.Duration) *CheckBalanceParams

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

func (*CheckBalanceParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the check balance params

func (*CheckBalanceParams) SetContext

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

SetContext adds the context to the check balance params

func (*CheckBalanceParams) SetCurrencyCode

func (o *CheckBalanceParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the check balance params

func (*CheckBalanceParams) SetFlightId

func (o *CheckBalanceParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CheckBalanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check balance params

func (*CheckBalanceParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the check balance params

func (*CheckBalanceParams) SetNamespace

func (o *CheckBalanceParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the check balance params

func (*CheckBalanceParams) SetRequest

SetRequest adds the request to the check balance params

func (*CheckBalanceParams) SetTimeout

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

SetTimeout adds the timeout to the check balance params

func (*CheckBalanceParams) SetUserID

func (o *CheckBalanceParams) SetUserID(userID string)

SetUserID adds the userId to the check balance params

func (*CheckBalanceParams) WithContext

WithContext adds the context to the check balance params

func (*CheckBalanceParams) WithCurrencyCode

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

WithCurrencyCode adds the currencyCode to the check balance params

func (*CheckBalanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the check balance params

func (*CheckBalanceParams) WithNamespace

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

WithNamespace adds the namespace to the check balance params

func (*CheckBalanceParams) WithRequest

WithRequest adds the request to the check balance params

func (*CheckBalanceParams) WithTimeout

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

WithTimeout adds the timeout to the check balance params

func (*CheckBalanceParams) WithUserID

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

WithUserID adds the userID to the check balance params

func (*CheckBalanceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CheckBalanceReader

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

CheckBalanceReader is a Reader for the CheckBalance structure.

func (*CheckBalanceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CheckWalletBadRequest

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

func NewCheckWalletBadRequest() *CheckWalletBadRequest

NewCheckWalletBadRequest creates a CheckWalletBadRequest with default headers values

func (*CheckWalletBadRequest) Error

func (o *CheckWalletBadRequest) Error() string

func (*CheckWalletBadRequest) GetPayload

func (*CheckWalletBadRequest) ToJSONString

func (o *CheckWalletBadRequest) ToJSONString() string

type CheckWalletConflict

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

func NewCheckWalletConflict() *CheckWalletConflict

NewCheckWalletConflict creates a CheckWalletConflict with default headers values

func (*CheckWalletConflict) Error

func (o *CheckWalletConflict) Error() string

func (*CheckWalletConflict) GetPayload

func (*CheckWalletConflict) ToJSONString

func (o *CheckWalletConflict) ToJSONString() string

type CheckWalletNoContent

type CheckWalletNoContent struct {
}

CheckWalletNoContent handles this case with default header values.

check successfully

func NewCheckWalletNoContent

func NewCheckWalletNoContent() *CheckWalletNoContent

NewCheckWalletNoContent creates a CheckWalletNoContent with default headers values

func (*CheckWalletNoContent) Error

func (o *CheckWalletNoContent) Error() string

type CheckWalletParams

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewCheckWalletParams() *CheckWalletParams

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

func NewCheckWalletParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the check wallet params

func (*CheckWalletParams) SetContext

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

SetContext adds the context to the check wallet params

func (*CheckWalletParams) SetCurrencyCode

func (o *CheckWalletParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the check wallet params

func (*CheckWalletParams) SetFlightId

func (o *CheckWalletParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CheckWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check wallet params

func (*CheckWalletParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the check wallet params

func (*CheckWalletParams) SetNamespace

func (o *CheckWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the check wallet params

func (*CheckWalletParams) SetOrigin

func (o *CheckWalletParams) SetOrigin(origin string)

SetOrigin adds the origin to the check wallet params

func (*CheckWalletParams) SetTimeout

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

SetTimeout adds the timeout to the check wallet params

func (*CheckWalletParams) SetUserID

func (o *CheckWalletParams) SetUserID(userID string)

SetUserID adds the userId to the check wallet params

func (*CheckWalletParams) WithContext

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

WithContext adds the context to the check wallet params

func (*CheckWalletParams) WithCurrencyCode

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

WithCurrencyCode adds the currencyCode to the check wallet params

func (*CheckWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the check wallet params

func (*CheckWalletParams) WithNamespace

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

WithNamespace adds the namespace to the check wallet params

func (*CheckWalletParams) WithOrigin

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

WithOrigin adds the origin to the check wallet params

func (*CheckWalletParams) WithTimeout

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

WithTimeout adds the timeout to the check wallet params

func (*CheckWalletParams) WithUserID

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

WithUserID adds the userID to the check wallet params

func (*CheckWalletParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CheckWalletReader

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

CheckWalletReader is a Reader for the CheckWallet structure.

func (*CheckWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CheckWalletUnprocessableEntity

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

func NewCheckWalletUnprocessableEntity() *CheckWalletUnprocessableEntity

NewCheckWalletUnprocessableEntity creates a CheckWalletUnprocessableEntity with default headers values

func (*CheckWalletUnprocessableEntity) Error

func (*CheckWalletUnprocessableEntity) GetPayload

func (*CheckWalletUnprocessableEntity) ToJSONString

func (o *CheckWalletUnprocessableEntity) ToJSONString() string

type Client

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

Client for wallet API

func (*Client) BulkCreditShort

func (a *Client) BulkCreditShort(params *BulkCreditParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreditResponse, error)

BulkCreditShort credit different users' wallets Credit different users' wallets. Other detail info:

  • Returns : bulk credit result

func (*Client) BulkDebitShort

func (a *Client) BulkDebitShort(params *BulkDebitParams, authInfo runtime.ClientAuthInfoWriter) (*BulkDebitResponse, error)

BulkDebitShort debit different users' wallets Debit different users' wallets. Other detail info:

  • Returns : bulk credit result

func (*Client) CheckBalanceShort

func (a *Client) CheckBalanceShort(params *CheckBalanceParams, authInfo runtime.ClientAuthInfoWriter) (*CheckBalanceResponse, error)

CheckBalanceShort check if a user has enough balance Checks if the user has enough balance based on the provided criteria. Other detail info:

  • Returns : boolean value indicating if the user has enough balance

func (*Client) CheckWalletShort

func (a *Client) CheckWalletShort(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletResponse, 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.

func (*Client) CreditUserWalletShort

func (a *Client) CreditUserWalletShort(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletResponse, 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: (UPDATE)

func (*Client) DebitByWalletPlatformShort

func (a *Client) DebitByWalletPlatformShort(params *DebitByWalletPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*DebitByWalletPlatformResponse, error)

DebitByWalletPlatformShort debit user wallet by currency code and client platform Debit user wallet by currency code and client platform. Other detail info:

## 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) DebitUserWalletByCurrencyCodeShort

func (a *Client) DebitUserWalletByCurrencyCodeShort(params *DebitUserWalletByCurrencyCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletByCurrencyCodeResponse, error)

DebitUserWalletByCurrencyCodeShort debit a user wallet by currency code Debit a user wallet by currency code, default is debit system wallet.

func (*Client) DebitUserWalletShort

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

DebitUserWalletShort debit a user wallet Debit a user wallet.

func (*Client) DisableUserWalletShort

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

DisableUserWalletShort disable a user wallet disable a user wallet.

func (*Client) EnableUserWalletShort

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

EnableUserWalletShort enable a user wallet enable a user wallet.

func (*Client) GetPlatformWalletConfigShort

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

GetPlatformWalletConfigShort get platform wallet config list Get platform wallet config list. Other detail info:

  • Returns : wallet info

func (*Client) GetUserWalletShort

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

GetUserWalletShort get a user wallet get a user wallet. Other detail info:

  • Returns : wallet info

func (*Client) GetWalletConfigShort added in v0.2.0

func (a *Client) GetWalletConfigShort(params *GetWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletConfigResponse, error)

GetWalletConfigShort get wallet config of a namespace get wallet config

func (*Client) GetWalletShort

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

GetWalletShort get a wallet by wallet id get a wallet by wallet id. Other detail info:

  • Returns : wallet info

func (*Client) ListUserCurrencyTransactionsShort

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

ListUserCurrencyTransactionsShort list user currency transactions List user currency transactions ordered by create time desc. Other detail info:

  • Returns : currency transaction info

func (*Client) ListUserWalletTransactionsShort

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

ListUserWalletTransactionsShort list user wallet transactions List user wallet transactions ordered by create time desc. Other detail info:

  • Returns : wallet transaction info

func (*Client) PayWithUserWalletShort

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

PayWithUserWalletShort pay with user wallet by currency code and client platform Pay with user wallet by currency code and client platform.

func (*Client) PublicGetMyWalletShort

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

PublicGetMyWalletShort get my wallet by currency code and namespace get my wallet by currency code and namespace. Other detail info:

  • 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) PublicGetWalletShort

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

PublicGetWalletShort get a wallet by currency code get a wallet by currency code. Other detail info:

  • Returns : wallet info

func (*Client) PublicListUserWalletTransactionsShort

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

PublicListUserWalletTransactionsShort list wallet transactions by currency code List wallet transactions by currency code ordered by create time desc. Other detail info:

  • Returns : currency transaction info

func (*Client) QueryUserCurrencyWalletsShort

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

QueryUserCurrencyWalletsShort get user currency wallet summary Get user currency wallet summary. Other detail info: (READ)

  • Returns : currency wallet summary

func (*Client) QueryWalletsShort

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

QueryWalletsShort query wallets Query wallets. Other detail info:

  • Returns : paginated wallets info

func (*Client) ResetPlatformWalletConfigShort

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

ResetPlatformWalletConfigShort reset platform wallet config Reset platform wallet config to default config. Other detail info:

  • Returns : platform wallet config

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePlatformWalletConfigShort

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

UpdatePlatformWalletConfigShort update platform wallet config Update platform wallet config. Other detail info:

  • Returns : platform wallet config

func (*Client) UpdateWalletConfigShort added in v0.2.0

func (a *Client) UpdateWalletConfigShort(params *UpdateWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateWalletConfigResponse, error)

UpdateWalletConfigShort update wallet config Update wallet config of a namespace

type ClientService

type ClientService interface {
	GetPlatformWalletConfigShort(params *GetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPlatformWalletConfigResponse, error)
	UpdatePlatformWalletConfigShort(params *UpdatePlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePlatformWalletConfigResponse, error)
	ResetPlatformWalletConfigShort(params *ResetPlatformWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ResetPlatformWalletConfigResponse, error)
	QueryUserCurrencyWalletsShort(params *QueryUserCurrencyWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryUserCurrencyWalletsResponse, error)
	DebitUserWalletByCurrencyCodeShort(params *DebitUserWalletByCurrencyCodeParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletByCurrencyCodeResponse, error)
	ListUserCurrencyTransactionsShort(params *ListUserCurrencyTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserCurrencyTransactionsResponse, error)
	CheckBalanceShort(params *CheckBalanceParams, authInfo runtime.ClientAuthInfoWriter) (*CheckBalanceResponse, error)
	CheckWalletShort(params *CheckWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CheckWalletResponse, error)
	CreditUserWalletShort(params *CreditUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*CreditUserWalletResponse, error)
	DebitByWalletPlatformShort(params *DebitByWalletPlatformParams, authInfo runtime.ClientAuthInfoWriter) (*DebitByWalletPlatformResponse, error)
	PayWithUserWalletShort(params *PayWithUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PayWithUserWalletResponse, error)
	GetUserWalletShort(params *GetUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserWalletResponse, error)
	DebitUserWalletShort(params *DebitUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DebitUserWalletResponse, error)
	DisableUserWalletShort(params *DisableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*DisableUserWalletResponse, error)
	EnableUserWalletShort(params *EnableUserWalletParams, authInfo runtime.ClientAuthInfoWriter) (*EnableUserWalletResponse, error)
	ListUserWalletTransactionsShort(params *ListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*ListUserWalletTransactionsResponse, error)
	GetWalletConfigShort(params *GetWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletConfigResponse, error)
	UpdateWalletConfigShort(params *UpdateWalletConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateWalletConfigResponse, error)
	QueryWalletsShort(params *QueryWalletsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryWalletsResponse, error)
	BulkCreditShort(params *BulkCreditParams, authInfo runtime.ClientAuthInfoWriter) (*BulkCreditResponse, error)
	BulkDebitShort(params *BulkDebitParams, authInfo runtime.ClientAuthInfoWriter) (*BulkDebitResponse, error)
	GetWalletShort(params *GetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*GetWalletResponse, error)
	PublicGetMyWalletShort(params *PublicGetMyWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMyWalletResponse, error)
	PublicGetWalletShort(params *PublicGetWalletParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetWalletResponse, error)
	PublicListUserWalletTransactionsShort(params *PublicListUserWalletTransactionsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListUserWalletTransactionsResponse, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new wallet API client.

type CreditUserWalletBadRequest

type CreditUserWalletBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

CreditUserWalletBadRequest handles this case with default header values.

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

func NewCreditUserWalletBadRequest

func NewCreditUserWalletBadRequest() *CreditUserWalletBadRequest

NewCreditUserWalletBadRequest creates a CreditUserWalletBadRequest with default headers values

func (*CreditUserWalletBadRequest) Error

func (*CreditUserWalletBadRequest) GetPayload

func (*CreditUserWalletBadRequest) ToJSONString

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 (*CreditUserWalletOK) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

SetAuthInfoWriter adds the authInfoWriter to the credit user wallet params

func (*CreditUserWalletParams) SetBody

SetBody adds the body to the credit user wallet params

func (*CreditUserWalletParams) SetContext

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

SetContext adds the context to the credit user wallet params

func (*CreditUserWalletParams) SetCurrencyCode

func (o *CreditUserWalletParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the credit user wallet params

func (*CreditUserWalletParams) SetFlightId

func (o *CreditUserWalletParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*CreditUserWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the credit user wallet params

func (*CreditUserWalletParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the credit user wallet params

func (*CreditUserWalletParams) SetNamespace

func (o *CreditUserWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the credit user wallet params

func (*CreditUserWalletParams) SetTimeout

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

SetTimeout adds the timeout to the credit user wallet params

func (*CreditUserWalletParams) SetUserID

func (o *CreditUserWalletParams) SetUserID(userID string)

SetUserID adds the userId to the credit user wallet params

func (*CreditUserWalletParams) WithBody

WithBody adds the body to the credit user wallet params

func (*CreditUserWalletParams) WithContext

WithContext adds the context to the credit user wallet params

func (*CreditUserWalletParams) WithCurrencyCode

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

WithCurrencyCode adds the currencyCode to the credit user wallet params

func (*CreditUserWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the credit user wallet params

func (*CreditUserWalletParams) WithNamespace

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

WithNamespace adds the namespace to the credit user wallet params

func (*CreditUserWalletParams) WithTimeout

WithTimeout adds the timeout to the credit user wallet params

func (*CreditUserWalletParams) WithUserID

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

WithUserID adds the userID to the credit user wallet params

func (*CreditUserWalletParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreditUserWalletReader

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

CreditUserWalletReader is a Reader for the CreditUserWallet structure.

func (*CreditUserWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreditUserWalletUnprocessableEntity

type CreditUserWalletUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

CreditUserWalletUnprocessableEntity handles this case with default header values.

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

func NewCreditUserWalletUnprocessableEntity

func NewCreditUserWalletUnprocessableEntity() *CreditUserWalletUnprocessableEntity

NewCreditUserWalletUnprocessableEntity creates a CreditUserWalletUnprocessableEntity with default headers values

func (*CreditUserWalletUnprocessableEntity) Error

func (*CreditUserWalletUnprocessableEntity) GetPayload

func (*CreditUserWalletUnprocessableEntity) ToJSONString

func (o *CreditUserWalletUnprocessableEntity) ToJSONString() string

type DebitByWalletPlatformBadRequest

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

func NewDebitByWalletPlatformBadRequest() *DebitByWalletPlatformBadRequest

NewDebitByWalletPlatformBadRequest creates a DebitByWalletPlatformBadRequest with default headers values

func (*DebitByWalletPlatformBadRequest) Error

func (*DebitByWalletPlatformBadRequest) GetPayload

func (*DebitByWalletPlatformBadRequest) ToJSONString

func (o *DebitByWalletPlatformBadRequest) ToJSONString() string

type DebitByWalletPlatformOK

type DebitByWalletPlatformOK struct {
	Payload *platformclientmodels.PlatformWallet
}

DebitByWalletPlatformOK handles this case with default header values.

successful operation

func NewDebitByWalletPlatformOK

func NewDebitByWalletPlatformOK() *DebitByWalletPlatformOK

NewDebitByWalletPlatformOK creates a DebitByWalletPlatformOK with default headers values

func (*DebitByWalletPlatformOK) Error

func (o *DebitByWalletPlatformOK) Error() string

func (*DebitByWalletPlatformOK) GetPayload

func (*DebitByWalletPlatformOK) ToJSONString

func (o *DebitByWalletPlatformOK) ToJSONString() string

type DebitByWalletPlatformParams

type DebitByWalletPlatformParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Request*/
	Request *platformclientmodels.DebitByWalletPlatformRequest
	/*CurrencyCode*/
	CurrencyCode string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewDebitByWalletPlatformParams() *DebitByWalletPlatformParams

NewDebitByWalletPlatformParams creates a new DebitByWalletPlatformParams object with the default values initialized.

func NewDebitByWalletPlatformParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the debit by wallet platform params

func (*DebitByWalletPlatformParams) SetContext

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

SetContext adds the context to the debit by wallet platform params

func (*DebitByWalletPlatformParams) SetCurrencyCode

func (o *DebitByWalletPlatformParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the debit by wallet platform params

func (*DebitByWalletPlatformParams) SetFlightId

func (o *DebitByWalletPlatformParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DebitByWalletPlatformParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the debit by wallet platform params

func (*DebitByWalletPlatformParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the debit by wallet platform params

func (*DebitByWalletPlatformParams) SetNamespace

func (o *DebitByWalletPlatformParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the debit by wallet platform params

func (*DebitByWalletPlatformParams) SetRequest

SetRequest adds the request to the debit by wallet platform params

func (*DebitByWalletPlatformParams) SetTimeout

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

SetTimeout adds the timeout to the debit by wallet platform params

func (*DebitByWalletPlatformParams) SetUserID

func (o *DebitByWalletPlatformParams) SetUserID(userID string)

SetUserID adds the userId to the debit by wallet platform params

func (*DebitByWalletPlatformParams) WithContext

WithContext adds the context to the debit by wallet platform params

func (*DebitByWalletPlatformParams) WithCurrencyCode

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

WithCurrencyCode adds the currencyCode to the debit by wallet platform params

func (*DebitByWalletPlatformParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the debit by wallet platform params

func (*DebitByWalletPlatformParams) WithNamespace

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

WithNamespace adds the namespace to the debit by wallet platform params

func (*DebitByWalletPlatformParams) WithRequest

WithRequest adds the request to the debit by wallet platform params

func (*DebitByWalletPlatformParams) WithTimeout

WithTimeout adds the timeout to the debit by wallet platform params

func (*DebitByWalletPlatformParams) WithUserID

WithUserID adds the userID to the debit by wallet platform params

func (*DebitByWalletPlatformParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DebitByWalletPlatformReader

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

DebitByWalletPlatformReader is a Reader for the DebitByWalletPlatform structure.

func (*DebitByWalletPlatformReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DebitByWalletPlatformUnprocessableEntity

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

func NewDebitByWalletPlatformUnprocessableEntity() *DebitByWalletPlatformUnprocessableEntity

NewDebitByWalletPlatformUnprocessableEntity creates a DebitByWalletPlatformUnprocessableEntity with default headers values

func (*DebitByWalletPlatformUnprocessableEntity) Error

func (*DebitByWalletPlatformUnprocessableEntity) GetPayload

func (*DebitByWalletPlatformUnprocessableEntity) ToJSONString

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 (*DebitUserWalletBadRequest) ToJSONString

func (o *DebitUserWalletBadRequest) ToJSONString() string

type DebitUserWalletByCurrencyCodeBadRequest

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

func NewDebitUserWalletByCurrencyCodeBadRequest() *DebitUserWalletByCurrencyCodeBadRequest

NewDebitUserWalletByCurrencyCodeBadRequest creates a DebitUserWalletByCurrencyCodeBadRequest with default headers values

func (*DebitUserWalletByCurrencyCodeBadRequest) Error

func (*DebitUserWalletByCurrencyCodeBadRequest) GetPayload

func (*DebitUserWalletByCurrencyCodeBadRequest) ToJSONString

type DebitUserWalletByCurrencyCodeConflict

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

func NewDebitUserWalletByCurrencyCodeConflict() *DebitUserWalletByCurrencyCodeConflict

NewDebitUserWalletByCurrencyCodeConflict creates a DebitUserWalletByCurrencyCodeConflict with default headers values

func (*DebitUserWalletByCurrencyCodeConflict) Error

func (*DebitUserWalletByCurrencyCodeConflict) GetPayload

func (*DebitUserWalletByCurrencyCodeConflict) ToJSONString

type DebitUserWalletByCurrencyCodeOK

type DebitUserWalletByCurrencyCodeOK struct {
	Payload *platformclientmodels.WalletInfo
}

DebitUserWalletByCurrencyCodeOK handles this case with default header values.

successful operation

func NewDebitUserWalletByCurrencyCodeOK

func NewDebitUserWalletByCurrencyCodeOK() *DebitUserWalletByCurrencyCodeOK

NewDebitUserWalletByCurrencyCodeOK creates a DebitUserWalletByCurrencyCodeOK with default headers values

func (*DebitUserWalletByCurrencyCodeOK) Error

func (*DebitUserWalletByCurrencyCodeOK) GetPayload

func (*DebitUserWalletByCurrencyCodeOK) ToJSONString

func (o *DebitUserWalletByCurrencyCodeOK) ToJSONString() string

type DebitUserWalletByCurrencyCodeParams

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewDebitUserWalletByCurrencyCodeParams() *DebitUserWalletByCurrencyCodeParams

NewDebitUserWalletByCurrencyCodeParams creates a new DebitUserWalletByCurrencyCodeParams object with the default values initialized.

func NewDebitUserWalletByCurrencyCodeParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) SetBody

SetBody adds the body to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) SetContext

SetContext adds the context to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) SetCurrencyCode

func (o *DebitUserWalletByCurrencyCodeParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) SetFlightId

func (o *DebitUserWalletByCurrencyCodeParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DebitUserWalletByCurrencyCodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) SetNamespace

func (o *DebitUserWalletByCurrencyCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) SetTimeout

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

SetTimeout adds the timeout to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) SetUserID

func (o *DebitUserWalletByCurrencyCodeParams) SetUserID(userID string)

SetUserID adds the userId to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) WithBody

WithBody adds the body to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) WithContext

WithContext adds the context to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) WithCurrencyCode

WithCurrencyCode adds the currencyCode to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) WithNamespace

WithNamespace adds the namespace to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) WithTimeout

WithTimeout adds the timeout to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) WithUserID

WithUserID adds the userID to the debit user wallet by currency code params

func (*DebitUserWalletByCurrencyCodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DebitUserWalletByCurrencyCodeReader

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

DebitUserWalletByCurrencyCodeReader is a Reader for the DebitUserWalletByCurrencyCode structure.

func (*DebitUserWalletByCurrencyCodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DebitUserWalletByCurrencyCodeUnprocessableEntity

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

func NewDebitUserWalletByCurrencyCodeUnprocessableEntity() *DebitUserWalletByCurrencyCodeUnprocessableEntity

NewDebitUserWalletByCurrencyCodeUnprocessableEntity creates a DebitUserWalletByCurrencyCodeUnprocessableEntity with default headers values

func (*DebitUserWalletByCurrencyCodeUnprocessableEntity) Error

func (*DebitUserWalletByCurrencyCodeUnprocessableEntity) GetPayload

func (*DebitUserWalletByCurrencyCodeUnprocessableEntity) ToJSONString

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 (*DebitUserWalletConflict) ToJSONString

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 (*DebitUserWalletNotFound) ToJSONString

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 (*DebitUserWalletOK) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

SetAuthInfoWriter adds the authInfoWriter to the debit user wallet params

func (*DebitUserWalletParams) SetBody

SetBody adds the body to the debit user wallet params

func (*DebitUserWalletParams) SetContext

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

SetContext adds the context to the debit user wallet params

func (*DebitUserWalletParams) SetFlightId

func (o *DebitUserWalletParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DebitUserWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the debit user wallet params

func (*DebitUserWalletParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the debit user wallet params

func (*DebitUserWalletParams) SetNamespace

func (o *DebitUserWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the debit user wallet params

func (*DebitUserWalletParams) SetTimeout

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

SetTimeout adds the timeout to the debit user wallet params

func (*DebitUserWalletParams) SetUserID

func (o *DebitUserWalletParams) SetUserID(userID string)

SetUserID adds the userId to the debit user wallet params

func (*DebitUserWalletParams) SetWalletID

func (o *DebitUserWalletParams) SetWalletID(walletID string)

SetWalletID adds the walletId to the debit user wallet params

func (*DebitUserWalletParams) WithBody

WithBody adds the body to the debit user wallet params

func (*DebitUserWalletParams) WithContext

WithContext adds the context to the debit user wallet params

func (*DebitUserWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the debit user wallet params

func (*DebitUserWalletParams) WithNamespace

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

WithNamespace adds the namespace to the debit user wallet params

func (*DebitUserWalletParams) WithTimeout

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

WithTimeout adds the timeout to the debit user wallet params

func (*DebitUserWalletParams) WithUserID

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

WithUserID adds the userID to the debit user wallet params

func (*DebitUserWalletParams) WithWalletID

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

WithWalletID adds the walletID to the debit user wallet params

func (*DebitUserWalletParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DebitUserWalletReader

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

DebitUserWalletReader is a Reader for the DebitUserWallet structure.

func (*DebitUserWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DebitUserWalletUnprocessableEntity

type DebitUserWalletUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

DebitUserWalletUnprocessableEntity handles this case with default header values.

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

func NewDebitUserWalletUnprocessableEntity

func NewDebitUserWalletUnprocessableEntity() *DebitUserWalletUnprocessableEntity

NewDebitUserWalletUnprocessableEntity creates a DebitUserWalletUnprocessableEntity with default headers values

func (*DebitUserWalletUnprocessableEntity) Error

func (*DebitUserWalletUnprocessableEntity) GetPayload

func (*DebitUserWalletUnprocessableEntity) ToJSONString

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 (*DisableUserWalletConflict) ToJSONString

func (o *DisableUserWalletConflict) ToJSONString() string

type DisableUserWalletNoContent

type DisableUserWalletNoContent struct {
}

DisableUserWalletNoContent handles this case with default header values.

Successful operation

func NewDisableUserWalletNoContent

func NewDisableUserWalletNoContent() *DisableUserWalletNoContent

NewDisableUserWalletNoContent creates a DisableUserWalletNoContent with default headers values

func (*DisableUserWalletNoContent) Error

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 (*DisableUserWalletNotFound) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *DisableUserWalletParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*DisableUserWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable user wallet params

func (*DisableUserWalletParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the disable user wallet params

func (*DisableUserWalletParams) SetNamespace

func (o *DisableUserWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the disable user wallet params

func (*DisableUserWalletParams) SetTimeout

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

SetTimeout adds the timeout to the disable user wallet params

func (*DisableUserWalletParams) SetUserID

func (o *DisableUserWalletParams) SetUserID(userID string)

SetUserID adds the userId to the disable user wallet params

func (*DisableUserWalletParams) SetWalletID

func (o *DisableUserWalletParams) SetWalletID(walletID string)

SetWalletID adds the walletId to the disable user wallet params

func (*DisableUserWalletParams) WithContext

WithContext adds the context to the disable user wallet params

func (*DisableUserWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the disable user wallet params

func (*DisableUserWalletParams) WithNamespace

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

WithNamespace adds the namespace to the disable user wallet params

func (*DisableUserWalletParams) WithTimeout

WithTimeout adds the timeout to the disable user wallet params

func (*DisableUserWalletParams) WithUserID

WithUserID adds the userID to the disable user wallet params

func (*DisableUserWalletParams) WithWalletID

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

WithWalletID adds the walletID to the disable user wallet params

func (*DisableUserWalletParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DisableUserWalletReader

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

DisableUserWalletReader is a Reader for the DisableUserWallet structure.

func (*DisableUserWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DisableUserWalletResponse

type DisableUserWalletResponse struct {
	platformclientmodels.ApiResponse

	Error404 *platformclientmodels.ErrorEntity
	Error409 *platformclientmodels.ErrorEntity
}

func (*DisableUserWalletResponse) Unpack

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 (*EnableUserWalletConflict) ToJSONString

func (o *EnableUserWalletConflict) ToJSONString() string

type EnableUserWalletNoContent

type EnableUserWalletNoContent struct {
}

EnableUserWalletNoContent handles this case with default header values.

Successful operation

func NewEnableUserWalletNoContent

func NewEnableUserWalletNoContent() *EnableUserWalletNoContent

NewEnableUserWalletNoContent creates a EnableUserWalletNoContent with default headers values

func (*EnableUserWalletNoContent) Error

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 (*EnableUserWalletNotFound) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *EnableUserWalletParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*EnableUserWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable user wallet params

func (*EnableUserWalletParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the enable user wallet params

func (*EnableUserWalletParams) SetNamespace

func (o *EnableUserWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the enable user wallet params

func (*EnableUserWalletParams) SetTimeout

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

SetTimeout adds the timeout to the enable user wallet params

func (*EnableUserWalletParams) SetUserID

func (o *EnableUserWalletParams) SetUserID(userID string)

SetUserID adds the userId to the enable user wallet params

func (*EnableUserWalletParams) SetWalletID

func (o *EnableUserWalletParams) SetWalletID(walletID string)

SetWalletID adds the walletId to the enable user wallet params

func (*EnableUserWalletParams) WithContext

WithContext adds the context to the enable user wallet params

func (*EnableUserWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enable user wallet params

func (*EnableUserWalletParams) WithNamespace

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

WithNamespace adds the namespace to the enable user wallet params

func (*EnableUserWalletParams) WithTimeout

WithTimeout adds the timeout to the enable user wallet params

func (*EnableUserWalletParams) WithUserID

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

WithUserID adds the userID to the enable user wallet params

func (*EnableUserWalletParams) WithWalletID

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

WithWalletID adds the walletID to the enable user wallet params

func (*EnableUserWalletParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EnableUserWalletReader

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

EnableUserWalletReader is a Reader for the EnableUserWallet structure.

func (*EnableUserWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnableUserWalletResponse

type EnableUserWalletResponse struct {
	platformclientmodels.ApiResponse

	Error404 *platformclientmodels.ErrorEntity
	Error409 *platformclientmodels.ErrorEntity
}

func (*EnableUserWalletResponse) Unpack

type GetPlatformWalletConfigOK

type GetPlatformWalletConfigOK struct {
	Payload *platformclientmodels.PlatformWalletConfigInfo
}

GetPlatformWalletConfigOK handles this case with default header values.

successful operation

func NewGetPlatformWalletConfigOK

func NewGetPlatformWalletConfigOK() *GetPlatformWalletConfigOK

NewGetPlatformWalletConfigOK creates a GetPlatformWalletConfigOK with default headers values

func (*GetPlatformWalletConfigOK) Error

func (o *GetPlatformWalletConfigOK) Error() string

func (*GetPlatformWalletConfigOK) GetPayload

func (*GetPlatformWalletConfigOK) ToJSONString

func (o *GetPlatformWalletConfigOK) ToJSONString() string

type GetPlatformWalletConfigParams

type GetPlatformWalletConfigParams struct {

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

	*/
	Namespace string
	/*Platform*/
	Platform string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewGetPlatformWalletConfigParams() *GetPlatformWalletConfigParams

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

func NewGetPlatformWalletConfigParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the get platform wallet config params

func (*GetPlatformWalletConfigParams) SetContext

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

SetContext adds the context to the get platform wallet config params

func (*GetPlatformWalletConfigParams) SetFlightId

func (o *GetPlatformWalletConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetPlatformWalletConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get platform wallet config params

func (*GetPlatformWalletConfigParams) SetHTTPClientTransport

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

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

func (*GetPlatformWalletConfigParams) SetNamespace

func (o *GetPlatformWalletConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get platform wallet config params

func (*GetPlatformWalletConfigParams) SetPlatform

func (o *GetPlatformWalletConfigParams) SetPlatform(platform string)

SetPlatform adds the platform to the get platform wallet config params

func (*GetPlatformWalletConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get platform wallet config params

func (*GetPlatformWalletConfigParams) WithContext

WithContext adds the context to the get platform wallet config params

func (*GetPlatformWalletConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get platform wallet config params

func (*GetPlatformWalletConfigParams) WithNamespace

WithNamespace adds the namespace to the get platform wallet config params

func (*GetPlatformWalletConfigParams) WithPlatform

WithPlatform adds the platform to the get platform wallet config params

func (*GetPlatformWalletConfigParams) WithTimeout

WithTimeout adds the timeout to the get platform wallet config params

func (*GetPlatformWalletConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPlatformWalletConfigReader

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

GetPlatformWalletConfigReader is a Reader for the GetPlatformWalletConfig structure.

func (*GetPlatformWalletConfigReader) ReadResponse

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 (*GetUserWalletNotFound) ToJSONString

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 (*GetUserWalletOK) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *GetUserWalletParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetUserWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user wallet params

func (*GetUserWalletParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get user wallet params

func (*GetUserWalletParams) SetNamespace

func (o *GetUserWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user wallet params

func (*GetUserWalletParams) SetTimeout

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

SetTimeout adds the timeout to the get user wallet params

func (*GetUserWalletParams) SetUserID

func (o *GetUserWalletParams) SetUserID(userID string)

SetUserID adds the userId to the get user wallet params

func (*GetUserWalletParams) SetWalletID

func (o *GetUserWalletParams) SetWalletID(walletID string)

SetWalletID adds the walletId to the get user wallet params

func (*GetUserWalletParams) WithContext

WithContext adds the context to the get user wallet params

func (*GetUserWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user wallet params

func (*GetUserWalletParams) WithNamespace

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

WithNamespace adds the namespace to the get user wallet params

func (*GetUserWalletParams) WithTimeout

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

WithTimeout adds the timeout to the get user wallet params

func (*GetUserWalletParams) WithUserID

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

WithUserID adds the userID to the get user wallet params

func (*GetUserWalletParams) WithWalletID

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

WithWalletID adds the walletID to the get user wallet params

func (*GetUserWalletParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserWalletReader

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

GetUserWalletReader is a Reader for the GetUserWallet structure.

func (*GetUserWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWalletConfigOK added in v0.2.0

type GetWalletConfigOK struct {
	Payload *platformclientmodels.WalletConfigInfo
}

GetWalletConfigOK handles this case with default header values.

successful operation

func NewGetWalletConfigOK added in v0.2.0

func NewGetWalletConfigOK() *GetWalletConfigOK

NewGetWalletConfigOK creates a GetWalletConfigOK with default headers values

func (*GetWalletConfigOK) Error added in v0.2.0

func (o *GetWalletConfigOK) Error() string

func (*GetWalletConfigOK) GetPayload added in v0.2.0

func (*GetWalletConfigOK) ToJSONString added in v0.2.0

func (o *GetWalletConfigOK) ToJSONString() string

type GetWalletConfigParams added in v0.2.0

type GetWalletConfigParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewGetWalletConfigParams added in v0.2.0

func NewGetWalletConfigParams() *GetWalletConfigParams

NewGetWalletConfigParams creates a new GetWalletConfigParams object with the default values initialized.

func NewGetWalletConfigParamsWithContext added in v0.2.0

func NewGetWalletConfigParamsWithContext(ctx context.Context) *GetWalletConfigParams

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

func NewGetWalletConfigParamsWithHTTPClient added in v0.2.0

func NewGetWalletConfigParamsWithHTTPClient(client *http.Client) *GetWalletConfigParams

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

func NewGetWalletConfigParamsWithTimeout added in v0.2.0

func NewGetWalletConfigParamsWithTimeout(timeout time.Duration) *GetWalletConfigParams

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

func (*GetWalletConfigParams) SetAuthInfoWriter added in v0.2.0

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

SetAuthInfoWriter adds the authInfoWriter to the get wallet config params

func (*GetWalletConfigParams) SetContext added in v0.2.0

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

SetContext adds the context to the get wallet config params

func (*GetWalletConfigParams) SetFlightId added in v0.2.0

func (o *GetWalletConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetWalletConfigParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the get wallet config params

func (*GetWalletConfigParams) SetHTTPClientTransport added in v0.2.0

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

SetHTTPClient adds the HTTPClient Transport to the get wallet config params

func (*GetWalletConfigParams) SetNamespace added in v0.2.0

func (o *GetWalletConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get wallet config params

func (*GetWalletConfigParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the get wallet config params

func (*GetWalletConfigParams) WithContext added in v0.2.0

WithContext adds the context to the get wallet config params

func (*GetWalletConfigParams) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the get wallet config params

func (*GetWalletConfigParams) WithNamespace added in v0.2.0

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

WithNamespace adds the namespace to the get wallet config params

func (*GetWalletConfigParams) WithTimeout added in v0.2.0

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

WithTimeout adds the timeout to the get wallet config params

func (*GetWalletConfigParams) WriteToRequest added in v0.2.0

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

WriteToRequest writes these params to a swagger request

type GetWalletConfigReader added in v0.2.0

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

GetWalletConfigReader is a Reader for the GetWalletConfig structure.

func (*GetWalletConfigReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type GetWalletConfigResponse added in v0.2.0

type GetWalletConfigResponse struct {
	platformclientmodels.ApiResponse
	Data *platformclientmodels.WalletConfigInfo
}

func (*GetWalletConfigResponse) Unpack added in v0.2.0

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 (*GetWalletNotFound) ToJSONString

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

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *GetWalletParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get wallet params

func (*GetWalletParams) SetHTTPClientTransport

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

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

func NewListUserCurrencyTransactionsNotFound() *ListUserCurrencyTransactionsNotFound

NewListUserCurrencyTransactionsNotFound creates a ListUserCurrencyTransactionsNotFound with default headers values

func (*ListUserCurrencyTransactionsNotFound) Error

func (*ListUserCurrencyTransactionsNotFound) GetPayload

func (*ListUserCurrencyTransactionsNotFound) ToJSONString

func (o *ListUserCurrencyTransactionsNotFound) ToJSONString() string

type ListUserCurrencyTransactionsOK

type ListUserCurrencyTransactionsOK struct {
	Payload *platformclientmodels.WalletTransactionPagingSlicedResult
}

ListUserCurrencyTransactionsOK handles this case with default header values.

successful operation

func NewListUserCurrencyTransactionsOK

func NewListUserCurrencyTransactionsOK() *ListUserCurrencyTransactionsOK

NewListUserCurrencyTransactionsOK creates a ListUserCurrencyTransactionsOK with default headers values

func (*ListUserCurrencyTransactionsOK) Error

func (*ListUserCurrencyTransactionsOK) GetPayload

func (*ListUserCurrencyTransactionsOK) ToJSONString

func (o *ListUserCurrencyTransactionsOK) ToJSONString() string

type ListUserCurrencyTransactionsParams

type ListUserCurrencyTransactionsParams struct {

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

	*/
	CurrencyCode string
	/*Namespace
	  namespace

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string
	/*Limit
	    limit. <div style="border-left: 4px solid #ffc107; background-color: #fff8e1; padding: 10px; margin: 10px 0;">
	    For performance and stability reasons, it is recommended to keep the
	    <code>limit</code> value <strong>no greater than 100</strong>. Using higher values may lead to increased response times or degraded service performance.
	</div>


	*/
	Limit *int32
	/*Offset*/
	Offset *int32

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewListUserCurrencyTransactionsParams() *ListUserCurrencyTransactionsParams

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

func NewListUserCurrencyTransactionsParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetContext

SetContext adds the context to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetCurrencyCode

func (o *ListUserCurrencyTransactionsParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetFlightId

func (o *ListUserCurrencyTransactionsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ListUserCurrencyTransactionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetHTTPClientTransport

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

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

func (*ListUserCurrencyTransactionsParams) SetLimit

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

SetLimit adds the limit to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetNamespace

func (o *ListUserCurrencyTransactionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetOffset

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

SetOffset adds the offset to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetTimeout

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

SetTimeout adds the timeout to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) SetUserID

func (o *ListUserCurrencyTransactionsParams) SetUserID(userID string)

SetUserID adds the userId to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithContext

WithContext adds the context to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithCurrencyCode

WithCurrencyCode adds the currencyCode to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithLimit

WithLimit adds the limit to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithNamespace

WithNamespace adds the namespace to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithOffset

WithOffset adds the offset to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithTimeout

WithTimeout adds the timeout to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WithUserID

WithUserID adds the userID to the list user currency transactions params

func (*ListUserCurrencyTransactionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListUserCurrencyTransactionsReader

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

ListUserCurrencyTransactionsReader is a Reader for the ListUserCurrencyTransactions structure.

func (*ListUserCurrencyTransactionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListUserWalletTransactionsNotFound

type ListUserWalletTransactionsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ListUserWalletTransactionsNotFound handles this case with default header values.

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

func NewListUserWalletTransactionsNotFound

func NewListUserWalletTransactionsNotFound() *ListUserWalletTransactionsNotFound

NewListUserWalletTransactionsNotFound creates a ListUserWalletTransactionsNotFound with default headers values

func (*ListUserWalletTransactionsNotFound) Error

func (*ListUserWalletTransactionsNotFound) GetPayload

func (*ListUserWalletTransactionsNotFound) ToJSONString

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 (*ListUserWalletTransactionsOK) ToJSONString

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. <div style="border-left: 4px solid #ffc107; background-color: #fff8e1; padding: 10px; margin: 10px 0;">
	    For performance and stability reasons, it is recommended to keep the
	    <code>limit</code> value <strong>no greater than 100</strong>. Using higher values may lead to increased response times or degraded service performance.
	</div>


	*/
	Limit *int32
	/*Offset*/
	Offset *int32

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

SetAuthInfoWriter adds the authInfoWriter to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetContext

SetContext adds the context to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetFlightId

func (o *ListUserWalletTransactionsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ListUserWalletTransactionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetHTTPClientTransport

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

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

func (*ListUserWalletTransactionsParams) SetLimit

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

SetLimit adds the limit to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetNamespace

func (o *ListUserWalletTransactionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetOffset

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

SetOffset adds the offset to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetTimeout

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

SetTimeout adds the timeout to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetUserID

func (o *ListUserWalletTransactionsParams) SetUserID(userID string)

SetUserID adds the userId to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) SetWalletID

func (o *ListUserWalletTransactionsParams) SetWalletID(walletID string)

SetWalletID adds the walletId to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithContext

WithContext adds the context to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithLimit

WithLimit adds the limit to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithNamespace

WithNamespace adds the namespace to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithOffset

WithOffset adds the offset to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithTimeout

WithTimeout adds the timeout to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithUserID

WithUserID adds the userID to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WithWalletID

WithWalletID adds the walletID to the list user wallet transactions params

func (*ListUserWalletTransactionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListUserWalletTransactionsReader

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

ListUserWalletTransactionsReader is a Reader for the ListUserWalletTransactions structure.

func (*ListUserWalletTransactionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PayWithUserWalletBadRequest

type PayWithUserWalletBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

PayWithUserWalletBadRequest handles this case with default header values.

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

func NewPayWithUserWalletBadRequest

func NewPayWithUserWalletBadRequest() *PayWithUserWalletBadRequest

NewPayWithUserWalletBadRequest creates a PayWithUserWalletBadRequest with default headers values

func (*PayWithUserWalletBadRequest) Error

func (*PayWithUserWalletBadRequest) GetPayload

func (*PayWithUserWalletBadRequest) ToJSONString

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 (*PayWithUserWalletOK) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

SetAuthInfoWriter adds the authInfoWriter to the pay with user wallet params

func (*PayWithUserWalletParams) SetBody

SetBody adds the body to the pay with user wallet params

func (*PayWithUserWalletParams) SetContext

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

SetContext adds the context to the pay with user wallet params

func (*PayWithUserWalletParams) SetCurrencyCode

func (o *PayWithUserWalletParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the pay with user wallet params

func (*PayWithUserWalletParams) SetFlightId

func (o *PayWithUserWalletParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PayWithUserWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pay with user wallet params

func (*PayWithUserWalletParams) SetHTTPClientTransport

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

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

func (*PayWithUserWalletParams) SetNamespace

func (o *PayWithUserWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the pay with user wallet params

func (*PayWithUserWalletParams) SetTimeout

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

SetTimeout adds the timeout to the pay with user wallet params

func (*PayWithUserWalletParams) SetUserID

func (o *PayWithUserWalletParams) SetUserID(userID string)

SetUserID adds the userId to the pay with user wallet params

func (*PayWithUserWalletParams) WithBody

WithBody adds the body to the pay with user wallet params

func (*PayWithUserWalletParams) WithContext

WithContext adds the context to the pay with user wallet params

func (*PayWithUserWalletParams) WithCurrencyCode

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

WithCurrencyCode adds the currencyCode to the pay with user wallet params

func (*PayWithUserWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pay with user wallet params

func (*PayWithUserWalletParams) WithNamespace

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

WithNamespace adds the namespace to the pay with user wallet params

func (*PayWithUserWalletParams) WithTimeout

WithTimeout adds the timeout to the pay with user wallet params

func (*PayWithUserWalletParams) WithUserID

WithUserID adds the userID to the pay with user wallet params

func (*PayWithUserWalletParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PayWithUserWalletReader

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

PayWithUserWalletReader is a Reader for the PayWithUserWallet structure.

func (*PayWithUserWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PayWithUserWalletUnprocessableEntity

type PayWithUserWalletUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

PayWithUserWalletUnprocessableEntity handles this case with default header values.

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

func NewPayWithUserWalletUnprocessableEntity

func NewPayWithUserWalletUnprocessableEntity() *PayWithUserWalletUnprocessableEntity

NewPayWithUserWalletUnprocessableEntity creates a PayWithUserWalletUnprocessableEntity with default headers values

func (*PayWithUserWalletUnprocessableEntity) Error

func (*PayWithUserWalletUnprocessableEntity) GetPayload

func (*PayWithUserWalletUnprocessableEntity) ToJSONString

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 (*PublicGetMyWalletOK) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *PublicGetMyWalletParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetMyWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get my wallet params

func (*PublicGetMyWalletParams) SetHTTPClientTransport

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

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

func (*PublicGetMyWalletParams) SetNamespace

func (o *PublicGetMyWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get my wallet params

func (*PublicGetMyWalletParams) SetTimeout

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

SetTimeout adds the timeout to the public get my wallet params

func (*PublicGetMyWalletParams) WithContext

WithContext adds the context to the public get my wallet params

func (*PublicGetMyWalletParams) WithCurrencyCode

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

WithCurrencyCode adds the currencyCode to the public get my wallet params

func (*PublicGetMyWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public get my wallet params

func (*PublicGetMyWalletParams) WithNamespace

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

WithNamespace adds the namespace to the public get my wallet params

func (*PublicGetMyWalletParams) WithTimeout

WithTimeout adds the timeout to the public get my wallet params

func (*PublicGetMyWalletParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetMyWalletReader

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

PublicGetMyWalletReader is a Reader for the PublicGetMyWallet structure.

func (*PublicGetMyWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetMyWalletResponse

type PublicGetMyWalletResponse struct {
	platformclientmodels.ApiResponse
	Data *platformclientmodels.PlatformWallet
}

func (*PublicGetMyWalletResponse) Unpack

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 (*PublicGetWalletOK) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *PublicGetWalletParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*PublicGetWalletParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get wallet params

func (*PublicGetWalletParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public get wallet params

func (*PublicGetWalletParams) SetNamespace

func (o *PublicGetWalletParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get wallet params

func (*PublicGetWalletParams) SetTimeout

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

SetTimeout adds the timeout to the public get wallet params

func (*PublicGetWalletParams) SetUserID

func (o *PublicGetWalletParams) SetUserID(userID string)

SetUserID adds the userId to the public get wallet params

func (*PublicGetWalletParams) WithContext

WithContext adds the context to the public get wallet params

func (*PublicGetWalletParams) WithCurrencyCode

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

WithCurrencyCode adds the currencyCode to the public get wallet params

func (*PublicGetWalletParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public get wallet params

func (*PublicGetWalletParams) WithNamespace

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

WithNamespace adds the namespace to the public get wallet params

func (*PublicGetWalletParams) WithTimeout

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

WithTimeout adds the timeout to the public get wallet params

func (*PublicGetWalletParams) WithUserID

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

WithUserID adds the userID to the public get wallet params

func (*PublicGetWalletParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PublicGetWalletReader

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

PublicGetWalletReader is a Reader for the PublicGetWallet structure.

func (*PublicGetWalletReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListUserWalletTransactionsOK

type PublicListUserWalletTransactionsOK struct {
	Payload *platformclientmodels.WalletTransactionPagingSlicedResult
}

PublicListUserWalletTransactionsOK handles this case with default header values.

successful operation

func NewPublicListUserWalletTransactionsOK

func NewPublicListUserWalletTransactionsOK() *PublicListUserWalletTransactionsOK

NewPublicListUserWalletTransactionsOK creates a PublicListUserWalletTransactionsOK with default headers values

func (*PublicListUserWalletTransactionsOK) Error

func (*PublicListUserWalletTransactionsOK) GetPayload

func (*PublicListUserWalletTransactionsOK) ToJSONString

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. <div style="border-left: 4px solid #ffc107; background-color: #fff8e1; padding: 10px; margin: 10px 0;">
	    For performance and stability reasons, it is recommended to keep the
	    <code>limit</code> value <strong>no greater than 100</strong>. Using higher values may lead to increased response times or degraded service performance.
	</div>


	*/
	Limit *int32
	/*Offset*/
	Offset *int32

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

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

func (*PublicListUserWalletTransactionsParams) SetContext

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

func (*PublicListUserWalletTransactionsParams) SetCurrencyCode

func (o *PublicListUserWalletTransactionsParams) SetCurrencyCode(currencyCode string)

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

func (*PublicListUserWalletTransactionsParams) SetFlightId

func (o *PublicListUserWalletTransactionsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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

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

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

func (*PublicListUserWalletTransactionsParams) SetLimit

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

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

func (*PublicListUserWalletTransactionsParams) SetNamespace

func (o *PublicListUserWalletTransactionsParams) SetNamespace(namespace string)

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

func (*PublicListUserWalletTransactionsParams) SetOffset

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

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

func (*PublicListUserWalletTransactionsParams) SetTimeout

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

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

func (*PublicListUserWalletTransactionsParams) SetUserID

func (o *PublicListUserWalletTransactionsParams) SetUserID(userID string)

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

func (*PublicListUserWalletTransactionsParams) WithContext

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

func (*PublicListUserWalletTransactionsParams) WithCurrencyCode

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

func (*PublicListUserWalletTransactionsParams) WithHTTPClient

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

func (*PublicListUserWalletTransactionsParams) WithLimit

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

func (*PublicListUserWalletTransactionsParams) WithNamespace

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

func (*PublicListUserWalletTransactionsParams) WithOffset

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

func (*PublicListUserWalletTransactionsParams) WithTimeout

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

func (*PublicListUserWalletTransactionsParams) WithUserID

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

func (*PublicListUserWalletTransactionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListUserWalletTransactionsReader

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

PublicListUserWalletTransactionsReader is a Reader for the PublicListUserWalletTransactions structure.

func (*PublicListUserWalletTransactionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryUserCurrencyWalletsOK

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

QueryUserCurrencyWalletsOK handles this case with default header values.

successful operation

func NewQueryUserCurrencyWalletsOK

func NewQueryUserCurrencyWalletsOK() *QueryUserCurrencyWalletsOK

NewQueryUserCurrencyWalletsOK creates a QueryUserCurrencyWalletsOK with default headers values

func (*QueryUserCurrencyWalletsOK) Error

func (*QueryUserCurrencyWalletsOK) GetPayload

func (*QueryUserCurrencyWalletsOK) ToJSONString

func (o *QueryUserCurrencyWalletsOK) ToJSONString() string

type QueryUserCurrencyWalletsParams

type QueryUserCurrencyWalletsParams struct {

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

	*/
	Namespace string
	/*UserID
	  userId

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewQueryUserCurrencyWalletsParams() *QueryUserCurrencyWalletsParams

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

func NewQueryUserCurrencyWalletsParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) SetContext

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

SetContext adds the context to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) SetFlightId

func (o *QueryUserCurrencyWalletsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*QueryUserCurrencyWalletsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) SetHTTPClientTransport

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

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

func (*QueryUserCurrencyWalletsParams) SetNamespace

func (o *QueryUserCurrencyWalletsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) SetTimeout

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

SetTimeout adds the timeout to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) SetUserID

func (o *QueryUserCurrencyWalletsParams) SetUserID(userID string)

SetUserID adds the userId to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) WithContext

WithContext adds the context to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) WithNamespace

WithNamespace adds the namespace to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) WithTimeout

WithTimeout adds the timeout to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) WithUserID

WithUserID adds the userID to the query user currency wallets params

func (*QueryUserCurrencyWalletsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryUserCurrencyWalletsReader

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

QueryUserCurrencyWalletsReader is a Reader for the QueryUserCurrencyWallets structure.

func (*QueryUserCurrencyWalletsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryUserCurrencyWalletsResponse

type QueryUserCurrencyWalletsResponse struct {
	platformclientmodels.ApiResponse
	Data []*platformclientmodels.CurrencyWallet
}

func (*QueryUserCurrencyWalletsResponse) Unpack

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 (*QueryWalletsOK) ToJSONString

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

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

func (o *QueryWalletsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*QueryWalletsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query wallets params

func (*QueryWalletsParams) SetHTTPClientTransport

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

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

SetOrigin adds the origin to the query wallets params

func (*QueryWalletsParams) SetTimeout

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

SetTimeout adds the timeout to the query wallets params

func (*QueryWalletsParams) SetUserID

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

SetUserID adds the userId to the query wallets params

func (*QueryWalletsParams) WithContext

WithContext adds the context to the query wallets params

func (*QueryWalletsParams) WithCurrencyCode

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

WithCurrencyCode adds the currencyCode to the query wallets params

func (*QueryWalletsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query wallets params

func (*QueryWalletsParams) WithLimit

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

WithLimit adds the limit to the query wallets params

func (*QueryWalletsParams) WithNamespace

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

WithNamespace adds the namespace to the query wallets params

func (*QueryWalletsParams) WithOffset

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

WithOffset adds the offset to the query wallets params

func (*QueryWalletsParams) WithOrigin

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

type ResetPlatformWalletConfigOK struct {
	Payload *platformclientmodels.PlatformWalletConfigInfo
}

ResetPlatformWalletConfigOK handles this case with default header values.

successful operation

func NewResetPlatformWalletConfigOK

func NewResetPlatformWalletConfigOK() *ResetPlatformWalletConfigOK

NewResetPlatformWalletConfigOK creates a ResetPlatformWalletConfigOK with default headers values

func (*ResetPlatformWalletConfigOK) Error

func (*ResetPlatformWalletConfigOK) GetPayload

func (*ResetPlatformWalletConfigOK) ToJSONString

func (o *ResetPlatformWalletConfigOK) ToJSONString() string

type ResetPlatformWalletConfigParams

type ResetPlatformWalletConfigParams struct {

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

	*/
	Namespace string
	/*Platform*/
	Platform string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewResetPlatformWalletConfigParams() *ResetPlatformWalletConfigParams

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

func NewResetPlatformWalletConfigParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) SetContext

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

SetContext adds the context to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) SetFlightId

func (o *ResetPlatformWalletConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ResetPlatformWalletConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) SetHTTPClientTransport

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

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

func (*ResetPlatformWalletConfigParams) SetNamespace

func (o *ResetPlatformWalletConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) SetPlatform

func (o *ResetPlatformWalletConfigParams) SetPlatform(platform string)

SetPlatform adds the platform to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) SetTimeout

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

SetTimeout adds the timeout to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) WithContext

WithContext adds the context to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) WithNamespace

WithNamespace adds the namespace to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) WithPlatform

WithPlatform adds the platform to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) WithTimeout

WithTimeout adds the timeout to the reset platform wallet config params

func (*ResetPlatformWalletConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResetPlatformWalletConfigReader

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

ResetPlatformWalletConfigReader is a Reader for the ResetPlatformWalletConfig structure.

func (*ResetPlatformWalletConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePlatformWalletConfigOK

type UpdatePlatformWalletConfigOK struct {
	Payload *platformclientmodels.PlatformWalletConfigInfo
}

UpdatePlatformWalletConfigOK handles this case with default header values.

successful operation

func NewUpdatePlatformWalletConfigOK

func NewUpdatePlatformWalletConfigOK() *UpdatePlatformWalletConfigOK

NewUpdatePlatformWalletConfigOK creates a UpdatePlatformWalletConfigOK with default headers values

func (*UpdatePlatformWalletConfigOK) Error

func (*UpdatePlatformWalletConfigOK) GetPayload

func (*UpdatePlatformWalletConfigOK) ToJSONString

func (o *UpdatePlatformWalletConfigOK) ToJSONString() string

type UpdatePlatformWalletConfigParams

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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

func NewUpdatePlatformWalletConfigParams() *UpdatePlatformWalletConfigParams

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

func NewUpdatePlatformWalletConfigParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetBody

SetBody adds the body to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetContext

SetContext adds the context to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetFlightId

func (o *UpdatePlatformWalletConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdatePlatformWalletConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetHTTPClientTransport

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

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

func (*UpdatePlatformWalletConfigParams) SetNamespace

func (o *UpdatePlatformWalletConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetPlatform

func (o *UpdatePlatformWalletConfigParams) SetPlatform(platform string)

SetPlatform adds the platform to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WithBody

WithBody adds the body to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WithContext

WithContext adds the context to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WithNamespace

WithNamespace adds the namespace to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WithPlatform

WithPlatform adds the platform to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WithTimeout

WithTimeout adds the timeout to the update platform wallet config params

func (*UpdatePlatformWalletConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatePlatformWalletConfigReader

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

UpdatePlatformWalletConfigReader is a Reader for the UpdatePlatformWalletConfig structure.

func (*UpdatePlatformWalletConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateWalletConfigOK added in v0.2.0

type UpdateWalletConfigOK struct {
	Payload *platformclientmodels.WalletConfigInfo
}

UpdateWalletConfigOK handles this case with default header values.

successful operation

func NewUpdateWalletConfigOK added in v0.2.0

func NewUpdateWalletConfigOK() *UpdateWalletConfigOK

NewUpdateWalletConfigOK creates a UpdateWalletConfigOK with default headers values

func (*UpdateWalletConfigOK) Error added in v0.2.0

func (o *UpdateWalletConfigOK) Error() string

func (*UpdateWalletConfigOK) GetPayload added in v0.2.0

func (*UpdateWalletConfigOK) ToJSONString added in v0.2.0

func (o *UpdateWalletConfigOK) ToJSONString() string

type UpdateWalletConfigParams added in v0.2.0

type UpdateWalletConfigParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewUpdateWalletConfigParams added in v0.2.0

func NewUpdateWalletConfigParams() *UpdateWalletConfigParams

NewUpdateWalletConfigParams creates a new UpdateWalletConfigParams object with the default values initialized.

func NewUpdateWalletConfigParamsWithContext added in v0.2.0

func NewUpdateWalletConfigParamsWithContext(ctx context.Context) *UpdateWalletConfigParams

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

func NewUpdateWalletConfigParamsWithHTTPClient added in v0.2.0

func NewUpdateWalletConfigParamsWithHTTPClient(client *http.Client) *UpdateWalletConfigParams

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

func NewUpdateWalletConfigParamsWithTimeout added in v0.2.0

func NewUpdateWalletConfigParamsWithTimeout(timeout time.Duration) *UpdateWalletConfigParams

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

func (*UpdateWalletConfigParams) SetAuthInfoWriter added in v0.2.0

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

SetAuthInfoWriter adds the authInfoWriter to the update wallet config params

func (*UpdateWalletConfigParams) SetBody added in v0.2.0

SetBody adds the body to the update wallet config params

func (*UpdateWalletConfigParams) SetContext added in v0.2.0

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

SetContext adds the context to the update wallet config params

func (*UpdateWalletConfigParams) SetFlightId added in v0.2.0

func (o *UpdateWalletConfigParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*UpdateWalletConfigParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the update wallet config params

func (*UpdateWalletConfigParams) SetHTTPClientTransport added in v0.2.0

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

SetHTTPClient adds the HTTPClient Transport to the update wallet config params

func (*UpdateWalletConfigParams) SetNamespace added in v0.2.0

func (o *UpdateWalletConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update wallet config params

func (*UpdateWalletConfigParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the update wallet config params

func (*UpdateWalletConfigParams) WithBody added in v0.2.0

WithBody adds the body to the update wallet config params

func (*UpdateWalletConfigParams) WithContext added in v0.2.0

WithContext adds the context to the update wallet config params

func (*UpdateWalletConfigParams) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the update wallet config params

func (*UpdateWalletConfigParams) WithNamespace added in v0.2.0

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

WithNamespace adds the namespace to the update wallet config params

func (*UpdateWalletConfigParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the update wallet config params

func (*UpdateWalletConfigParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type UpdateWalletConfigReader added in v0.2.0

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

UpdateWalletConfigReader is a Reader for the UpdateWalletConfig structure.

func (*UpdateWalletConfigReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type UpdateWalletConfigResponse added in v0.2.0

type UpdateWalletConfigResponse struct {
	platformclientmodels.ApiResponse
	Data *platformclientmodels.WalletConfigInfo
}

func (*UpdateWalletConfigResponse) Unpack added in v0.2.0

Source Files

Jump to

Keyboard shortcuts

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