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

currency

package
v0.89.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ListCurrenciesREALConstant    = "REAL"
	ListCurrenciesVIRTUALConstant = "VIRTUAL"
)

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

View Source
const (
	ListCurrenciesCurrencyTypeREALConstant    = "REAL"
	ListCurrenciesCurrencyTypeVIRTUALConstant = "VIRTUAL"
)

Get the enum in ListCurrenciesParams

View Source
const (
	PublicListCurrenciesREALConstant    = "REAL"
	PublicListCurrenciesVIRTUALConstant = "VIRTUAL"
)

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

View Source
const (
	PublicListCurrenciesCurrencyTypeREALConstant    = "REAL"
	PublicListCurrenciesCurrencyTypeVIRTUALConstant = "VIRTUAL"
)

Get the enum in PublicListCurrenciesParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for currency API

func (*Client) CreateCurrency deprecated

Deprecated: 2022-08-10 - Use CreateCurrencyShort instead.

CreateCurrency create a currency Create a currency. Other detail info:

  • Returns : created currency

func (*Client) CreateCurrencyShort added in v0.8.0

func (a *Client) CreateCurrencyShort(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, error)

CreateCurrencyShort create a currency Create a currency. Other detail info:

  • Returns : created currency

func (*Client) DeleteCurrency deprecated

Deprecated: 2022-08-10 - Use DeleteCurrencyShort instead.

DeleteCurrency delete a currency Delete a currency by currency code. Other detail info:

  • Returns :

func (*Client) DeleteCurrencyShort added in v0.8.0

func (a *Client) DeleteCurrencyShort(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, error)

DeleteCurrencyShort delete a currency Delete a currency by currency code. Other detail info:

  • Returns :

func (*Client) GetCurrencyConfig deprecated

Deprecated: 2022-08-10 - Use GetCurrencyConfigShort instead.

GetCurrencyConfig get currency config [SERVICE COMMUNICATION ONLY] Get currency config by code. Other detail info:

  • Returns : simplified Currency

func (*Client) GetCurrencyConfigShort added in v0.8.0

func (a *Client) GetCurrencyConfigShort(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, error)

GetCurrencyConfigShort get currency config

[SERVICE COMMUNICATION ONLY] Get currency config by code.

Other detail info:

  • Returns : simplified Currency

func (*Client) GetCurrencySummary deprecated

Deprecated: 2022-08-10 - Use GetCurrencySummaryShort instead.

GetCurrencySummary get currency summary Get currency summary by code. Other detail info:

  • Returns : simplified Currency

func (*Client) GetCurrencySummaryShort added in v0.8.0

func (a *Client) GetCurrencySummaryShort(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, error)

GetCurrencySummaryShort get currency summary Get currency summary by code. Other detail info:

  • Returns : simplified Currency

func (*Client) ListCurrencies deprecated

func (a *Client) ListCurrencies(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error)

Deprecated: 2022-08-10 - Use ListCurrenciesShort instead.

ListCurrencies list currencies List currencies of a namespace. Other detail info:

  • Returns : Currency List

func (*Client) ListCurrenciesShort added in v0.8.0

func (a *Client) ListCurrenciesShort(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error)

ListCurrenciesShort list currencies List currencies of a namespace. Other detail info:

  • Returns : Currency List

func (*Client) PublicListCurrencies deprecated

func (a *Client) PublicListCurrencies(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error)

Deprecated: 2022-08-10 - Use PublicListCurrenciesShort instead.

PublicListCurrencies list currencies List currencies of a namespace. Other detail info:

  • Returns : Currency List

func (*Client) PublicListCurrenciesShort added in v0.8.0

func (a *Client) PublicListCurrenciesShort(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error)

PublicListCurrenciesShort list currencies List currencies of a namespace. Other detail info:

  • Returns : Currency List

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCurrency deprecated

Deprecated: 2022-08-10 - Use UpdateCurrencyShort instead.

UpdateCurrency update a currency Update a currency by currency code. Other detail info:

  • Returns : updated currency

