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

fulfillment

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 (
	QueryFulfillmentHistoriesFAILConstant    = "FAIL"
	QueryFulfillmentHistoriesSUCCESSConstant = "SUCCESS"
)

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

View Source
const (
	QueryFulfillmentHistoriesStatusFAILConstant    = "FAIL"
	QueryFulfillmentHistoriesStatusSUCCESSConstant = "SUCCESS"
)

Get the enum in QueryFulfillmentHistoriesParams

View Source
const (
	QueryFulfillmentsFULFILLEDConstant     = "FULFILLED"
	QueryFulfillmentsFULFILLFAILEDConstant = "FULFILL_FAILED"
	QueryFulfillmentsREVOKEDConstant       = "REVOKED"
	QueryFulfillmentsREVOKEFAILEDConstant  = "REVOKE_FAILED"
)

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

View Source
const (
	QueryFulfillmentsStateFULFILLEDConstant     = "FULFILLED"
	QueryFulfillmentsStateFULFILLFAILEDConstant = "FULFILL_FAILED"
	QueryFulfillmentsStateREVOKEDConstant       = "REVOKED"
	QueryFulfillmentsStateREVOKEFAILEDConstant  = "REVOKE_FAILED"
)

Get the enum in QueryFulfillmentsParams

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkFulfillItemsV3OK added in v0.9.0

type BulkFulfillItemsV3OK struct {
	Payload []*platformclientmodels.FulfillmentV2Result
}

BulkFulfillItemsV3OK handles this case with default header values.

OK

func NewBulkFulfillItemsV3OK added in v0.9.0

func NewBulkFulfillItemsV3OK() *BulkFulfillItemsV3OK

NewBulkFulfillItemsV3OK creates a BulkFulfillItemsV3OK with default headers values

func (*BulkFulfillItemsV3OK) Error added in v0.9.0

func (o *BulkFulfillItemsV3OK) Error() string

func (*BulkFulfillItemsV3OK) GetPayload added in v0.9.0

func (*BulkFulfillItemsV3OK) ToJSONString added in v0.9.0

func (o *BulkFulfillItemsV3OK) ToJSONString() string

type BulkFulfillItemsV3Params added in v0.9.0

