Documentation
¶
Index ¶
- Constants
- type Client
- func (a *Client) FulfillItem(params *FulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemOK, *FulfillItemBadRequest, *FulfillItemNotFound, ...)deprecated
- func (a *Client) FulfillItemShort(params *FulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemOK, error)
- func (a *Client) FulfillItems(params *FulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsOK, *FulfillItemsBadRequest, *FulfillItemsNotFound, ...)deprecated
- func (a *Client) FulfillItemsShort(params *FulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsOK, error)
- func (a *Client) FulfillRewards(params *FulfillRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsNoContent, *FulfillRewardsBadRequest, *FulfillRewardsNotFound, ...)deprecated
- func (a *Client) FulfillRewardsShort(params *FulfillRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsNoContent, error)
- func (a *Client) FulfillRewardsV2(params *FulfillRewardsV2Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsV2OK, *FulfillRewardsV2BadRequest, *FulfillRewardsV2NotFound, ...)deprecated
- func (a *Client) FulfillRewardsV2Short(params *FulfillRewardsV2Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsV2OK, error)
- func (a *Client) PreCheckFulfillItem(params *PreCheckFulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckFulfillItemOK, *PreCheckFulfillItemBadRequest, ...)deprecated
- func (a *Client) PreCheckFulfillItemShort(params *PreCheckFulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckFulfillItemOK, error)
- func (a *Client) PublicRedeemCode(params *PublicRedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRedeemCodeOK, *PublicRedeemCodeBadRequest, *PublicRedeemCodeNotFound, ...)deprecated
- func (a *Client) PublicRedeemCodeShort(params *PublicRedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRedeemCodeOK, error)
- func (a *Client) QueryFulfillmentHistories(params *QueryFulfillmentHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentHistoriesOK, error)deprecated
- func (a *Client) QueryFulfillmentHistoriesShort(params *QueryFulfillmentHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentHistoriesOK, error)
- func (a *Client) QueryFulfillments(params *QueryFulfillmentsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentsOK, error)deprecated
- func (a *Client) QueryFulfillmentsShort(params *QueryFulfillmentsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentsOK, error)
- func (a *Client) RedeemCode(params *RedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*RedeemCodeOK, *RedeemCodeBadRequest, *RedeemCodeNotFound, *RedeemCodeConflict, ...)deprecated
- func (a *Client) RedeemCodeShort(params *RedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*RedeemCodeOK, error)
- func (a *Client) RetryFulfillItems(params *RetryFulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsOK, *RetryFulfillItemsNotFound, *RetryFulfillItemsConflict, ...)deprecated
- func (a *Client) RetryFulfillItemsShort(params *RetryFulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsOK, error)
- func (a *Client) RevokeItems(params *RevokeItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsOK, *RevokeItemsNotFound, *RevokeItemsConflict, error)deprecated
- func (a *Client) RevokeItemsShort(params *RevokeItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type FulfillItemBadRequest
- type FulfillItemConflict
- type FulfillItemNotFound
- type FulfillItemOK
- type FulfillItemParams
- func (o *FulfillItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FulfillItemParams) SetBody(body *platformclientmodels.FulfillmentRequest)
- func (o *FulfillItemParams) SetContext(ctx context.Context)
- func (o *FulfillItemParams) SetFlightId(flightId string)
- func (o *FulfillItemParams) SetHTTPClient(client *http.Client)
- func (o *FulfillItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FulfillItemParams) SetNamespace(namespace string)
- func (o *FulfillItemParams) SetTimeout(timeout time.Duration)
- func (o *FulfillItemParams) SetUserID(userID string)
- func (o *FulfillItemParams) WithBody(body *platformclientmodels.FulfillmentRequest) *FulfillItemParams
- func (o *FulfillItemParams) WithContext(ctx context.Context) *FulfillItemParams
- func (o *FulfillItemParams) WithHTTPClient(client *http.Client) *FulfillItemParams
- func (o *FulfillItemParams) WithNamespace(namespace string) *FulfillItemParams
- func (o *FulfillItemParams) WithTimeout(timeout time.Duration) *FulfillItemParams
- func (o *FulfillItemParams) WithUserID(userID string) *FulfillItemParams
- func (o *FulfillItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FulfillItemReader
- type FulfillItemsBadRequest
- type FulfillItemsConflict
- type FulfillItemsNotFound
- type FulfillItemsOK
- type FulfillItemsParams
- func (o *FulfillItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FulfillItemsParams) SetBody(body *platformclientmodels.FulfillmentV2Request)
- func (o *FulfillItemsParams) SetContext(ctx context.Context)
- func (o *FulfillItemsParams) SetFlightId(flightId string)
- func (o *FulfillItemsParams) SetHTTPClient(client *http.Client)
- func (o *FulfillItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FulfillItemsParams) SetNamespace(namespace string)
- func (o *FulfillItemsParams) SetTimeout(timeout time.Duration)
- func (o *FulfillItemsParams) SetTransactionID(transactionID string)
- func (o *FulfillItemsParams) SetUserID(userID string)
- func (o *FulfillItemsParams) WithBody(body *platformclientmodels.FulfillmentV2Request) *FulfillItemsParams
- func (o *FulfillItemsParams) WithContext(ctx context.Context) *FulfillItemsParams
- func (o *FulfillItemsParams) WithHTTPClient(client *http.Client) *FulfillItemsParams
- func (o *FulfillItemsParams) WithNamespace(namespace string) *FulfillItemsParams
- func (o *FulfillItemsParams) WithTimeout(timeout time.Duration) *FulfillItemsParams
- func (o *FulfillItemsParams) WithTransactionID(transactionID string) *FulfillItemsParams
- func (o *FulfillItemsParams) WithUserID(userID string) *FulfillItemsParams
- func (o *FulfillItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FulfillItemsReader
- type FulfillRewardsBadRequest
- type FulfillRewardsConflict
- type FulfillRewardsNoContent
- type FulfillRewardsNotFound
- type FulfillRewardsParams
- func NewFulfillRewardsParams() *FulfillRewardsParams
- func NewFulfillRewardsParamsWithContext(ctx context.Context) *FulfillRewardsParams
- func NewFulfillRewardsParamsWithHTTPClient(client *http.Client) *FulfillRewardsParams
- func NewFulfillRewardsParamsWithTimeout(timeout time.Duration) *FulfillRewardsParams
- func (o *FulfillRewardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FulfillRewardsParams) SetBody(body *platformclientmodels.RewardsRequest)
- func (o *FulfillRewardsParams) SetContext(ctx context.Context)
- func (o *FulfillRewardsParams) SetFlightId(flightId string)
- func (o *FulfillRewardsParams) SetHTTPClient(client *http.Client)
- func (o *FulfillRewardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FulfillRewardsParams) SetNamespace(namespace string)
- func (o *FulfillRewardsParams) SetTimeout(timeout time.Duration)
- func (o *FulfillRewardsParams) SetUserID(userID string)
- func (o *FulfillRewardsParams) WithBody(body *platformclientmodels.RewardsRequest) *FulfillRewardsParams
- func (o *FulfillRewardsParams) WithContext(ctx context.Context) *FulfillRewardsParams
- func (o *FulfillRewardsParams) WithHTTPClient(client *http.Client) *FulfillRewardsParams
- func (o *FulfillRewardsParams) WithNamespace(namespace string) *FulfillRewardsParams
- func (o *FulfillRewardsParams) WithTimeout(timeout time.Duration) *FulfillRewardsParams
- func (o *FulfillRewardsParams) WithUserID(userID string) *FulfillRewardsParams
- func (o *FulfillRewardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FulfillRewardsReader
- type FulfillRewardsV2BadRequest
- type FulfillRewardsV2Conflict
- type FulfillRewardsV2NotFound
- type FulfillRewardsV2OK
- type FulfillRewardsV2Params
- func NewFulfillRewardsV2Params() *FulfillRewardsV2Params
- func NewFulfillRewardsV2ParamsWithContext(ctx context.Context) *FulfillRewardsV2Params
- func NewFulfillRewardsV2ParamsWithHTTPClient(client *http.Client) *FulfillRewardsV2Params
- func NewFulfillRewardsV2ParamsWithTimeout(timeout time.Duration) *FulfillRewardsV2Params
- func (o *FulfillRewardsV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FulfillRewardsV2Params) SetBody(body *platformclientmodels.RewardsRequest)
- func (o *FulfillRewardsV2Params) SetContext(ctx context.Context)
- func (o *FulfillRewardsV2Params) SetFlightId(flightId string)
- func (o *FulfillRewardsV2Params) SetHTTPClient(client *http.Client)
- func (o *FulfillRewardsV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FulfillRewardsV2Params) SetNamespace(namespace string)
- func (o *FulfillRewardsV2Params) SetTimeout(timeout time.Duration)
- func (o *FulfillRewardsV2Params) SetUserID(userID string)
- func (o *FulfillRewardsV2Params) WithBody(body *platformclientmodels.RewardsRequest) *FulfillRewardsV2Params
- func (o *FulfillRewardsV2Params) WithContext(ctx context.Context) *FulfillRewardsV2Params
- func (o *FulfillRewardsV2Params) WithHTTPClient(client *http.Client) *FulfillRewardsV2Params
- func (o *FulfillRewardsV2Params) WithNamespace(namespace string) *FulfillRewardsV2Params
- func (o *FulfillRewardsV2Params) WithTimeout(timeout time.Duration) *FulfillRewardsV2Params
- func (o *FulfillRewardsV2Params) WithUserID(userID string) *FulfillRewardsV2Params
- func (o *FulfillRewardsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FulfillRewardsV2Reader
- type PreCheckFulfillItemBadRequest
- type PreCheckFulfillItemNotFound
- type PreCheckFulfillItemOK
- type PreCheckFulfillItemParams
- func NewPreCheckFulfillItemParams() *PreCheckFulfillItemParams
- func NewPreCheckFulfillItemParamsWithContext(ctx context.Context) *PreCheckFulfillItemParams
- func NewPreCheckFulfillItemParamsWithHTTPClient(client *http.Client) *PreCheckFulfillItemParams
- func NewPreCheckFulfillItemParamsWithTimeout(timeout time.Duration) *PreCheckFulfillItemParams
- func (o *PreCheckFulfillItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PreCheckFulfillItemParams) SetBody(body *platformclientmodels.PreCheckFulfillmentRequest)
- func (o *PreCheckFulfillItemParams) SetContext(ctx context.Context)
- func (o *PreCheckFulfillItemParams) SetFlightId(flightId string)
- func (o *PreCheckFulfillItemParams) SetHTTPClient(client *http.Client)
- func (o *PreCheckFulfillItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PreCheckFulfillItemParams) SetNamespace(namespace string)
- func (o *PreCheckFulfillItemParams) SetTimeout(timeout time.Duration)
- func (o *PreCheckFulfillItemParams) SetUserID(userID string)
- func (o *PreCheckFulfillItemParams) WithBody(body *platformclientmodels.PreCheckFulfillmentRequest) *PreCheckFulfillItemParams
- func (o *PreCheckFulfillItemParams) WithContext(ctx context.Context) *PreCheckFulfillItemParams
- func (o *PreCheckFulfillItemParams) WithHTTPClient(client *http.Client) *PreCheckFulfillItemParams
- func (o *PreCheckFulfillItemParams) WithNamespace(namespace string) *PreCheckFulfillItemParams
- func (o *PreCheckFulfillItemParams) WithTimeout(timeout time.Duration) *PreCheckFulfillItemParams
- func (o *PreCheckFulfillItemParams) WithUserID(userID string) *PreCheckFulfillItemParams
- func (o *PreCheckFulfillItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PreCheckFulfillItemReader
- type PublicRedeemCodeBadRequest
- type PublicRedeemCodeConflict
- type PublicRedeemCodeNotFound
- type PublicRedeemCodeOK
- type PublicRedeemCodeParams
- func NewPublicRedeemCodeParams() *PublicRedeemCodeParams
- func NewPublicRedeemCodeParamsWithContext(ctx context.Context) *PublicRedeemCodeParams
- func NewPublicRedeemCodeParamsWithHTTPClient(client *http.Client) *PublicRedeemCodeParams
- func NewPublicRedeemCodeParamsWithTimeout(timeout time.Duration) *PublicRedeemCodeParams
- func (o *PublicRedeemCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicRedeemCodeParams) SetBody(body *platformclientmodels.FulfillCodeRequest)
- func (o *PublicRedeemCodeParams) SetContext(ctx context.Context)
- func (o *PublicRedeemCodeParams) SetFlightId(flightId string)
- func (o *PublicRedeemCodeParams) SetHTTPClient(client *http.Client)
- func (o *PublicRedeemCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicRedeemCodeParams) SetNamespace(namespace string)
- func (o *PublicRedeemCodeParams) SetTimeout(timeout time.Duration)
- func (o *PublicRedeemCodeParams) SetUserID(userID string)
- func (o *PublicRedeemCodeParams) WithBody(body *platformclientmodels.FulfillCodeRequest) *PublicRedeemCodeParams
- func (o *PublicRedeemCodeParams) WithContext(ctx context.Context) *PublicRedeemCodeParams
- func (o *PublicRedeemCodeParams) WithHTTPClient(client *http.Client) *PublicRedeemCodeParams
- func (o *PublicRedeemCodeParams) WithNamespace(namespace string) *PublicRedeemCodeParams
- func (o *PublicRedeemCodeParams) WithTimeout(timeout time.Duration) *PublicRedeemCodeParams
- func (o *PublicRedeemCodeParams) WithUserID(userID string) *PublicRedeemCodeParams
- func (o *PublicRedeemCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicRedeemCodeReader
- type PublicRedeemCodeTooManyRequests
- type QueryFulfillmentHistoriesOK
- type QueryFulfillmentHistoriesParams
- func NewQueryFulfillmentHistoriesParams() *QueryFulfillmentHistoriesParams
- func NewQueryFulfillmentHistoriesParamsWithContext(ctx context.Context) *QueryFulfillmentHistoriesParams
- func NewQueryFulfillmentHistoriesParamsWithHTTPClient(client *http.Client) *QueryFulfillmentHistoriesParams
- func NewQueryFulfillmentHistoriesParamsWithTimeout(timeout time.Duration) *QueryFulfillmentHistoriesParams
- func (o *QueryFulfillmentHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryFulfillmentHistoriesParams) SetContext(ctx context.Context)
- func (o *QueryFulfillmentHistoriesParams) SetFlightId(flightId string)
- func (o *QueryFulfillmentHistoriesParams) SetHTTPClient(client *http.Client)
- func (o *QueryFulfillmentHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryFulfillmentHistoriesParams) SetLimit(limit *int32)
- func (o *QueryFulfillmentHistoriesParams) SetNamespace(namespace string)
- func (o *QueryFulfillmentHistoriesParams) SetOffset(offset *int32)
- func (o *QueryFulfillmentHistoriesParams) SetStatus(status *string)
- func (o *QueryFulfillmentHistoriesParams) SetTimeout(timeout time.Duration)
- func (o *QueryFulfillmentHistoriesParams) SetUserID(userID *string)
- func (o *QueryFulfillmentHistoriesParams) WithContext(ctx context.Context) *QueryFulfillmentHistoriesParams
- func (o *QueryFulfillmentHistoriesParams) WithHTTPClient(client *http.Client) *QueryFulfillmentHistoriesParams
- func (o *QueryFulfillmentHistoriesParams) WithLimit(limit *int32) *QueryFulfillmentHistoriesParams
- func (o *QueryFulfillmentHistoriesParams) WithNamespace(namespace string) *QueryFulfillmentHistoriesParams
- func (o *QueryFulfillmentHistoriesParams) WithOffset(offset *int32) *QueryFulfillmentHistoriesParams
- func (o *QueryFulfillmentHistoriesParams) WithStatus(status *string) *QueryFulfillmentHistoriesParams
- func (o *QueryFulfillmentHistoriesParams) WithTimeout(timeout time.Duration) *QueryFulfillmentHistoriesParams
- func (o *QueryFulfillmentHistoriesParams) WithUserID(userID *string) *QueryFulfillmentHistoriesParams
- func (o *QueryFulfillmentHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryFulfillmentHistoriesReader
- type QueryFulfillmentsOK
- type QueryFulfillmentsParams
- func NewQueryFulfillmentsParams() *QueryFulfillmentsParams
- func NewQueryFulfillmentsParamsWithContext(ctx context.Context) *QueryFulfillmentsParams
- func NewQueryFulfillmentsParamsWithHTTPClient(client *http.Client) *QueryFulfillmentsParams
- func NewQueryFulfillmentsParamsWithTimeout(timeout time.Duration) *QueryFulfillmentsParams
- func (o *QueryFulfillmentsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *QueryFulfillmentsParams) SetContext(ctx context.Context)
- func (o *QueryFulfillmentsParams) SetEndTime(endTime *string)
- func (o *QueryFulfillmentsParams) SetFlightId(flightId string)
- func (o *QueryFulfillmentsParams) SetHTTPClient(client *http.Client)
- func (o *QueryFulfillmentsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *QueryFulfillmentsParams) SetLimit(limit *int32)
- func (o *QueryFulfillmentsParams) SetNamespace(namespace string)
- func (o *QueryFulfillmentsParams) SetOffset(offset *int32)
- func (o *QueryFulfillmentsParams) SetStartTime(startTime *string)
- func (o *QueryFulfillmentsParams) SetState(state *string)
- func (o *QueryFulfillmentsParams) SetTimeout(timeout time.Duration)
- func (o *QueryFulfillmentsParams) SetTransactionID(transactionID *string)
- func (o *QueryFulfillmentsParams) SetUserID(userID *string)
- func (o *QueryFulfillmentsParams) WithContext(ctx context.Context) *QueryFulfillmentsParams
- func (o *QueryFulfillmentsParams) WithEndTime(endTime *string) *QueryFulfillmentsParams
- func (o *QueryFulfillmentsParams) WithHTTPClient(client *http.Client) *QueryFulfillmentsParams
- func (o *QueryFulfillmentsParams) WithLimit(limit *int32) *QueryFulfillmentsParams
- func (o *QueryFulfillmentsParams) WithNamespace(namespace string) *QueryFulfillmentsParams
- func (o *QueryFulfillmentsParams) WithOffset(offset *int32) *QueryFulfillmentsParams
- func (o *QueryFulfillmentsParams) WithStartTime(startTime *string) *QueryFulfillmentsParams
- func (o *QueryFulfillmentsParams) WithState(state *string) *QueryFulfillmentsParams
- func (o *QueryFulfillmentsParams) WithTimeout(timeout time.Duration) *QueryFulfillmentsParams
- func (o *QueryFulfillmentsParams) WithTransactionID(transactionID *string) *QueryFulfillmentsParams
- func (o *QueryFulfillmentsParams) WithUserID(userID *string) *QueryFulfillmentsParams
- func (o *QueryFulfillmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryFulfillmentsReader
- type RedeemCodeBadRequest
- type RedeemCodeConflict
- type RedeemCodeNotFound
- type RedeemCodeOK
- type RedeemCodeParams
- func (o *RedeemCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RedeemCodeParams) SetBody(body *platformclientmodels.FulfillCodeRequest)
- func (o *RedeemCodeParams) SetContext(ctx context.Context)
- func (o *RedeemCodeParams) SetFlightId(flightId string)
- func (o *RedeemCodeParams) SetHTTPClient(client *http.Client)
- func (o *RedeemCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RedeemCodeParams) SetNamespace(namespace string)
- func (o *RedeemCodeParams) SetTimeout(timeout time.Duration)
- func (o *RedeemCodeParams) SetUserID(userID string)
- func (o *RedeemCodeParams) WithBody(body *platformclientmodels.FulfillCodeRequest) *RedeemCodeParams
- func (o *RedeemCodeParams) WithContext(ctx context.Context) *RedeemCodeParams
- func (o *RedeemCodeParams) WithHTTPClient(client *http.Client) *RedeemCodeParams
- func (o *RedeemCodeParams) WithNamespace(namespace string) *RedeemCodeParams
- func (o *RedeemCodeParams) WithTimeout(timeout time.Duration) *RedeemCodeParams
- func (o *RedeemCodeParams) WithUserID(userID string) *RedeemCodeParams
- func (o *RedeemCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RedeemCodeReader
- type RetryFulfillItemsConflict
- type RetryFulfillItemsNotFound
- type RetryFulfillItemsOK
- type RetryFulfillItemsParams
- func NewRetryFulfillItemsParams() *RetryFulfillItemsParams
- func NewRetryFulfillItemsParamsWithContext(ctx context.Context) *RetryFulfillItemsParams
- func NewRetryFulfillItemsParamsWithHTTPClient(client *http.Client) *RetryFulfillItemsParams
- func NewRetryFulfillItemsParamsWithTimeout(timeout time.Duration) *RetryFulfillItemsParams
- func (o *RetryFulfillItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetryFulfillItemsParams) SetContext(ctx context.Context)
- func (o *RetryFulfillItemsParams) SetFlightId(flightId string)
- func (o *RetryFulfillItemsParams) SetHTTPClient(client *http.Client)
- func (o *RetryFulfillItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetryFulfillItemsParams) SetNamespace(namespace string)
- func (o *RetryFulfillItemsParams) SetTimeout(timeout time.Duration)
- func (o *RetryFulfillItemsParams) SetTransactionID(transactionID string)
- func (o *RetryFulfillItemsParams) SetUserID(userID string)
- func (o *RetryFulfillItemsParams) WithContext(ctx context.Context) *RetryFulfillItemsParams
- func (o *RetryFulfillItemsParams) WithHTTPClient(client *http.Client) *RetryFulfillItemsParams
- func (o *RetryFulfillItemsParams) WithNamespace(namespace string) *RetryFulfillItemsParams
- func (o *RetryFulfillItemsParams) WithTimeout(timeout time.Duration) *RetryFulfillItemsParams
- func (o *RetryFulfillItemsParams) WithTransactionID(transactionID string) *RetryFulfillItemsParams
- func (o *RetryFulfillItemsParams) WithUserID(userID string) *RetryFulfillItemsParams
- func (o *RetryFulfillItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetryFulfillItemsReader
- type RevokeItemsConflict
- type RevokeItemsNotFound
- type RevokeItemsOK
- type RevokeItemsParams
- func (o *RevokeItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RevokeItemsParams) SetContext(ctx context.Context)
- func (o *RevokeItemsParams) SetFlightId(flightId string)
- func (o *RevokeItemsParams) SetHTTPClient(client *http.Client)
- func (o *RevokeItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RevokeItemsParams) SetNamespace(namespace string)
- func (o *RevokeItemsParams) SetTimeout(timeout time.Duration)
- func (o *RevokeItemsParams) SetTransactionID(transactionID string)
- func (o *RevokeItemsParams) SetUserID(userID string)
- func (o *RevokeItemsParams) WithContext(ctx context.Context) *RevokeItemsParams
- func (o *RevokeItemsParams) WithHTTPClient(client *http.Client) *RevokeItemsParams
- func (o *RevokeItemsParams) WithNamespace(namespace string) *RevokeItemsParams
- func (o *RevokeItemsParams) WithTimeout(timeout time.Duration) *RevokeItemsParams
- func (o *RevokeItemsParams) WithTransactionID(transactionID string) *RevokeItemsParams
- func (o *RevokeItemsParams) WithUserID(userID string) *RevokeItemsParams
- func (o *RevokeItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeItemsReader
Constants ¶
const ( QueryFulfillmentHistoriesFAILConstant = "FAIL" QueryFulfillmentHistoriesSUCCESSConstant = "SUCCESS" )
Get the enum in QueryFulfillmentHistoriesParams
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
func (a *Client) FulfillItem(params *FulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemOK, *FulfillItemBadRequest, *FulfillItemNotFound, *FulfillItemConflict, error)
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
func (a *Client) FulfillItems(params *FulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsOK, *FulfillItemsBadRequest, *FulfillItemsNotFound, *FulfillItemsConflict, error)
Deprecated: 2022-08-10 - Use FulfillItemsShort instead.
FulfillItems 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) FulfillItemsShort ¶ added in v0.72.0
func (a *Client) FulfillItemsShort(params *FulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsOK, error)
FulfillItemsShort 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
func (a *Client) FulfillRewards(params *FulfillRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsNoContent, *FulfillRewardsBadRequest, *FulfillRewardsNotFound, *FulfillRewardsConflict, error)
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
func (a *Client) FulfillRewardsV2(params *FulfillRewardsV2Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsV2OK, *FulfillRewardsV2BadRequest, *FulfillRewardsV2NotFound, *FulfillRewardsV2Conflict, error)
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
func (a *Client) PreCheckFulfillItem(params *PreCheckFulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckFulfillItemOK, *PreCheckFulfillItemBadRequest, *PreCheckFulfillItemNotFound, error)
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
func (a *Client) PublicRedeemCode(params *PublicRedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRedeemCodeOK, *PublicRedeemCodeBadRequest, *PublicRedeemCodeNotFound, *PublicRedeemCodeConflict, *PublicRedeemCodeTooManyRequests, error)
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
func (a *Client) RedeemCode(params *RedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*RedeemCodeOK, *RedeemCodeBadRequest, *RedeemCodeNotFound, *RedeemCodeConflict, error)
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
func (a *Client) RetryFulfillItems(params *RetryFulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsOK, *RetryFulfillItemsNotFound, *RetryFulfillItemsConflict, error)
Deprecated: 2022-08-10 - Use RetryFulfillItemsShort instead.
RetryFulfillItems 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) RetryFulfillItemsShort ¶ added in v0.74.0
func (a *Client) RetryFulfillItemsShort(params *RetryFulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsOK, error)
RetryFulfillItemsShort 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
func (a *Client) RevokeItems(params *RevokeItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsOK, *RevokeItemsNotFound, *RevokeItemsConflict, error)
Deprecated: 2022-08-10 - Use RevokeItemsShort instead.
RevokeItems 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) RevokeItemsShort ¶ added in v0.72.0
func (a *Client) RevokeItemsShort(params *RevokeItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsOK, error)
RevokeItemsShort 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) 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 (o *FulfillItemBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 (o *FulfillItemConflict) GetPayload() *platformclientmodels.ErrorEntity
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 (o *FulfillItemNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *FulfillItemOK) GetPayload() *platformclientmodels.FulfillmentResult
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 ¶
func (o *FulfillItemParams) SetBody(body *platformclientmodels.FulfillmentRequest)
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 ¶
func (o *FulfillItemParams) WithBody(body *platformclientmodels.FulfillmentRequest) *FulfillItemParams
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 (o *FulfillItemsBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 (o *FulfillItemsConflict) GetPayload() *platformclientmodels.FulfillmentV2Result
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 (o *FulfillItemsNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *FulfillItemsOK) GetPayload() *platformclientmodels.FulfillmentV2Result
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
func (o *FulfillItemsParams) SetBody(body *platformclientmodels.FulfillmentV2Request)
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
func (o *FulfillItemsParams) WithBody(body *platformclientmodels.FulfillmentV2Request) *FulfillItemsParams
WithBody adds the body to the fulfill items params
func (*FulfillItemsParams) WithContext ¶ added in v0.72.0
func (o *FulfillItemsParams) WithContext(ctx context.Context) *FulfillItemsParams
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 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 (o *FulfillRewardsBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 (o *FulfillRewardsConflict) GetPayload() *platformclientmodels.ErrorEntity
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 (o *FulfillRewardsNotFound) GetPayload() *platformclientmodels.ErrorEntity
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
func (o *FulfillRewardsParams) SetBody(body *platformclientmodels.RewardsRequest)
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
func (o *FulfillRewardsParams) WithBody(body *platformclientmodels.RewardsRequest) *FulfillRewardsParams
WithBody adds the body to the fulfill rewards params
func (*FulfillRewardsParams) WithContext ¶ added in v0.10.0
func (o *FulfillRewardsParams) WithContext(ctx context.Context) *FulfillRewardsParams
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 (o *FulfillRewardsV2BadRequest) Error() string
func (*FulfillRewardsV2BadRequest) GetPayload ¶ added in v0.52.0
func (o *FulfillRewardsV2BadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 (o *FulfillRewardsV2Conflict) GetPayload() *platformclientmodels.ErrorEntity
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 (o *FulfillRewardsV2NotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *FulfillRewardsV2OK) GetPayload() *platformclientmodels.FulfillmentResult
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
func (o *FulfillRewardsV2Params) SetBody(body *platformclientmodels.RewardsRequest)
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
func (o *FulfillRewardsV2Params) WithBody(body *platformclientmodels.RewardsRequest) *FulfillRewardsV2Params
WithBody adds the body to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) WithContext ¶ added in v0.52.0
func (o *FulfillRewardsV2Params) WithContext(ctx context.Context) *FulfillRewardsV2Params
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
func (o *FulfillRewardsV2Params) WithTimeout(timeout time.Duration) *FulfillRewardsV2Params
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
func (o *FulfillRewardsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PreCheckFulfillItemBadRequest) Error() string
func (*PreCheckFulfillItemBadRequest) GetPayload ¶ added in v0.60.0
func (o *PreCheckFulfillItemBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 (o *PreCheckFulfillItemNotFound) Error() string
func (*PreCheckFulfillItemNotFound) GetPayload ¶ added in v0.60.0
func (o *PreCheckFulfillItemNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *PreCheckFulfillItemOK) GetPayload() []*platformclientmodels.FulfillmentItem
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
func (o *PreCheckFulfillItemParams) SetBody(body *platformclientmodels.PreCheckFulfillmentRequest)
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
func (o *PreCheckFulfillItemParams) WithBody(body *platformclientmodels.PreCheckFulfillmentRequest) *PreCheckFulfillItemParams
WithBody adds the body to the pre check fulfill item params
func (*PreCheckFulfillItemParams) WithContext ¶ added in v0.60.0
func (o *PreCheckFulfillItemParams) WithContext(ctx context.Context) *PreCheckFulfillItemParams
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
func (o *PreCheckFulfillItemParams) WithTimeout(timeout time.Duration) *PreCheckFulfillItemParams
WithTimeout adds the timeout to the pre check fulfill item params
func (*PreCheckFulfillItemParams) WithUserID ¶ added in v0.60.0
func (o *PreCheckFulfillItemParams) WithUserID(userID string) *PreCheckFulfillItemParams
WithUserID adds the userID to the pre check fulfill item params
func (*PreCheckFulfillItemParams) WriteToRequest ¶ added in v0.60.0
func (o *PreCheckFulfillItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicRedeemCodeBadRequest) Error() string
func (*PublicRedeemCodeBadRequest) GetPayload ¶
func (o *PublicRedeemCodeBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 (o *PublicRedeemCodeConflict) GetPayload() *platformclientmodels.ErrorEntity
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 (o *PublicRedeemCodeNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *PublicRedeemCodeOK) GetPayload() *platformclientmodels.FulfillmentResult
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 ¶
func (o *PublicRedeemCodeParams) SetBody(body *platformclientmodels.FulfillCodeRequest)
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 ¶
func (o *PublicRedeemCodeParams) WithBody(body *platformclientmodels.FulfillCodeRequest) *PublicRedeemCodeParams
WithBody adds the body to the public redeem code params
func (*PublicRedeemCodeParams) WithContext ¶
func (o *PublicRedeemCodeParams) WithContext(ctx context.Context) *PublicRedeemCodeParams
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 ¶
func (o *PublicRedeemCodeParams) WithTimeout(timeout time.Duration) *PublicRedeemCodeParams
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 ¶
func (o *PublicRedeemCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicRedeemCodeTooManyRequests) Error() string
func (*PublicRedeemCodeTooManyRequests) GetPayload ¶ added in v0.60.0
func (o *PublicRedeemCodeTooManyRequests) GetPayload() *platformclientmodels.ErrorEntity
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 (o *QueryFulfillmentHistoriesOK) Error() string
func (*QueryFulfillmentHistoriesOK) GetPayload ¶
func (o *QueryFulfillmentHistoriesOK) GetPayload() *platformclientmodels.FulfillmentHistoryPagingSlicedResult
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 ¶
func (o *QueryFulfillmentHistoriesParams) WithContext(ctx context.Context) *QueryFulfillmentHistoriesParams
WithContext adds the context to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) WithHTTPClient ¶
func (o *QueryFulfillmentHistoriesParams) WithHTTPClient(client *http.Client) *QueryFulfillmentHistoriesParams
WithHTTPClient adds the HTTPClient to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) WithLimit ¶
func (o *QueryFulfillmentHistoriesParams) WithLimit(limit *int32) *QueryFulfillmentHistoriesParams
WithLimit adds the limit to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) WithNamespace ¶
func (o *QueryFulfillmentHistoriesParams) WithNamespace(namespace string) *QueryFulfillmentHistoriesParams
WithNamespace adds the namespace to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) WithOffset ¶
func (o *QueryFulfillmentHistoriesParams) WithOffset(offset *int32) *QueryFulfillmentHistoriesParams
WithOffset adds the offset to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) WithStatus ¶
func (o *QueryFulfillmentHistoriesParams) WithStatus(status *string) *QueryFulfillmentHistoriesParams
WithStatus adds the status to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) WithTimeout ¶
func (o *QueryFulfillmentHistoriesParams) WithTimeout(timeout time.Duration) *QueryFulfillmentHistoriesParams
WithTimeout adds the timeout to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) WithUserID ¶
func (o *QueryFulfillmentHistoriesParams) WithUserID(userID *string) *QueryFulfillmentHistoriesParams
WithUserID adds the userID to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) WriteToRequest ¶
func (o *QueryFulfillmentHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *QueryFulfillmentsOK) GetPayload() *platformclientmodels.FulfillmentPagingSlicedResult
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
func (o *QueryFulfillmentsParams) WithContext(ctx context.Context) *QueryFulfillmentsParams
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
func (o *QueryFulfillmentsParams) WithLimit(limit *int32) *QueryFulfillmentsParams
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
func (o *QueryFulfillmentsParams) WithState(state *string) *QueryFulfillmentsParams
WithState adds the state to the query fulfillments params
func (*QueryFulfillmentsParams) WithTimeout ¶ added in v0.72.0
func (o *QueryFulfillmentsParams) WithTimeout(timeout time.Duration) *QueryFulfillmentsParams
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
func (o *QueryFulfillmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *RedeemCodeBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 (o *RedeemCodeConflict) GetPayload() *platformclientmodels.ErrorEntity
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 (o *RedeemCodeNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *RedeemCodeOK) GetPayload() *platformclientmodels.FulfillmentResult
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
func (o *RedeemCodeParams) SetBody(body *platformclientmodels.FulfillCodeRequest)
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
func (o *RedeemCodeParams) WithBody(body *platformclientmodels.FulfillCodeRequest) *RedeemCodeParams
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 (o *RetryFulfillItemsConflict) GetPayload() *platformclientmodels.FulfillmentV2Result
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 (o *RetryFulfillItemsNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *RetryFulfillItemsOK) GetPayload() *platformclientmodels.FulfillmentV2Result
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
func (o *RetryFulfillItemsParams) WithContext(ctx context.Context) *RetryFulfillItemsParams
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
func (o *RetryFulfillItemsParams) WithTimeout(timeout time.Duration) *RetryFulfillItemsParams
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
func (o *RetryFulfillItemsParams) WithUserID(userID string) *RetryFulfillItemsParams
WithUserID adds the userID to the retry fulfill items params
func (*RetryFulfillItemsParams) WriteToRequest ¶ added in v0.74.0
func (o *RetryFulfillItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 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 (o *RevokeItemsConflict) GetPayload() *platformclientmodels.RevokeFulfillmentV2Result
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 (o *RevokeItemsNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *RevokeItemsOK) GetPayload() *platformclientmodels.RevokeFulfillmentV2Result
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.
Source Files
¶
- fulfill_item_parameters.go
- fulfill_item_responses.go
- fulfill_items_parameters.go
- fulfill_items_responses.go
- fulfill_rewards_parameters.go
- fulfill_rewards_responses.go
- fulfill_rewards_v2_parameters.go
- fulfill_rewards_v2_responses.go
- fulfillment_client.go
- pre_check_fulfill_item_parameters.go
- pre_check_fulfill_item_responses.go
- public_redeem_code_parameters.go
- public_redeem_code_responses.go
- query_fulfillment_histories_parameters.go
- query_fulfillment_histories_responses.go
- query_fulfillments_parameters.go
- query_fulfillments_responses.go
- redeem_code_parameters.go
- redeem_code_responses.go
- retry_fulfill_items_parameters.go
- retry_fulfill_items_responses.go
- revoke_items_parameters.go
- revoke_items_responses.go