func (*Client) UpdateCurrencyShort added in v0.8.0

func (a *Client) UpdateCurrencyShort(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, error)

UpdateCurrencyShort update a currency Update a currency by currency code. Other detail info:

  • Returns : updated currency

type ClientService

type ClientService interface {
	ListCurrencies(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error)
	ListCurrenciesShort(params *ListCurrenciesParams, authInfo runtime.ClientAuthInfoWriter) (*ListCurrenciesOK, error)
	CreateCurrency(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, *CreateCurrencyConflict, *CreateCurrencyUnprocessableEntity, error)
	CreateCurrencyShort(params *CreateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCurrencyOK, error)
	UpdateCurrency(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, *UpdateCurrencyNotFound, *UpdateCurrencyUnprocessableEntity, error)
	UpdateCurrencyShort(params *UpdateCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrencyOK, error)
	DeleteCurrency(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, *DeleteCurrencyNotFound, error)
	DeleteCurrencyShort(params *DeleteCurrencyParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCurrencyOK, error)
	GetCurrencyConfig(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, *GetCurrencyConfigNotFound, error)
	GetCurrencyConfigShort(params *GetCurrencyConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencyConfigOK, error)
	GetCurrencySummary(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, *GetCurrencySummaryNotFound, error)
	GetCurrencySummaryShort(params *GetCurrencySummaryParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrencySummaryOK, error)
	PublicListCurrencies(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, error)
	PublicListCurrenciesShort(params *PublicListCurrenciesParams) (*PublicListCurrenciesOK, 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 currency API client.

type CreateCurrencyConflict

type CreateCurrencyConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

CreateCurrencyConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>36171</td><td>Currency [{currencyCode}] already exists in namespace [{namespace}]</td></tr><tr><td>36172</td><td>Real Currency [{currencyCode}] not allowed in game namespace [{namespace}]</td></tr></table>

func NewCreateCurrencyConflict

func NewCreateCurrencyConflict() *CreateCurrencyConflict

NewCreateCurrencyConflict creates a CreateCurrencyConflict with default headers values

func (*CreateCurrencyConflict) Error

func (o *CreateCurrencyConflict) Error() string

func (*CreateCurrencyConflict) GetPayload

func (*CreateCurrencyConflict) ToJSONString added in v0.25.0

func (o *CreateCurrencyConflict) ToJSONString() string

type CreateCurrencyOK

type CreateCurrencyOK struct {
	Payload *platformclientmodels.CurrencyInfo
}

CreateCurrencyOK handles this case with default header values.

successful operation

func NewCreateCurrencyOK

func NewCreateCurrencyOK() *CreateCurrencyOK

NewCreateCurrencyOK creates a CreateCurrencyOK with default headers values

func (*CreateCurrencyOK) Error

func (o *CreateCurrencyOK) Error() string

func (*CreateCurrencyOK) GetPayload

func (*CreateCurrencyOK) ToJSONString added in v0.25.0

func (o *CreateCurrencyOK) ToJSONString() string

type CreateCurrencyParams

type CreateCurrencyParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.CurrencyCreate
	/*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
}

CreateCurrencyParams contains all the parameters to send to the API endpoint for the create currency operation typically these are written to a http.Request

func NewCreateCurrencyParams

func NewCreateCurrencyParams() *CreateCurrencyParams

NewCreateCurrencyParams creates a new CreateCurrencyParams object with the default values initialized.

func NewCreateCurrencyParamsWithContext

func NewCreateCurrencyParamsWithContext(ctx context.Context) *CreateCurrencyParams

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

func NewCreateCurrencyParamsWithHTTPClient

func NewCreateCurrencyParamsWithHTTPClient(client *http.Client) *CreateCurrencyParams

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

func NewCreateCurrencyParamsWithTimeout

func NewCreateCurrencyParamsWithTimeout(timeout time.Duration) *CreateCurrencyParams

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

func (*CreateCurrencyParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the create currency params

func (*CreateCurrencyParams) SetBody

SetBody adds the body to the create currency params

func (*CreateCurrencyParams) SetContext

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

SetContext adds the context to the create currency params

func (*CreateCurrencyParams) SetFlightId added in v0.63.0

func (o *CreateCurrencyParams) SetFlightId(flightId string)

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

func (*CreateCurrencyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create currency params

func (*CreateCurrencyParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the create currency params

func (*CreateCurrencyParams) SetNamespace

func (o *CreateCurrencyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create currency params

func (*CreateCurrencyParams) SetTimeout

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

SetTimeout adds the timeout to the create currency params

func (*CreateCurrencyParams) WithBody

WithBody adds the body to the create currency params

func (*CreateCurrencyParams) WithContext

WithContext adds the context to the create currency params

func (*CreateCurrencyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create currency params

func (*CreateCurrencyParams) WithNamespace

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

WithNamespace adds the namespace to the create currency params

func (*CreateCurrencyParams) WithTimeout

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

WithTimeout adds the timeout to the create currency params

func (*CreateCurrencyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateCurrencyReader

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

CreateCurrencyReader is a Reader for the CreateCurrency structure.

func (*CreateCurrencyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCurrencyUnprocessableEntity

type CreateCurrencyUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

CreateCurrencyUnprocessableEntity 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 NewCreateCurrencyUnprocessableEntity

func NewCreateCurrencyUnprocessableEntity() *CreateCurrencyUnprocessableEntity

NewCreateCurrencyUnprocessableEntity creates a CreateCurrencyUnprocessableEntity with default headers values

func (*CreateCurrencyUnprocessableEntity) Error

func (*CreateCurrencyUnprocessableEntity) GetPayload

func (*CreateCurrencyUnprocessableEntity) ToJSONString added in v0.25.0

func (o *CreateCurrencyUnprocessableEntity) ToJSONString() string

type DeleteCurrencyNotFound

type DeleteCurrencyNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DeleteCurrencyNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>

func NewDeleteCurrencyNotFound

func NewDeleteCurrencyNotFound() *DeleteCurrencyNotFound

NewDeleteCurrencyNotFound creates a DeleteCurrencyNotFound with default headers values

func (*DeleteCurrencyNotFound) Error

func (o *DeleteCurrencyNotFound) Error() string

func (*DeleteCurrencyNotFound) GetPayload

func (*DeleteCurrencyNotFound) ToJSONString added in v0.25.0

func (o *DeleteCurrencyNotFound) ToJSONString() string

type DeleteCurrencyOK

type DeleteCurrencyOK struct {
	Payload *platformclientmodels.CurrencyInfo
}

DeleteCurrencyOK handles this case with default header values.

successful operation

func NewDeleteCurrencyOK

func NewDeleteCurrencyOK() *DeleteCurrencyOK

NewDeleteCurrencyOK creates a DeleteCurrencyOK with default headers values

func (*DeleteCurrencyOK) Error

func (o *DeleteCurrencyOK) Error() string

func (*DeleteCurrencyOK) GetPayload

func (*DeleteCurrencyOK) ToJSONString added in v0.25.0

func (o *DeleteCurrencyOK) ToJSONString() string

type DeleteCurrencyParams

type DeleteCurrencyParams struct {

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

	*/
	CurrencyCode string
	/*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
}

DeleteCurrencyParams contains all the parameters to send to the API endpoint for the delete currency operation typically these are written to a http.Request

func NewDeleteCurrencyParams

func NewDeleteCurrencyParams() *DeleteCurrencyParams

NewDeleteCurrencyParams creates a new DeleteCurrencyParams object with the default values initialized.

func NewDeleteCurrencyParamsWithContext

func NewDeleteCurrencyParamsWithContext(ctx context.Context) *DeleteCurrencyParams

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

func NewDeleteCurrencyParamsWithHTTPClient

func NewDeleteCurrencyParamsWithHTTPClient(client *http.Client) *DeleteCurrencyParams

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

func NewDeleteCurrencyParamsWithTimeout

func NewDeleteCurrencyParamsWithTimeout(timeout time.Duration) *DeleteCurrencyParams

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

func (*DeleteCurrencyParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete currency params

func (*DeleteCurrencyParams) SetContext

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

SetContext adds the context to the delete currency params

func (*DeleteCurrencyParams) SetCurrencyCode

func (o *DeleteCurrencyParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the delete currency params

func (*DeleteCurrencyParams) SetFlightId added in v0.63.0

func (o *DeleteCurrencyParams) SetFlightId(flightId string)

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

func (*DeleteCurrencyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete currency params

func (*DeleteCurrencyParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the delete currency params

func (*DeleteCurrencyParams) SetNamespace

func (o *DeleteCurrencyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete currency params

func (*DeleteCurrencyParams) SetTimeout

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

SetTimeout adds the timeout to the delete currency params

func (*DeleteCurrencyParams) WithContext

WithContext adds the context to the delete currency params

func (*DeleteCurrencyParams) WithCurrencyCode

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

WithCurrencyCode adds the currencyCode to the delete currency params

func (*DeleteCurrencyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete currency params

func (*DeleteCurrencyParams) WithNamespace

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

WithNamespace adds the namespace to the delete currency params

func (*DeleteCurrencyParams) WithTimeout

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

WithTimeout adds the timeout to the delete currency params

func (*DeleteCurrencyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteCurrencyReader

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

DeleteCurrencyReader is a Reader for the DeleteCurrency structure.

func (*DeleteCurrencyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCurrencyConfigNotFound

type GetCurrencyConfigNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetCurrencyConfigNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetCurrencyConfigNotFound

func NewGetCurrencyConfigNotFound() *GetCurrencyConfigNotFound

NewGetCurrencyConfigNotFound creates a GetCurrencyConfigNotFound with default headers values

func (*GetCurrencyConfigNotFound) Error

func (o *GetCurrencyConfigNotFound) Error() string

func (*GetCurrencyConfigNotFound) GetPayload

func (*GetCurrencyConfigNotFound) ToJSONString added in v0.25.0

func (o *GetCurrencyConfigNotFound) ToJSONString() string

type GetCurrencyConfigOK

type GetCurrencyConfigOK struct {
	Payload *platformclientmodels.CurrencyConfig
}

GetCurrencyConfigOK handles this case with default header values.

successful operation

func NewGetCurrencyConfigOK

func NewGetCurrencyConfigOK() *GetCurrencyConfigOK

NewGetCurrencyConfigOK creates a GetCurrencyConfigOK with default headers values

func (*GetCurrencyConfigOK) Error

func (o *GetCurrencyConfigOK) Error() string

func (*GetCurrencyConfigOK) GetPayload

func (*GetCurrencyConfigOK) ToJSONString added in v0.25.0

func (o *GetCurrencyConfigOK) ToJSONString() string

type GetCurrencyConfigParams

type GetCurrencyConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CurrencyCode
	  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
}

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

func NewGetCurrencyConfigParams

func NewGetCurrencyConfigParams() *GetCurrencyConfigParams

NewGetCurrencyConfigParams creates a new GetCurrencyConfigParams object with the default values initialized.

func NewGetCurrencyConfigParamsWithContext

func NewGetCurrencyConfigParamsWithContext(ctx context.Context) *GetCurrencyConfigParams

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

func NewGetCurrencyConfigParamsWithHTTPClient

func NewGetCurrencyConfigParamsWithHTTPClient(client *http.Client) *GetCurrencyConfigParams

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

func NewGetCurrencyConfigParamsWithTimeout

func NewGetCurrencyConfigParamsWithTimeout(timeout time.Duration) *GetCurrencyConfigParams

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

func (*GetCurrencyConfigParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get currency config params

func (*GetCurrencyConfigParams) SetContext

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

SetContext adds the context to the get currency config params

func (*GetCurrencyConfigParams) SetCurrencyCode

func (o *GetCurrencyConfigParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the get currency config params

func (*GetCurrencyConfigParams) SetFlightId added in v0.63.0

func (o *GetCurrencyConfigParams) SetFlightId(flightId string)

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

func (*GetCurrencyConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get currency config params

func (*GetCurrencyConfigParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get currency config params

func (*GetCurrencyConfigParams) SetNamespace

func (o *GetCurrencyConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get currency config params

func (*GetCurrencyConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get currency config params

func (*GetCurrencyConfigParams) WithContext

WithContext adds the context to the get currency config params

func (*GetCurrencyConfigParams) WithCurrencyCode

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

WithCurrencyCode adds the currencyCode to the get currency config params

func (*GetCurrencyConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get currency config params

func (*GetCurrencyConfigParams) WithNamespace

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

WithNamespace adds the namespace to the get currency config params

func (*GetCurrencyConfigParams) WithTimeout

WithTimeout adds the timeout to the get currency config params

func (*GetCurrencyConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrencyConfigReader

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

GetCurrencyConfigReader is a Reader for the GetCurrencyConfig structure.

func (*GetCurrencyConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCurrencySummaryNotFound

type GetCurrencySummaryNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetCurrencySummaryNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetCurrencySummaryNotFound

func NewGetCurrencySummaryNotFound() *GetCurrencySummaryNotFound

NewGetCurrencySummaryNotFound creates a GetCurrencySummaryNotFound with default headers values

func (*GetCurrencySummaryNotFound) Error

func (*GetCurrencySummaryNotFound) GetPayload

func (*GetCurrencySummaryNotFound) ToJSONString added in v0.25.0

func (o *GetCurrencySummaryNotFound) ToJSONString() string

type GetCurrencySummaryOK

type GetCurrencySummaryOK struct {
	Payload *platformclientmodels.CurrencySummary
}

GetCurrencySummaryOK handles this case with default header values.

successful operation

func NewGetCurrencySummaryOK

func NewGetCurrencySummaryOK() *GetCurrencySummaryOK

NewGetCurrencySummaryOK creates a GetCurrencySummaryOK with default headers values

func (*GetCurrencySummaryOK) Error

func (o *GetCurrencySummaryOK) Error() string

func (*GetCurrencySummaryOK) GetPayload

func (*GetCurrencySummaryOK) ToJSONString added in v0.25.0

func (o *GetCurrencySummaryOK) ToJSONString() string

type GetCurrencySummaryParams

type GetCurrencySummaryParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*CurrencyCode
	  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
}

GetCurrencySummaryParams contains all the parameters to send to the API endpoint for the get currency summary operation typically these are written to a http.Request

func NewGetCurrencySummaryParams

func NewGetCurrencySummaryParams() *GetCurrencySummaryParams

NewGetCurrencySummaryParams creates a new GetCurrencySummaryParams object with the default values initialized.

func NewGetCurrencySummaryParamsWithContext

func NewGetCurrencySummaryParamsWithContext(ctx context.Context) *GetCurrencySummaryParams

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

func NewGetCurrencySummaryParamsWithHTTPClient

func NewGetCurrencySummaryParamsWithHTTPClient(client *http.Client) *GetCurrencySummaryParams

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

func NewGetCurrencySummaryParamsWithTimeout

func NewGetCurrencySummaryParamsWithTimeout(timeout time.Duration) *GetCurrencySummaryParams

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

func (*GetCurrencySummaryParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get currency summary params

func (*GetCurrencySummaryParams) SetContext

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

SetContext adds the context to the get currency summary params

func (*GetCurrencySummaryParams) SetCurrencyCode

func (o *GetCurrencySummaryParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the get currency summary params

func (*GetCurrencySummaryParams) SetFlightId added in v0.63.0

func (o *GetCurrencySummaryParams) SetFlightId(flightId string)

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

func (*GetCurrencySummaryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get currency summary params

func (*GetCurrencySummaryParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get currency summary params

func (*GetCurrencySummaryParams) SetNamespace

func (o *GetCurrencySummaryParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get currency summary params

func (*GetCurrencySummaryParams) SetTimeout

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

SetTimeout adds the timeout to the get currency summary params

func (*GetCurrencySummaryParams) WithContext

WithContext adds the context to the get currency summary params

func (*GetCurrencySummaryParams) WithCurrencyCode

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

WithCurrencyCode adds the currencyCode to the get currency summary params

func (*GetCurrencySummaryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get currency summary params

func (*GetCurrencySummaryParams) WithNamespace

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

WithNamespace adds the namespace to the get currency summary params

func (*GetCurrencySummaryParams) WithTimeout

WithTimeout adds the timeout to the get currency summary params

func (*GetCurrencySummaryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCurrencySummaryReader

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

GetCurrencySummaryReader is a Reader for the GetCurrencySummary structure.

func (*GetCurrencySummaryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCurrenciesOK

type ListCurrenciesOK struct {
	Payload []*platformclientmodels.CurrencyInfo
}

ListCurrenciesOK handles this case with default header values.

successful operation

func NewListCurrenciesOK

func NewListCurrenciesOK() *ListCurrenciesOK

NewListCurrenciesOK creates a ListCurrenciesOK with default headers values

func (*ListCurrenciesOK) Error

func (o *ListCurrenciesOK) Error() string

func (*ListCurrenciesOK) GetPayload

func (*ListCurrenciesOK) ToJSONString added in v0.25.0

func (o *ListCurrenciesOK) ToJSONString() string

type ListCurrenciesParams

type ListCurrenciesParams struct {

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

	*/
	Namespace string
	/*CurrencyType
	  currencyType

	*/
	CurrencyType *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
}

ListCurrenciesParams contains all the parameters to send to the API endpoint for the list currencies operation typically these are written to a http.Request

func NewListCurrenciesParams

func NewListCurrenciesParams() *ListCurrenciesParams

NewListCurrenciesParams creates a new ListCurrenciesParams object with the default values initialized.

func NewListCurrenciesParamsWithContext

func NewListCurrenciesParamsWithContext(ctx context.Context) *ListCurrenciesParams

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

func NewListCurrenciesParamsWithHTTPClient

func NewListCurrenciesParamsWithHTTPClient(client *http.Client) *ListCurrenciesParams

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

func NewListCurrenciesParamsWithTimeout

func NewListCurrenciesParamsWithTimeout(timeout time.Duration) *ListCurrenciesParams

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

func (*ListCurrenciesParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the list currencies params

func (*ListCurrenciesParams) SetContext

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

SetContext adds the context to the list currencies params

func (*ListCurrenciesParams) SetCurrencyType added in v0.18.0

func (o *ListCurrenciesParams) SetCurrencyType(currencyType *string)

SetCurrencyType adds the currencyType to the list currencies params

func (*ListCurrenciesParams) SetFlightId added in v0.63.0

func (o *ListCurrenciesParams) SetFlightId(flightId string)

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

func (*ListCurrenciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list currencies params

func (*ListCurrenciesParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the list currencies params

func (*ListCurrenciesParams) SetNamespace

func (o *ListCurrenciesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list currencies params

func (*ListCurrenciesParams) SetTimeout

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

SetTimeout adds the timeout to the list currencies params

func (*ListCurrenciesParams) WithContext

WithContext adds the context to the list currencies params

func (*ListCurrenciesParams) WithCurrencyType added in v0.18.0

func (o *ListCurrenciesParams) WithCurrencyType(currencyType *string) *ListCurrenciesParams

WithCurrencyType adds the currencyType to the list currencies params

func (*ListCurrenciesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list currencies params

func (*ListCurrenciesParams) WithNamespace

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

WithNamespace adds the namespace to the list currencies params

func (*ListCurrenciesParams) WithTimeout

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

WithTimeout adds the timeout to the list currencies params

func (*ListCurrenciesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListCurrenciesReader

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

ListCurrenciesReader is a Reader for the ListCurrencies structure.

func (*ListCurrenciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListCurrenciesOK

type PublicListCurrenciesOK struct {
	Payload []*platformclientmodels.CurrencyInfo
}

PublicListCurrenciesOK handles this case with default header values.

successful operation

func NewPublicListCurrenciesOK

func NewPublicListCurrenciesOK() *PublicListCurrenciesOK

NewPublicListCurrenciesOK creates a PublicListCurrenciesOK with default headers values

func (*PublicListCurrenciesOK) Error

func (o *PublicListCurrenciesOK) Error() string

func (*PublicListCurrenciesOK) GetPayload

func (*PublicListCurrenciesOK) ToJSONString added in v0.25.0

func (o *PublicListCurrenciesOK) ToJSONString() string

type PublicListCurrenciesParams

type PublicListCurrenciesParams struct {

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

	*/
	Namespace string
	/*CurrencyType
	  currencyType

	*/
	CurrencyType *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
}

PublicListCurrenciesParams contains all the parameters to send to the API endpoint for the public list currencies operation typically these are written to a http.Request

func NewPublicListCurrenciesParams

func NewPublicListCurrenciesParams() *PublicListCurrenciesParams

NewPublicListCurrenciesParams creates a new PublicListCurrenciesParams object with the default values initialized.

func NewPublicListCurrenciesParamsWithContext

func NewPublicListCurrenciesParamsWithContext(ctx context.Context) *PublicListCurrenciesParams

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

func NewPublicListCurrenciesParamsWithHTTPClient

func NewPublicListCurrenciesParamsWithHTTPClient(client *http.Client) *PublicListCurrenciesParams

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

func NewPublicListCurrenciesParamsWithTimeout

func NewPublicListCurrenciesParamsWithTimeout(timeout time.Duration) *PublicListCurrenciesParams

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

func (*PublicListCurrenciesParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the public list currencies params

func (*PublicListCurrenciesParams) SetContext

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

SetContext adds the context to the public list currencies params

func (*PublicListCurrenciesParams) SetCurrencyType added in v0.18.0

func (o *PublicListCurrenciesParams) SetCurrencyType(currencyType *string)

SetCurrencyType adds the currencyType to the public list currencies params

func (*PublicListCurrenciesParams) SetFlightId added in v0.63.0

func (o *PublicListCurrenciesParams) SetFlightId(flightId string)

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

func (*PublicListCurrenciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list currencies params

func (*PublicListCurrenciesParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the public list currencies params

func (*PublicListCurrenciesParams) SetNamespace

func (o *PublicListCurrenciesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list currencies params

func (*PublicListCurrenciesParams) SetTimeout

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

SetTimeout adds the timeout to the public list currencies params

func (*PublicListCurrenciesParams) WithContext

WithContext adds the context to the public list currencies params

func (*PublicListCurrenciesParams) WithCurrencyType added in v0.18.0

func (o *PublicListCurrenciesParams) WithCurrencyType(currencyType *string) *PublicListCurrenciesParams

WithCurrencyType adds the currencyType to the public list currencies params

func (*PublicListCurrenciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public list currencies params

func (*PublicListCurrenciesParams) WithNamespace

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

WithNamespace adds the namespace to the public list currencies params

func (*PublicListCurrenciesParams) WithTimeout

WithTimeout adds the timeout to the public list currencies params

func (*PublicListCurrenciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListCurrenciesReader

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

PublicListCurrenciesReader is a Reader for the PublicListCurrencies structure.

func (*PublicListCurrenciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCurrencyNotFound

type UpdateCurrencyNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateCurrencyNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>36141</td><td>Currency [{currencyCode}] does not exist in namespace [{namespace}]</td></tr><tr><td>36172</td><td>Real Currency [{currencyCode}] not allowed in game namespace [{namespace}]</td></tr></table>

func NewUpdateCurrencyNotFound

func NewUpdateCurrencyNotFound() *UpdateCurrencyNotFound

NewUpdateCurrencyNotFound creates a UpdateCurrencyNotFound with default headers values

func (*UpdateCurrencyNotFound) Error

func (o *UpdateCurrencyNotFound) Error() string

func (*UpdateCurrencyNotFound) GetPayload

func (*UpdateCurrencyNotFound) ToJSONString added in v0.25.0

func (o *UpdateCurrencyNotFound) ToJSONString() string

type UpdateCurrencyOK

type UpdateCurrencyOK struct {
	Payload *platformclientmodels.CurrencyInfo
}

UpdateCurrencyOK handles this case with default header values.

successful operation

func NewUpdateCurrencyOK

func NewUpdateCurrencyOK() *UpdateCurrencyOK

NewUpdateCurrencyOK creates a UpdateCurrencyOK with default headers values

func (*UpdateCurrencyOK) Error

func (o *UpdateCurrencyOK) Error() string

func (*UpdateCurrencyOK) GetPayload

func (*UpdateCurrencyOK) ToJSONString added in v0.25.0

func (o *UpdateCurrencyOK) ToJSONString() string

type UpdateCurrencyParams

type UpdateCurrencyParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.CurrencyUpdate
	/*CurrencyCode
	  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
}

UpdateCurrencyParams contains all the parameters to send to the API endpoint for the update currency operation typically these are written to a http.Request

func NewUpdateCurrencyParams

func NewUpdateCurrencyParams() *UpdateCurrencyParams

NewUpdateCurrencyParams creates a new UpdateCurrencyParams object with the default values initialized.

func NewUpdateCurrencyParamsWithContext

func NewUpdateCurrencyParamsWithContext(ctx context.Context) *UpdateCurrencyParams

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

func NewUpdateCurrencyParamsWithHTTPClient

func NewUpdateCurrencyParamsWithHTTPClient(client *http.Client) *UpdateCurrencyParams

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

func NewUpdateCurrencyParamsWithTimeout

func NewUpdateCurrencyParamsWithTimeout(timeout time.Duration) *UpdateCurrencyParams

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

func (*UpdateCurrencyParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the update currency params

func (*UpdateCurrencyParams) SetBody

SetBody adds the body to the update currency params

func (*UpdateCurrencyParams) SetContext

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

SetContext adds the context to the update currency params

func (*UpdateCurrencyParams) SetCurrencyCode

func (o *UpdateCurrencyParams) SetCurrencyCode(currencyCode string)

SetCurrencyCode adds the currencyCode to the update currency params

func (*UpdateCurrencyParams) SetFlightId added in v0.63.0

func (o *UpdateCurrencyParams) SetFlightId(flightId string)

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

func (*UpdateCurrencyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update currency params

func (*UpdateCurrencyParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the update currency params

func (*UpdateCurrencyParams) SetNamespace

func (o *UpdateCurrencyParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update currency params

func (*UpdateCurrencyParams) SetTimeout

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

SetTimeout adds the timeout to the update currency params

func (*UpdateCurrencyParams) WithBody

WithBody adds the body to the update currency params

func (*UpdateCurrencyParams) WithContext

WithContext adds the context to the update currency params

func (*UpdateCurrencyParams) WithCurrencyCode

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

WithCurrencyCode adds the currencyCode to the update currency params

func (*UpdateCurrencyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update currency params

func (*UpdateCurrencyParams) WithNamespace

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

WithNamespace adds the namespace to the update currency params

func (*UpdateCurrencyParams) WithTimeout

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

WithTimeout adds the timeout to the update currency params

func (*UpdateCurrencyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateCurrencyReader

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

UpdateCurrencyReader is a Reader for the UpdateCurrency structure.

func (*UpdateCurrencyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCurrencyUnprocessableEntity

type UpdateCurrencyUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateCurrencyUnprocessableEntity 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 NewUpdateCurrencyUnprocessableEntity

func NewUpdateCurrencyUnprocessableEntity() *UpdateCurrencyUnprocessableEntity

NewUpdateCurrencyUnprocessableEntity creates a UpdateCurrencyUnprocessableEntity with default headers values

func (*UpdateCurrencyUnprocessableEntity) Error

func (*UpdateCurrencyUnprocessableEntity) GetPayload

func (*UpdateCurrencyUnprocessableEntity) ToJSONString added in v0.25.0

func (o *UpdateCurrencyUnprocessableEntity) ToJSONString() string

Jump to

Keyboard shortcuts

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