fulfillment

package
v0.77.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: MIT Imports: 16 Imported by: 3 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	QueryFulfillmentHistoriesFAILConstant    = "FAIL"
	QueryFulfillmentHistoriesSUCCESSConstant = "SUCCESS"
)

Get the enum in QueryFulfillmentHistoriesParams

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

Get the enum in QueryFulfillmentsParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for fulfillment API

func (*Client) FulfillItem deprecated

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

FulfillItem fulfill item Fulfill item. Other detail info:

  • Returns : fulfillment result

func (*Client) FulfillItemShort added in v0.8.0

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

FulfillItemShort fulfill item Fulfill item. Other detail info:

  • Returns : fulfillment result

func (*Client) FulfillItems deprecated added in v0.72.0

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

FulfillItems 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) FulfillItemsShort added in v0.72.0

func (a *Client) FulfillItemsShort(params *FulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsOK, 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) FulfillItemsV3 deprecated added in v0.76.0

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

FulfillItemsV3 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) FulfillItemsV3Short added in v0.76.0

func (a *Client) FulfillItemsV3Short(params *FulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsV3OK, 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) FulfillRewards deprecated added in v0.10.0

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

FulfillRewards fulfill rewards without content

[SERVICE COMMUNICATION ONLY] Fulfill rewards.

Other detail info:

  • Returns : fulfillment result

func (*Client) FulfillRewardsShort added in v0.10.0

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

FulfillRewardsShort fulfill rewards without content

[SERVICE COMMUNICATION ONLY] Fulfill rewards.

Other detail info:

  • Returns : fulfillment result

func (*Client) FulfillRewardsV2 deprecated added in v0.52.0

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

FulfillRewardsV2 fulfill rewards

[SERVICE COMMUNICATION ONLY] Fulfill rewards.

Other detail info:

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

func (*Client) FulfillRewardsV2Short added in v0.52.0

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

FulfillRewardsV2Short fulfill rewards

[SERVICE COMMUNICATION ONLY] Fulfill rewards.

Other detail info:

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

func (*Client) PreCheckFulfillItem deprecated added in v0.60.0

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

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

  • Returns : list of fulfillment items

func (*Client) PreCheckFulfillItemShort added in v0.60.0

func (a *Client) PreCheckFulfillItemShort(params *PreCheckFulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckFulfillItemOK, 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) PublicRedeemCode deprecated

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

PublicRedeemCode 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) PublicRedeemCodeShort added in v0.8.0

func (a *Client) PublicRedeemCodeShort(params *PublicRedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRedeemCodeOK, 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) QueryFulfillmentHistories deprecated

func (a *Client) QueryFulfillmentHistories(params *QueryFulfillmentHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentHistoriesOK, error)

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

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

  • Returns : query fulfillment history

func (*Client) QueryFulfillmentHistoriesShort added in v0.8.0

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

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

  • Returns : query fulfillment history

func (*Client) QueryFulfillments deprecated added in v0.72.0

func (a *Client) QueryFulfillments(params *QueryFulfillmentsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentsOK, error)

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

QueryFulfillments 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) QueryFulfillmentsShort added in v0.72.0

func (a *Client) QueryFulfillmentsShort(params *QueryFulfillmentsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentsOK, 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) RedeemCode deprecated added in v0.7.0

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

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

  • Returns : fulfillment result

func (*Client) RedeemCodeShort added in v0.8.0

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

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

  • Returns : fulfillment result

func (*Client) RetryFulfillItems deprecated added in v0.74.0

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

RetryFulfillItems 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) RetryFulfillItemsShort added in v0.74.0

func (a *Client) RetryFulfillItemsShort(params *RetryFulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsOK, 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) RetryFulfillItemsV3 deprecated added in v0.76.0

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

RetryFulfillItemsV3 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) RetryFulfillItemsV3Short added in v0.76.0

func (a *Client) RetryFulfillItemsV3Short(params *RetryFulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsV3OK, 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) RevokeItems deprecated added in v0.72.0

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

RevokeItems 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) RevokeItemsShort added in v0.72.0

func (a *Client) RevokeItemsShort(params *RevokeItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsOK, 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) RevokeItemsV3 deprecated added in v0.76.0

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

RevokeItemsV3 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) RevokeItemsV3Short added in v0.76.0