type BulkFulfillItemsV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body []*platformclientmodels.FulfillmentV3Request
	/*Namespace*/
	Namespace string
	/*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
}

BulkFulfillItemsV3Params contains all the parameters to send to the API endpoint for the bulk fulfill items v3 operation typically these are written to a http.Request

func NewBulkFulfillItemsV3Params added in v0.9.0

func NewBulkFulfillItemsV3Params() *BulkFulfillItemsV3Params

NewBulkFulfillItemsV3Params creates a new BulkFulfillItemsV3Params object with the default values initialized.

func NewBulkFulfillItemsV3ParamsWithContext added in v0.9.0

func NewBulkFulfillItemsV3ParamsWithContext(ctx context.Context) *BulkFulfillItemsV3Params

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

func NewBulkFulfillItemsV3ParamsWithHTTPClient added in v0.9.0

func NewBulkFulfillItemsV3ParamsWithHTTPClient(client *http.Client) *BulkFulfillItemsV3Params

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

func NewBulkFulfillItemsV3ParamsWithTimeout added in v0.9.0

func NewBulkFulfillItemsV3ParamsWithTimeout(timeout time.Duration) *BulkFulfillItemsV3Params

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

func (*BulkFulfillItemsV3Params) SetAuthInfoWriter added in v0.9.0

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

SetAuthInfoWriter adds the authInfoWriter to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) SetBody added in v0.9.0

SetBody adds the body to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) SetContext added in v0.9.0

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

SetContext adds the context to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) SetFlightId added in v0.9.0

func (o *BulkFulfillItemsV3Params) SetFlightId(flightId string)

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

func (*BulkFulfillItemsV3Params) SetHTTPClient added in v0.9.0

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

SetHTTPClient adds the HTTPClient to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) SetHTTPClientTransport added in v0.9.0

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

SetHTTPClient adds the HTTPClient Transport to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) SetNamespace added in v0.9.0

func (o *BulkFulfillItemsV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) SetTimeout added in v0.9.0

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

SetTimeout adds the timeout to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) SetUserID added in v0.9.0

func (o *BulkFulfillItemsV3Params) SetUserID(userID string)

SetUserID adds the userId to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) WithBody added in v0.9.0

WithBody adds the body to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) WithContext added in v0.9.0

WithContext adds the context to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) WithHTTPClient added in v0.9.0

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

WithHTTPClient adds the HTTPClient to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) WithNamespace added in v0.9.0

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

WithNamespace adds the namespace to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) WithTimeout added in v0.9.0

WithTimeout adds the timeout to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) WithUserID added in v0.9.0

WithUserID adds the userID to the bulk fulfill items v3 params

func (*BulkFulfillItemsV3Params) WriteToRequest added in v0.9.0

WriteToRequest writes these params to a swagger request

type BulkFulfillItemsV3Reader added in v0.9.0

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

BulkFulfillItemsV3Reader is a Reader for the BulkFulfillItemsV3 structure.

func (*BulkFulfillItemsV3Reader) ReadResponse added in v0.9.0

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

ReadResponse reads a server response into the received o.

type BulkFulfillItemsV3Response added in v0.9.0

type BulkFulfillItemsV3Response struct {
	platformclientmodels.ApiResponse
	Data []*platformclientmodels.FulfillmentV2Result
}

func (*BulkFulfillItemsV3Response) Unpack added in v0.9.0

type Client

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

Client for fulfillment API

func (*Client) BulkFulfillItemsV3Short added in v0.9.0

func (a *Client) BulkFulfillItemsV3Short(params *BulkFulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*BulkFulfillItemsV3Response, error)

BulkFulfillItemsV3Short fulfill multiple transactions

[Not supported yet in AGS Shared Cloud] Fulfill multiple transactions.

Other detail info:

  • Request body : list of fulfillment v3 requests. storeId, region, language, and entitlementCollectionId can be ignored.
  • Returns : list of fulfillment v2 result

func (*Client) FulfillItemShort

func (a *Client) FulfillItemShort(params *FulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemResponse, error)

FulfillItemShort fulfill item Fulfill item. Other detail info:

  • Returns : fulfillment result

func (*Client) FulfillItemsShort

func (a *Client) FulfillItemsShort(params *FulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsResponse, error)

FulfillItemsShort fulfill items by transactionid

### The endpoint is going to be deprecated

Description: this endpoint is Not supported yet in AGS Shared Cloud and it's used to fulfill items by transaction id.

  • Request body : storeId, region, language, and entitlementCollectionId can be ignored.
  • Returns : fulfillment v2 result, storeId field can be ignored.

### Endpoint migration guide

  • Substitute endpoint: /v3/admin/namespaces/{namespace}/users/{userId}/fulfillments/{transactionId} [PUT]

func (*Client) FulfillItemsV3Short

func (a *Client) FulfillItemsV3Short(params *FulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsV3Response, error)

FulfillItemsV3Short fulfill items by transactionid

[Not supported yet in AGS Shared Cloud] Fulfill items by transactionId.

Other detail info:

  • Request body : storeId, region, language, and entitlementCollectionId can be ignored.
  • Returns : fulfillment v2 result, storeId field can be ignored.

func (*Client) FulfillRewardsShort

func (a *Client) FulfillRewardsShort(params *FulfillRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsResponse, error)

FulfillRewardsShort fulfill rewards without content

[SERVICE COMMUNICATION ONLY] Fulfill rewards.

Other detail info:

  • Returns : fulfillment result

func (*Client) FulfillRewardsV2Short

func (a *Client) FulfillRewardsV2Short(params *FulfillRewardsV2Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsV2Response, error)

FulfillRewardsV2Short fulfill rewards

[SERVICE COMMUNICATION ONLY] Fulfill rewards.

Other detail info:

  • Returns : fulfillment result
  • rewards Item unsupported Type : SUBSCRIPTION

func (*Client) PreCheckFulfillItemShort

func (a *Client) PreCheckFulfillItemShort(params *PreCheckFulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckFulfillItemResponse, error)

PreCheckFulfillItemShort pre check fulfillment items Retrieve and check fulfillment items based on the provided request. Other detail info:

  • Returns : list of fulfillment items

func (*Client) PublicRedeemCodeShort

func (a *Client) PublicRedeemCodeShort(params *PublicRedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRedeemCodeResponse, error)

PublicRedeemCodeShort redeem campaign code Redeem campaign code, this api have rate limit, default: only allow request once per user in 2 seconds Other detail info:

  • Returns : fulfillment result

func (*Client) QueryFulfillmentHistoriesShort

func (a *Client) QueryFulfillmentHistoriesShort(params *QueryFulfillmentHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentHistoriesResponse, error)

QueryFulfillmentHistoriesShort query fulfillment histories Query fulfillment histories in a namespace. Other detail info:

  • Returns : query fulfillment history

func (*Client) QueryFulfillmentsShort

func (a *Client) QueryFulfillmentsShort(params *QueryFulfillmentsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentsResponse, error)

QueryFulfillmentsShort query fulfillments

[Not supported yet in AGS Shared Cloud] Query fulfillments in a namespace.

Other detail info:

  • Returns : list of fulfillment info:
  • storeId in items can be ignored
  • error in successList will always be null

func (*Client) RedeemCodeShort

func (a *Client) RedeemCodeShort(params *RedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*RedeemCodeResponse, error)

RedeemCodeShort redeem campaign code Redeem campaign code. Other detail info:

  • Returns : fulfillment result

func (*Client) RetryFulfillItemsShort

func (a *Client) RetryFulfillItemsShort(params *RetryFulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsResponse, error)

RetryFulfillItemsShort retry fulfill items by transactionid

### The endpoint is going to be deprecated

[Not supported yet in AGS Shared Cloud] Retry fulfill items by transactionId without sending the original payload. Other detail info:

  • Returns : fulfillment v2 result, storeId field can be ignored.

### Endpoint migration guide

  • Substitute endpoint: /v3/admin/namespaces/{namespace}/users/{userId}/fulfillments/{transactionId}/retry [PUT]

func (*Client) RetryFulfillItemsV3Short

func (a *Client) RetryFulfillItemsV3Short(params *RetryFulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsV3Response, error)

RetryFulfillItemsV3Short retry fulfill items by transactionid

[Not supported yet in AGS Shared Cloud] Retry fulfill items by transactionId without sending the original payload.

Other detail info:

  • Returns : fulfillment v2 result, storeId field can be ignored.

func (*Client) RevokeItemsShort

func (a *Client) RevokeItemsShort(params *RevokeItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsResponse, error)

RevokeItemsShort revoke items by transactionid

### The endpoint is going to be deprecated

[Not supported yet in AGS Shared Cloud] Revoke items by transactionId. Other detail info:

  • Returns : revoke fulfillment v2 result, storeId field can be ignored.

### Endpoint migration guide

  • Substitute endpoint: /v3/admin/namespaces/{namespace}/users/{userId}/fulfillments/{transactionId}/revoke [PUT]

func (*Client) RevokeItemsV3Short

func (a *Client) RevokeItemsV3Short(params *RevokeItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsV3Response, error)

RevokeItemsV3Short revoke items by transactionid

[Not supported yet in AGS Shared Cloud] Revoke items by transactionId.

Other detail info:

  • Returns : revoke fulfillment v2 result, storeId field can be ignored.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	QueryFulfillmentHistoriesShort(params *QueryFulfillmentHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentHistoriesResponse, error)
	FulfillItemShort(params *FulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemResponse, error)
	RedeemCodeShort(params *RedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*RedeemCodeResponse, error)
	PreCheckFulfillItemShort(params *PreCheckFulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckFulfillItemResponse, error)
	FulfillRewardsShort(params *FulfillRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsResponse, error)
	PublicRedeemCodeShort(params *PublicRedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRedeemCodeResponse, error)
	QueryFulfillmentsShort(params *QueryFulfillmentsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentsResponse, error)
	FulfillRewardsV2Short(params *FulfillRewardsV2Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsV2Response, error)
	FulfillItemsShort(params *FulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsResponse, error)
	RetryFulfillItemsShort(params *RetryFulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsResponse, error)
	RevokeItemsShort(params *RevokeItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsResponse, error)
	BulkFulfillItemsV3Short(params *BulkFulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*BulkFulfillItemsV3Response, error)
	FulfillItemsV3Short(params *FulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsV3Response, error)
	RetryFulfillItemsV3Short(params *RetryFulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsV3Response, error)
	RevokeItemsV3Short(params *RevokeItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsV3Response, 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 fulfillment API client.

type FulfillItemBadRequest

type FulfillItemBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillItemBadRequest 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>38121</td><td>Duplicate permanent item exists</td></tr><tr><td>38122</td><td>Subscription endDate required</td></tr></table>

func NewFulfillItemBadRequest

func NewFulfillItemBadRequest() *FulfillItemBadRequest

NewFulfillItemBadRequest creates a FulfillItemBadRequest with default headers values

func (*FulfillItemBadRequest) Error

func (o *FulfillItemBadRequest) Error() string

func (*FulfillItemBadRequest) GetPayload

func (*FulfillItemBadRequest) ToJSONString

func (o *FulfillItemBadRequest) ToJSONString() string

type FulfillItemConflict

type FulfillItemConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillItemConflict 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 NewFulfillItemConflict

func NewFulfillItemConflict() *FulfillItemConflict

NewFulfillItemConflict creates a FulfillItemConflict with default headers values

func (*FulfillItemConflict) Error

func (o *FulfillItemConflict) Error() string

func (*FulfillItemConflict) GetPayload

func (*FulfillItemConflict) ToJSONString

func (o *FulfillItemConflict) ToJSONString() string

type FulfillItemNotFound

type FulfillItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillItemNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewFulfillItemNotFound

func NewFulfillItemNotFound() *FulfillItemNotFound

NewFulfillItemNotFound creates a FulfillItemNotFound with default headers values

func (*FulfillItemNotFound) Error

func (o *FulfillItemNotFound) Error() string

func (*FulfillItemNotFound) GetPayload

func (*FulfillItemNotFound) ToJSONString

func (o *FulfillItemNotFound) ToJSONString() string

type FulfillItemOK

type FulfillItemOK struct {
	Payload *platformclientmodels.FulfillmentResult
}

FulfillItemOK handles this case with default header values.

successful operation

func NewFulfillItemOK

func NewFulfillItemOK() *FulfillItemOK

NewFulfillItemOK creates a FulfillItemOK with default headers values

func (*FulfillItemOK) Error

func (o *FulfillItemOK) Error() string

func (*FulfillItemOK) GetPayload

func (*FulfillItemOK) ToJSONString

func (o *FulfillItemOK) ToJSONString() string

type FulfillItemParams

type FulfillItemParams struct {

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

FulfillItemParams contains all the parameters to send to the API endpoint for the fulfill item operation typically these are written to a http.Request

func NewFulfillItemParams

func NewFulfillItemParams() *FulfillItemParams

NewFulfillItemParams creates a new FulfillItemParams object with the default values initialized.

func NewFulfillItemParamsWithContext

func NewFulfillItemParamsWithContext(ctx context.Context) *FulfillItemParams

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

func NewFulfillItemParamsWithHTTPClient

func NewFulfillItemParamsWithHTTPClient(client *http.Client) *FulfillItemParams

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

func NewFulfillItemParamsWithTimeout

func NewFulfillItemParamsWithTimeout(timeout time.Duration) *FulfillItemParams

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

func (*FulfillItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fulfill item params

func (*FulfillItemParams) SetBody

SetBody adds the body to the fulfill item params

func (*FulfillItemParams) SetContext

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

SetContext adds the context to the fulfill item params

func (*FulfillItemParams) SetFlightId

func (o *FulfillItemParams) SetFlightId(flightId string)

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

func (*FulfillItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fulfill item params

func (*FulfillItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fulfill item params

func (*FulfillItemParams) SetNamespace

func (o *FulfillItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fulfill item params

func (*FulfillItemParams) SetTimeout

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

SetTimeout adds the timeout to the fulfill item params

func (*FulfillItemParams) SetUserID

func (o *FulfillItemParams) SetUserID(userID string)

SetUserID adds the userId to the fulfill item params

func (*FulfillItemParams) WithBody

WithBody adds the body to the fulfill item params

func (*FulfillItemParams) WithContext

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

WithContext adds the context to the fulfill item params

func (*FulfillItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fulfill item params

func (*FulfillItemParams) WithNamespace

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

WithNamespace adds the namespace to the fulfill item params

func (*FulfillItemParams) WithTimeout

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

WithTimeout adds the timeout to the fulfill item params

func (*FulfillItemParams) WithUserID

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

WithUserID adds the userID to the fulfill item params

func (*FulfillItemParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FulfillItemReader

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

FulfillItemReader is a Reader for the FulfillItem structure.

func (*FulfillItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FulfillItemsBadRequest

type FulfillItemsBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillItemsBadRequest 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>38121</td><td>Duplicate permanent item exists</td></tr><tr><td>38122</td><td>Subscription endDate required</td></tr><tr><td>38128</td><td>Cannot retry fulfillment with different payload. Please check the items list.</td></tr><tr><td>38129</td><td>Cannot combine same item [{itemId}] with different [{fieldName}] value</td></tr><tr><td>38130</td><td>Cannot fulfill item with type [{itemType}] in item [{itemIdentity}]</td></tr></table>

func NewFulfillItemsBadRequest

func NewFulfillItemsBadRequest() *FulfillItemsBadRequest

NewFulfillItemsBadRequest creates a FulfillItemsBadRequest with default headers values

func (*FulfillItemsBadRequest) Error

func (o *FulfillItemsBadRequest) Error() string

func (*FulfillItemsBadRequest) GetPayload

func (*FulfillItemsBadRequest) ToJSONString

func (o *FulfillItemsBadRequest) ToJSONString() string

type FulfillItemsConflict

type FulfillItemsConflict struct {
	Payload *platformclientmodels.FulfillmentV2Result
}

FulfillItemsConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr></table>

func NewFulfillItemsConflict

func NewFulfillItemsConflict() *FulfillItemsConflict

NewFulfillItemsConflict creates a FulfillItemsConflict with default headers values

func (*FulfillItemsConflict) Error

func (o *FulfillItemsConflict) Error() string

func (*FulfillItemsConflict) GetPayload

func (*FulfillItemsConflict) ToJSONString

func (o *FulfillItemsConflict) ToJSONString() string

type FulfillItemsNotFound

type FulfillItemsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillItemsNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30343</td><td>Item of sku [{sku}] does not exist</td></tr></table>

func NewFulfillItemsNotFound

func NewFulfillItemsNotFound() *FulfillItemsNotFound

NewFulfillItemsNotFound creates a FulfillItemsNotFound with default headers values

func (*FulfillItemsNotFound) Error

func (o *FulfillItemsNotFound) Error() string

func (*FulfillItemsNotFound) GetPayload

func (*FulfillItemsNotFound) ToJSONString

func (o *FulfillItemsNotFound) ToJSONString() string

type FulfillItemsOK

type FulfillItemsOK struct {
	Payload *platformclientmodels.FulfillmentV2Result
}

FulfillItemsOK handles this case with default header values.

successful operation

func NewFulfillItemsOK

func NewFulfillItemsOK() *FulfillItemsOK

NewFulfillItemsOK creates a FulfillItemsOK with default headers values

func (*FulfillItemsOK) Error

func (o *FulfillItemsOK) Error() string

func (*FulfillItemsOK) GetPayload

func (*FulfillItemsOK) ToJSONString

func (o *FulfillItemsOK) ToJSONString() string

type FulfillItemsParams

type FulfillItemsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.FulfillmentV2Request
	/*Namespace*/
	Namespace string
	/*TransactionID*/
	TransactionID string
	/*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
}

FulfillItemsParams contains all the parameters to send to the API endpoint for the fulfill items operation typically these are written to a http.Request

func NewFulfillItemsParams

func NewFulfillItemsParams() *FulfillItemsParams

NewFulfillItemsParams creates a new FulfillItemsParams object with the default values initialized.

func NewFulfillItemsParamsWithContext

func NewFulfillItemsParamsWithContext(ctx context.Context) *FulfillItemsParams

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

func NewFulfillItemsParamsWithHTTPClient

func NewFulfillItemsParamsWithHTTPClient(client *http.Client) *FulfillItemsParams

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

func NewFulfillItemsParamsWithTimeout

func NewFulfillItemsParamsWithTimeout(timeout time.Duration) *FulfillItemsParams

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

func (*FulfillItemsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fulfill items params

func (*FulfillItemsParams) SetBody

SetBody adds the body to the fulfill items params

func (*FulfillItemsParams) SetContext

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

SetContext adds the context to the fulfill items params

func (*FulfillItemsParams) SetFlightId

func (o *FulfillItemsParams) SetFlightId(flightId string)

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

func (*FulfillItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fulfill items params

func (*FulfillItemsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fulfill items params

func (*FulfillItemsParams) SetNamespace

func (o *FulfillItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fulfill items params

func (*FulfillItemsParams) SetTimeout

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

SetTimeout adds the timeout to the fulfill items params

func (*FulfillItemsParams) SetTransactionID

func (o *FulfillItemsParams) SetTransactionID(transactionID string)

SetTransactionID adds the transactionId to the fulfill items params

func (*FulfillItemsParams) SetUserID

func (o *FulfillItemsParams) SetUserID(userID string)

SetUserID adds the userId to the fulfill items params

func (*FulfillItemsParams) WithBody

WithBody adds the body to the fulfill items params

func (*FulfillItemsParams) WithContext

WithContext adds the context to the fulfill items params

func (*FulfillItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fulfill items params

func (*FulfillItemsParams) WithNamespace

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

WithNamespace adds the namespace to the fulfill items params

func (*FulfillItemsParams) WithTimeout

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

WithTimeout adds the timeout to the fulfill items params

func (*FulfillItemsParams) WithTransactionID

func (o *FulfillItemsParams) WithTransactionID(transactionID string) *FulfillItemsParams

WithTransactionID adds the transactionID to the fulfill items params

func (*FulfillItemsParams) WithUserID

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

WithUserID adds the userID to the fulfill items params

func (*FulfillItemsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FulfillItemsReader

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

FulfillItemsReader is a Reader for the FulfillItems structure.

func (*FulfillItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FulfillItemsV3BadRequest

type FulfillItemsV3BadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillItemsV3BadRequest 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>38121</td><td>Duplicate permanent item exists</td></tr><tr><td>38122</td><td>Subscription endDate required</td></tr><tr><td>38128</td><td>Cannot retry fulfillment with different payload. Please check the items list.</td></tr><tr><td>38129</td><td>Cannot combine same item [{itemId}] with different [{fieldName}] value</td></tr><tr><td>38130</td><td>Cannot fulfill item with type [{itemType}] in item [{itemIdentity}]</td></tr></table>

func NewFulfillItemsV3BadRequest

func NewFulfillItemsV3BadRequest() *FulfillItemsV3BadRequest

NewFulfillItemsV3BadRequest creates a FulfillItemsV3BadRequest with default headers values

func (*FulfillItemsV3BadRequest) Error

func (o *FulfillItemsV3BadRequest) Error() string

func (*FulfillItemsV3BadRequest) GetPayload

func (*FulfillItemsV3BadRequest) ToJSONString

func (o *FulfillItemsV3BadRequest) ToJSONString() string

type FulfillItemsV3NotFound

type FulfillItemsV3NotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillItemsV3NotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30343</td><td>Item of sku [{sku}] does not exist</td></tr></table>

func NewFulfillItemsV3NotFound

func NewFulfillItemsV3NotFound() *FulfillItemsV3NotFound

NewFulfillItemsV3NotFound creates a FulfillItemsV3NotFound with default headers values

func (*FulfillItemsV3NotFound) Error

func (o *FulfillItemsV3NotFound) Error() string

func (*FulfillItemsV3NotFound) GetPayload

func (*FulfillItemsV3NotFound) ToJSONString

func (o *FulfillItemsV3NotFound) ToJSONString() string

type FulfillItemsV3OK

type FulfillItemsV3OK struct {
	Payload *platformclientmodels.FulfillmentV2Result
}

FulfillItemsV3OK handles this case with default header values.

successful operation

func NewFulfillItemsV3OK

func NewFulfillItemsV3OK() *FulfillItemsV3OK

NewFulfillItemsV3OK creates a FulfillItemsV3OK with default headers values

func (*FulfillItemsV3OK) Error

func (o *FulfillItemsV3OK) Error() string

func (*FulfillItemsV3OK) GetPayload

func (*FulfillItemsV3OK) ToJSONString

func (o *FulfillItemsV3OK) ToJSONString() string

type FulfillItemsV3Params

type FulfillItemsV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *platformclientmodels.FulfillmentV2Request
	/*Namespace*/
	Namespace string
	/*TransactionID*/
	TransactionID string
	/*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
}

FulfillItemsV3Params contains all the parameters to send to the API endpoint for the fulfill items v3 operation typically these are written to a http.Request

func NewFulfillItemsV3Params

func NewFulfillItemsV3Params() *FulfillItemsV3Params

NewFulfillItemsV3Params creates a new FulfillItemsV3Params object with the default values initialized.

func NewFulfillItemsV3ParamsWithContext

func NewFulfillItemsV3ParamsWithContext(ctx context.Context) *FulfillItemsV3Params

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

func NewFulfillItemsV3ParamsWithHTTPClient

func NewFulfillItemsV3ParamsWithHTTPClient(client *http.Client) *FulfillItemsV3Params

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

func NewFulfillItemsV3ParamsWithTimeout

func NewFulfillItemsV3ParamsWithTimeout(timeout time.Duration) *FulfillItemsV3Params

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

func (*FulfillItemsV3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fulfill items v3 params

func (*FulfillItemsV3Params) SetBody

SetBody adds the body to the fulfill items v3 params

func (*FulfillItemsV3Params) SetContext

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

SetContext adds the context to the fulfill items v3 params

func (*FulfillItemsV3Params) SetFlightId

func (o *FulfillItemsV3Params) SetFlightId(flightId string)

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

func (*FulfillItemsV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fulfill items v3 params

func (*FulfillItemsV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fulfill items v3 params

func (*FulfillItemsV3Params) SetNamespace

func (o *FulfillItemsV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the fulfill items v3 params

func (*FulfillItemsV3Params) SetTimeout

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

SetTimeout adds the timeout to the fulfill items v3 params

func (*FulfillItemsV3Params) SetTransactionID

func (o *FulfillItemsV3Params) SetTransactionID(transactionID string)

SetTransactionID adds the transactionId to the fulfill items v3 params

func (*FulfillItemsV3Params) SetUserID

func (o *FulfillItemsV3Params) SetUserID(userID string)

SetUserID adds the userId to the fulfill items v3 params

func (*FulfillItemsV3Params) WithBody

WithBody adds the body to the fulfill items v3 params

func (*FulfillItemsV3Params) WithContext

WithContext adds the context to the fulfill items v3 params

func (*FulfillItemsV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fulfill items v3 params

func (*FulfillItemsV3Params) WithNamespace

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

WithNamespace adds the namespace to the fulfill items v3 params

func (*FulfillItemsV3Params) WithTimeout

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

WithTimeout adds the timeout to the fulfill items v3 params

func (*FulfillItemsV3Params) WithTransactionID

func (o *FulfillItemsV3Params) WithTransactionID(transactionID string) *FulfillItemsV3Params

WithTransactionID adds the transactionID to the fulfill items v3 params

func (*FulfillItemsV3Params) WithUserID

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

WithUserID adds the userID to the fulfill items v3 params

func (*FulfillItemsV3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FulfillItemsV3Reader

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

FulfillItemsV3Reader is a Reader for the FulfillItemsV3 structure.

func (*FulfillItemsV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FulfillRewardsBadRequest

type FulfillRewardsBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillRewardsBadRequest 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>38121</td><td>Duplicate permanent item exists</td></tr></table>

func NewFulfillRewardsBadRequest

func NewFulfillRewardsBadRequest() *FulfillRewardsBadRequest

NewFulfillRewardsBadRequest creates a FulfillRewardsBadRequest with default headers values

func (*FulfillRewardsBadRequest) Error

func (o *FulfillRewardsBadRequest) Error() string

func (*FulfillRewardsBadRequest) GetPayload

func (*FulfillRewardsBadRequest) ToJSONString

func (o *FulfillRewardsBadRequest) ToJSONString() string

type FulfillRewardsConflict

type FulfillRewardsConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillRewardsConflict 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 NewFulfillRewardsConflict

func NewFulfillRewardsConflict() *FulfillRewardsConflict

NewFulfillRewardsConflict creates a FulfillRewardsConflict with default headers values

func (*FulfillRewardsConflict) Error

func (o *FulfillRewardsConflict) Error() string

func (*FulfillRewardsConflict) GetPayload

func (*FulfillRewardsConflict) ToJSONString

func (o *FulfillRewardsConflict) ToJSONString() string

type FulfillRewardsNoContent

type FulfillRewardsNoContent struct {
}

FulfillRewardsNoContent handles this case with default header values.

fulfill successfully

func NewFulfillRewardsNoContent

func NewFulfillRewardsNoContent() *FulfillRewardsNoContent

NewFulfillRewardsNoContent creates a FulfillRewardsNoContent with default headers values

func (*FulfillRewardsNoContent) Error

func (o *FulfillRewardsNoContent) Error() string

type FulfillRewardsNotFound

type FulfillRewardsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillRewardsNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewFulfillRewardsNotFound

func NewFulfillRewardsNotFound() *FulfillRewardsNotFound

NewFulfillRewardsNotFound creates a FulfillRewardsNotFound with default headers values

func (*FulfillRewardsNotFound) Error

func (o *FulfillRewardsNotFound) Error() string

func (*FulfillRewardsNotFound) GetPayload

func (*FulfillRewardsNotFound) ToJSONString

func (o *FulfillRewardsNotFound) ToJSONString() string

type FulfillRewardsParams

type FulfillRewardsParams struct {

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

FulfillRewardsParams contains all the parameters to send to the API endpoint for the fulfill rewards operation typically these are written to a http.Request

func NewFulfillRewardsParams

func NewFulfillRewardsParams() *FulfillRewardsParams

NewFulfillRewardsParams creates a new FulfillRewardsParams object with the default values initialized.

func NewFulfillRewardsParamsWithContext

func NewFulfillRewardsParamsWithContext(ctx context.Context) *FulfillRewardsParams

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

func NewFulfillRewardsParamsWithHTTPClient

func NewFulfillRewardsParamsWithHTTPClient(client *http.Client) *FulfillRewardsParams

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

func NewFulfillRewardsParamsWithTimeout

func NewFulfillRewardsParamsWithTimeout(timeout time.Duration) *FulfillRewardsParams

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

func (*FulfillRewardsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fulfill rewards params

func (*FulfillRewardsParams) SetBody

SetBody adds the body to the fulfill rewards params

func (*FulfillRewardsParams) SetContext

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

SetContext adds the context to the fulfill rewards params

func (*FulfillRewardsParams) SetFlightId

func (o *FulfillRewardsParams) SetFlightId(flightId string)

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

func (*FulfillRewardsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fulfill rewards params

func (*FulfillRewardsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fulfill rewards params

func (*FulfillRewardsParams) SetNamespace

func (o *FulfillRewardsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fulfill rewards params

func (*FulfillRewardsParams) SetTimeout

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

SetTimeout adds the timeout to the fulfill rewards params

func (*FulfillRewardsParams) SetUserID

func (o *FulfillRewardsParams) SetUserID(userID string)

SetUserID adds the userId to the fulfill rewards params

func (*FulfillRewardsParams) WithBody

WithBody adds the body to the fulfill rewards params

func (*FulfillRewardsParams) WithContext

WithContext adds the context to the fulfill rewards params

func (*FulfillRewardsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fulfill rewards params

func (*FulfillRewardsParams) WithNamespace

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

WithNamespace adds the namespace to the fulfill rewards params

func (*FulfillRewardsParams) WithTimeout

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

WithTimeout adds the timeout to the fulfill rewards params

func (*FulfillRewardsParams) WithUserID

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

WithUserID adds the userID to the fulfill rewards params

func (*FulfillRewardsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FulfillRewardsReader

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

FulfillRewardsReader is a Reader for the FulfillRewards structure.

func (*FulfillRewardsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FulfillRewardsResponse

func (*FulfillRewardsResponse) Unpack

type FulfillRewardsV2BadRequest

type FulfillRewardsV2BadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillRewardsV2BadRequest 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>38121</td><td>Duplicate permanent item exists</td></tr></table>

func NewFulfillRewardsV2BadRequest

func NewFulfillRewardsV2BadRequest() *FulfillRewardsV2BadRequest

NewFulfillRewardsV2BadRequest creates a FulfillRewardsV2BadRequest with default headers values

func (*FulfillRewardsV2BadRequest) Error

func (*FulfillRewardsV2BadRequest) GetPayload

func (*FulfillRewardsV2BadRequest) ToJSONString

func (o *FulfillRewardsV2BadRequest) ToJSONString() string

type FulfillRewardsV2Conflict

type FulfillRewardsV2Conflict struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillRewardsV2Conflict 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 NewFulfillRewardsV2Conflict

func NewFulfillRewardsV2Conflict() *FulfillRewardsV2Conflict

NewFulfillRewardsV2Conflict creates a FulfillRewardsV2Conflict with default headers values

func (*FulfillRewardsV2Conflict) Error

func (o *FulfillRewardsV2Conflict) Error() string

func (*FulfillRewardsV2Conflict) GetPayload

func (*FulfillRewardsV2Conflict) ToJSONString

func (o *FulfillRewardsV2Conflict) ToJSONString() string

type FulfillRewardsV2NotFound

type FulfillRewardsV2NotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

FulfillRewardsV2NotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewFulfillRewardsV2NotFound

func NewFulfillRewardsV2NotFound() *FulfillRewardsV2NotFound

NewFulfillRewardsV2NotFound creates a FulfillRewardsV2NotFound with default headers values

func (*FulfillRewardsV2NotFound) Error

func (o *FulfillRewardsV2NotFound) Error() string

func (*FulfillRewardsV2NotFound) GetPayload

func (*FulfillRewardsV2NotFound) ToJSONString

func (o *FulfillRewardsV2NotFound) ToJSONString() string

type FulfillRewardsV2OK

type FulfillRewardsV2OK struct {
	Payload *platformclientmodels.FulfillmentResult
}

FulfillRewardsV2OK handles this case with default header values.

successful operation

func NewFulfillRewardsV2OK

func NewFulfillRewardsV2OK() *FulfillRewardsV2OK

NewFulfillRewardsV2OK creates a FulfillRewardsV2OK with default headers values

func (*FulfillRewardsV2OK) Error

func (o *FulfillRewardsV2OK) Error() string

func (*FulfillRewardsV2OK) GetPayload

func (*FulfillRewardsV2OK) ToJSONString

func (o *FulfillRewardsV2OK) ToJSONString() string

type FulfillRewardsV2Params

type FulfillRewardsV2Params struct {

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

FulfillRewardsV2Params contains all the parameters to send to the API endpoint for the fulfill rewards v2 operation typically these are written to a http.Request

func NewFulfillRewardsV2Params

func NewFulfillRewardsV2Params() *FulfillRewardsV2Params

NewFulfillRewardsV2Params creates a new FulfillRewardsV2Params object with the default values initialized.

func NewFulfillRewardsV2ParamsWithContext

func NewFulfillRewardsV2ParamsWithContext(ctx context.Context) *FulfillRewardsV2Params

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

func NewFulfillRewardsV2ParamsWithHTTPClient

func NewFulfillRewardsV2ParamsWithHTTPClient(client *http.Client) *FulfillRewardsV2Params

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

func NewFulfillRewardsV2ParamsWithTimeout

func NewFulfillRewardsV2ParamsWithTimeout(timeout time.Duration) *FulfillRewardsV2Params

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

func (*FulfillRewardsV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetBody

SetBody adds the body to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetContext

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

SetContext adds the context to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetFlightId

func (o *FulfillRewardsV2Params) SetFlightId(flightId string)

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

func (*FulfillRewardsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetNamespace

func (o *FulfillRewardsV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetTimeout

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

SetTimeout adds the timeout to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetUserID

func (o *FulfillRewardsV2Params) SetUserID(userID string)

SetUserID adds the userId to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WithBody

WithBody adds the body to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WithContext

WithContext adds the context to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WithNamespace

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

WithNamespace adds the namespace to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WithTimeout

WithTimeout adds the timeout to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WithUserID

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

WithUserID adds the userID to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type FulfillRewardsV2Reader

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

FulfillRewardsV2Reader is a Reader for the FulfillRewardsV2 structure.

func (*FulfillRewardsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PreCheckFulfillItemBadRequest

type PreCheckFulfillItemBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

PreCheckFulfillItemBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38121</td><td>Duplicate permanent item exists</td></tr></table>

func NewPreCheckFulfillItemBadRequest

func NewPreCheckFulfillItemBadRequest() *PreCheckFulfillItemBadRequest

NewPreCheckFulfillItemBadRequest creates a PreCheckFulfillItemBadRequest with default headers values

func (*PreCheckFulfillItemBadRequest) Error

func (*PreCheckFulfillItemBadRequest) GetPayload

func (*PreCheckFulfillItemBadRequest) ToJSONString

func (o *PreCheckFulfillItemBadRequest) ToJSONString() string

type PreCheckFulfillItemNotFound

type PreCheckFulfillItemNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PreCheckFulfillItemNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPreCheckFulfillItemNotFound

func NewPreCheckFulfillItemNotFound() *PreCheckFulfillItemNotFound

NewPreCheckFulfillItemNotFound creates a PreCheckFulfillItemNotFound with default headers values

func (*PreCheckFulfillItemNotFound) Error

func (*PreCheckFulfillItemNotFound) GetPayload

func (*PreCheckFulfillItemNotFound) ToJSONString

func (o *PreCheckFulfillItemNotFound) ToJSONString() string

type PreCheckFulfillItemOK

type PreCheckFulfillItemOK struct {
	Payload []*platformclientmodels.FulfillmentItem
}

PreCheckFulfillItemOK handles this case with default header values.

Successful retrieval

func NewPreCheckFulfillItemOK

func NewPreCheckFulfillItemOK() *PreCheckFulfillItemOK

NewPreCheckFulfillItemOK creates a PreCheckFulfillItemOK with default headers values

func (*PreCheckFulfillItemOK) Error

func (o *PreCheckFulfillItemOK) Error() string

func (*PreCheckFulfillItemOK) GetPayload

func (*PreCheckFulfillItemOK) ToJSONString

func (o *PreCheckFulfillItemOK) ToJSONString() string

type PreCheckFulfillItemParams

type PreCheckFulfillItemParams struct {

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

PreCheckFulfillItemParams contains all the parameters to send to the API endpoint for the pre check fulfill item operation typically these are written to a http.Request

func NewPreCheckFulfillItemParams

func NewPreCheckFulfillItemParams() *PreCheckFulfillItemParams

NewPreCheckFulfillItemParams creates a new PreCheckFulfillItemParams object with the default values initialized.

func NewPreCheckFulfillItemParamsWithContext

func NewPreCheckFulfillItemParamsWithContext(ctx context.Context) *PreCheckFulfillItemParams

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

func NewPreCheckFulfillItemParamsWithHTTPClient

func NewPreCheckFulfillItemParamsWithHTTPClient(client *http.Client) *PreCheckFulfillItemParams

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

func NewPreCheckFulfillItemParamsWithTimeout

func NewPreCheckFulfillItemParamsWithTimeout(timeout time.Duration) *PreCheckFulfillItemParams

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

func (*PreCheckFulfillItemParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetBody

SetBody adds the body to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetContext

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

SetContext adds the context to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetFlightId

func (o *PreCheckFulfillItemParams) SetFlightId(flightId string)

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

func (*PreCheckFulfillItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetNamespace

func (o *PreCheckFulfillItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetTimeout

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

SetTimeout adds the timeout to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetUserID

func (o *PreCheckFulfillItemParams) SetUserID(userID string)

SetUserID adds the userId to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WithBody

WithBody adds the body to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WithContext

WithContext adds the context to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WithNamespace

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

WithNamespace adds the namespace to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WithTimeout

WithTimeout adds the timeout to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WithUserID

WithUserID adds the userID to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PreCheckFulfillItemReader

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

PreCheckFulfillItemReader is a Reader for the PreCheckFulfillItem structure.

func (*PreCheckFulfillItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicRedeemCodeBadRequest

type PublicRedeemCodeBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicRedeemCodeBadRequest 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>38121</td><td>Duplicate permanent item exists</td></tr></table>

func NewPublicRedeemCodeBadRequest

func NewPublicRedeemCodeBadRequest() *PublicRedeemCodeBadRequest

NewPublicRedeemCodeBadRequest creates a PublicRedeemCodeBadRequest with default headers values

func (*PublicRedeemCodeBadRequest) Error

func (*PublicRedeemCodeBadRequest) GetPayload

func (*PublicRedeemCodeBadRequest) ToJSONString

func (o *PublicRedeemCodeBadRequest) ToJSONString() string

type PublicRedeemCodeConflict

type PublicRedeemCodeConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicRedeemCodeConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37172</td><td>Campaign [{campaignId}] is inactive in namespace [{namespace}]</td></tr><tr><td>37173</td><td>Code [{code}] is inactive in namespace [{namespace}]</td></tr><tr><td>37174</td><td>Exceeded max redeem count per code [{maxCount}]</td></tr><tr><td>37175</td><td>Exceeded max redeem count per code per user [{maxCount}]</td></tr><tr><td>37177</td><td>Code redemption not started</td></tr><tr><td>37178</td><td>Code redemption already ended</td></tr><tr><td>20006</td><td>optimistic lock</td></tr><tr><td>31177</td><td>Permanent item already owned</td></tr></table>

func NewPublicRedeemCodeConflict

func NewPublicRedeemCodeConflict() *PublicRedeemCodeConflict

NewPublicRedeemCodeConflict creates a PublicRedeemCodeConflict with default headers values

func (*PublicRedeemCodeConflict) Error

func (o *PublicRedeemCodeConflict) Error() string

func (*PublicRedeemCodeConflict) GetPayload

func (*PublicRedeemCodeConflict) ToJSONString

func (o *PublicRedeemCodeConflict) ToJSONString() string

type PublicRedeemCodeNotFound

type PublicRedeemCodeNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicRedeemCodeNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>37142</td><td>Code [{code}] does not exist in namespace [{namespace}]</td></tr></table>

func NewPublicRedeemCodeNotFound

func NewPublicRedeemCodeNotFound() *PublicRedeemCodeNotFound

NewPublicRedeemCodeNotFound creates a PublicRedeemCodeNotFound with default headers values

func (*PublicRedeemCodeNotFound) Error

func (o *PublicRedeemCodeNotFound) Error() string

func (*PublicRedeemCodeNotFound) GetPayload

func (*PublicRedeemCodeNotFound) ToJSONString

func (o *PublicRedeemCodeNotFound) ToJSONString() string

type PublicRedeemCodeOK

type PublicRedeemCodeOK struct {
	Payload *platformclientmodels.FulfillmentResult
}

PublicRedeemCodeOK handles this case with default header values.

successful operation

func NewPublicRedeemCodeOK

func NewPublicRedeemCodeOK() *PublicRedeemCodeOK

NewPublicRedeemCodeOK creates a PublicRedeemCodeOK with default headers values

func (*PublicRedeemCodeOK) Error

func (o *PublicRedeemCodeOK) Error() string

func (*PublicRedeemCodeOK) GetPayload

func (*PublicRedeemCodeOK) ToJSONString

func (o *PublicRedeemCodeOK) ToJSONString() string

type PublicRedeemCodeParams

type PublicRedeemCodeParams struct {

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

PublicRedeemCodeParams contains all the parameters to send to the API endpoint for the public redeem code operation typically these are written to a http.Request

func NewPublicRedeemCodeParams

func NewPublicRedeemCodeParams() *PublicRedeemCodeParams

NewPublicRedeemCodeParams creates a new PublicRedeemCodeParams object with the default values initialized.

func NewPublicRedeemCodeParamsWithContext

func NewPublicRedeemCodeParamsWithContext(ctx context.Context) *PublicRedeemCodeParams

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

func NewPublicRedeemCodeParamsWithHTTPClient

func NewPublicRedeemCodeParamsWithHTTPClient(client *http.Client) *PublicRedeemCodeParams

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

func NewPublicRedeemCodeParamsWithTimeout

func NewPublicRedeemCodeParamsWithTimeout(timeout time.Duration) *PublicRedeemCodeParams

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

func (*PublicRedeemCodeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the public redeem code params

func (*PublicRedeemCodeParams) SetBody

SetBody adds the body to the public redeem code params

func (*PublicRedeemCodeParams) SetContext

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

SetContext adds the context to the public redeem code params

func (*PublicRedeemCodeParams) SetFlightId

func (o *PublicRedeemCodeParams) SetFlightId(flightId string)

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

func (*PublicRedeemCodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public redeem code params

func (*PublicRedeemCodeParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the public redeem code params

func (*PublicRedeemCodeParams) SetNamespace

func (o *PublicRedeemCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public redeem code params

func (*PublicRedeemCodeParams) SetTimeout

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

SetTimeout adds the timeout to the public redeem code params

func (*PublicRedeemCodeParams) SetUserID

func (o *PublicRedeemCodeParams) SetUserID(userID string)

SetUserID adds the userId to the public redeem code params

func (*PublicRedeemCodeParams) WithBody

WithBody adds the body to the public redeem code params

func (*PublicRedeemCodeParams) WithContext

WithContext adds the context to the public redeem code params

func (*PublicRedeemCodeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public redeem code params

func (*PublicRedeemCodeParams) WithNamespace

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

WithNamespace adds the namespace to the public redeem code params

func (*PublicRedeemCodeParams) WithTimeout

WithTimeout adds the timeout to the public redeem code params

func (*PublicRedeemCodeParams) WithUserID

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

WithUserID adds the userID to the public redeem code params

func (*PublicRedeemCodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicRedeemCodeReader

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

PublicRedeemCodeReader is a Reader for the PublicRedeemCode structure.

func (*PublicRedeemCodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicRedeemCodeTooManyRequests

type PublicRedeemCodeTooManyRequests struct {
	Payload *platformclientmodels.ErrorEntity
}

PublicRedeemCodeTooManyRequests handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20007</td><td>too many requests</td></tr></table>

func NewPublicRedeemCodeTooManyRequests

func NewPublicRedeemCodeTooManyRequests() *PublicRedeemCodeTooManyRequests

NewPublicRedeemCodeTooManyRequests creates a PublicRedeemCodeTooManyRequests with default headers values

func (*PublicRedeemCodeTooManyRequests) Error

func (*PublicRedeemCodeTooManyRequests) GetPayload

func (*PublicRedeemCodeTooManyRequests) ToJSONString

func (o *PublicRedeemCodeTooManyRequests) ToJSONString() string

type QueryFulfillmentHistoriesOK

type QueryFulfillmentHistoriesOK struct {
	Payload *platformclientmodels.FulfillmentHistoryPagingSlicedResult
}

QueryFulfillmentHistoriesOK handles this case with default header values.

successful operation

func NewQueryFulfillmentHistoriesOK

func NewQueryFulfillmentHistoriesOK() *QueryFulfillmentHistoriesOK

NewQueryFulfillmentHistoriesOK creates a QueryFulfillmentHistoriesOK with default headers values

func (*QueryFulfillmentHistoriesOK) Error

func (*QueryFulfillmentHistoriesOK) GetPayload

func (*QueryFulfillmentHistoriesOK) ToJSONString

func (o *QueryFulfillmentHistoriesOK) ToJSONString() string

type QueryFulfillmentHistoriesParams

type QueryFulfillmentHistoriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace 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
	/*Status*/
	Status *string
	/*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
}

QueryFulfillmentHistoriesParams contains all the parameters to send to the API endpoint for the query fulfillment histories operation typically these are written to a http.Request

func NewQueryFulfillmentHistoriesParams

func NewQueryFulfillmentHistoriesParams() *QueryFulfillmentHistoriesParams

NewQueryFulfillmentHistoriesParams creates a new QueryFulfillmentHistoriesParams object with the default values initialized.

func NewQueryFulfillmentHistoriesParamsWithContext

func NewQueryFulfillmentHistoriesParamsWithContext(ctx context.Context) *QueryFulfillmentHistoriesParams

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

func NewQueryFulfillmentHistoriesParamsWithHTTPClient

func NewQueryFulfillmentHistoriesParamsWithHTTPClient(client *http.Client) *QueryFulfillmentHistoriesParams

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

func NewQueryFulfillmentHistoriesParamsWithTimeout

func NewQueryFulfillmentHistoriesParamsWithTimeout(timeout time.Duration) *QueryFulfillmentHistoriesParams

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

func (*QueryFulfillmentHistoriesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) SetContext

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

SetContext adds the context to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) SetFlightId

func (o *QueryFulfillmentHistoriesParams) SetFlightId(flightId string)

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

func (*QueryFulfillmentHistoriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) SetLimit

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

SetLimit adds the limit to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) SetNamespace

func (o *QueryFulfillmentHistoriesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) SetOffset

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

SetOffset adds the offset to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) SetStatus

func (o *QueryFulfillmentHistoriesParams) SetStatus(status *string)

SetStatus adds the status to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) SetTimeout

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

SetTimeout adds the timeout to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) SetUserID

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

SetUserID adds the userId to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) WithContext

WithContext adds the context to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) WithLimit

WithLimit adds the limit to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) WithNamespace

WithNamespace adds the namespace to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) WithOffset

WithOffset adds the offset to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) WithStatus

WithStatus adds the status to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) WithTimeout

WithTimeout adds the timeout to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) WithUserID

WithUserID adds the userID to the query fulfillment histories params

func (*QueryFulfillmentHistoriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryFulfillmentHistoriesReader

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

QueryFulfillmentHistoriesReader is a Reader for the QueryFulfillmentHistories structure.

func (*QueryFulfillmentHistoriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryFulfillmentsOK

type QueryFulfillmentsOK struct {
	Payload *platformclientmodels.FulfillmentPagingSlicedResult
}

QueryFulfillmentsOK handles this case with default header values.

successful operation

func NewQueryFulfillmentsOK

func NewQueryFulfillmentsOK() *QueryFulfillmentsOK

NewQueryFulfillmentsOK creates a QueryFulfillmentsOK with default headers values

func (*QueryFulfillmentsOK) Error

func (o *QueryFulfillmentsOK) Error() string

func (*QueryFulfillmentsOK) GetPayload

func (*QueryFulfillmentsOK) ToJSONString

func (o *QueryFulfillmentsOK) ToJSONString() string

type QueryFulfillmentsParams

type QueryFulfillmentsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*EndTime
	  end time is exclusive, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ

	*/
	EndTime *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
	/*StartTime
	  start time is inclusive, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ

	*/
	StartTime *string
	/*State*/
	State *string
	/*TransactionID*/
	TransactionID *string
	/*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
}

QueryFulfillmentsParams contains all the parameters to send to the API endpoint for the query fulfillments operation typically these are written to a http.Request

func NewQueryFulfillmentsParams

func NewQueryFulfillmentsParams() *QueryFulfillmentsParams

NewQueryFulfillmentsParams creates a new QueryFulfillmentsParams object with the default values initialized.

func NewQueryFulfillmentsParamsWithContext

func NewQueryFulfillmentsParamsWithContext(ctx context.Context) *QueryFulfillmentsParams

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

func NewQueryFulfillmentsParamsWithHTTPClient

func NewQueryFulfillmentsParamsWithHTTPClient(client *http.Client) *QueryFulfillmentsParams

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

func NewQueryFulfillmentsParamsWithTimeout

func NewQueryFulfillmentsParamsWithTimeout(timeout time.Duration) *QueryFulfillmentsParams

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

func (*QueryFulfillmentsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the query fulfillments params

func (*QueryFulfillmentsParams) SetContext

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

SetContext adds the context to the query fulfillments params

func (*QueryFulfillmentsParams) SetEndTime

func (o *QueryFulfillmentsParams) SetEndTime(endTime *string)

SetEndTime adds the endTime to the query fulfillments params

func (*QueryFulfillmentsParams) SetFlightId

func (o *QueryFulfillmentsParams) SetFlightId(flightId string)

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

func (*QueryFulfillmentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query fulfillments params

func (*QueryFulfillmentsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the query fulfillments params

func (*QueryFulfillmentsParams) SetLimit

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

SetLimit adds the limit to the query fulfillments params

func (*QueryFulfillmentsParams) SetNamespace

func (o *QueryFulfillmentsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query fulfillments params

func (*QueryFulfillmentsParams) SetOffset

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

SetOffset adds the offset to the query fulfillments params

func (*QueryFulfillmentsParams) SetStartTime

func (o *QueryFulfillmentsParams) SetStartTime(startTime *string)

SetStartTime adds the startTime to the query fulfillments params

func (*QueryFulfillmentsParams) SetState

func (o *QueryFulfillmentsParams) SetState(state *string)

SetState adds the state to the query fulfillments params

func (*QueryFulfillmentsParams) SetTimeout

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

SetTimeout adds the timeout to the query fulfillments params

func (*QueryFulfillmentsParams) SetTransactionID

func (o *QueryFulfillmentsParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the query fulfillments params

func (*QueryFulfillmentsParams) SetUserID

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

SetUserID adds the userId to the query fulfillments params

func (*QueryFulfillmentsParams) WithContext

WithContext adds the context to the query fulfillments params

func (*QueryFulfillmentsParams) WithEndTime

func (o *QueryFulfillmentsParams) WithEndTime(endTime *string) *QueryFulfillmentsParams

WithEndTime adds the endTime to the query fulfillments params

func (*QueryFulfillmentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query fulfillments params

func (*QueryFulfillmentsParams) WithLimit

WithLimit adds the limit to the query fulfillments params

func (*QueryFulfillmentsParams) WithNamespace

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

WithNamespace adds the namespace to the query fulfillments params

func (*QueryFulfillmentsParams) WithOffset

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

WithOffset adds the offset to the query fulfillments params

func (*QueryFulfillmentsParams) WithStartTime

func (o *QueryFulfillmentsParams) WithStartTime(startTime *string) *QueryFulfillmentsParams

WithStartTime adds the startTime to the query fulfillments params

func (*QueryFulfillmentsParams) WithState

WithState adds the state to the query fulfillments params

func (*QueryFulfillmentsParams) WithTimeout

WithTimeout adds the timeout to the query fulfillments params

func (*QueryFulfillmentsParams) WithTransactionID

func (o *QueryFulfillmentsParams) WithTransactionID(transactionID *string) *QueryFulfillmentsParams

WithTransactionID adds the transactionID to the query fulfillments params

func (*QueryFulfillmentsParams) WithUserID

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

WithUserID adds the userID to the query fulfillments params

func (*QueryFulfillmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryFulfillmentsReader

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

QueryFulfillmentsReader is a Reader for the QueryFulfillments structure.

func (*QueryFulfillmentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RedeemCodeBadRequest

type RedeemCodeBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

RedeemCodeBadRequest 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>38121</td><td>Duplicate permanent item exists</td></tr></table>

func NewRedeemCodeBadRequest

func NewRedeemCodeBadRequest() *RedeemCodeBadRequest

NewRedeemCodeBadRequest creates a RedeemCodeBadRequest with default headers values

func (*RedeemCodeBadRequest) Error

func (o *RedeemCodeBadRequest) Error() string

func (*RedeemCodeBadRequest) GetPayload

func (*RedeemCodeBadRequest) ToJSONString

func (o *RedeemCodeBadRequest) ToJSONString() string

type RedeemCodeConflict

type RedeemCodeConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

RedeemCodeConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37172</td><td>Campaign [{campaignId}] is inactive in namespace [{namespace}]</td></tr><tr><td>37173</td><td>Code [{code}] is inactive in namespace [{namespace}]</td></tr><tr><td>37174</td><td>Exceeded max redeem count per code [{maxCount}]</td></tr><tr><td>37175</td><td>Exceeded max redeem count per code per user [{maxCount}]</td></tr><tr><td>37177</td><td>Code redemption not started</td></tr><tr><td>37178</td><td>Code redemption already ended</td></tr><tr><td>20006</td><td>optimistic lock</td></tr><tr><td>31177</td><td>Permanent item already owned</td></tr></table>

func NewRedeemCodeConflict

func NewRedeemCodeConflict() *RedeemCodeConflict

NewRedeemCodeConflict creates a RedeemCodeConflict with default headers values

func (*RedeemCodeConflict) Error

func (o *RedeemCodeConflict) Error() string

func (*RedeemCodeConflict) GetPayload

func (*RedeemCodeConflict) ToJSONString

func (o *RedeemCodeConflict) ToJSONString() string

type RedeemCodeNotFound

type RedeemCodeNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

RedeemCodeNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>37142</td><td>Code [{code}] does not exist in namespace [{namespace}]</td></tr></table>

func NewRedeemCodeNotFound

func NewRedeemCodeNotFound() *RedeemCodeNotFound

NewRedeemCodeNotFound creates a RedeemCodeNotFound with default headers values

func (*RedeemCodeNotFound) Error

func (o *RedeemCodeNotFound) Error() string

func (*RedeemCodeNotFound) GetPayload

func (*RedeemCodeNotFound) ToJSONString

func (o *RedeemCodeNotFound) ToJSONString() string

type RedeemCodeOK

type RedeemCodeOK struct {
	Payload *platformclientmodels.FulfillmentResult
}

RedeemCodeOK handles this case with default header values.

successful operation

func NewRedeemCodeOK

func NewRedeemCodeOK() *RedeemCodeOK

NewRedeemCodeOK creates a RedeemCodeOK with default headers values

func (*RedeemCodeOK) Error

func (o *RedeemCodeOK) Error() string

func (*RedeemCodeOK) GetPayload

func (*RedeemCodeOK) ToJSONString

func (o *RedeemCodeOK) ToJSONString() string

type RedeemCodeParams

type RedeemCodeParams struct {

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

RedeemCodeParams contains all the parameters to send to the API endpoint for the redeem code operation typically these are written to a http.Request

func NewRedeemCodeParams

func NewRedeemCodeParams() *RedeemCodeParams

NewRedeemCodeParams creates a new RedeemCodeParams object with the default values initialized.

func NewRedeemCodeParamsWithContext

func NewRedeemCodeParamsWithContext(ctx context.Context) *RedeemCodeParams

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

func NewRedeemCodeParamsWithHTTPClient

func NewRedeemCodeParamsWithHTTPClient(client *http.Client) *RedeemCodeParams

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

func NewRedeemCodeParamsWithTimeout

func NewRedeemCodeParamsWithTimeout(timeout time.Duration) *RedeemCodeParams

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

func (*RedeemCodeParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the redeem code params

func (*RedeemCodeParams) SetBody

SetBody adds the body to the redeem code params

func (*RedeemCodeParams) SetContext

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

SetContext adds the context to the redeem code params

func (*RedeemCodeParams) SetFlightId

func (o *RedeemCodeParams) SetFlightId(flightId string)

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

func (*RedeemCodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the redeem code params

func (*RedeemCodeParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the redeem code params

func (*RedeemCodeParams) SetNamespace

func (o *RedeemCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the redeem code params

func (*RedeemCodeParams) SetTimeout

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

SetTimeout adds the timeout to the redeem code params

func (*RedeemCodeParams) SetUserID

func (o *RedeemCodeParams) SetUserID(userID string)

SetUserID adds the userId to the redeem code params

func (*RedeemCodeParams) WithBody

WithBody adds the body to the redeem code params

func (*RedeemCodeParams) WithContext

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

WithContext adds the context to the redeem code params

func (*RedeemCodeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the redeem code params

func (*RedeemCodeParams) WithNamespace

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

WithNamespace adds the namespace to the redeem code params

func (*RedeemCodeParams) WithTimeout

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

WithTimeout adds the timeout to the redeem code params

func (*RedeemCodeParams) WithUserID

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

WithUserID adds the userID to the redeem code params

func (*RedeemCodeParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RedeemCodeReader

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

RedeemCodeReader is a Reader for the RedeemCode structure.

func (*RedeemCodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetryFulfillItemsConflict

type RetryFulfillItemsConflict struct {
	Payload *platformclientmodels.FulfillmentV2Result
}

RetryFulfillItemsConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr></table>

func NewRetryFulfillItemsConflict

func NewRetryFulfillItemsConflict() *RetryFulfillItemsConflict

NewRetryFulfillItemsConflict creates a RetryFulfillItemsConflict with default headers values

func (*RetryFulfillItemsConflict) Error

func (o *RetryFulfillItemsConflict) Error() string

func (*RetryFulfillItemsConflict) GetPayload

func (*RetryFulfillItemsConflict) ToJSONString

func (o *RetryFulfillItemsConflict) ToJSONString() string

type RetryFulfillItemsNotFound

type RetryFulfillItemsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

RetryFulfillItemsNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38145</td><td>Fulfillment with transactionId [{transactionId}] does not exist</td></tr></table>

func NewRetryFulfillItemsNotFound

func NewRetryFulfillItemsNotFound() *RetryFulfillItemsNotFound

NewRetryFulfillItemsNotFound creates a RetryFulfillItemsNotFound with default headers values

func (*RetryFulfillItemsNotFound) Error

func (o *RetryFulfillItemsNotFound) Error() string

func (*RetryFulfillItemsNotFound) GetPayload

func (*RetryFulfillItemsNotFound) ToJSONString

func (o *RetryFulfillItemsNotFound) ToJSONString() string

type RetryFulfillItemsOK

type RetryFulfillItemsOK struct {
	Payload *platformclientmodels.FulfillmentV2Result
}

RetryFulfillItemsOK handles this case with default header values.

successful operation

func NewRetryFulfillItemsOK

func NewRetryFulfillItemsOK() *RetryFulfillItemsOK

NewRetryFulfillItemsOK creates a RetryFulfillItemsOK with default headers values

func (*RetryFulfillItemsOK) Error

func (o *RetryFulfillItemsOK) Error() string

func (*RetryFulfillItemsOK) GetPayload

func (*RetryFulfillItemsOK) ToJSONString

func (o *RetryFulfillItemsOK) ToJSONString() string

type RetryFulfillItemsParams

type RetryFulfillItemsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*TransactionID*/
	TransactionID string
	/*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
}

RetryFulfillItemsParams contains all the parameters to send to the API endpoint for the retry fulfill items operation typically these are written to a http.Request

func NewRetryFulfillItemsParams

func NewRetryFulfillItemsParams() *RetryFulfillItemsParams

NewRetryFulfillItemsParams creates a new RetryFulfillItemsParams object with the default values initialized.

func NewRetryFulfillItemsParamsWithContext

func NewRetryFulfillItemsParamsWithContext(ctx context.Context) *RetryFulfillItemsParams

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

func NewRetryFulfillItemsParamsWithHTTPClient

func NewRetryFulfillItemsParamsWithHTTPClient(client *http.Client) *RetryFulfillItemsParams

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

func NewRetryFulfillItemsParamsWithTimeout

func NewRetryFulfillItemsParamsWithTimeout(timeout time.Duration) *RetryFulfillItemsParams

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

func (*RetryFulfillItemsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the retry fulfill items params

func (*RetryFulfillItemsParams) SetContext

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

SetContext adds the context to the retry fulfill items params

func (*RetryFulfillItemsParams) SetFlightId

func (o *RetryFulfillItemsParams) SetFlightId(flightId string)

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

func (*RetryFulfillItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retry fulfill items params

func (*RetryFulfillItemsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the retry fulfill items params

func (*RetryFulfillItemsParams) SetNamespace

func (o *RetryFulfillItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the retry fulfill items params

func (*RetryFulfillItemsParams) SetTimeout

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

SetTimeout adds the timeout to the retry fulfill items params

func (*RetryFulfillItemsParams) SetTransactionID

func (o *RetryFulfillItemsParams) SetTransactionID(transactionID string)

SetTransactionID adds the transactionId to the retry fulfill items params

func (*RetryFulfillItemsParams) SetUserID

func (o *RetryFulfillItemsParams) SetUserID(userID string)

SetUserID adds the userId to the retry fulfill items params

func (*RetryFulfillItemsParams) WithContext

WithContext adds the context to the retry fulfill items params

func (*RetryFulfillItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the retry fulfill items params

func (*RetryFulfillItemsParams) WithNamespace

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

WithNamespace adds the namespace to the retry fulfill items params

func (*RetryFulfillItemsParams) WithTimeout

WithTimeout adds the timeout to the retry fulfill items params

func (*RetryFulfillItemsParams) WithTransactionID

func (o *RetryFulfillItemsParams) WithTransactionID(transactionID string) *RetryFulfillItemsParams

WithTransactionID adds the transactionID to the retry fulfill items params

func (*RetryFulfillItemsParams) WithUserID

WithUserID adds the userID to the retry fulfill items params

func (*RetryFulfillItemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetryFulfillItemsReader

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

RetryFulfillItemsReader is a Reader for the RetryFulfillItems structure.

func (*RetryFulfillItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetryFulfillItemsV3NotFound

type RetryFulfillItemsV3NotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

RetryFulfillItemsV3NotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38145</td><td>Fulfillment with transactionId [{transactionId}] does not exist</td></tr></table>

func NewRetryFulfillItemsV3NotFound

func NewRetryFulfillItemsV3NotFound() *RetryFulfillItemsV3NotFound

NewRetryFulfillItemsV3NotFound creates a RetryFulfillItemsV3NotFound with default headers values

func (*RetryFulfillItemsV3NotFound) Error

func (*RetryFulfillItemsV3NotFound) GetPayload

func (*RetryFulfillItemsV3NotFound) ToJSONString

func (o *RetryFulfillItemsV3NotFound) ToJSONString() string

type RetryFulfillItemsV3OK

type RetryFulfillItemsV3OK struct {
	Payload *platformclientmodels.FulfillmentV2Result
}

RetryFulfillItemsV3OK handles this case with default header values.

successful operation

func NewRetryFulfillItemsV3OK

func NewRetryFulfillItemsV3OK() *RetryFulfillItemsV3OK

NewRetryFulfillItemsV3OK creates a RetryFulfillItemsV3OK with default headers values

func (*RetryFulfillItemsV3OK) Error

func (o *RetryFulfillItemsV3OK) Error() string

func (*RetryFulfillItemsV3OK) GetPayload

func (*RetryFulfillItemsV3OK) ToJSONString

func (o *RetryFulfillItemsV3OK) ToJSONString() string

type RetryFulfillItemsV3Params

type RetryFulfillItemsV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*TransactionID*/
	TransactionID string
	/*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
}

RetryFulfillItemsV3Params contains all the parameters to send to the API endpoint for the retry fulfill items v3 operation typically these are written to a http.Request

func NewRetryFulfillItemsV3Params

func NewRetryFulfillItemsV3Params() *RetryFulfillItemsV3Params

NewRetryFulfillItemsV3Params creates a new RetryFulfillItemsV3Params object with the default values initialized.

func NewRetryFulfillItemsV3ParamsWithContext

func NewRetryFulfillItemsV3ParamsWithContext(ctx context.Context) *RetryFulfillItemsV3Params

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

func NewRetryFulfillItemsV3ParamsWithHTTPClient

func NewRetryFulfillItemsV3ParamsWithHTTPClient(client *http.Client) *RetryFulfillItemsV3Params

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

func NewRetryFulfillItemsV3ParamsWithTimeout

func NewRetryFulfillItemsV3ParamsWithTimeout(timeout time.Duration) *RetryFulfillItemsV3Params

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

func (*RetryFulfillItemsV3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetContext

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

SetContext adds the context to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetFlightId

func (o *RetryFulfillItemsV3Params) SetFlightId(flightId string)

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

func (*RetryFulfillItemsV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetNamespace

func (o *RetryFulfillItemsV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetTimeout

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

SetTimeout adds the timeout to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetTransactionID

func (o *RetryFulfillItemsV3Params) SetTransactionID(transactionID string)

SetTransactionID adds the transactionId to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetUserID

func (o *RetryFulfillItemsV3Params) SetUserID(userID string)

SetUserID adds the userId to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WithContext

WithContext adds the context to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WithNamespace

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

WithNamespace adds the namespace to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WithTimeout

WithTimeout adds the timeout to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WithTransactionID

func (o *RetryFulfillItemsV3Params) WithTransactionID(transactionID string) *RetryFulfillItemsV3Params

WithTransactionID adds the transactionID to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WithUserID

WithUserID adds the userID to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetryFulfillItemsV3Reader

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

RetryFulfillItemsV3Reader is a Reader for the RetryFulfillItemsV3 structure.

func (*RetryFulfillItemsV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeItemsConflict

type RevokeItemsConflict struct {
	Payload *platformclientmodels.RevokeFulfillmentV2Result
}

RevokeItemsConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr></table>

func NewRevokeItemsConflict

func NewRevokeItemsConflict() *RevokeItemsConflict

NewRevokeItemsConflict creates a RevokeItemsConflict with default headers values

func (*RevokeItemsConflict) Error

func (o *RevokeItemsConflict) Error() string

func (*RevokeItemsConflict) GetPayload

func (*RevokeItemsConflict) ToJSONString

func (o *RevokeItemsConflict) ToJSONString() string

type RevokeItemsNotFound

type RevokeItemsNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

RevokeItemsNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38145</td><td>Fulfillment with transactionId [{transactionId}] does not exist</td></tr></table>

func NewRevokeItemsNotFound

func NewRevokeItemsNotFound() *RevokeItemsNotFound

NewRevokeItemsNotFound creates a RevokeItemsNotFound with default headers values

func (*RevokeItemsNotFound) Error

func (o *RevokeItemsNotFound) Error() string

func (*RevokeItemsNotFound) GetPayload

func (*RevokeItemsNotFound) ToJSONString

func (o *RevokeItemsNotFound) ToJSONString() string

type RevokeItemsOK

type RevokeItemsOK struct {
	Payload *platformclientmodels.RevokeFulfillmentV2Result
}

RevokeItemsOK handles this case with default header values.

successful operation

func NewRevokeItemsOK

func NewRevokeItemsOK() *RevokeItemsOK

NewRevokeItemsOK creates a RevokeItemsOK with default headers values

func (*RevokeItemsOK) Error

func (o *RevokeItemsOK) Error() string

func (*RevokeItemsOK) GetPayload

func (*RevokeItemsOK) ToJSONString

func (o *RevokeItemsOK) ToJSONString() string

type RevokeItemsParams

type RevokeItemsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*TransactionID*/
	TransactionID string
	/*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
}

RevokeItemsParams contains all the parameters to send to the API endpoint for the revoke items operation typically these are written to a http.Request

func NewRevokeItemsParams

func NewRevokeItemsParams() *RevokeItemsParams

NewRevokeItemsParams creates a new RevokeItemsParams object with the default values initialized.

func NewRevokeItemsParamsWithContext

func NewRevokeItemsParamsWithContext(ctx context.Context) *RevokeItemsParams

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

func NewRevokeItemsParamsWithHTTPClient

func NewRevokeItemsParamsWithHTTPClient(client *http.Client) *RevokeItemsParams

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

func NewRevokeItemsParamsWithTimeout

func NewRevokeItemsParamsWithTimeout(timeout time.Duration) *RevokeItemsParams

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

func (*RevokeItemsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the revoke items params

func (*RevokeItemsParams) SetContext

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

SetContext adds the context to the revoke items params

func (*RevokeItemsParams) SetFlightId

func (o *RevokeItemsParams) SetFlightId(flightId string)

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

func (*RevokeItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke items params

func (*RevokeItemsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the revoke items params

func (*RevokeItemsParams) SetNamespace

func (o *RevokeItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke items params

func (*RevokeItemsParams) SetTimeout

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

SetTimeout adds the timeout to the revoke items params

func (*RevokeItemsParams) SetTransactionID

func (o *RevokeItemsParams) SetTransactionID(transactionID string)

SetTransactionID adds the transactionId to the revoke items params

func (*RevokeItemsParams) SetUserID

func (o *RevokeItemsParams) SetUserID(userID string)

SetUserID adds the userId to the revoke items params

func (*RevokeItemsParams) WithContext

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

WithContext adds the context to the revoke items params

func (*RevokeItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the revoke items params

func (*RevokeItemsParams) WithNamespace

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

WithNamespace adds the namespace to the revoke items params

func (*RevokeItemsParams) WithTimeout

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

WithTimeout adds the timeout to the revoke items params

func (*RevokeItemsParams) WithTransactionID

func (o *RevokeItemsParams) WithTransactionID(transactionID string) *RevokeItemsParams

WithTransactionID adds the transactionID to the revoke items params

func (*RevokeItemsParams) WithUserID

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

WithUserID adds the userID to the revoke items params

func (*RevokeItemsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RevokeItemsReader

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

RevokeItemsReader is a Reader for the RevokeItems structure.

func (*RevokeItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevokeItemsV3NotFound

type RevokeItemsV3NotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

RevokeItemsV3NotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38145</td><td>Fulfillment with transactionId [{transactionId}] does not exist</td></tr></table>

func NewRevokeItemsV3NotFound

func NewRevokeItemsV3NotFound() *RevokeItemsV3NotFound

NewRevokeItemsV3NotFound creates a RevokeItemsV3NotFound with default headers values

func (*RevokeItemsV3NotFound) Error

func (o *RevokeItemsV3NotFound) Error() string

func (*RevokeItemsV3NotFound) GetPayload

func (*RevokeItemsV3NotFound) ToJSONString

func (o *RevokeItemsV3NotFound) ToJSONString() string

type RevokeItemsV3OK

type RevokeItemsV3OK struct {
	Payload *platformclientmodels.RevokeFulfillmentV2Result
}

RevokeItemsV3OK handles this case with default header values.

successful operation

func NewRevokeItemsV3OK

func NewRevokeItemsV3OK() *RevokeItemsV3OK

NewRevokeItemsV3OK creates a RevokeItemsV3OK with default headers values

func (*RevokeItemsV3OK) Error

func (o *RevokeItemsV3OK) Error() string

func (*RevokeItemsV3OK) GetPayload

func (*RevokeItemsV3OK) ToJSONString

func (o *RevokeItemsV3OK) ToJSONString() string

type RevokeItemsV3Params

type RevokeItemsV3Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*TransactionID*/
	TransactionID string
	/*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
}

RevokeItemsV3Params contains all the parameters to send to the API endpoint for the revoke items v3 operation typically these are written to a http.Request

func NewRevokeItemsV3Params

func NewRevokeItemsV3Params() *RevokeItemsV3Params

NewRevokeItemsV3Params creates a new RevokeItemsV3Params object with the default values initialized.

func NewRevokeItemsV3ParamsWithContext

func NewRevokeItemsV3ParamsWithContext(ctx context.Context) *RevokeItemsV3Params

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

func NewRevokeItemsV3ParamsWithHTTPClient

func NewRevokeItemsV3ParamsWithHTTPClient(client *http.Client) *RevokeItemsV3Params

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

func NewRevokeItemsV3ParamsWithTimeout

func NewRevokeItemsV3ParamsWithTimeout(timeout time.Duration) *RevokeItemsV3Params

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

func (*RevokeItemsV3Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the revoke items v3 params

func (*RevokeItemsV3Params) SetContext

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

SetContext adds the context to the revoke items v3 params

func (*RevokeItemsV3Params) SetFlightId

func (o *RevokeItemsV3Params) SetFlightId(flightId string)

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

func (*RevokeItemsV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revoke items v3 params

func (*RevokeItemsV3Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the revoke items v3 params

func (*RevokeItemsV3Params) SetNamespace

func (o *RevokeItemsV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke items v3 params

func (*RevokeItemsV3Params) SetTimeout

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

SetTimeout adds the timeout to the revoke items v3 params

func (*RevokeItemsV3Params) SetTransactionID

func (o *RevokeItemsV3Params) SetTransactionID(transactionID string)

SetTransactionID adds the transactionId to the revoke items v3 params

func (*RevokeItemsV3Params) SetUserID

func (o *RevokeItemsV3Params) SetUserID(userID string)

SetUserID adds the userId to the revoke items v3 params

func (*RevokeItemsV3Params) WithContext

WithContext adds the context to the revoke items v3 params

func (*RevokeItemsV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the revoke items v3 params

func (*RevokeItemsV3Params) WithNamespace

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

WithNamespace adds the namespace to the revoke items v3 params

func (*RevokeItemsV3Params) WithTimeout

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

WithTimeout adds the timeout to the revoke items v3 params

func (*RevokeItemsV3Params) WithTransactionID

func (o *RevokeItemsV3Params) WithTransactionID(transactionID string) *RevokeItemsV3Params

WithTransactionID adds the transactionID to the revoke items v3 params

func (*RevokeItemsV3Params) WithUserID

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

WithUserID adds the userID to the revoke items v3 params

func (*RevokeItemsV3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RevokeItemsV3Reader

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

RevokeItemsV3Reader is a Reader for the RevokeItemsV3 structure.

func (*RevokeItemsV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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