func (a *Client) RevokeItemsV3Short(params *RevokeItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsV3OK, 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 {
	QueryFulfillmentHistories(params *QueryFulfillmentHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentHistoriesOK, error)
	QueryFulfillmentHistoriesShort(params *QueryFulfillmentHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentHistoriesOK, error)
	FulfillItem(params *FulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemOK, *FulfillItemBadRequest, *FulfillItemNotFound, *FulfillItemConflict, error)
	FulfillItemShort(params *FulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemOK, error)
	RedeemCode(params *RedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*RedeemCodeOK, *RedeemCodeBadRequest, *RedeemCodeNotFound, *RedeemCodeConflict, error)
	RedeemCodeShort(params *RedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*RedeemCodeOK, error)
	PreCheckFulfillItem(params *PreCheckFulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckFulfillItemOK, *PreCheckFulfillItemBadRequest, *PreCheckFulfillItemNotFound, error)
	PreCheckFulfillItemShort(params *PreCheckFulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckFulfillItemOK, error)
	FulfillRewards(params *FulfillRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsNoContent, *FulfillRewardsBadRequest, *FulfillRewardsNotFound, *FulfillRewardsConflict, error)
	FulfillRewardsShort(params *FulfillRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsNoContent, error)
	PublicRedeemCode(params *PublicRedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRedeemCodeOK, *PublicRedeemCodeBadRequest, *PublicRedeemCodeNotFound, *PublicRedeemCodeConflict, *PublicRedeemCodeTooManyRequests, error)
	PublicRedeemCodeShort(params *PublicRedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRedeemCodeOK, error)
	QueryFulfillments(params *QueryFulfillmentsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentsOK, error)
	QueryFulfillmentsShort(params *QueryFulfillmentsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentsOK, error)
	FulfillRewardsV2(params *FulfillRewardsV2Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsV2OK, *FulfillRewardsV2BadRequest, *FulfillRewardsV2NotFound, *FulfillRewardsV2Conflict, error)
	FulfillRewardsV2Short(params *FulfillRewardsV2Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsV2OK, error)
	FulfillItems(params *FulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsOK, *FulfillItemsBadRequest, *FulfillItemsNotFound, *FulfillItemsConflict, error)
	FulfillItemsShort(params *FulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsOK, error)
	RetryFulfillItems(params *RetryFulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsOK, *RetryFulfillItemsNotFound, *RetryFulfillItemsConflict, error)
	RetryFulfillItemsShort(params *RetryFulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsOK, error)
	RevokeItems(params *RevokeItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsOK, *RevokeItemsNotFound, *RevokeItemsConflict, error)
	RevokeItemsShort(params *RevokeItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsOK, error)
	FulfillItemsV3(params *FulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsV3OK, *FulfillItemsV3BadRequest, *FulfillItemsV3NotFound, error)
	FulfillItemsV3Short(params *FulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsV3OK, error)
	RetryFulfillItemsV3(params *RetryFulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsV3OK, *RetryFulfillItemsV3NotFound, error)
	RetryFulfillItemsV3Short(params *RetryFulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsV3OK, error)
	RevokeItemsV3(params *RevokeItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsV3OK, *RevokeItemsV3NotFound, error)
	RevokeItemsV3Short(params *RevokeItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsV3OK, 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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 added in v0.72.0

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 added in v0.72.0

func NewFulfillItemsBadRequest() *FulfillItemsBadRequest

NewFulfillItemsBadRequest creates a FulfillItemsBadRequest with default headers values

func (*FulfillItemsBadRequest) Error added in v0.72.0

func (o *FulfillItemsBadRequest) Error() string

func (*FulfillItemsBadRequest) GetPayload added in v0.72.0

func (*FulfillItemsBadRequest) ToJSONString added in v0.72.0

func (o *FulfillItemsBadRequest) ToJSONString() string

type FulfillItemsConflict added in v0.72.0

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 added in v0.72.0

func NewFulfillItemsConflict() *FulfillItemsConflict

NewFulfillItemsConflict creates a FulfillItemsConflict with default headers values

func (*FulfillItemsConflict) Error added in v0.72.0

func (o *FulfillItemsConflict) Error() string

func (*FulfillItemsConflict) GetPayload added in v0.72.0

func (*FulfillItemsConflict) ToJSONString added in v0.72.0

func (o *FulfillItemsConflict) ToJSONString() string

type FulfillItemsNotFound added in v0.72.0

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 added in v0.72.0

func NewFulfillItemsNotFound() *FulfillItemsNotFound

NewFulfillItemsNotFound creates a FulfillItemsNotFound with default headers values

func (*FulfillItemsNotFound) Error added in v0.72.0

func (o *FulfillItemsNotFound) Error() string

func (*FulfillItemsNotFound) GetPayload added in v0.72.0

func (*FulfillItemsNotFound) ToJSONString added in v0.72.0

func (o *FulfillItemsNotFound) ToJSONString() string

type FulfillItemsOK added in v0.72.0

type FulfillItemsOK struct {
	Payload *platformclientmodels.FulfillmentV2Result
}

FulfillItemsOK handles this case with default header values.

successful operation

func NewFulfillItemsOK added in v0.72.0

func NewFulfillItemsOK() *FulfillItemsOK

NewFulfillItemsOK creates a FulfillItemsOK with default headers values

func (*FulfillItemsOK) Error added in v0.72.0

func (o *FulfillItemsOK) Error() string

func (*FulfillItemsOK) GetPayload added in v0.72.0

func (*FulfillItemsOK) ToJSONString added in v0.72.0

func (o *FulfillItemsOK) ToJSONString() string

type FulfillItemsParams added in v0.72.0

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 added in v0.72.0

func NewFulfillItemsParams() *FulfillItemsParams

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

func NewFulfillItemsParamsWithContext added in v0.72.0

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 added in v0.72.0

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 added in v0.72.0

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 added in v0.72.0

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

SetAuthInfoWriter adds the authInfoWriter to the fulfill items params

func (*FulfillItemsParams) SetBody added in v0.72.0

SetBody adds the body to the fulfill items params

func (*FulfillItemsParams) SetContext added in v0.72.0

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

SetContext adds the context to the fulfill items params

func (*FulfillItemsParams) SetFlightId added in v0.72.0

func (o *FulfillItemsParams) SetFlightId(flightId string)

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

func (*FulfillItemsParams) SetHTTPClient added in v0.72.0

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

SetHTTPClient adds the HTTPClient to the fulfill items params

func (*FulfillItemsParams) SetHTTPClientTransport added in v0.72.0

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

SetHTTPClient adds the HTTPClient Transport to the fulfill items params

func (*FulfillItemsParams) SetNamespace added in v0.72.0

func (o *FulfillItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fulfill items params

func (*FulfillItemsParams) SetTimeout added in v0.72.0

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

SetTimeout adds the timeout to the fulfill items params

func (*FulfillItemsParams) SetTransactionID added in v0.72.0

func (o *FulfillItemsParams) SetTransactionID(transactionID string)

SetTransactionID adds the transactionId to the fulfill items params

func (*FulfillItemsParams) SetUserID added in v0.72.0

func (o *FulfillItemsParams) SetUserID(userID string)

SetUserID adds the userId to the fulfill items params

func (*FulfillItemsParams) WithBody added in v0.72.0

WithBody adds the body to the fulfill items params

func (*FulfillItemsParams) WithContext added in v0.72.0

WithContext adds the context to the fulfill items params

func (*FulfillItemsParams) WithHTTPClient added in v0.72.0

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

WithHTTPClient adds the HTTPClient to the fulfill items params

func (*FulfillItemsParams) WithNamespace added in v0.72.0

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

WithNamespace adds the namespace to the fulfill items params

func (*FulfillItemsParams) WithTimeout added in v0.72.0

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

WithTimeout adds the timeout to the fulfill items params

func (*FulfillItemsParams) WithTransactionID added in v0.72.0

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

WithTransactionID adds the transactionID to the fulfill items params

func (*FulfillItemsParams) WithUserID added in v0.72.0

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

WithUserID adds the userID to the fulfill items params

func (*FulfillItemsParams) WriteToRequest added in v0.72.0

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

WriteToRequest writes these params to a swagger request

type FulfillItemsReader added in v0.72.0

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

FulfillItemsReader is a Reader for the FulfillItems structure.

func (*FulfillItemsReader) ReadResponse added in v0.72.0

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

ReadResponse reads a server response into the received o.

type FulfillItemsV3BadRequest added in v0.76.0

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 added in v0.76.0

func NewFulfillItemsV3BadRequest() *FulfillItemsV3BadRequest

NewFulfillItemsV3BadRequest creates a FulfillItemsV3BadRequest with default headers values

func (*FulfillItemsV3BadRequest) Error added in v0.76.0

func (o *FulfillItemsV3BadRequest) Error() string

func (*FulfillItemsV3BadRequest) GetPayload added in v0.76.0

func (*FulfillItemsV3BadRequest) ToJSONString added in v0.76.0

func (o *FulfillItemsV3BadRequest) ToJSONString() string

type FulfillItemsV3NotFound added in v0.76.0

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 added in v0.76.0

func NewFulfillItemsV3NotFound() *FulfillItemsV3NotFound

NewFulfillItemsV3NotFound creates a FulfillItemsV3NotFound with default headers values

func (*FulfillItemsV3NotFound) Error added in v0.76.0

func (o *FulfillItemsV3NotFound) Error() string

func (*FulfillItemsV3NotFound) GetPayload added in v0.76.0

func (*FulfillItemsV3NotFound) ToJSONString added in v0.76.0

func (o *FulfillItemsV3NotFound) ToJSONString() string

type FulfillItemsV3OK added in v0.76.0

type FulfillItemsV3OK struct {
	Payload *platformclientmodels.FulfillmentV2Result
}

FulfillItemsV3OK handles this case with default header values.

successful operation

func NewFulfillItemsV3OK added in v0.76.0

func NewFulfillItemsV3OK() *FulfillItemsV3OK

NewFulfillItemsV3OK creates a FulfillItemsV3OK with default headers values

func (*FulfillItemsV3OK) Error added in v0.76.0

func (o *FulfillItemsV3OK) Error() string

func (*FulfillItemsV3OK) GetPayload added in v0.76.0

func (*FulfillItemsV3OK) ToJSONString added in v0.76.0

func (o *FulfillItemsV3OK) ToJSONString() string

type FulfillItemsV3Params added in v0.76.0

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 added in v0.76.0

func NewFulfillItemsV3Params() *FulfillItemsV3Params

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

func NewFulfillItemsV3ParamsWithContext added in v0.76.0

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 added in v0.76.0

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 added in v0.76.0

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 added in v0.76.0

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

SetAuthInfoWriter adds the authInfoWriter to the fulfill items v3 params

func (*FulfillItemsV3Params) SetBody added in v0.76.0

SetBody adds the body to the fulfill items v3 params

func (*FulfillItemsV3Params) SetContext added in v0.76.0

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

SetContext adds the context to the fulfill items v3 params

func (*FulfillItemsV3Params) SetFlightId added in v0.76.0

func (o *FulfillItemsV3Params) SetFlightId(flightId string)

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

func (*FulfillItemsV3Params) SetHTTPClient added in v0.76.0

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

SetHTTPClient adds the HTTPClient to the fulfill items v3 params

func (*FulfillItemsV3Params) SetHTTPClientTransport added in v0.76.0

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

SetHTTPClient adds the HTTPClient Transport to the fulfill items v3 params

func (*FulfillItemsV3Params) SetNamespace added in v0.76.0

func (o *FulfillItemsV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the fulfill items v3 params

func (*FulfillItemsV3Params) SetTimeout added in v0.76.0

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

SetTimeout adds the timeout to the fulfill items v3 params

func (*FulfillItemsV3Params) SetTransactionID added in v0.76.0

func (o *FulfillItemsV3Params) SetTransactionID(transactionID string)

SetTransactionID adds the transactionId to the fulfill items v3 params

func (*FulfillItemsV3Params) SetUserID added in v0.76.0

func (o *FulfillItemsV3Params) SetUserID(userID string)

SetUserID adds the userId to the fulfill items v3 params

func (*FulfillItemsV3Params) WithBody added in v0.76.0

WithBody adds the body to the fulfill items v3 params

func (*FulfillItemsV3Params) WithContext added in v0.76.0

WithContext adds the context to the fulfill items v3 params

func (*FulfillItemsV3Params) WithHTTPClient added in v0.76.0

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

WithHTTPClient adds the HTTPClient to the fulfill items v3 params

func (*FulfillItemsV3Params) WithNamespace added in v0.76.0

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

WithNamespace adds the namespace to the fulfill items v3 params

func (*FulfillItemsV3Params) WithTimeout added in v0.76.0

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

WithTimeout adds the timeout to the fulfill items v3 params

func (*FulfillItemsV3Params) WithTransactionID added in v0.76.0

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

WithTransactionID adds the transactionID to the fulfill items v3 params

func (*FulfillItemsV3Params) WithUserID added in v0.76.0

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

WithUserID adds the userID to the fulfill items v3 params

func (*FulfillItemsV3Params) WriteToRequest added in v0.76.0

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

WriteToRequest writes these params to a swagger request

type FulfillItemsV3Reader added in v0.76.0

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

FulfillItemsV3Reader is a Reader for the FulfillItemsV3 structure.

func (*FulfillItemsV3Reader) ReadResponse added in v0.76.0

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

ReadResponse reads a server response into the received o.

type FulfillRewardsBadRequest added in v0.10.0

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 added in v0.10.0

func NewFulfillRewardsBadRequest() *FulfillRewardsBadRequest

NewFulfillRewardsBadRequest creates a FulfillRewardsBadRequest with default headers values

func (*FulfillRewardsBadRequest) Error added in v0.10.0

func (o *FulfillRewardsBadRequest) Error() string

func (*FulfillRewardsBadRequest) GetPayload added in v0.10.0

func (*FulfillRewardsBadRequest) ToJSONString added in v0.25.0

func (o *FulfillRewardsBadRequest) ToJSONString() string

type FulfillRewardsConflict added in v0.10.0

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 added in v0.10.0

func NewFulfillRewardsConflict() *FulfillRewardsConflict

NewFulfillRewardsConflict creates a FulfillRewardsConflict with default headers values

func (*FulfillRewardsConflict) Error added in v0.10.0

func (o *FulfillRewardsConflict) Error() string

func (*FulfillRewardsConflict) GetPayload added in v0.10.0

func (*FulfillRewardsConflict) ToJSONString added in v0.25.0

func (o *FulfillRewardsConflict) ToJSONString() string

type FulfillRewardsNoContent added in v0.10.0

type FulfillRewardsNoContent struct {
}

FulfillRewardsNoContent handles this case with default header values.

fulfill successfully

func NewFulfillRewardsNoContent added in v0.10.0

func NewFulfillRewardsNoContent() *FulfillRewardsNoContent

NewFulfillRewardsNoContent creates a FulfillRewardsNoContent with default headers values

func (*FulfillRewardsNoContent) Error added in v0.10.0

func (o *FulfillRewardsNoContent) Error() string

type FulfillRewardsNotFound added in v0.10.0

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 added in v0.10.0

func NewFulfillRewardsNotFound() *FulfillRewardsNotFound

NewFulfillRewardsNotFound creates a FulfillRewardsNotFound with default headers values

func (*FulfillRewardsNotFound) Error added in v0.10.0

func (o *FulfillRewardsNotFound) Error() string

func (*FulfillRewardsNotFound) GetPayload added in v0.10.0

func (*FulfillRewardsNotFound) ToJSONString added in v0.25.0

func (o *FulfillRewardsNotFound) ToJSONString() string

type FulfillRewardsParams added in v0.10.0

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 added in v0.10.0

func NewFulfillRewardsParams() *FulfillRewardsParams

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

func NewFulfillRewardsParamsWithContext added in v0.10.0

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 added in v0.10.0

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 added in v0.10.0

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 added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the fulfill rewards params

func (*FulfillRewardsParams) SetBody added in v0.10.0

SetBody adds the body to the fulfill rewards params

func (*FulfillRewardsParams) SetContext added in v0.10.0

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

SetContext adds the context to the fulfill rewards params

func (*FulfillRewardsParams) SetFlightId added in v0.63.0

func (o *FulfillRewardsParams) SetFlightId(flightId string)

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

func (*FulfillRewardsParams) SetHTTPClient added in v0.10.0

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

SetHTTPClient adds the HTTPClient to the fulfill rewards params

func (*FulfillRewardsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the fulfill rewards params

func (*FulfillRewardsParams) SetNamespace added in v0.10.0

func (o *FulfillRewardsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fulfill rewards params

func (*FulfillRewardsParams) SetTimeout added in v0.10.0

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

SetTimeout adds the timeout to the fulfill rewards params

func (*FulfillRewardsParams) SetUserID added in v0.10.0

func (o *FulfillRewardsParams) SetUserID(userID string)

SetUserID adds the userId to the fulfill rewards params

func (*FulfillRewardsParams) WithBody added in v0.10.0

WithBody adds the body to the fulfill rewards params

func (*FulfillRewardsParams) WithContext added in v0.10.0

WithContext adds the context to the fulfill rewards params

func (*FulfillRewardsParams) WithHTTPClient added in v0.10.0

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

WithHTTPClient adds the HTTPClient to the fulfill rewards params

func (*FulfillRewardsParams) WithNamespace added in v0.10.0

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

WithNamespace adds the namespace to the fulfill rewards params

func (*FulfillRewardsParams) WithTimeout added in v0.10.0

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

WithTimeout adds the timeout to the fulfill rewards params

func (*FulfillRewardsParams) WithUserID added in v0.10.0

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

WithUserID adds the userID to the fulfill rewards params

func (*FulfillRewardsParams) WriteToRequest added in v0.10.0

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

WriteToRequest writes these params to a swagger request

type FulfillRewardsReader added in v0.10.0

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

FulfillRewardsReader is a Reader for the FulfillRewards structure.

func (*FulfillRewardsReader) ReadResponse added in v0.10.0

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

ReadResponse reads a server response into the received o.

type FulfillRewardsV2BadRequest added in v0.52.0

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 added in v0.52.0

func NewFulfillRewardsV2BadRequest() *FulfillRewardsV2BadRequest

NewFulfillRewardsV2BadRequest creates a FulfillRewardsV2BadRequest with default headers values

func (*FulfillRewardsV2BadRequest) Error added in v0.52.0

func (*FulfillRewardsV2BadRequest) GetPayload added in v0.52.0

func (*FulfillRewardsV2BadRequest) ToJSONString added in v0.52.0

func (o *FulfillRewardsV2BadRequest) ToJSONString() string

type FulfillRewardsV2Conflict added in v0.52.0

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 added in v0.52.0

func NewFulfillRewardsV2Conflict() *FulfillRewardsV2Conflict

NewFulfillRewardsV2Conflict creates a FulfillRewardsV2Conflict with default headers values

func (*FulfillRewardsV2Conflict) Error added in v0.52.0

func (o *FulfillRewardsV2Conflict) Error() string

func (*FulfillRewardsV2Conflict) GetPayload added in v0.52.0

func (*FulfillRewardsV2Conflict) ToJSONString added in v0.52.0

func (o *FulfillRewardsV2Conflict) ToJSONString() string

type FulfillRewardsV2NotFound added in v0.52.0

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 added in v0.52.0

func NewFulfillRewardsV2NotFound() *FulfillRewardsV2NotFound

NewFulfillRewardsV2NotFound creates a FulfillRewardsV2NotFound with default headers values

func (*FulfillRewardsV2NotFound) Error added in v0.52.0

func (o *FulfillRewardsV2NotFound) Error() string

func (*FulfillRewardsV2NotFound) GetPayload added in v0.52.0

func (*FulfillRewardsV2NotFound) ToJSONString added in v0.52.0

func (o *FulfillRewardsV2NotFound) ToJSONString() string

type FulfillRewardsV2OK added in v0.52.0

type FulfillRewardsV2OK struct {
	Payload *platformclientmodels.FulfillmentResult
}

FulfillRewardsV2OK handles this case with default header values.

successful operation

func NewFulfillRewardsV2OK added in v0.52.0

func NewFulfillRewardsV2OK() *FulfillRewardsV2OK

NewFulfillRewardsV2OK creates a FulfillRewardsV2OK with default headers values

func (*FulfillRewardsV2OK) Error added in v0.52.0

func (o *FulfillRewardsV2OK) Error() string

func (*FulfillRewardsV2OK) GetPayload added in v0.52.0

func (*FulfillRewardsV2OK) ToJSONString added in v0.52.0

func (o *FulfillRewardsV2OK) ToJSONString() string

type FulfillRewardsV2Params added in v0.52.0

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 added in v0.52.0

func NewFulfillRewardsV2Params() *FulfillRewardsV2Params

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

func NewFulfillRewardsV2ParamsWithContext added in v0.52.0

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 added in v0.52.0

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 added in v0.52.0

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 added in v0.52.0

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

SetAuthInfoWriter adds the authInfoWriter to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetBody added in v0.52.0

SetBody adds the body to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetContext added in v0.52.0

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

SetContext adds the context to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetFlightId added in v0.63.0

func (o *FulfillRewardsV2Params) SetFlightId(flightId string)

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

func (*FulfillRewardsV2Params) SetHTTPClient added in v0.52.0

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

SetHTTPClient adds the HTTPClient to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetHTTPClientTransport added in v0.52.0

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

SetHTTPClient adds the HTTPClient Transport to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetNamespace added in v0.52.0

func (o *FulfillRewardsV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetTimeout added in v0.52.0

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

SetTimeout adds the timeout to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) SetUserID added in v0.52.0

func (o *FulfillRewardsV2Params) SetUserID(userID string)

SetUserID adds the userId to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WithBody added in v0.52.0

WithBody adds the body to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WithContext added in v0.52.0

WithContext adds the context to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WithHTTPClient added in v0.52.0

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

WithHTTPClient adds the HTTPClient to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WithNamespace added in v0.52.0

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

WithNamespace adds the namespace to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WithTimeout added in v0.52.0

WithTimeout adds the timeout to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WithUserID added in v0.52.0

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

WithUserID adds the userID to the fulfill rewards v2 params

func (*FulfillRewardsV2Params) WriteToRequest added in v0.52.0

WriteToRequest writes these params to a swagger request

type FulfillRewardsV2Reader added in v0.52.0

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

FulfillRewardsV2Reader is a Reader for the FulfillRewardsV2 structure.

func (*FulfillRewardsV2Reader) ReadResponse added in v0.52.0

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

ReadResponse reads a server response into the received o.

type PreCheckFulfillItemBadRequest added in v0.60.0

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 added in v0.60.0

func NewPreCheckFulfillItemBadRequest() *PreCheckFulfillItemBadRequest

NewPreCheckFulfillItemBadRequest creates a PreCheckFulfillItemBadRequest with default headers values

func (*PreCheckFulfillItemBadRequest) Error added in v0.60.0

func (*PreCheckFulfillItemBadRequest) GetPayload added in v0.60.0

func (*PreCheckFulfillItemBadRequest) ToJSONString added in v0.60.0

func (o *PreCheckFulfillItemBadRequest) ToJSONString() string

type PreCheckFulfillItemNotFound added in v0.60.0

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 added in v0.60.0

func NewPreCheckFulfillItemNotFound() *PreCheckFulfillItemNotFound

NewPreCheckFulfillItemNotFound creates a PreCheckFulfillItemNotFound with default headers values

func (*PreCheckFulfillItemNotFound) Error added in v0.60.0

func (*PreCheckFulfillItemNotFound) GetPayload added in v0.60.0

func (*PreCheckFulfillItemNotFound) ToJSONString added in v0.60.0

func (o *PreCheckFulfillItemNotFound) ToJSONString() string

type PreCheckFulfillItemOK added in v0.60.0

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

PreCheckFulfillItemOK handles this case with default header values.

Successful retrieval

func NewPreCheckFulfillItemOK added in v0.60.0

func NewPreCheckFulfillItemOK() *PreCheckFulfillItemOK

NewPreCheckFulfillItemOK creates a PreCheckFulfillItemOK with default headers values

func (*PreCheckFulfillItemOK) Error added in v0.60.0

func (o *PreCheckFulfillItemOK) Error() string

func (*PreCheckFulfillItemOK) GetPayload added in v0.60.0

func (*PreCheckFulfillItemOK) ToJSONString added in v0.60.0

func (o *PreCheckFulfillItemOK) ToJSONString() string

type PreCheckFulfillItemParams added in v0.60.0

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 added in v0.60.0

func NewPreCheckFulfillItemParams() *PreCheckFulfillItemParams

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

func NewPreCheckFulfillItemParamsWithContext added in v0.60.0

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 added in v0.60.0

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 added in v0.60.0

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 added in v0.60.0

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

SetAuthInfoWriter adds the authInfoWriter to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetBody added in v0.60.0

SetBody adds the body to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetContext added in v0.60.0

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

SetContext adds the context to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetFlightId added in v0.63.0

func (o *PreCheckFulfillItemParams) SetFlightId(flightId string)

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

func (*PreCheckFulfillItemParams) SetHTTPClient added in v0.60.0

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

SetHTTPClient adds the HTTPClient to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetHTTPClientTransport added in v0.60.0

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

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

func (*PreCheckFulfillItemParams) SetNamespace added in v0.60.0

func (o *PreCheckFulfillItemParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetTimeout added in v0.60.0

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

SetTimeout adds the timeout to the pre check fulfill item params

func (*PreCheckFulfillItemParams) SetUserID added in v0.60.0

func (o *PreCheckFulfillItemParams) SetUserID(userID string)

SetUserID adds the userId to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WithBody added in v0.60.0

WithBody adds the body to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WithContext added in v0.60.0

WithContext adds the context to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WithHTTPClient added in v0.60.0

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

WithHTTPClient adds the HTTPClient to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WithNamespace added in v0.60.0

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

WithNamespace adds the namespace to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WithTimeout added in v0.60.0

WithTimeout adds the timeout to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WithUserID added in v0.60.0

WithUserID adds the userID to the pre check fulfill item params

func (*PreCheckFulfillItemParams) WriteToRequest added in v0.60.0

WriteToRequest writes these params to a swagger request

type PreCheckFulfillItemReader added in v0.60.0

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

PreCheckFulfillItemReader is a Reader for the PreCheckFulfillItem structure.

func (*PreCheckFulfillItemReader) ReadResponse added in v0.60.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.25.0

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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 added in v0.60.0

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 added in v0.60.0

func NewPublicRedeemCodeTooManyRequests() *PublicRedeemCodeTooManyRequests

NewPublicRedeemCodeTooManyRequests creates a PublicRedeemCodeTooManyRequests with default headers values

func (*PublicRedeemCodeTooManyRequests) Error added in v0.60.0

func (*PublicRedeemCodeTooManyRequests) GetPayload added in v0.60.0

func (*PublicRedeemCodeTooManyRequests) ToJSONString added in v0.60.0

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 added in v0.25.0

func (o *QueryFulfillmentHistoriesOK) ToJSONString() string

type QueryFulfillmentHistoriesParams

type QueryFulfillmentHistoriesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace*/
	Namespace string
	/*Limit*/
	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 added in v0.17.0

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 added in v0.63.0

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 added in v0.19.0

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 added in v0.72.0

type QueryFulfillmentsOK struct {
	Payload *platformclientmodels.FulfillmentPagingSlicedResult
}

QueryFulfillmentsOK handles this case with default header values.

successful operation

func NewQueryFulfillmentsOK added in v0.72.0

func NewQueryFulfillmentsOK() *QueryFulfillmentsOK

NewQueryFulfillmentsOK creates a QueryFulfillmentsOK with default headers values

func (*QueryFulfillmentsOK) Error added in v0.72.0

func (o *QueryFulfillmentsOK) Error() string

func (*QueryFulfillmentsOK) GetPayload added in v0.72.0

func (*QueryFulfillmentsOK) ToJSONString added in v0.72.0

func (o *QueryFulfillmentsOK) ToJSONString() string

type QueryFulfillmentsParams added in v0.72.0

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 *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 added in v0.72.0

func NewQueryFulfillmentsParams() *QueryFulfillmentsParams

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

func NewQueryFulfillmentsParamsWithContext added in v0.72.0

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 added in v0.72.0

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 added in v0.72.0

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 added in v0.72.0

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

SetAuthInfoWriter adds the authInfoWriter to the query fulfillments params

func (*QueryFulfillmentsParams) SetContext added in v0.72.0

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

SetContext adds the context to the query fulfillments params

func (*QueryFulfillmentsParams) SetEndTime added in v0.72.0

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

SetEndTime adds the endTime to the query fulfillments params

func (*QueryFulfillmentsParams) SetFlightId added in v0.72.0

func (o *QueryFulfillmentsParams) SetFlightId(flightId string)

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

func (*QueryFulfillmentsParams) SetHTTPClient added in v0.72.0

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

SetHTTPClient adds the HTTPClient to the query fulfillments params

func (*QueryFulfillmentsParams) SetHTTPClientTransport added in v0.72.0

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

SetHTTPClient adds the HTTPClient Transport to the query fulfillments params

func (*QueryFulfillmentsParams) SetLimit added in v0.72.0

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

SetLimit adds the limit to the query fulfillments params

func (*QueryFulfillmentsParams) SetNamespace added in v0.72.0

func (o *QueryFulfillmentsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the query fulfillments params

func (*QueryFulfillmentsParams) SetOffset added in v0.72.0

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

SetOffset adds the offset to the query fulfillments params

func (*QueryFulfillmentsParams) SetStartTime added in v0.72.0

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

SetStartTime adds the startTime to the query fulfillments params

func (*QueryFulfillmentsParams) SetState added in v0.72.0

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

SetState adds the state to the query fulfillments params

func (*QueryFulfillmentsParams) SetTimeout added in v0.72.0

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

SetTimeout adds the timeout to the query fulfillments params

func (*QueryFulfillmentsParams) SetTransactionID added in v0.72.0

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

SetTransactionID adds the transactionId to the query fulfillments params

func (*QueryFulfillmentsParams) SetUserID added in v0.72.0

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

SetUserID adds the userId to the query fulfillments params

func (*QueryFulfillmentsParams) WithContext added in v0.72.0

WithContext adds the context to the query fulfillments params

func (*QueryFulfillmentsParams) WithEndTime added in v0.72.0

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

WithEndTime adds the endTime to the query fulfillments params

func (*QueryFulfillmentsParams) WithHTTPClient added in v0.72.0

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

WithHTTPClient adds the HTTPClient to the query fulfillments params

func (*QueryFulfillmentsParams) WithLimit added in v0.72.0

WithLimit adds the limit to the query fulfillments params

func (*QueryFulfillmentsParams) WithNamespace added in v0.72.0

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

WithNamespace adds the namespace to the query fulfillments params

func (*QueryFulfillmentsParams) WithOffset added in v0.72.0

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

WithOffset adds the offset to the query fulfillments params

func (*QueryFulfillmentsParams) WithStartTime added in v0.72.0

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

WithStartTime adds the startTime to the query fulfillments params

func (*QueryFulfillmentsParams) WithState added in v0.72.0

WithState adds the state to the query fulfillments params

func (*QueryFulfillmentsParams) WithTimeout added in v0.72.0

WithTimeout adds the timeout to the query fulfillments params

func (*QueryFulfillmentsParams) WithTransactionID added in v0.72.0

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

WithTransactionID adds the transactionID to the query fulfillments params

func (*QueryFulfillmentsParams) WithUserID added in v0.72.0

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

WithUserID adds the userID to the query fulfillments params

func (*QueryFulfillmentsParams) WriteToRequest added in v0.72.0

WriteToRequest writes these params to a swagger request

type QueryFulfillmentsReader added in v0.72.0

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

QueryFulfillmentsReader is a Reader for the QueryFulfillments structure.

func (*QueryFulfillmentsReader) ReadResponse added in v0.72.0

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

ReadResponse reads a server response into the received o.

type RedeemCodeBadRequest added in v0.7.0

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 added in v0.7.0

func NewRedeemCodeBadRequest() *RedeemCodeBadRequest

NewRedeemCodeBadRequest creates a RedeemCodeBadRequest with default headers values

func (*RedeemCodeBadRequest) Error added in v0.7.0

func (o *RedeemCodeBadRequest) Error() string

func (*RedeemCodeBadRequest) GetPayload added in v0.7.0

func (*RedeemCodeBadRequest) ToJSONString added in v0.25.0

func (o *RedeemCodeBadRequest) ToJSONString() string

type RedeemCodeConflict added in v0.7.0

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 added in v0.7.0

func NewRedeemCodeConflict() *RedeemCodeConflict

NewRedeemCodeConflict creates a RedeemCodeConflict with default headers values

func (*RedeemCodeConflict) Error added in v0.7.0

func (o *RedeemCodeConflict) Error() string

func (*RedeemCodeConflict) GetPayload added in v0.7.0

func (*RedeemCodeConflict) ToJSONString added in v0.25.0

func (o *RedeemCodeConflict) ToJSONString() string

type RedeemCodeNotFound added in v0.7.0

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 added in v0.7.0

func NewRedeemCodeNotFound() *RedeemCodeNotFound

NewRedeemCodeNotFound creates a RedeemCodeNotFound with default headers values

func (*RedeemCodeNotFound) Error added in v0.7.0

func (o *RedeemCodeNotFound) Error() string

func (*RedeemCodeNotFound) GetPayload added in v0.7.0

func (*RedeemCodeNotFound) ToJSONString added in v0.25.0

func (o *RedeemCodeNotFound) ToJSONString() string

type RedeemCodeOK added in v0.7.0

type RedeemCodeOK struct {
	Payload *platformclientmodels.FulfillmentResult
}

RedeemCodeOK handles this case with default header values.

successful operation

func NewRedeemCodeOK added in v0.7.0

func NewRedeemCodeOK() *RedeemCodeOK

NewRedeemCodeOK creates a RedeemCodeOK with default headers values

func (*RedeemCodeOK) Error added in v0.7.0

func (o *RedeemCodeOK) Error() string

func (*RedeemCodeOK) GetPayload added in v0.7.0

func (*RedeemCodeOK) ToJSONString added in v0.25.0

func (o *RedeemCodeOK) ToJSONString() string

type RedeemCodeParams added in v0.7.0

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 added in v0.7.0

func NewRedeemCodeParams() *RedeemCodeParams

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

func NewRedeemCodeParamsWithContext added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the redeem code params

func (*RedeemCodeParams) SetBody added in v0.7.0

SetBody adds the body to the redeem code params

func (*RedeemCodeParams) SetContext added in v0.7.0

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

SetContext adds the context to the redeem code params

func (*RedeemCodeParams) SetFlightId added in v0.63.0

func (o *RedeemCodeParams) SetFlightId(flightId string)

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

func (*RedeemCodeParams) SetHTTPClient added in v0.7.0

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

SetHTTPClient adds the HTTPClient to the redeem code params

func (*RedeemCodeParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the redeem code params

func (*RedeemCodeParams) SetNamespace added in v0.7.0

func (o *RedeemCodeParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the redeem code params

func (*RedeemCodeParams) SetTimeout added in v0.7.0

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

SetTimeout adds the timeout to the redeem code params

func (*RedeemCodeParams) SetUserID added in v0.7.0

func (o *RedeemCodeParams) SetUserID(userID string)

SetUserID adds the userId to the redeem code params

func (*RedeemCodeParams) WithBody added in v0.7.0

WithBody adds the body to the redeem code params

func (*RedeemCodeParams) WithContext added in v0.7.0

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

WithContext adds the context to the redeem code params

func (*RedeemCodeParams) WithHTTPClient added in v0.7.0

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

WithHTTPClient adds the HTTPClient to the redeem code params

func (*RedeemCodeParams) WithNamespace added in v0.7.0

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

WithNamespace adds the namespace to the redeem code params

func (*RedeemCodeParams) WithTimeout added in v0.7.0

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

WithTimeout adds the timeout to the redeem code params

func (*RedeemCodeParams) WithUserID added in v0.7.0

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

WithUserID adds the userID to the redeem code params

func (*RedeemCodeParams) WriteToRequest added in v0.7.0

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

WriteToRequest writes these params to a swagger request

type RedeemCodeReader added in v0.7.0

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

RedeemCodeReader is a Reader for the RedeemCode structure.

func (*RedeemCodeReader) ReadResponse added in v0.7.0

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

ReadResponse reads a server response into the received o.

type RetryFulfillItemsConflict added in v0.74.0

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 added in v0.74.0

func NewRetryFulfillItemsConflict() *RetryFulfillItemsConflict

NewRetryFulfillItemsConflict creates a RetryFulfillItemsConflict with default headers values

func (*RetryFulfillItemsConflict) Error added in v0.74.0

func (o *RetryFulfillItemsConflict) Error() string

func (*RetryFulfillItemsConflict) GetPayload added in v0.74.0

func (*RetryFulfillItemsConflict) ToJSONString added in v0.74.0

func (o *RetryFulfillItemsConflict) ToJSONString() string

type RetryFulfillItemsNotFound added in v0.74.0

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 added in v0.74.0

func NewRetryFulfillItemsNotFound() *RetryFulfillItemsNotFound

NewRetryFulfillItemsNotFound creates a RetryFulfillItemsNotFound with default headers values

func (*RetryFulfillItemsNotFound) Error added in v0.74.0

func (o *RetryFulfillItemsNotFound) Error() string

func (*RetryFulfillItemsNotFound) GetPayload added in v0.74.0

func (*RetryFulfillItemsNotFound) ToJSONString added in v0.74.0

func (o *RetryFulfillItemsNotFound) ToJSONString() string

type RetryFulfillItemsOK added in v0.74.0

type RetryFulfillItemsOK struct {
	Payload *platformclientmodels.FulfillmentV2Result
}

RetryFulfillItemsOK handles this case with default header values.

successful operation

func NewRetryFulfillItemsOK added in v0.74.0

func NewRetryFulfillItemsOK() *RetryFulfillItemsOK

NewRetryFulfillItemsOK creates a RetryFulfillItemsOK with default headers values

func (*RetryFulfillItemsOK) Error added in v0.74.0

func (o *RetryFulfillItemsOK) Error() string

func (*RetryFulfillItemsOK) GetPayload added in v0.74.0

func (*RetryFulfillItemsOK) ToJSONString added in v0.74.0

func (o *RetryFulfillItemsOK) ToJSONString() string

type RetryFulfillItemsParams added in v0.74.0

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 added in v0.74.0

func NewRetryFulfillItemsParams() *RetryFulfillItemsParams

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

func NewRetryFulfillItemsParamsWithContext added in v0.74.0

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 added in v0.74.0

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 added in v0.74.0

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 added in v0.74.0

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

SetAuthInfoWriter adds the authInfoWriter to the retry fulfill items params

func (*RetryFulfillItemsParams) SetContext added in v0.74.0

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

SetContext adds the context to the retry fulfill items params

func (*RetryFulfillItemsParams) SetFlightId added in v0.74.0

func (o *RetryFulfillItemsParams) SetFlightId(flightId string)

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

func (*RetryFulfillItemsParams) SetHTTPClient added in v0.74.0

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

SetHTTPClient adds the HTTPClient to the retry fulfill items params

func (*RetryFulfillItemsParams) SetHTTPClientTransport added in v0.74.0

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

SetHTTPClient adds the HTTPClient Transport to the retry fulfill items params

func (*RetryFulfillItemsParams) SetNamespace added in v0.74.0

func (o *RetryFulfillItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the retry fulfill items params

func (*RetryFulfillItemsParams) SetTimeout added in v0.74.0

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

SetTimeout adds the timeout to the retry fulfill items params

func (*RetryFulfillItemsParams) SetTransactionID added in v0.74.0

func (o *RetryFulfillItemsParams) SetTransactionID(transactionID string)

SetTransactionID adds the transactionId to the retry fulfill items params

func (*RetryFulfillItemsParams) SetUserID added in v0.74.0

func (o *RetryFulfillItemsParams) SetUserID(userID string)

SetUserID adds the userId to the retry fulfill items params

func (*RetryFulfillItemsParams) WithContext added in v0.74.0

WithContext adds the context to the retry fulfill items params

func (*RetryFulfillItemsParams) WithHTTPClient added in v0.74.0

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

WithHTTPClient adds the HTTPClient to the retry fulfill items params

func (*RetryFulfillItemsParams) WithNamespace added in v0.74.0

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

WithNamespace adds the namespace to the retry fulfill items params

func (*RetryFulfillItemsParams) WithTimeout added in v0.74.0

WithTimeout adds the timeout to the retry fulfill items params

func (*RetryFulfillItemsParams) WithTransactionID added in v0.74.0

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

WithTransactionID adds the transactionID to the retry fulfill items params

func (*RetryFulfillItemsParams) WithUserID added in v0.74.0

WithUserID adds the userID to the retry fulfill items params

func (*RetryFulfillItemsParams) WriteToRequest added in v0.74.0

WriteToRequest writes these params to a swagger request

type RetryFulfillItemsReader added in v0.74.0

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

RetryFulfillItemsReader is a Reader for the RetryFulfillItems structure.

func (*RetryFulfillItemsReader) ReadResponse added in v0.74.0

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

ReadResponse reads a server response into the received o.

type RetryFulfillItemsV3NotFound added in v0.76.0

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 added in v0.76.0

func NewRetryFulfillItemsV3NotFound() *RetryFulfillItemsV3NotFound

NewRetryFulfillItemsV3NotFound creates a RetryFulfillItemsV3NotFound with default headers values

func (*RetryFulfillItemsV3NotFound) Error added in v0.76.0

func (*RetryFulfillItemsV3NotFound) GetPayload added in v0.76.0

func (*RetryFulfillItemsV3NotFound) ToJSONString added in v0.76.0

func (o *RetryFulfillItemsV3NotFound) ToJSONString() string

type RetryFulfillItemsV3OK added in v0.76.0

type RetryFulfillItemsV3OK struct {
	Payload *platformclientmodels.FulfillmentV2Result
}

RetryFulfillItemsV3OK handles this case with default header values.

successful operation

func NewRetryFulfillItemsV3OK added in v0.76.0

func NewRetryFulfillItemsV3OK() *RetryFulfillItemsV3OK

NewRetryFulfillItemsV3OK creates a RetryFulfillItemsV3OK with default headers values

func (*RetryFulfillItemsV3OK) Error added in v0.76.0

func (o *RetryFulfillItemsV3OK) Error() string

func (*RetryFulfillItemsV3OK) GetPayload added in v0.76.0

func (*RetryFulfillItemsV3OK) ToJSONString added in v0.76.0

func (o *RetryFulfillItemsV3OK) ToJSONString() string

type RetryFulfillItemsV3Params added in v0.76.0

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 added in v0.76.0

func NewRetryFulfillItemsV3Params() *RetryFulfillItemsV3Params

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

func NewRetryFulfillItemsV3ParamsWithContext added in v0.76.0

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 added in v0.76.0

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 added in v0.76.0

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 added in v0.76.0

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

SetAuthInfoWriter adds the authInfoWriter to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetContext added in v0.76.0

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

SetContext adds the context to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetFlightId added in v0.76.0

func (o *RetryFulfillItemsV3Params) SetFlightId(flightId string)

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

func (*RetryFulfillItemsV3Params) SetHTTPClient added in v0.76.0

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

SetHTTPClient adds the HTTPClient to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetHTTPClientTransport added in v0.76.0

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

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

func (*RetryFulfillItemsV3Params) SetNamespace added in v0.76.0

func (o *RetryFulfillItemsV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetTimeout added in v0.76.0

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

SetTimeout adds the timeout to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetTransactionID added in v0.76.0

func (o *RetryFulfillItemsV3Params) SetTransactionID(transactionID string)

SetTransactionID adds the transactionId to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) SetUserID added in v0.76.0

func (o *RetryFulfillItemsV3Params) SetUserID(userID string)

SetUserID adds the userId to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WithContext added in v0.76.0

WithContext adds the context to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WithHTTPClient added in v0.76.0

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

WithHTTPClient adds the HTTPClient to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WithNamespace added in v0.76.0

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

WithNamespace adds the namespace to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WithTimeout added in v0.76.0

WithTimeout adds the timeout to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WithTransactionID added in v0.76.0

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

WithTransactionID adds the transactionID to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WithUserID added in v0.76.0

WithUserID adds the userID to the retry fulfill items v3 params

func (*RetryFulfillItemsV3Params) WriteToRequest added in v0.76.0

WriteToRequest writes these params to a swagger request

type RetryFulfillItemsV3Reader added in v0.76.0

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

RetryFulfillItemsV3Reader is a Reader for the RetryFulfillItemsV3 structure.

func (*RetryFulfillItemsV3Reader) ReadResponse added in v0.76.0

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

ReadResponse reads a server response into the received o.

type RevokeItemsConflict added in v0.72.0

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 added in v0.72.0

func NewRevokeItemsConflict() *RevokeItemsConflict

NewRevokeItemsConflict creates a RevokeItemsConflict with default headers values

func (*RevokeItemsConflict) Error added in v0.72.0

func (o *RevokeItemsConflict) Error() string

func (*RevokeItemsConflict) GetPayload added in v0.72.0

func (*RevokeItemsConflict) ToJSONString added in v0.72.0

func (o *RevokeItemsConflict) ToJSONString() string

type RevokeItemsNotFound added in v0.72.0

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 added in v0.72.0

func NewRevokeItemsNotFound() *RevokeItemsNotFound

NewRevokeItemsNotFound creates a RevokeItemsNotFound with default headers values

func (*RevokeItemsNotFound) Error added in v0.72.0

func (o *RevokeItemsNotFound) Error() string

func (*RevokeItemsNotFound) GetPayload added in v0.72.0

func (*RevokeItemsNotFound) ToJSONString added in v0.72.0

func (o *RevokeItemsNotFound) ToJSONString() string

type RevokeItemsOK added in v0.72.0

type RevokeItemsOK struct {
	Payload *platformclientmodels.RevokeFulfillmentV2Result
}

RevokeItemsOK handles this case with default header values.

successful operation

func NewRevokeItemsOK added in v0.72.0

func NewRevokeItemsOK() *RevokeItemsOK

NewRevokeItemsOK creates a RevokeItemsOK with default headers values

func (*RevokeItemsOK) Error added in v0.72.0

func (o *RevokeItemsOK) Error() string

func (*RevokeItemsOK) GetPayload added in v0.72.0

func (*RevokeItemsOK) ToJSONString added in v0.72.0

func (o *RevokeItemsOK) ToJSONString() string

type RevokeItemsParams added in v0.72.0

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 added in v0.72.0

func NewRevokeItemsParams() *RevokeItemsParams

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

func NewRevokeItemsParamsWithContext added in v0.72.0

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 added in v0.72.0

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 added in v0.72.0

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 added in v0.72.0

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

SetAuthInfoWriter adds the authInfoWriter to the revoke items params

func (*RevokeItemsParams) SetContext added in v0.72.0

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

SetContext adds the context to the revoke items params

func (*RevokeItemsParams) SetFlightId added in v0.72.0

func (o *RevokeItemsParams) SetFlightId(flightId string)

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

func (*RevokeItemsParams) SetHTTPClient added in v0.72.0

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

SetHTTPClient adds the HTTPClient to the revoke items params

func (*RevokeItemsParams) SetHTTPClientTransport added in v0.72.0

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

SetHTTPClient adds the HTTPClient Transport to the revoke items params

func (*RevokeItemsParams) SetNamespace added in v0.72.0

func (o *RevokeItemsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke items params

func (*RevokeItemsParams) SetTimeout added in v0.72.0

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

SetTimeout adds the timeout to the revoke items params

func (*RevokeItemsParams) SetTransactionID added in v0.72.0

func (o *RevokeItemsParams) SetTransactionID(transactionID string)

SetTransactionID adds the transactionId to the revoke items params

func (*RevokeItemsParams) SetUserID added in v0.72.0

func (o *RevokeItemsParams) SetUserID(userID string)

SetUserID adds the userId to the revoke items params

func (*RevokeItemsParams) WithContext added in v0.72.0

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

WithContext adds the context to the revoke items params

func (*RevokeItemsParams) WithHTTPClient added in v0.72.0

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

WithHTTPClient adds the HTTPClient to the revoke items params

func (*RevokeItemsParams) WithNamespace added in v0.72.0

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

WithNamespace adds the namespace to the revoke items params

func (*RevokeItemsParams) WithTimeout added in v0.72.0

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

WithTimeout adds the timeout to the revoke items params

func (*RevokeItemsParams) WithTransactionID added in v0.72.0

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

WithTransactionID adds the transactionID to the revoke items params

func (*RevokeItemsParams) WithUserID added in v0.72.0

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

WithUserID adds the userID to the revoke items params

func (*RevokeItemsParams) WriteToRequest added in v0.72.0

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

WriteToRequest writes these params to a swagger request

type RevokeItemsReader added in v0.72.0

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

RevokeItemsReader is a Reader for the RevokeItems structure.

func (*RevokeItemsReader) ReadResponse added in v0.72.0

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

ReadResponse reads a server response into the received o.

type RevokeItemsV3NotFound added in v0.76.0

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 added in v0.76.0

func NewRevokeItemsV3NotFound() *RevokeItemsV3NotFound

NewRevokeItemsV3NotFound creates a RevokeItemsV3NotFound with default headers values

func (*RevokeItemsV3NotFound) Error added in v0.76.0

func (o *RevokeItemsV3NotFound) Error() string

func (*RevokeItemsV3NotFound) GetPayload added in v0.76.0

func (*RevokeItemsV3NotFound) ToJSONString added in v0.76.0

func (o *RevokeItemsV3NotFound) ToJSONString() string

type RevokeItemsV3OK added in v0.76.0

type RevokeItemsV3OK struct {
	Payload *platformclientmodels.RevokeFulfillmentV2Result
}

RevokeItemsV3OK handles this case with default header values.

successful operation

func NewRevokeItemsV3OK added in v0.76.0

func NewRevokeItemsV3OK() *RevokeItemsV3OK

NewRevokeItemsV3OK creates a RevokeItemsV3OK with default headers values

func (*RevokeItemsV3OK) Error added in v0.76.0

func (o *RevokeItemsV3OK) Error() string

func (*RevokeItemsV3OK) GetPayload added in v0.76.0

func (*RevokeItemsV3OK) ToJSONString added in v0.76.0

func (o *RevokeItemsV3OK) ToJSONString() string

type RevokeItemsV3Params added in v0.76.0

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 added in v0.76.0

func NewRevokeItemsV3Params() *RevokeItemsV3Params

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

func NewRevokeItemsV3ParamsWithContext added in v0.76.0

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 added in v0.76.0

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 added in v0.76.0

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 added in v0.76.0

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

SetAuthInfoWriter adds the authInfoWriter to the revoke items v3 params

func (*RevokeItemsV3Params) SetContext added in v0.76.0

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

SetContext adds the context to the revoke items v3 params

func (*RevokeItemsV3Params) SetFlightId added in v0.76.0

func (o *RevokeItemsV3Params) SetFlightId(flightId string)

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

func (*RevokeItemsV3Params) SetHTTPClient added in v0.76.0

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

SetHTTPClient adds the HTTPClient to the revoke items v3 params

func (*RevokeItemsV3Params) SetHTTPClientTransport added in v0.76.0

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

SetHTTPClient adds the HTTPClient Transport to the revoke items v3 params

func (*RevokeItemsV3Params) SetNamespace added in v0.76.0

func (o *RevokeItemsV3Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the revoke items v3 params

func (*RevokeItemsV3Params) SetTimeout added in v0.76.0

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

SetTimeout adds the timeout to the revoke items v3 params

func (*RevokeItemsV3Params) SetTransactionID added in v0.76.0

func (o *RevokeItemsV3Params) SetTransactionID(transactionID string)

SetTransactionID adds the transactionId to the revoke items v3 params

func (*RevokeItemsV3Params) SetUserID added in v0.76.0

func (o *RevokeItemsV3Params) SetUserID(userID string)

SetUserID adds the userId to the revoke items v3 params

func (*RevokeItemsV3Params) WithContext added in v0.76.0

WithContext adds the context to the revoke items v3 params

func (*RevokeItemsV3Params) WithHTTPClient added in v0.76.0

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

WithHTTPClient adds the HTTPClient to the revoke items v3 params

func (*RevokeItemsV3Params) WithNamespace added in v0.76.0

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

WithNamespace adds the namespace to the revoke items v3 params

func (*RevokeItemsV3Params) WithTimeout added in v0.76.0

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

WithTimeout adds the timeout to the revoke items v3 params

func (*RevokeItemsV3Params) WithTransactionID added in v0.76.0

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

WithTransactionID adds the transactionID to the revoke items v3 params

func (*RevokeItemsV3Params) WithUserID added in v0.76.0

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

WithUserID adds the userID to the revoke items v3 params

func (*RevokeItemsV3Params) WriteToRequest added in v0.76.0

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

WriteToRequest writes these params to a swagger request

type RevokeItemsV3Reader added in v0.76.0

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

RevokeItemsV3Reader is a Reader for the RevokeItemsV3 structure.

func (*RevokeItemsV3Reader) ReadResponse added in v0.76.0

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