Documentation
¶
Index ¶
- Constants
- type Client
- func (a *Client) FulfillItemShort(params *FulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemResponse, error)
- func (a *Client) FulfillItemsShort(params *FulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsResponse, error)
- func (a *Client) FulfillItemsV3Short(params *FulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsV3Response, error)
- func (a *Client) FulfillRewardsShort(params *FulfillRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsResponse, error)
- func (a *Client) FulfillRewardsV2Short(params *FulfillRewardsV2Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsV2Response, error)
- func (a *Client) PreCheckFulfillItemShort(params *PreCheckFulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckFulfillItemResponse, error)
- func (a *Client) PublicRedeemCodeShort(params *PublicRedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRedeemCodeResponse, error)
- func (a *Client) QueryFulfillmentHistoriesShort(params *QueryFulfillmentHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentHistoriesResponse, error)
- func (a *Client) QueryFulfillmentsShort(params *QueryFulfillmentsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentsResponse, error)
- func (a *Client) RedeemCodeShort(params *RedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*RedeemCodeResponse, error)
- func (a *Client) RetryFulfillItemsShort(params *RetryFulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsResponse, error)
- func (a *Client) RetryFulfillItemsV3Short(params *RetryFulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsV3Response, error)
- func (a *Client) RevokeItemsShort(params *RevokeItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsResponse, error)
- func (a *Client) RevokeItemsV3Short(params *RevokeItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsV3Response, 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 FulfillItemResponse
- 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 FulfillItemsResponse
- type FulfillItemsV3BadRequest
- type FulfillItemsV3NotFound
- type FulfillItemsV3OK
- type FulfillItemsV3Params
- func NewFulfillItemsV3Params() *FulfillItemsV3Params
- func NewFulfillItemsV3ParamsWithContext(ctx context.Context) *FulfillItemsV3Params
- func NewFulfillItemsV3ParamsWithHTTPClient(client *http.Client) *FulfillItemsV3Params
- func NewFulfillItemsV3ParamsWithTimeout(timeout time.Duration) *FulfillItemsV3Params
- func (o *FulfillItemsV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FulfillItemsV3Params) SetBody(body *platformclientmodels.FulfillmentV2Request)
- func (o *FulfillItemsV3Params) SetContext(ctx context.Context)
- func (o *FulfillItemsV3Params) SetFlightId(flightId string)
- func (o *FulfillItemsV3Params) SetHTTPClient(client *http.Client)
- func (o *FulfillItemsV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FulfillItemsV3Params) SetNamespace(namespace string)
- func (o *FulfillItemsV3Params) SetTimeout(timeout time.Duration)
- func (o *FulfillItemsV3Params) SetTransactionID(transactionID string)
- func (o *FulfillItemsV3Params) SetUserID(userID string)
- func (o *FulfillItemsV3Params) WithBody(body *platformclientmodels.FulfillmentV2Request) *FulfillItemsV3Params
- func (o *FulfillItemsV3Params) WithContext(ctx context.Context) *FulfillItemsV3Params
- func (o *FulfillItemsV3Params) WithHTTPClient(client *http.Client) *FulfillItemsV3Params
- func (o *FulfillItemsV3Params) WithNamespace(namespace string) *FulfillItemsV3Params
- func (o *FulfillItemsV3Params) WithTimeout(timeout time.Duration) *FulfillItemsV3Params
- func (o *FulfillItemsV3Params) WithTransactionID(transactionID string) *FulfillItemsV3Params
- func (o *FulfillItemsV3Params) WithUserID(userID string) *FulfillItemsV3Params
- func (o *FulfillItemsV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FulfillItemsV3Reader
- type FulfillItemsV3Response
- 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 FulfillRewardsResponse
- 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 FulfillRewardsV2Response
- 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 PreCheckFulfillItemResponse
- 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 PublicRedeemCodeResponse
- 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 QueryFulfillmentHistoriesResponse
- 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 QueryFulfillmentsResponse
- 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 RedeemCodeResponse
- 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 RetryFulfillItemsResponse
- type RetryFulfillItemsV3NotFound
- type RetryFulfillItemsV3OK
- type RetryFulfillItemsV3Params
- func NewRetryFulfillItemsV3Params() *RetryFulfillItemsV3Params
- func NewRetryFulfillItemsV3ParamsWithContext(ctx context.Context) *RetryFulfillItemsV3Params
- func NewRetryFulfillItemsV3ParamsWithHTTPClient(client *http.Client) *RetryFulfillItemsV3Params
- func NewRetryFulfillItemsV3ParamsWithTimeout(timeout time.Duration) *RetryFulfillItemsV3Params
- func (o *RetryFulfillItemsV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RetryFulfillItemsV3Params) SetContext(ctx context.Context)
- func (o *RetryFulfillItemsV3Params) SetFlightId(flightId string)
- func (o *RetryFulfillItemsV3Params) SetHTTPClient(client *http.Client)
- func (o *RetryFulfillItemsV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RetryFulfillItemsV3Params) SetNamespace(namespace string)
- func (o *RetryFulfillItemsV3Params) SetTimeout(timeout time.Duration)
- func (o *RetryFulfillItemsV3Params) SetTransactionID(transactionID string)
- func (o *RetryFulfillItemsV3Params) SetUserID(userID string)
- func (o *RetryFulfillItemsV3Params) WithContext(ctx context.Context) *RetryFulfillItemsV3Params
- func (o *RetryFulfillItemsV3Params) WithHTTPClient(client *http.Client) *RetryFulfillItemsV3Params
- func (o *RetryFulfillItemsV3Params) WithNamespace(namespace string) *RetryFulfillItemsV3Params
- func (o *RetryFulfillItemsV3Params) WithTimeout(timeout time.Duration) *RetryFulfillItemsV3Params
- func (o *RetryFulfillItemsV3Params) WithTransactionID(transactionID string) *RetryFulfillItemsV3Params
- func (o *RetryFulfillItemsV3Params) WithUserID(userID string) *RetryFulfillItemsV3Params
- func (o *RetryFulfillItemsV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetryFulfillItemsV3Reader
- type RetryFulfillItemsV3Response
- 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
- type RevokeItemsResponse
- type RevokeItemsV3NotFound
- type RevokeItemsV3OK
- type RevokeItemsV3Params
- func (o *RevokeItemsV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RevokeItemsV3Params) SetContext(ctx context.Context)
- func (o *RevokeItemsV3Params) SetFlightId(flightId string)
- func (o *RevokeItemsV3Params) SetHTTPClient(client *http.Client)
- func (o *RevokeItemsV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RevokeItemsV3Params) SetNamespace(namespace string)
- func (o *RevokeItemsV3Params) SetTimeout(timeout time.Duration)
- func (o *RevokeItemsV3Params) SetTransactionID(transactionID string)
- func (o *RevokeItemsV3Params) SetUserID(userID string)
- func (o *RevokeItemsV3Params) WithContext(ctx context.Context) *RevokeItemsV3Params
- func (o *RevokeItemsV3Params) WithHTTPClient(client *http.Client) *RevokeItemsV3Params
- func (o *RevokeItemsV3Params) WithNamespace(namespace string) *RevokeItemsV3Params
- func (o *RevokeItemsV3Params) WithTimeout(timeout time.Duration) *RevokeItemsV3Params
- func (o *RevokeItemsV3Params) WithTransactionID(transactionID string) *RevokeItemsV3Params
- func (o *RevokeItemsV3Params) WithUserID(userID string) *RevokeItemsV3Params
- func (o *RevokeItemsV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeItemsV3Reader
- type RevokeItemsV3Response
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) FulfillItemShort ¶
func (a *Client) FulfillItemShort(params *FulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemResponse, error)
FulfillItemShort fulfill item Fulfill item. Other detail info:
- Returns : fulfillment result
func (*Client) FulfillItemsShort ¶
func (a *Client) FulfillItemsShort(params *FulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsResponse, error)
FulfillItemsShort fulfill items by transactionid
### The endpoint is going to be deprecated
Description: this endpoint is Not supported yet in AGS Shared Cloud and it's used to fulfill items by transaction id.
- Request body : storeId, region, language, and entitlementCollectionId can be ignored.
- Returns : fulfillment v2 result, storeId field can be ignored.
### Endpoint migration guide
- Substitute endpoint: /v3/admin/namespaces/{namespace}/users/{userId}/fulfillments/{transactionId} [PUT]
func (*Client) FulfillItemsV3Short ¶
func (a *Client) FulfillItemsV3Short(params *FulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsV3Response, error)
FulfillItemsV3Short fulfill items by transactionid
[Not supported yet in AGS Shared Cloud] Fulfill items by transactionId.
Other detail info:
- Request body : storeId, region, language, and entitlementCollectionId can be ignored.
- Returns : fulfillment v2 result, storeId field can be ignored.
func (*Client) FulfillRewardsShort ¶
func (a *Client) FulfillRewardsShort(params *FulfillRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsResponse, error)
FulfillRewardsShort fulfill rewards without content
[SERVICE COMMUNICATION ONLY] Fulfill rewards.
Other detail info:
- Returns : fulfillment result
func (*Client) FulfillRewardsV2Short ¶
func (a *Client) FulfillRewardsV2Short(params *FulfillRewardsV2Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsV2Response, error)
FulfillRewardsV2Short fulfill rewards
[SERVICE COMMUNICATION ONLY] Fulfill rewards.
Other detail info:
- Returns : fulfillment result
- rewards Item unsupported Type : SUBSCRIPTION
func (*Client) PreCheckFulfillItemShort ¶
func (a *Client) PreCheckFulfillItemShort(params *PreCheckFulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckFulfillItemResponse, error)
PreCheckFulfillItemShort pre check fulfillment items Retrieve and check fulfillment items based on the provided request. Other detail info:
- Returns : list of fulfillment items
func (*Client) PublicRedeemCodeShort ¶
func (a *Client) PublicRedeemCodeShort(params *PublicRedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRedeemCodeResponse, error)
PublicRedeemCodeShort redeem campaign code Redeem campaign code, this api have rate limit, default: only allow request once per user in 2 seconds Other detail info:
- Returns : fulfillment result
func (*Client) QueryFulfillmentHistoriesShort ¶
func (a *Client) QueryFulfillmentHistoriesShort(params *QueryFulfillmentHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentHistoriesResponse, error)
QueryFulfillmentHistoriesShort query fulfillment histories Query fulfillment histories in a namespace. Other detail info:
- Returns : query fulfillment history
func (*Client) QueryFulfillmentsShort ¶
func (a *Client) QueryFulfillmentsShort(params *QueryFulfillmentsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentsResponse, error)
QueryFulfillmentsShort query fulfillments
[Not supported yet in AGS Shared Cloud] Query fulfillments in a namespace.
Other detail info:
- Returns : list of fulfillment info:
- storeId in items can be ignored
- error in successList will always be null
func (*Client) RedeemCodeShort ¶
func (a *Client) RedeemCodeShort(params *RedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*RedeemCodeResponse, error)
RedeemCodeShort redeem campaign code Redeem campaign code. Other detail info:
- Returns : fulfillment result
func (*Client) RetryFulfillItemsShort ¶
func (a *Client) RetryFulfillItemsShort(params *RetryFulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsResponse, error)
RetryFulfillItemsShort retry fulfill items by transactionid
### The endpoint is going to be deprecated
[Not supported yet in AGS Shared Cloud] Retry fulfill items by transactionId without sending the original payload. Other detail info:
- Returns : fulfillment v2 result, storeId field can be ignored.
### Endpoint migration guide
- Substitute endpoint: /v3/admin/namespaces/{namespace}/users/{userId}/fulfillments/{transactionId}/retry [PUT]
func (*Client) RetryFulfillItemsV3Short ¶
func (a *Client) RetryFulfillItemsV3Short(params *RetryFulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsV3Response, error)
RetryFulfillItemsV3Short retry fulfill items by transactionid
[Not supported yet in AGS Shared Cloud] Retry fulfill items by transactionId without sending the original payload.
Other detail info:
- Returns : fulfillment v2 result, storeId field can be ignored.
func (*Client) RevokeItemsShort ¶
func (a *Client) RevokeItemsShort(params *RevokeItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsResponse, error)
RevokeItemsShort revoke items by transactionid
### The endpoint is going to be deprecated
[Not supported yet in AGS Shared Cloud] Revoke items by transactionId. Other detail info:
- Returns : revoke fulfillment v2 result, storeId field can be ignored.
### Endpoint migration guide
- Substitute endpoint: /v3/admin/namespaces/{namespace}/users/{userId}/fulfillments/{transactionId}/revoke [PUT]
func (*Client) RevokeItemsV3Short ¶
func (a *Client) RevokeItemsV3Short(params *RevokeItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsV3Response, error)
RevokeItemsV3Short revoke items by transactionid
[Not supported yet in AGS Shared Cloud] Revoke items by transactionId.
Other detail info:
- Returns : revoke fulfillment v2 result, storeId field can be ignored.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface {
QueryFulfillmentHistoriesShort(params *QueryFulfillmentHistoriesParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentHistoriesResponse, error)
FulfillItemShort(params *FulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemResponse, error)
RedeemCodeShort(params *RedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*RedeemCodeResponse, error)
PreCheckFulfillItemShort(params *PreCheckFulfillItemParams, authInfo runtime.ClientAuthInfoWriter) (*PreCheckFulfillItemResponse, error)
FulfillRewardsShort(params *FulfillRewardsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsResponse, error)
PublicRedeemCodeShort(params *PublicRedeemCodeParams, authInfo runtime.ClientAuthInfoWriter) (*PublicRedeemCodeResponse, error)
QueryFulfillmentsShort(params *QueryFulfillmentsParams, authInfo runtime.ClientAuthInfoWriter) (*QueryFulfillmentsResponse, error)
FulfillRewardsV2Short(params *FulfillRewardsV2Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillRewardsV2Response, error)
FulfillItemsShort(params *FulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsResponse, error)
RetryFulfillItemsShort(params *RetryFulfillItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsResponse, error)
RevokeItemsShort(params *RevokeItemsParams, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsResponse, error)
FulfillItemsV3Short(params *FulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*FulfillItemsV3Response, error)
RetryFulfillItemsV3Short(params *RetryFulfillItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RetryFulfillItemsV3Response, error)
RevokeItemsV3Short(params *RevokeItemsV3Params, authInfo runtime.ClientAuthInfoWriter) (*RevokeItemsV3Response, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new fulfillment API client.
type FulfillItemBadRequest ¶
type FulfillItemBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillItemBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr><tr><td>38121</td><td>Duplicate permanent item exists</td></tr><tr><td>38122</td><td>Subscription endDate required</td></tr></table>
func NewFulfillItemBadRequest ¶
func NewFulfillItemBadRequest() *FulfillItemBadRequest
NewFulfillItemBadRequest creates a FulfillItemBadRequest with default headers values
func (*FulfillItemBadRequest) Error ¶
func (o *FulfillItemBadRequest) Error() string
func (*FulfillItemBadRequest) GetPayload ¶
func (o *FulfillItemBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillItemBadRequest) ToJSONString ¶
func (o *FulfillItemBadRequest) ToJSONString() string
type FulfillItemConflict ¶
type FulfillItemConflict struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillItemConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewFulfillItemConflict ¶
func NewFulfillItemConflict() *FulfillItemConflict
NewFulfillItemConflict creates a FulfillItemConflict with default headers values
func (*FulfillItemConflict) Error ¶
func (o *FulfillItemConflict) Error() string
func (*FulfillItemConflict) GetPayload ¶
func (o *FulfillItemConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillItemConflict) ToJSONString ¶
func (o *FulfillItemConflict) ToJSONString() string
type FulfillItemNotFound ¶
type FulfillItemNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillItemNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewFulfillItemNotFound ¶
func NewFulfillItemNotFound() *FulfillItemNotFound
NewFulfillItemNotFound creates a FulfillItemNotFound with default headers values
func (*FulfillItemNotFound) Error ¶
func (o *FulfillItemNotFound) Error() string
func (*FulfillItemNotFound) GetPayload ¶
func (o *FulfillItemNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillItemNotFound) ToJSONString ¶
func (o *FulfillItemNotFound) ToJSONString() string
type FulfillItemOK ¶
type FulfillItemOK struct {
Payload *platformclientmodels.FulfillmentResult
}
FulfillItemOK handles this case with default header values.
successful operation
func NewFulfillItemOK ¶
func NewFulfillItemOK() *FulfillItemOK
NewFulfillItemOK creates a FulfillItemOK with default headers values
func (*FulfillItemOK) Error ¶
func (o *FulfillItemOK) Error() string
func (*FulfillItemOK) GetPayload ¶
func (o *FulfillItemOK) GetPayload() *platformclientmodels.FulfillmentResult
func (*FulfillItemOK) ToJSONString ¶
func (o *FulfillItemOK) ToJSONString() string
type FulfillItemParams ¶
type FulfillItemParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *platformclientmodels.FulfillmentRequest
/*Namespace*/
Namespace string
/*UserID*/
UserID string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
FulfillItemParams contains all the parameters to send to the API endpoint for the fulfill item operation typically these are written to a http.Request
func NewFulfillItemParams ¶
func NewFulfillItemParams() *FulfillItemParams
NewFulfillItemParams creates a new FulfillItemParams object with the default values initialized.
func NewFulfillItemParamsWithContext ¶
func NewFulfillItemParamsWithContext(ctx context.Context) *FulfillItemParams
NewFulfillItemParamsWithContext creates a new FulfillItemParams object with the default values initialized, and the ability to set a context for a request
func NewFulfillItemParamsWithHTTPClient ¶
func NewFulfillItemParamsWithHTTPClient(client *http.Client) *FulfillItemParams
NewFulfillItemParamsWithHTTPClient creates a new FulfillItemParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFulfillItemParamsWithTimeout ¶
func NewFulfillItemParamsWithTimeout(timeout time.Duration) *FulfillItemParams
NewFulfillItemParamsWithTimeout creates a new FulfillItemParams object with the default values initialized, and the ability to set a timeout on a request
func (*FulfillItemParams) SetAuthInfoWriter ¶
func (o *FulfillItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the fulfill item params
func (*FulfillItemParams) SetBody ¶
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 ¶
func (o *FulfillItemParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*FulfillItemParams) SetHTTPClient ¶
func (o *FulfillItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fulfill item params
func (*FulfillItemParams) SetHTTPClientTransport ¶
func (o *FulfillItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the fulfill item params
func (*FulfillItemParams) SetNamespace ¶
func (o *FulfillItemParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the fulfill item params
func (*FulfillItemParams) SetTimeout ¶
func (o *FulfillItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fulfill item params
func (*FulfillItemParams) SetUserID ¶
func (o *FulfillItemParams) SetUserID(userID string)
SetUserID adds the userId to the fulfill item params
func (*FulfillItemParams) WithBody ¶
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 FulfillItemResponse ¶
type FulfillItemResponse struct {
platformclientmodels.ApiResponse
Data *platformclientmodels.FulfillmentResult
Error400 *platformclientmodels.ErrorEntity
Error404 *platformclientmodels.ErrorEntity
Error409 *platformclientmodels.ErrorEntity
}
func (*FulfillItemResponse) Unpack ¶
func (m *FulfillItemResponse) Unpack() (*platformclientmodels.FulfillmentResult, *platformclientmodels.ApiError)
type FulfillItemsBadRequest ¶
type FulfillItemsBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillItemsBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr><tr><td>38121</td><td>Duplicate permanent item exists</td></tr><tr><td>38122</td><td>Subscription endDate required</td></tr><tr><td>38128</td><td>Cannot retry fulfillment with different payload. Please check the items list.</td></tr><tr><td>38129</td><td>Cannot combine same item [{itemId}] with different [{fieldName}] value</td></tr><tr><td>38130</td><td>Cannot fulfill item with type [{itemType}] in item [{itemIdentity}]</td></tr></table>
func NewFulfillItemsBadRequest ¶
func NewFulfillItemsBadRequest() *FulfillItemsBadRequest
NewFulfillItemsBadRequest creates a FulfillItemsBadRequest with default headers values
func (*FulfillItemsBadRequest) Error ¶
func (o *FulfillItemsBadRequest) Error() string
func (*FulfillItemsBadRequest) GetPayload ¶
func (o *FulfillItemsBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillItemsBadRequest) ToJSONString ¶
func (o *FulfillItemsBadRequest) ToJSONString() string
type FulfillItemsConflict ¶
type FulfillItemsConflict struct {
Payload *platformclientmodels.FulfillmentV2Result
}
FulfillItemsConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr></table>
func NewFulfillItemsConflict ¶
func NewFulfillItemsConflict() *FulfillItemsConflict
NewFulfillItemsConflict creates a FulfillItemsConflict with default headers values
func (*FulfillItemsConflict) Error ¶
func (o *FulfillItemsConflict) Error() string
func (*FulfillItemsConflict) GetPayload ¶
func (o *FulfillItemsConflict) GetPayload() *platformclientmodels.FulfillmentV2Result
func (*FulfillItemsConflict) ToJSONString ¶
func (o *FulfillItemsConflict) ToJSONString() string
type FulfillItemsNotFound ¶
type FulfillItemsNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillItemsNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30343</td><td>Item of sku [{sku}] does not exist</td></tr></table>
func NewFulfillItemsNotFound ¶
func NewFulfillItemsNotFound() *FulfillItemsNotFound
NewFulfillItemsNotFound creates a FulfillItemsNotFound with default headers values
func (*FulfillItemsNotFound) Error ¶
func (o *FulfillItemsNotFound) Error() string
func (*FulfillItemsNotFound) GetPayload ¶
func (o *FulfillItemsNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillItemsNotFound) ToJSONString ¶
func (o *FulfillItemsNotFound) ToJSONString() string
type FulfillItemsOK ¶
type FulfillItemsOK struct {
Payload *platformclientmodels.FulfillmentV2Result
}
FulfillItemsOK handles this case with default header values.
successful operation
func NewFulfillItemsOK ¶
func NewFulfillItemsOK() *FulfillItemsOK
NewFulfillItemsOK creates a FulfillItemsOK with default headers values
func (*FulfillItemsOK) Error ¶
func (o *FulfillItemsOK) Error() string
func (*FulfillItemsOK) GetPayload ¶
func (o *FulfillItemsOK) GetPayload() *platformclientmodels.FulfillmentV2Result
func (*FulfillItemsOK) ToJSONString ¶
func (o *FulfillItemsOK) ToJSONString() string
type FulfillItemsParams ¶
type FulfillItemsParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *platformclientmodels.FulfillmentV2Request
/*Namespace*/
Namespace string
/*TransactionID*/
TransactionID string
/*UserID*/
UserID string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
FulfillItemsParams contains all the parameters to send to the API endpoint for the fulfill items operation typically these are written to a http.Request
func NewFulfillItemsParams ¶
func NewFulfillItemsParams() *FulfillItemsParams
NewFulfillItemsParams creates a new FulfillItemsParams object with the default values initialized.
func NewFulfillItemsParamsWithContext ¶
func NewFulfillItemsParamsWithContext(ctx context.Context) *FulfillItemsParams
NewFulfillItemsParamsWithContext creates a new FulfillItemsParams object with the default values initialized, and the ability to set a context for a request
func NewFulfillItemsParamsWithHTTPClient ¶
func NewFulfillItemsParamsWithHTTPClient(client *http.Client) *FulfillItemsParams
NewFulfillItemsParamsWithHTTPClient creates a new FulfillItemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFulfillItemsParamsWithTimeout ¶
func NewFulfillItemsParamsWithTimeout(timeout time.Duration) *FulfillItemsParams
NewFulfillItemsParamsWithTimeout creates a new FulfillItemsParams object with the default values initialized, and the ability to set a timeout on a request
func (*FulfillItemsParams) SetAuthInfoWriter ¶
func (o *FulfillItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the fulfill items params
func (*FulfillItemsParams) SetBody ¶
func (o *FulfillItemsParams) SetBody(body *platformclientmodels.FulfillmentV2Request)
SetBody adds the body to the fulfill items params
func (*FulfillItemsParams) SetContext ¶
func (o *FulfillItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the fulfill items params
func (*FulfillItemsParams) SetFlightId ¶
func (o *FulfillItemsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*FulfillItemsParams) SetHTTPClient ¶
func (o *FulfillItemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fulfill items params
func (*FulfillItemsParams) SetHTTPClientTransport ¶
func (o *FulfillItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the fulfill items params
func (*FulfillItemsParams) SetNamespace ¶
func (o *FulfillItemsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the fulfill items params
func (*FulfillItemsParams) SetTimeout ¶
func (o *FulfillItemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fulfill items params
func (*FulfillItemsParams) SetTransactionID ¶
func (o *FulfillItemsParams) SetTransactionID(transactionID string)
SetTransactionID adds the transactionId to the fulfill items params
func (*FulfillItemsParams) SetUserID ¶
func (o *FulfillItemsParams) SetUserID(userID string)
SetUserID adds the userId to the fulfill items params
func (*FulfillItemsParams) WithBody ¶
func (o *FulfillItemsParams) WithBody(body *platformclientmodels.FulfillmentV2Request) *FulfillItemsParams
WithBody adds the body to the fulfill items params
func (*FulfillItemsParams) WithContext ¶
func (o *FulfillItemsParams) WithContext(ctx context.Context) *FulfillItemsParams
WithContext adds the context to the fulfill items params
func (*FulfillItemsParams) WithHTTPClient ¶
func (o *FulfillItemsParams) WithHTTPClient(client *http.Client) *FulfillItemsParams
WithHTTPClient adds the HTTPClient to the fulfill items params
func (*FulfillItemsParams) WithNamespace ¶
func (o *FulfillItemsParams) WithNamespace(namespace string) *FulfillItemsParams
WithNamespace adds the namespace to the fulfill items params
func (*FulfillItemsParams) WithTimeout ¶
func (o *FulfillItemsParams) WithTimeout(timeout time.Duration) *FulfillItemsParams
WithTimeout adds the timeout to the fulfill items params
func (*FulfillItemsParams) WithTransactionID ¶
func (o *FulfillItemsParams) WithTransactionID(transactionID string) *FulfillItemsParams
WithTransactionID adds the transactionID to the fulfill items params
func (*FulfillItemsParams) WithUserID ¶
func (o *FulfillItemsParams) WithUserID(userID string) *FulfillItemsParams
WithUserID adds the userID to the fulfill items params
func (*FulfillItemsParams) WriteToRequest ¶
func (o *FulfillItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FulfillItemsReader ¶
type FulfillItemsReader struct {
// contains filtered or unexported fields
}
FulfillItemsReader is a Reader for the FulfillItems structure.
func (*FulfillItemsReader) ReadResponse ¶
func (o *FulfillItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FulfillItemsResponse ¶
type FulfillItemsResponse struct {
platformclientmodels.ApiResponse
Data *platformclientmodels.FulfillmentV2Result
Error400 *platformclientmodels.ErrorEntity
Error404 *platformclientmodels.ErrorEntity
Error409 *platformclientmodels.FulfillmentV2Result
}
func (*FulfillItemsResponse) Unpack ¶
func (m *FulfillItemsResponse) Unpack() (*platformclientmodels.FulfillmentV2Result, *platformclientmodels.ApiError)
type FulfillItemsV3BadRequest ¶
type FulfillItemsV3BadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillItemsV3BadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr><tr><td>38121</td><td>Duplicate permanent item exists</td></tr><tr><td>38122</td><td>Subscription endDate required</td></tr><tr><td>38128</td><td>Cannot retry fulfillment with different payload. Please check the items list.</td></tr><tr><td>38129</td><td>Cannot combine same item [{itemId}] with different [{fieldName}] value</td></tr><tr><td>38130</td><td>Cannot fulfill item with type [{itemType}] in item [{itemIdentity}]</td></tr></table>
func NewFulfillItemsV3BadRequest ¶
func NewFulfillItemsV3BadRequest() *FulfillItemsV3BadRequest
NewFulfillItemsV3BadRequest creates a FulfillItemsV3BadRequest with default headers values
func (*FulfillItemsV3BadRequest) Error ¶
func (o *FulfillItemsV3BadRequest) Error() string
func (*FulfillItemsV3BadRequest) GetPayload ¶
func (o *FulfillItemsV3BadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillItemsV3BadRequest) ToJSONString ¶
func (o *FulfillItemsV3BadRequest) ToJSONString() string
type FulfillItemsV3NotFound ¶
type FulfillItemsV3NotFound struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillItemsV3NotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>30343</td><td>Item of sku [{sku}] does not exist</td></tr></table>
func NewFulfillItemsV3NotFound ¶
func NewFulfillItemsV3NotFound() *FulfillItemsV3NotFound
NewFulfillItemsV3NotFound creates a FulfillItemsV3NotFound with default headers values
func (*FulfillItemsV3NotFound) Error ¶
func (o *FulfillItemsV3NotFound) Error() string
func (*FulfillItemsV3NotFound) GetPayload ¶
func (o *FulfillItemsV3NotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillItemsV3NotFound) ToJSONString ¶
func (o *FulfillItemsV3NotFound) ToJSONString() string
type FulfillItemsV3OK ¶
type FulfillItemsV3OK struct {
Payload *platformclientmodels.FulfillmentV2Result
}
FulfillItemsV3OK handles this case with default header values.
successful operation
func NewFulfillItemsV3OK ¶
func NewFulfillItemsV3OK() *FulfillItemsV3OK
NewFulfillItemsV3OK creates a FulfillItemsV3OK with default headers values
func (*FulfillItemsV3OK) Error ¶
func (o *FulfillItemsV3OK) Error() string
func (*FulfillItemsV3OK) GetPayload ¶
func (o *FulfillItemsV3OK) GetPayload() *platformclientmodels.FulfillmentV2Result
func (*FulfillItemsV3OK) ToJSONString ¶
func (o *FulfillItemsV3OK) ToJSONString() string
type FulfillItemsV3Params ¶
type FulfillItemsV3Params struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *platformclientmodels.FulfillmentV2Request
/*Namespace*/
Namespace string
/*TransactionID*/
TransactionID string
/*UserID*/
UserID string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
FulfillItemsV3Params contains all the parameters to send to the API endpoint for the fulfill items v3 operation typically these are written to a http.Request
func NewFulfillItemsV3Params ¶
func NewFulfillItemsV3Params() *FulfillItemsV3Params
NewFulfillItemsV3Params creates a new FulfillItemsV3Params object with the default values initialized.
func NewFulfillItemsV3ParamsWithContext ¶
func NewFulfillItemsV3ParamsWithContext(ctx context.Context) *FulfillItemsV3Params
NewFulfillItemsV3ParamsWithContext creates a new FulfillItemsV3Params object with the default values initialized, and the ability to set a context for a request
func NewFulfillItemsV3ParamsWithHTTPClient ¶
func NewFulfillItemsV3ParamsWithHTTPClient(client *http.Client) *FulfillItemsV3Params
NewFulfillItemsV3ParamsWithHTTPClient creates a new FulfillItemsV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFulfillItemsV3ParamsWithTimeout ¶
func NewFulfillItemsV3ParamsWithTimeout(timeout time.Duration) *FulfillItemsV3Params
NewFulfillItemsV3ParamsWithTimeout creates a new FulfillItemsV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*FulfillItemsV3Params) SetAuthInfoWriter ¶
func (o *FulfillItemsV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the fulfill items v3 params
func (*FulfillItemsV3Params) SetBody ¶
func (o *FulfillItemsV3Params) SetBody(body *platformclientmodels.FulfillmentV2Request)
SetBody adds the body to the fulfill items v3 params
func (*FulfillItemsV3Params) SetContext ¶
func (o *FulfillItemsV3Params) SetContext(ctx context.Context)
SetContext adds the context to the fulfill items v3 params
func (*FulfillItemsV3Params) SetFlightId ¶
func (o *FulfillItemsV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*FulfillItemsV3Params) SetHTTPClient ¶
func (o *FulfillItemsV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fulfill items v3 params
func (*FulfillItemsV3Params) SetHTTPClientTransport ¶
func (o *FulfillItemsV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the fulfill items v3 params
func (*FulfillItemsV3Params) SetNamespace ¶
func (o *FulfillItemsV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the fulfill items v3 params
func (*FulfillItemsV3Params) SetTimeout ¶
func (o *FulfillItemsV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fulfill items v3 params
func (*FulfillItemsV3Params) SetTransactionID ¶
func (o *FulfillItemsV3Params) SetTransactionID(transactionID string)
SetTransactionID adds the transactionId to the fulfill items v3 params
func (*FulfillItemsV3Params) SetUserID ¶
func (o *FulfillItemsV3Params) SetUserID(userID string)
SetUserID adds the userId to the fulfill items v3 params
func (*FulfillItemsV3Params) WithBody ¶
func (o *FulfillItemsV3Params) WithBody(body *platformclientmodels.FulfillmentV2Request) *FulfillItemsV3Params
WithBody adds the body to the fulfill items v3 params
func (*FulfillItemsV3Params) WithContext ¶
func (o *FulfillItemsV3Params) WithContext(ctx context.Context) *FulfillItemsV3Params
WithContext adds the context to the fulfill items v3 params
func (*FulfillItemsV3Params) WithHTTPClient ¶
func (o *FulfillItemsV3Params) WithHTTPClient(client *http.Client) *FulfillItemsV3Params
WithHTTPClient adds the HTTPClient to the fulfill items v3 params
func (*FulfillItemsV3Params) WithNamespace ¶
func (o *FulfillItemsV3Params) WithNamespace(namespace string) *FulfillItemsV3Params
WithNamespace adds the namespace to the fulfill items v3 params
func (*FulfillItemsV3Params) WithTimeout ¶
func (o *FulfillItemsV3Params) WithTimeout(timeout time.Duration) *FulfillItemsV3Params
WithTimeout adds the timeout to the fulfill items v3 params
func (*FulfillItemsV3Params) WithTransactionID ¶
func (o *FulfillItemsV3Params) WithTransactionID(transactionID string) *FulfillItemsV3Params
WithTransactionID adds the transactionID to the fulfill items v3 params
func (*FulfillItemsV3Params) WithUserID ¶
func (o *FulfillItemsV3Params) WithUserID(userID string) *FulfillItemsV3Params
WithUserID adds the userID to the fulfill items v3 params
func (*FulfillItemsV3Params) WriteToRequest ¶
func (o *FulfillItemsV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FulfillItemsV3Reader ¶
type FulfillItemsV3Reader struct {
// contains filtered or unexported fields
}
FulfillItemsV3Reader is a Reader for the FulfillItemsV3 structure.
func (*FulfillItemsV3Reader) ReadResponse ¶
func (o *FulfillItemsV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FulfillItemsV3Response ¶
type FulfillItemsV3Response struct {
platformclientmodels.ApiResponse
Data *platformclientmodels.FulfillmentV2Result
Error400 *platformclientmodels.ErrorEntity
Error404 *platformclientmodels.ErrorEntity
}
func (*FulfillItemsV3Response) Unpack ¶
func (m *FulfillItemsV3Response) Unpack() (*platformclientmodels.FulfillmentV2Result, *platformclientmodels.ApiError)
type FulfillRewardsBadRequest ¶
type FulfillRewardsBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillRewardsBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr><tr><td>38121</td><td>Duplicate permanent item exists</td></tr></table>
func NewFulfillRewardsBadRequest ¶
func NewFulfillRewardsBadRequest() *FulfillRewardsBadRequest
NewFulfillRewardsBadRequest creates a FulfillRewardsBadRequest with default headers values
func (*FulfillRewardsBadRequest) Error ¶
func (o *FulfillRewardsBadRequest) Error() string
func (*FulfillRewardsBadRequest) GetPayload ¶
func (o *FulfillRewardsBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillRewardsBadRequest) ToJSONString ¶
func (o *FulfillRewardsBadRequest) ToJSONString() string
type FulfillRewardsConflict ¶
type FulfillRewardsConflict struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillRewardsConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewFulfillRewardsConflict ¶
func NewFulfillRewardsConflict() *FulfillRewardsConflict
NewFulfillRewardsConflict creates a FulfillRewardsConflict with default headers values
func (*FulfillRewardsConflict) Error ¶
func (o *FulfillRewardsConflict) Error() string
func (*FulfillRewardsConflict) GetPayload ¶
func (o *FulfillRewardsConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillRewardsConflict) ToJSONString ¶
func (o *FulfillRewardsConflict) ToJSONString() string
type FulfillRewardsNoContent ¶
type FulfillRewardsNoContent struct {
}
FulfillRewardsNoContent handles this case with default header values.
fulfill successfully
func NewFulfillRewardsNoContent ¶
func NewFulfillRewardsNoContent() *FulfillRewardsNoContent
NewFulfillRewardsNoContent creates a FulfillRewardsNoContent with default headers values
func (*FulfillRewardsNoContent) Error ¶
func (o *FulfillRewardsNoContent) Error() string
type FulfillRewardsNotFound ¶
type FulfillRewardsNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillRewardsNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewFulfillRewardsNotFound ¶
func NewFulfillRewardsNotFound() *FulfillRewardsNotFound
NewFulfillRewardsNotFound creates a FulfillRewardsNotFound with default headers values
func (*FulfillRewardsNotFound) Error ¶
func (o *FulfillRewardsNotFound) Error() string
func (*FulfillRewardsNotFound) GetPayload ¶
func (o *FulfillRewardsNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillRewardsNotFound) ToJSONString ¶
func (o *FulfillRewardsNotFound) ToJSONString() string
type FulfillRewardsParams ¶
type FulfillRewardsParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *platformclientmodels.RewardsRequest
/*Namespace*/
Namespace string
/*UserID*/
UserID string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
FulfillRewardsParams contains all the parameters to send to the API endpoint for the fulfill rewards operation typically these are written to a http.Request
func NewFulfillRewardsParams ¶
func NewFulfillRewardsParams() *FulfillRewardsParams
NewFulfillRewardsParams creates a new FulfillRewardsParams object with the default values initialized.
func NewFulfillRewardsParamsWithContext ¶
func NewFulfillRewardsParamsWithContext(ctx context.Context) *FulfillRewardsParams
NewFulfillRewardsParamsWithContext creates a new FulfillRewardsParams object with the default values initialized, and the ability to set a context for a request
func NewFulfillRewardsParamsWithHTTPClient ¶
func NewFulfillRewardsParamsWithHTTPClient(client *http.Client) *FulfillRewardsParams
NewFulfillRewardsParamsWithHTTPClient creates a new FulfillRewardsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFulfillRewardsParamsWithTimeout ¶
func NewFulfillRewardsParamsWithTimeout(timeout time.Duration) *FulfillRewardsParams
NewFulfillRewardsParamsWithTimeout creates a new FulfillRewardsParams object with the default values initialized, and the ability to set a timeout on a request
func (*FulfillRewardsParams) SetAuthInfoWriter ¶
func (o *FulfillRewardsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the fulfill rewards params
func (*FulfillRewardsParams) SetBody ¶
func (o *FulfillRewardsParams) SetBody(body *platformclientmodels.RewardsRequest)
SetBody adds the body to the fulfill rewards params
func (*FulfillRewardsParams) SetContext ¶
func (o *FulfillRewardsParams) SetContext(ctx context.Context)
SetContext adds the context to the fulfill rewards params
func (*FulfillRewardsParams) SetFlightId ¶
func (o *FulfillRewardsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*FulfillRewardsParams) SetHTTPClient ¶
func (o *FulfillRewardsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fulfill rewards params
func (*FulfillRewardsParams) SetHTTPClientTransport ¶
func (o *FulfillRewardsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the fulfill rewards params
func (*FulfillRewardsParams) SetNamespace ¶
func (o *FulfillRewardsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the fulfill rewards params
func (*FulfillRewardsParams) SetTimeout ¶
func (o *FulfillRewardsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fulfill rewards params
func (*FulfillRewardsParams) SetUserID ¶
func (o *FulfillRewardsParams) SetUserID(userID string)
SetUserID adds the userId to the fulfill rewards params
func (*FulfillRewardsParams) WithBody ¶
func (o *FulfillRewardsParams) WithBody(body *platformclientmodels.RewardsRequest) *FulfillRewardsParams
WithBody adds the body to the fulfill rewards params
func (*FulfillRewardsParams) WithContext ¶
func (o *FulfillRewardsParams) WithContext(ctx context.Context) *FulfillRewardsParams
WithContext adds the context to the fulfill rewards params
func (*FulfillRewardsParams) WithHTTPClient ¶
func (o *FulfillRewardsParams) WithHTTPClient(client *http.Client) *FulfillRewardsParams
WithHTTPClient adds the HTTPClient to the fulfill rewards params
func (*FulfillRewardsParams) WithNamespace ¶
func (o *FulfillRewardsParams) WithNamespace(namespace string) *FulfillRewardsParams
WithNamespace adds the namespace to the fulfill rewards params
func (*FulfillRewardsParams) WithTimeout ¶
func (o *FulfillRewardsParams) WithTimeout(timeout time.Duration) *FulfillRewardsParams
WithTimeout adds the timeout to the fulfill rewards params
func (*FulfillRewardsParams) WithUserID ¶
func (o *FulfillRewardsParams) WithUserID(userID string) *FulfillRewardsParams
WithUserID adds the userID to the fulfill rewards params
func (*FulfillRewardsParams) WriteToRequest ¶
func (o *FulfillRewardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FulfillRewardsReader ¶
type FulfillRewardsReader struct {
// contains filtered or unexported fields
}
FulfillRewardsReader is a Reader for the FulfillRewards structure.
func (*FulfillRewardsReader) ReadResponse ¶
func (o *FulfillRewardsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FulfillRewardsResponse ¶
type FulfillRewardsResponse struct {
platformclientmodels.ApiResponse
Error400 *platformclientmodels.ErrorEntity
Error404 *platformclientmodels.ErrorEntity
Error409 *platformclientmodels.ErrorEntity
}
func (*FulfillRewardsResponse) Unpack ¶
func (m *FulfillRewardsResponse) Unpack() *platformclientmodels.ApiError
type FulfillRewardsV2BadRequest ¶
type FulfillRewardsV2BadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillRewardsV2BadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr><tr><td>38121</td><td>Duplicate permanent item exists</td></tr></table>
func NewFulfillRewardsV2BadRequest ¶
func NewFulfillRewardsV2BadRequest() *FulfillRewardsV2BadRequest
NewFulfillRewardsV2BadRequest creates a FulfillRewardsV2BadRequest with default headers values
func (*FulfillRewardsV2BadRequest) Error ¶
func (o *FulfillRewardsV2BadRequest) Error() string
func (*FulfillRewardsV2BadRequest) GetPayload ¶
func (o *FulfillRewardsV2BadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillRewardsV2BadRequest) ToJSONString ¶
func (o *FulfillRewardsV2BadRequest) ToJSONString() string
type FulfillRewardsV2Conflict ¶
type FulfillRewardsV2Conflict struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillRewardsV2Conflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>
func NewFulfillRewardsV2Conflict ¶
func NewFulfillRewardsV2Conflict() *FulfillRewardsV2Conflict
NewFulfillRewardsV2Conflict creates a FulfillRewardsV2Conflict with default headers values
func (*FulfillRewardsV2Conflict) Error ¶
func (o *FulfillRewardsV2Conflict) Error() string
func (*FulfillRewardsV2Conflict) GetPayload ¶
func (o *FulfillRewardsV2Conflict) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillRewardsV2Conflict) ToJSONString ¶
func (o *FulfillRewardsV2Conflict) ToJSONString() string
type FulfillRewardsV2NotFound ¶
type FulfillRewardsV2NotFound struct {
Payload *platformclientmodels.ErrorEntity
}
FulfillRewardsV2NotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewFulfillRewardsV2NotFound ¶
func NewFulfillRewardsV2NotFound() *FulfillRewardsV2NotFound
NewFulfillRewardsV2NotFound creates a FulfillRewardsV2NotFound with default headers values
func (*FulfillRewardsV2NotFound) Error ¶
func (o *FulfillRewardsV2NotFound) Error() string
func (*FulfillRewardsV2NotFound) GetPayload ¶
func (o *FulfillRewardsV2NotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*FulfillRewardsV2NotFound) ToJSONString ¶
func (o *FulfillRewardsV2NotFound) ToJSONString() string
type FulfillRewardsV2OK ¶
type FulfillRewardsV2OK struct {
Payload *platformclientmodels.FulfillmentResult
}
FulfillRewardsV2OK handles this case with default header values.
successful operation
func NewFulfillRewardsV2OK ¶
func NewFulfillRewardsV2OK() *FulfillRewardsV2OK
NewFulfillRewardsV2OK creates a FulfillRewardsV2OK with default headers values
func (*FulfillRewardsV2OK) Error ¶
func (o *FulfillRewardsV2OK) Error() string
func (*FulfillRewardsV2OK) GetPayload ¶
func (o *FulfillRewardsV2OK) GetPayload() *platformclientmodels.FulfillmentResult
func (*FulfillRewardsV2OK) ToJSONString ¶
func (o *FulfillRewardsV2OK) ToJSONString() string
type FulfillRewardsV2Params ¶
type FulfillRewardsV2Params struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *platformclientmodels.RewardsRequest
/*Namespace*/
Namespace string
/*UserID*/
UserID string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
FulfillRewardsV2Params contains all the parameters to send to the API endpoint for the fulfill rewards v2 operation typically these are written to a http.Request
func NewFulfillRewardsV2Params ¶
func NewFulfillRewardsV2Params() *FulfillRewardsV2Params
NewFulfillRewardsV2Params creates a new FulfillRewardsV2Params object with the default values initialized.
func NewFulfillRewardsV2ParamsWithContext ¶
func NewFulfillRewardsV2ParamsWithContext(ctx context.Context) *FulfillRewardsV2Params
NewFulfillRewardsV2ParamsWithContext creates a new FulfillRewardsV2Params object with the default values initialized, and the ability to set a context for a request
func NewFulfillRewardsV2ParamsWithHTTPClient ¶
func NewFulfillRewardsV2ParamsWithHTTPClient(client *http.Client) *FulfillRewardsV2Params
NewFulfillRewardsV2ParamsWithHTTPClient creates a new FulfillRewardsV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewFulfillRewardsV2ParamsWithTimeout ¶
func NewFulfillRewardsV2ParamsWithTimeout(timeout time.Duration) *FulfillRewardsV2Params
NewFulfillRewardsV2ParamsWithTimeout creates a new FulfillRewardsV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*FulfillRewardsV2Params) SetAuthInfoWriter ¶
func (o *FulfillRewardsV2Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) SetBody ¶
func (o *FulfillRewardsV2Params) SetBody(body *platformclientmodels.RewardsRequest)
SetBody adds the body to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) SetContext ¶
func (o *FulfillRewardsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) SetFlightId ¶
func (o *FulfillRewardsV2Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*FulfillRewardsV2Params) SetHTTPClient ¶
func (o *FulfillRewardsV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) SetHTTPClientTransport ¶
func (o *FulfillRewardsV2Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) SetNamespace ¶
func (o *FulfillRewardsV2Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) SetTimeout ¶
func (o *FulfillRewardsV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) SetUserID ¶
func (o *FulfillRewardsV2Params) SetUserID(userID string)
SetUserID adds the userId to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) WithBody ¶
func (o *FulfillRewardsV2Params) WithBody(body *platformclientmodels.RewardsRequest) *FulfillRewardsV2Params
WithBody adds the body to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) WithContext ¶
func (o *FulfillRewardsV2Params) WithContext(ctx context.Context) *FulfillRewardsV2Params
WithContext adds the context to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) WithHTTPClient ¶
func (o *FulfillRewardsV2Params) WithHTTPClient(client *http.Client) *FulfillRewardsV2Params
WithHTTPClient adds the HTTPClient to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) WithNamespace ¶
func (o *FulfillRewardsV2Params) WithNamespace(namespace string) *FulfillRewardsV2Params
WithNamespace adds the namespace to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) WithTimeout ¶
func (o *FulfillRewardsV2Params) WithTimeout(timeout time.Duration) *FulfillRewardsV2Params
WithTimeout adds the timeout to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) WithUserID ¶
func (o *FulfillRewardsV2Params) WithUserID(userID string) *FulfillRewardsV2Params
WithUserID adds the userID to the fulfill rewards v2 params
func (*FulfillRewardsV2Params) WriteToRequest ¶
func (o *FulfillRewardsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FulfillRewardsV2Reader ¶
type FulfillRewardsV2Reader struct {
// contains filtered or unexported fields
}
FulfillRewardsV2Reader is a Reader for the FulfillRewardsV2 structure.
func (*FulfillRewardsV2Reader) ReadResponse ¶
func (o *FulfillRewardsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FulfillRewardsV2Response ¶
type FulfillRewardsV2Response struct {
platformclientmodels.ApiResponse
Data *platformclientmodels.FulfillmentResult
Error400 *platformclientmodels.ErrorEntity
Error404 *platformclientmodels.ErrorEntity
Error409 *platformclientmodels.ErrorEntity
}
func (*FulfillRewardsV2Response) Unpack ¶
func (m *FulfillRewardsV2Response) Unpack() (*platformclientmodels.FulfillmentResult, *platformclientmodels.ApiError)
type PreCheckFulfillItemBadRequest ¶
type PreCheckFulfillItemBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
PreCheckFulfillItemBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38121</td><td>Duplicate permanent item exists</td></tr></table>
func NewPreCheckFulfillItemBadRequest ¶
func NewPreCheckFulfillItemBadRequest() *PreCheckFulfillItemBadRequest
NewPreCheckFulfillItemBadRequest creates a PreCheckFulfillItemBadRequest with default headers values
func (*PreCheckFulfillItemBadRequest) Error ¶
func (o *PreCheckFulfillItemBadRequest) Error() string
func (*PreCheckFulfillItemBadRequest) GetPayload ¶
func (o *PreCheckFulfillItemBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*PreCheckFulfillItemBadRequest) ToJSONString ¶
func (o *PreCheckFulfillItemBadRequest) ToJSONString() string
type PreCheckFulfillItemNotFound ¶
type PreCheckFulfillItemNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
PreCheckFulfillItemNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr></table>
func NewPreCheckFulfillItemNotFound ¶
func NewPreCheckFulfillItemNotFound() *PreCheckFulfillItemNotFound
NewPreCheckFulfillItemNotFound creates a PreCheckFulfillItemNotFound with default headers values
func (*PreCheckFulfillItemNotFound) Error ¶
func (o *PreCheckFulfillItemNotFound) Error() string
func (*PreCheckFulfillItemNotFound) GetPayload ¶
func (o *PreCheckFulfillItemNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*PreCheckFulfillItemNotFound) ToJSONString ¶
func (o *PreCheckFulfillItemNotFound) ToJSONString() string
type PreCheckFulfillItemOK ¶
type PreCheckFulfillItemOK struct {
Payload []*platformclientmodels.FulfillmentItem
}
PreCheckFulfillItemOK handles this case with default header values.
Successful retrieval
func NewPreCheckFulfillItemOK ¶
func NewPreCheckFulfillItemOK() *PreCheckFulfillItemOK
NewPreCheckFulfillItemOK creates a PreCheckFulfillItemOK with default headers values
func (*PreCheckFulfillItemOK) Error ¶
func (o *PreCheckFulfillItemOK) Error() string
func (*PreCheckFulfillItemOK) GetPayload ¶
func (o *PreCheckFulfillItemOK) GetPayload() []*platformclientmodels.FulfillmentItem
func (*PreCheckFulfillItemOK) ToJSONString ¶
func (o *PreCheckFulfillItemOK) ToJSONString() string
type PreCheckFulfillItemParams ¶
type PreCheckFulfillItemParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *platformclientmodels.PreCheckFulfillmentRequest
/*Namespace*/
Namespace string
/*UserID*/
UserID string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
PreCheckFulfillItemParams contains all the parameters to send to the API endpoint for the pre check fulfill item operation typically these are written to a http.Request
func NewPreCheckFulfillItemParams ¶
func NewPreCheckFulfillItemParams() *PreCheckFulfillItemParams
NewPreCheckFulfillItemParams creates a new PreCheckFulfillItemParams object with the default values initialized.
func NewPreCheckFulfillItemParamsWithContext ¶
func NewPreCheckFulfillItemParamsWithContext(ctx context.Context) *PreCheckFulfillItemParams
NewPreCheckFulfillItemParamsWithContext creates a new PreCheckFulfillItemParams object with the default values initialized, and the ability to set a context for a request
func NewPreCheckFulfillItemParamsWithHTTPClient ¶
func NewPreCheckFulfillItemParamsWithHTTPClient(client *http.Client) *PreCheckFulfillItemParams
NewPreCheckFulfillItemParamsWithHTTPClient creates a new PreCheckFulfillItemParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPreCheckFulfillItemParamsWithTimeout ¶
func NewPreCheckFulfillItemParamsWithTimeout(timeout time.Duration) *PreCheckFulfillItemParams
NewPreCheckFulfillItemParamsWithTimeout creates a new PreCheckFulfillItemParams object with the default values initialized, and the ability to set a timeout on a request
func (*PreCheckFulfillItemParams) SetAuthInfoWriter ¶
func (o *PreCheckFulfillItemParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the pre check fulfill item params
func (*PreCheckFulfillItemParams) SetBody ¶
func (o *PreCheckFulfillItemParams) SetBody(body *platformclientmodels.PreCheckFulfillmentRequest)
SetBody adds the body to the pre check fulfill item params
func (*PreCheckFulfillItemParams) SetContext ¶
func (o *PreCheckFulfillItemParams) SetContext(ctx context.Context)
SetContext adds the context to the pre check fulfill item params
func (*PreCheckFulfillItemParams) SetFlightId ¶
func (o *PreCheckFulfillItemParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PreCheckFulfillItemParams) SetHTTPClient ¶
func (o *PreCheckFulfillItemParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pre check fulfill item params
func (*PreCheckFulfillItemParams) SetHTTPClientTransport ¶
func (o *PreCheckFulfillItemParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the pre check fulfill item params
func (*PreCheckFulfillItemParams) SetNamespace ¶
func (o *PreCheckFulfillItemParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the pre check fulfill item params
func (*PreCheckFulfillItemParams) SetTimeout ¶
func (o *PreCheckFulfillItemParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pre check fulfill item params
func (*PreCheckFulfillItemParams) SetUserID ¶
func (o *PreCheckFulfillItemParams) SetUserID(userID string)
SetUserID adds the userId to the pre check fulfill item params
func (*PreCheckFulfillItemParams) WithBody ¶
func (o *PreCheckFulfillItemParams) WithBody(body *platformclientmodels.PreCheckFulfillmentRequest) *PreCheckFulfillItemParams
WithBody adds the body to the pre check fulfill item params
func (*PreCheckFulfillItemParams) WithContext ¶
func (o *PreCheckFulfillItemParams) WithContext(ctx context.Context) *PreCheckFulfillItemParams
WithContext adds the context to the pre check fulfill item params
func (*PreCheckFulfillItemParams) WithHTTPClient ¶
func (o *PreCheckFulfillItemParams) WithHTTPClient(client *http.Client) *PreCheckFulfillItemParams
WithHTTPClient adds the HTTPClient to the pre check fulfill item params
func (*PreCheckFulfillItemParams) WithNamespace ¶
func (o *PreCheckFulfillItemParams) WithNamespace(namespace string) *PreCheckFulfillItemParams
WithNamespace adds the namespace to the pre check fulfill item params
func (*PreCheckFulfillItemParams) WithTimeout ¶
func (o *PreCheckFulfillItemParams) WithTimeout(timeout time.Duration) *PreCheckFulfillItemParams
WithTimeout adds the timeout to the pre check fulfill item params
func (*PreCheckFulfillItemParams) WithUserID ¶
func (o *PreCheckFulfillItemParams) WithUserID(userID string) *PreCheckFulfillItemParams
WithUserID adds the userID to the pre check fulfill item params
func (*PreCheckFulfillItemParams) WriteToRequest ¶
func (o *PreCheckFulfillItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PreCheckFulfillItemReader ¶
type PreCheckFulfillItemReader struct {
// contains filtered or unexported fields
}
PreCheckFulfillItemReader is a Reader for the PreCheckFulfillItem structure.
func (*PreCheckFulfillItemReader) ReadResponse ¶
func (o *PreCheckFulfillItemReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PreCheckFulfillItemResponse ¶
type PreCheckFulfillItemResponse struct {
platformclientmodels.ApiResponse
Data []*platformclientmodels.FulfillmentItem
Error400 *platformclientmodels.ErrorEntity
Error404 *platformclientmodels.ErrorEntity
}
func (*PreCheckFulfillItemResponse) Unpack ¶
func (m *PreCheckFulfillItemResponse) Unpack() ([]*platformclientmodels.FulfillmentItem, *platformclientmodels.ApiError)
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 ¶
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 ¶
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 ¶
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 ¶
func (o *PublicRedeemCodeOK) ToJSONString() string
type PublicRedeemCodeParams ¶
type PublicRedeemCodeParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *platformclientmodels.FulfillCodeRequest
/*Namespace*/
Namespace string
/*UserID*/
UserID string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
PublicRedeemCodeParams contains all the parameters to send to the API endpoint for the public redeem code operation typically these are written to a http.Request
func NewPublicRedeemCodeParams ¶
func NewPublicRedeemCodeParams() *PublicRedeemCodeParams
NewPublicRedeemCodeParams creates a new PublicRedeemCodeParams object with the default values initialized.
func NewPublicRedeemCodeParamsWithContext ¶
func NewPublicRedeemCodeParamsWithContext(ctx context.Context) *PublicRedeemCodeParams
NewPublicRedeemCodeParamsWithContext creates a new PublicRedeemCodeParams object with the default values initialized, and the ability to set a context for a request
func NewPublicRedeemCodeParamsWithHTTPClient ¶
func NewPublicRedeemCodeParamsWithHTTPClient(client *http.Client) *PublicRedeemCodeParams
NewPublicRedeemCodeParamsWithHTTPClient creates a new PublicRedeemCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicRedeemCodeParamsWithTimeout ¶
func NewPublicRedeemCodeParamsWithTimeout(timeout time.Duration) *PublicRedeemCodeParams
NewPublicRedeemCodeParamsWithTimeout creates a new PublicRedeemCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicRedeemCodeParams) SetAuthInfoWriter ¶
func (o *PublicRedeemCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public redeem code params
func (*PublicRedeemCodeParams) SetBody ¶
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 ¶
func (o *PublicRedeemCodeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicRedeemCodeParams) SetHTTPClient ¶
func (o *PublicRedeemCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public redeem code params
func (*PublicRedeemCodeParams) SetHTTPClientTransport ¶
func (o *PublicRedeemCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public redeem code params
func (*PublicRedeemCodeParams) SetNamespace ¶
func (o *PublicRedeemCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public redeem code params
func (*PublicRedeemCodeParams) SetTimeout ¶
func (o *PublicRedeemCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public redeem code params
func (*PublicRedeemCodeParams) SetUserID ¶
func (o *PublicRedeemCodeParams) SetUserID(userID string)
SetUserID adds the userId to the public redeem code params
func (*PublicRedeemCodeParams) WithBody ¶
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 PublicRedeemCodeResponse ¶
type PublicRedeemCodeResponse struct {
platformclientmodels.ApiResponse
Data *platformclientmodels.FulfillmentResult
Error400 *platformclientmodels.ErrorEntity
Error404 *platformclientmodels.ErrorEntity
Error409 *platformclientmodels.ErrorEntity
Error429 *platformclientmodels.ErrorEntity
}
func (*PublicRedeemCodeResponse) Unpack ¶
func (m *PublicRedeemCodeResponse) Unpack() (*platformclientmodels.FulfillmentResult, *platformclientmodels.ApiError)
type PublicRedeemCodeTooManyRequests ¶
type PublicRedeemCodeTooManyRequests struct {
Payload *platformclientmodels.ErrorEntity
}
PublicRedeemCodeTooManyRequests handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20007</td><td>too many requests</td></tr></table>
func NewPublicRedeemCodeTooManyRequests ¶
func NewPublicRedeemCodeTooManyRequests() *PublicRedeemCodeTooManyRequests
NewPublicRedeemCodeTooManyRequests creates a PublicRedeemCodeTooManyRequests with default headers values
func (*PublicRedeemCodeTooManyRequests) Error ¶
func (o *PublicRedeemCodeTooManyRequests) Error() string
func (*PublicRedeemCodeTooManyRequests) GetPayload ¶
func (o *PublicRedeemCodeTooManyRequests) GetPayload() *platformclientmodels.ErrorEntity
func (*PublicRedeemCodeTooManyRequests) ToJSONString ¶
func (o *PublicRedeemCodeTooManyRequests) ToJSONString() string
type QueryFulfillmentHistoriesOK ¶
type QueryFulfillmentHistoriesOK struct {
Payload *platformclientmodels.FulfillmentHistoryPagingSlicedResult
}
QueryFulfillmentHistoriesOK handles this case with default header values.
successful operation
func NewQueryFulfillmentHistoriesOK ¶
func NewQueryFulfillmentHistoriesOK() *QueryFulfillmentHistoriesOK
NewQueryFulfillmentHistoriesOK creates a QueryFulfillmentHistoriesOK with default headers values
func (*QueryFulfillmentHistoriesOK) Error ¶
func (o *QueryFulfillmentHistoriesOK) Error() string
func (*QueryFulfillmentHistoriesOK) GetPayload ¶
func (o *QueryFulfillmentHistoriesOK) GetPayload() *platformclientmodels.FulfillmentHistoryPagingSlicedResult
func (*QueryFulfillmentHistoriesOK) ToJSONString ¶
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 ¶
func (o *QueryFulfillmentHistoriesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) SetContext ¶
func (o *QueryFulfillmentHistoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) SetFlightId ¶
func (o *QueryFulfillmentHistoriesParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*QueryFulfillmentHistoriesParams) SetHTTPClient ¶
func (o *QueryFulfillmentHistoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) SetHTTPClientTransport ¶
func (o *QueryFulfillmentHistoriesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) SetLimit ¶
func (o *QueryFulfillmentHistoriesParams) SetLimit(limit *int32)
SetLimit adds the limit to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) SetNamespace ¶
func (o *QueryFulfillmentHistoriesParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) SetOffset ¶
func (o *QueryFulfillmentHistoriesParams) SetOffset(offset *int32)
SetOffset adds the offset to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) SetStatus ¶
func (o *QueryFulfillmentHistoriesParams) SetStatus(status *string)
SetStatus adds the status to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) SetTimeout ¶
func (o *QueryFulfillmentHistoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) SetUserID ¶
func (o *QueryFulfillmentHistoriesParams) SetUserID(userID *string)
SetUserID adds the userId to the query fulfillment histories params
func (*QueryFulfillmentHistoriesParams) WithContext ¶
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 QueryFulfillmentHistoriesResponse ¶
type QueryFulfillmentHistoriesResponse struct {
platformclientmodels.ApiResponse
Data *platformclientmodels.FulfillmentHistoryPagingSlicedResult
}
type QueryFulfillmentsOK ¶
type QueryFulfillmentsOK struct {
Payload *platformclientmodels.FulfillmentPagingSlicedResult
}
QueryFulfillmentsOK handles this case with default header values.
successful operation
func NewQueryFulfillmentsOK ¶
func NewQueryFulfillmentsOK() *QueryFulfillmentsOK
NewQueryFulfillmentsOK creates a QueryFulfillmentsOK with default headers values
func (*QueryFulfillmentsOK) Error ¶
func (o *QueryFulfillmentsOK) Error() string
func (*QueryFulfillmentsOK) GetPayload ¶
func (o *QueryFulfillmentsOK) GetPayload() *platformclientmodels.FulfillmentPagingSlicedResult
func (*QueryFulfillmentsOK) ToJSONString ¶
func (o *QueryFulfillmentsOK) ToJSONString() string
type QueryFulfillmentsParams ¶
type QueryFulfillmentsParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Namespace*/
Namespace string
/*EndTime
end time is exclusive, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ
*/
EndTime *string
/*Limit*/
Limit *int32
/*Offset*/
Offset *int32
/*StartTime
start time is inclusive, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ssZZ
*/
StartTime *string
/*State*/
State *string
/*TransactionID*/
TransactionID *string
/*UserID*/
UserID *string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
QueryFulfillmentsParams contains all the parameters to send to the API endpoint for the query fulfillments operation typically these are written to a http.Request
func NewQueryFulfillmentsParams ¶
func NewQueryFulfillmentsParams() *QueryFulfillmentsParams
NewQueryFulfillmentsParams creates a new QueryFulfillmentsParams object with the default values initialized.
func NewQueryFulfillmentsParamsWithContext ¶
func NewQueryFulfillmentsParamsWithContext(ctx context.Context) *QueryFulfillmentsParams
NewQueryFulfillmentsParamsWithContext creates a new QueryFulfillmentsParams object with the default values initialized, and the ability to set a context for a request
func NewQueryFulfillmentsParamsWithHTTPClient ¶
func NewQueryFulfillmentsParamsWithHTTPClient(client *http.Client) *QueryFulfillmentsParams
NewQueryFulfillmentsParamsWithHTTPClient creates a new QueryFulfillmentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryFulfillmentsParamsWithTimeout ¶
func NewQueryFulfillmentsParamsWithTimeout(timeout time.Duration) *QueryFulfillmentsParams
NewQueryFulfillmentsParamsWithTimeout creates a new QueryFulfillmentsParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryFulfillmentsParams) SetAuthInfoWriter ¶
func (o *QueryFulfillmentsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the query fulfillments params
func (*QueryFulfillmentsParams) SetContext ¶
func (o *QueryFulfillmentsParams) SetContext(ctx context.Context)
SetContext adds the context to the query fulfillments params
func (*QueryFulfillmentsParams) SetEndTime ¶
func (o *QueryFulfillmentsParams) SetEndTime(endTime *string)
SetEndTime adds the endTime to the query fulfillments params
func (*QueryFulfillmentsParams) SetFlightId ¶
func (o *QueryFulfillmentsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*QueryFulfillmentsParams) SetHTTPClient ¶
func (o *QueryFulfillmentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query fulfillments params
func (*QueryFulfillmentsParams) SetHTTPClientTransport ¶
func (o *QueryFulfillmentsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the query fulfillments params
func (*QueryFulfillmentsParams) SetLimit ¶
func (o *QueryFulfillmentsParams) SetLimit(limit *int32)
SetLimit adds the limit to the query fulfillments params
func (*QueryFulfillmentsParams) SetNamespace ¶
func (o *QueryFulfillmentsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the query fulfillments params
func (*QueryFulfillmentsParams) SetOffset ¶
func (o *QueryFulfillmentsParams) SetOffset(offset *int32)
SetOffset adds the offset to the query fulfillments params
func (*QueryFulfillmentsParams) SetStartTime ¶
func (o *QueryFulfillmentsParams) SetStartTime(startTime *string)
SetStartTime adds the startTime to the query fulfillments params
func (*QueryFulfillmentsParams) SetState ¶
func (o *QueryFulfillmentsParams) SetState(state *string)
SetState adds the state to the query fulfillments params
func (*QueryFulfillmentsParams) SetTimeout ¶
func (o *QueryFulfillmentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query fulfillments params
func (*QueryFulfillmentsParams) SetTransactionID ¶
func (o *QueryFulfillmentsParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the query fulfillments params
func (*QueryFulfillmentsParams) SetUserID ¶
func (o *QueryFulfillmentsParams) SetUserID(userID *string)
SetUserID adds the userId to the query fulfillments params
func (*QueryFulfillmentsParams) WithContext ¶
func (o *QueryFulfillmentsParams) WithContext(ctx context.Context) *QueryFulfillmentsParams
WithContext adds the context to the query fulfillments params
func (*QueryFulfillmentsParams) WithEndTime ¶
func (o *QueryFulfillmentsParams) WithEndTime(endTime *string) *QueryFulfillmentsParams
WithEndTime adds the endTime to the query fulfillments params
func (*QueryFulfillmentsParams) WithHTTPClient ¶
func (o *QueryFulfillmentsParams) WithHTTPClient(client *http.Client) *QueryFulfillmentsParams
WithHTTPClient adds the HTTPClient to the query fulfillments params
func (*QueryFulfillmentsParams) WithLimit ¶
func (o *QueryFulfillmentsParams) WithLimit(limit *int32) *QueryFulfillmentsParams
WithLimit adds the limit to the query fulfillments params
func (*QueryFulfillmentsParams) WithNamespace ¶
func (o *QueryFulfillmentsParams) WithNamespace(namespace string) *QueryFulfillmentsParams
WithNamespace adds the namespace to the query fulfillments params
func (*QueryFulfillmentsParams) WithOffset ¶
func (o *QueryFulfillmentsParams) WithOffset(offset *int32) *QueryFulfillmentsParams
WithOffset adds the offset to the query fulfillments params
func (*QueryFulfillmentsParams) WithStartTime ¶
func (o *QueryFulfillmentsParams) WithStartTime(startTime *string) *QueryFulfillmentsParams
WithStartTime adds the startTime to the query fulfillments params
func (*QueryFulfillmentsParams) WithState ¶
func (o *QueryFulfillmentsParams) WithState(state *string) *QueryFulfillmentsParams
WithState adds the state to the query fulfillments params
func (*QueryFulfillmentsParams) WithTimeout ¶
func (o *QueryFulfillmentsParams) WithTimeout(timeout time.Duration) *QueryFulfillmentsParams
WithTimeout adds the timeout to the query fulfillments params
func (*QueryFulfillmentsParams) WithTransactionID ¶
func (o *QueryFulfillmentsParams) WithTransactionID(transactionID *string) *QueryFulfillmentsParams
WithTransactionID adds the transactionID to the query fulfillments params
func (*QueryFulfillmentsParams) WithUserID ¶
func (o *QueryFulfillmentsParams) WithUserID(userID *string) *QueryFulfillmentsParams
WithUserID adds the userID to the query fulfillments params
func (*QueryFulfillmentsParams) WriteToRequest ¶
func (o *QueryFulfillmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryFulfillmentsReader ¶
type QueryFulfillmentsReader struct {
// contains filtered or unexported fields
}
QueryFulfillmentsReader is a Reader for the QueryFulfillments structure.
func (*QueryFulfillmentsReader) ReadResponse ¶
func (o *QueryFulfillmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryFulfillmentsResponse ¶
type QueryFulfillmentsResponse struct {
platformclientmodels.ApiResponse
Data *platformclientmodels.FulfillmentPagingSlicedResult
}
func (*QueryFulfillmentsResponse) Unpack ¶
func (m *QueryFulfillmentsResponse) Unpack() (*platformclientmodels.FulfillmentPagingSlicedResult, *platformclientmodels.ApiError)
type RedeemCodeBadRequest ¶
type RedeemCodeBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
RedeemCodeBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>35123</td><td>Wallet [{walletId}] is inactive</td></tr><tr><td>38121</td><td>Duplicate permanent item exists</td></tr></table>
func NewRedeemCodeBadRequest ¶
func NewRedeemCodeBadRequest() *RedeemCodeBadRequest
NewRedeemCodeBadRequest creates a RedeemCodeBadRequest with default headers values
func (*RedeemCodeBadRequest) Error ¶
func (o *RedeemCodeBadRequest) Error() string
func (*RedeemCodeBadRequest) GetPayload ¶
func (o *RedeemCodeBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*RedeemCodeBadRequest) ToJSONString ¶
func (o *RedeemCodeBadRequest) ToJSONString() string
type RedeemCodeConflict ¶
type RedeemCodeConflict struct {
Payload *platformclientmodels.ErrorEntity
}
RedeemCodeConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>37172</td><td>Campaign [{campaignId}] is inactive in namespace [{namespace}]</td></tr><tr><td>37173</td><td>Code [{code}] is inactive in namespace [{namespace}]</td></tr><tr><td>37174</td><td>Exceeded max redeem count per code [{maxCount}]</td></tr><tr><td>37175</td><td>Exceeded max redeem count per code per user [{maxCount}]</td></tr><tr><td>37177</td><td>Code redemption not started</td></tr><tr><td>37178</td><td>Code redemption already ended</td></tr><tr><td>20006</td><td>optimistic lock</td></tr><tr><td>31177</td><td>Permanent item already owned</td></tr></table>
func NewRedeemCodeConflict ¶
func NewRedeemCodeConflict() *RedeemCodeConflict
NewRedeemCodeConflict creates a RedeemCodeConflict with default headers values
func (*RedeemCodeConflict) Error ¶
func (o *RedeemCodeConflict) Error() string
func (*RedeemCodeConflict) GetPayload ¶
func (o *RedeemCodeConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*RedeemCodeConflict) ToJSONString ¶
func (o *RedeemCodeConflict) ToJSONString() string
type RedeemCodeNotFound ¶
type RedeemCodeNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
RedeemCodeNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30341</td><td>Item [{itemId}] does not exist in namespace [{namespace}]</td></tr><tr><td>37142</td><td>Code [{code}] does not exist in namespace [{namespace}]</td></tr></table>
func NewRedeemCodeNotFound ¶
func NewRedeemCodeNotFound() *RedeemCodeNotFound
NewRedeemCodeNotFound creates a RedeemCodeNotFound with default headers values
func (*RedeemCodeNotFound) Error ¶
func (o *RedeemCodeNotFound) Error() string
func (*RedeemCodeNotFound) GetPayload ¶
func (o *RedeemCodeNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*RedeemCodeNotFound) ToJSONString ¶
func (o *RedeemCodeNotFound) ToJSONString() string
type RedeemCodeOK ¶
type RedeemCodeOK struct {
Payload *platformclientmodels.FulfillmentResult
}
RedeemCodeOK handles this case with default header values.
successful operation
func NewRedeemCodeOK ¶
func NewRedeemCodeOK() *RedeemCodeOK
NewRedeemCodeOK creates a RedeemCodeOK with default headers values
func (*RedeemCodeOK) Error ¶
func (o *RedeemCodeOK) Error() string
func (*RedeemCodeOK) GetPayload ¶
func (o *RedeemCodeOK) GetPayload() *platformclientmodels.FulfillmentResult
func (*RedeemCodeOK) ToJSONString ¶
func (o *RedeemCodeOK) ToJSONString() string
type RedeemCodeParams ¶
type RedeemCodeParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Body*/
Body *platformclientmodels.FulfillCodeRequest
/*Namespace*/
Namespace string
/*UserID*/
UserID string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
RedeemCodeParams contains all the parameters to send to the API endpoint for the redeem code operation typically these are written to a http.Request
func NewRedeemCodeParams ¶
func NewRedeemCodeParams() *RedeemCodeParams
NewRedeemCodeParams creates a new RedeemCodeParams object with the default values initialized.
func NewRedeemCodeParamsWithContext ¶
func NewRedeemCodeParamsWithContext(ctx context.Context) *RedeemCodeParams
NewRedeemCodeParamsWithContext creates a new RedeemCodeParams object with the default values initialized, and the ability to set a context for a request
func NewRedeemCodeParamsWithHTTPClient ¶
func NewRedeemCodeParamsWithHTTPClient(client *http.Client) *RedeemCodeParams
NewRedeemCodeParamsWithHTTPClient creates a new RedeemCodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRedeemCodeParamsWithTimeout ¶
func NewRedeemCodeParamsWithTimeout(timeout time.Duration) *RedeemCodeParams
NewRedeemCodeParamsWithTimeout creates a new RedeemCodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*RedeemCodeParams) SetAuthInfoWriter ¶
func (o *RedeemCodeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the redeem code params
func (*RedeemCodeParams) SetBody ¶
func (o *RedeemCodeParams) SetBody(body *platformclientmodels.FulfillCodeRequest)
SetBody adds the body to the redeem code params
func (*RedeemCodeParams) SetContext ¶
func (o *RedeemCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the redeem code params
func (*RedeemCodeParams) SetFlightId ¶
func (o *RedeemCodeParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RedeemCodeParams) SetHTTPClient ¶
func (o *RedeemCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the redeem code params
func (*RedeemCodeParams) SetHTTPClientTransport ¶
func (o *RedeemCodeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the redeem code params
func (*RedeemCodeParams) SetNamespace ¶
func (o *RedeemCodeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the redeem code params
func (*RedeemCodeParams) SetTimeout ¶
func (o *RedeemCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the redeem code params
func (*RedeemCodeParams) SetUserID ¶
func (o *RedeemCodeParams) SetUserID(userID string)
SetUserID adds the userId to the redeem code params
func (*RedeemCodeParams) WithBody ¶
func (o *RedeemCodeParams) WithBody(body *platformclientmodels.FulfillCodeRequest) *RedeemCodeParams
WithBody adds the body to the redeem code params
func (*RedeemCodeParams) WithContext ¶
func (o *RedeemCodeParams) WithContext(ctx context.Context) *RedeemCodeParams
WithContext adds the context to the redeem code params
func (*RedeemCodeParams) WithHTTPClient ¶
func (o *RedeemCodeParams) WithHTTPClient(client *http.Client) *RedeemCodeParams
WithHTTPClient adds the HTTPClient to the redeem code params
func (*RedeemCodeParams) WithNamespace ¶
func (o *RedeemCodeParams) WithNamespace(namespace string) *RedeemCodeParams
WithNamespace adds the namespace to the redeem code params
func (*RedeemCodeParams) WithTimeout ¶
func (o *RedeemCodeParams) WithTimeout(timeout time.Duration) *RedeemCodeParams
WithTimeout adds the timeout to the redeem code params
func (*RedeemCodeParams) WithUserID ¶
func (o *RedeemCodeParams) WithUserID(userID string) *RedeemCodeParams
WithUserID adds the userID to the redeem code params
func (*RedeemCodeParams) WriteToRequest ¶
func (o *RedeemCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RedeemCodeReader ¶
type RedeemCodeReader struct {
// contains filtered or unexported fields
}
RedeemCodeReader is a Reader for the RedeemCode structure.
func (*RedeemCodeReader) ReadResponse ¶
func (o *RedeemCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RedeemCodeResponse ¶
type RedeemCodeResponse struct {
platformclientmodels.ApiResponse
Data *platformclientmodels.FulfillmentResult
Error400 *platformclientmodels.ErrorEntity
Error404 *platformclientmodels.ErrorEntity
Error409 *platformclientmodels.ErrorEntity
}
func (*RedeemCodeResponse) Unpack ¶
func (m *RedeemCodeResponse) Unpack() (*platformclientmodels.FulfillmentResult, *platformclientmodels.ApiError)
type RetryFulfillItemsConflict ¶
type RetryFulfillItemsConflict struct {
Payload *platformclientmodels.FulfillmentV2Result
}
RetryFulfillItemsConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr></table>
func NewRetryFulfillItemsConflict ¶
func NewRetryFulfillItemsConflict() *RetryFulfillItemsConflict
NewRetryFulfillItemsConflict creates a RetryFulfillItemsConflict with default headers values
func (*RetryFulfillItemsConflict) Error ¶
func (o *RetryFulfillItemsConflict) Error() string
func (*RetryFulfillItemsConflict) GetPayload ¶
func (o *RetryFulfillItemsConflict) GetPayload() *platformclientmodels.FulfillmentV2Result
func (*RetryFulfillItemsConflict) ToJSONString ¶
func (o *RetryFulfillItemsConflict) ToJSONString() string
type RetryFulfillItemsNotFound ¶
type RetryFulfillItemsNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
RetryFulfillItemsNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38145</td><td>Fulfillment with transactionId [{transactionId}] does not exist</td></tr></table>
func NewRetryFulfillItemsNotFound ¶
func NewRetryFulfillItemsNotFound() *RetryFulfillItemsNotFound
NewRetryFulfillItemsNotFound creates a RetryFulfillItemsNotFound with default headers values
func (*RetryFulfillItemsNotFound) Error ¶
func (o *RetryFulfillItemsNotFound) Error() string
func (*RetryFulfillItemsNotFound) GetPayload ¶
func (o *RetryFulfillItemsNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*RetryFulfillItemsNotFound) ToJSONString ¶
func (o *RetryFulfillItemsNotFound) ToJSONString() string
type RetryFulfillItemsOK ¶
type RetryFulfillItemsOK struct {
Payload *platformclientmodels.FulfillmentV2Result
}
RetryFulfillItemsOK handles this case with default header values.
successful operation
func NewRetryFulfillItemsOK ¶
func NewRetryFulfillItemsOK() *RetryFulfillItemsOK
NewRetryFulfillItemsOK creates a RetryFulfillItemsOK with default headers values
func (*RetryFulfillItemsOK) Error ¶
func (o *RetryFulfillItemsOK) Error() string
func (*RetryFulfillItemsOK) GetPayload ¶
func (o *RetryFulfillItemsOK) GetPayload() *platformclientmodels.FulfillmentV2Result
func (*RetryFulfillItemsOK) ToJSONString ¶
func (o *RetryFulfillItemsOK) ToJSONString() string
type RetryFulfillItemsParams ¶
type RetryFulfillItemsParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Namespace*/
Namespace string
/*TransactionID*/
TransactionID string
/*UserID*/
UserID string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
RetryFulfillItemsParams contains all the parameters to send to the API endpoint for the retry fulfill items operation typically these are written to a http.Request
func NewRetryFulfillItemsParams ¶
func NewRetryFulfillItemsParams() *RetryFulfillItemsParams
NewRetryFulfillItemsParams creates a new RetryFulfillItemsParams object with the default values initialized.
func NewRetryFulfillItemsParamsWithContext ¶
func NewRetryFulfillItemsParamsWithContext(ctx context.Context) *RetryFulfillItemsParams
NewRetryFulfillItemsParamsWithContext creates a new RetryFulfillItemsParams object with the default values initialized, and the ability to set a context for a request
func NewRetryFulfillItemsParamsWithHTTPClient ¶
func NewRetryFulfillItemsParamsWithHTTPClient(client *http.Client) *RetryFulfillItemsParams
NewRetryFulfillItemsParamsWithHTTPClient creates a new RetryFulfillItemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetryFulfillItemsParamsWithTimeout ¶
func NewRetryFulfillItemsParamsWithTimeout(timeout time.Duration) *RetryFulfillItemsParams
NewRetryFulfillItemsParamsWithTimeout creates a new RetryFulfillItemsParams object with the default values initialized, and the ability to set a timeout on a request
func (*RetryFulfillItemsParams) SetAuthInfoWriter ¶
func (o *RetryFulfillItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retry fulfill items params
func (*RetryFulfillItemsParams) SetContext ¶
func (o *RetryFulfillItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the retry fulfill items params
func (*RetryFulfillItemsParams) SetFlightId ¶
func (o *RetryFulfillItemsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetryFulfillItemsParams) SetHTTPClient ¶
func (o *RetryFulfillItemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retry fulfill items params
func (*RetryFulfillItemsParams) SetHTTPClientTransport ¶
func (o *RetryFulfillItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retry fulfill items params
func (*RetryFulfillItemsParams) SetNamespace ¶
func (o *RetryFulfillItemsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the retry fulfill items params
func (*RetryFulfillItemsParams) SetTimeout ¶
func (o *RetryFulfillItemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retry fulfill items params
func (*RetryFulfillItemsParams) SetTransactionID ¶
func (o *RetryFulfillItemsParams) SetTransactionID(transactionID string)
SetTransactionID adds the transactionId to the retry fulfill items params
func (*RetryFulfillItemsParams) SetUserID ¶
func (o *RetryFulfillItemsParams) SetUserID(userID string)
SetUserID adds the userId to the retry fulfill items params
func (*RetryFulfillItemsParams) WithContext ¶
func (o *RetryFulfillItemsParams) WithContext(ctx context.Context) *RetryFulfillItemsParams
WithContext adds the context to the retry fulfill items params
func (*RetryFulfillItemsParams) WithHTTPClient ¶
func (o *RetryFulfillItemsParams) WithHTTPClient(client *http.Client) *RetryFulfillItemsParams
WithHTTPClient adds the HTTPClient to the retry fulfill items params
func (*RetryFulfillItemsParams) WithNamespace ¶
func (o *RetryFulfillItemsParams) WithNamespace(namespace string) *RetryFulfillItemsParams
WithNamespace adds the namespace to the retry fulfill items params
func (*RetryFulfillItemsParams) WithTimeout ¶
func (o *RetryFulfillItemsParams) WithTimeout(timeout time.Duration) *RetryFulfillItemsParams
WithTimeout adds the timeout to the retry fulfill items params
func (*RetryFulfillItemsParams) WithTransactionID ¶
func (o *RetryFulfillItemsParams) WithTransactionID(transactionID string) *RetryFulfillItemsParams
WithTransactionID adds the transactionID to the retry fulfill items params
func (*RetryFulfillItemsParams) WithUserID ¶
func (o *RetryFulfillItemsParams) WithUserID(userID string) *RetryFulfillItemsParams
WithUserID adds the userID to the retry fulfill items params
func (*RetryFulfillItemsParams) WriteToRequest ¶
func (o *RetryFulfillItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetryFulfillItemsReader ¶
type RetryFulfillItemsReader struct {
// contains filtered or unexported fields
}
RetryFulfillItemsReader is a Reader for the RetryFulfillItems structure.
func (*RetryFulfillItemsReader) ReadResponse ¶
func (o *RetryFulfillItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetryFulfillItemsResponse ¶
type RetryFulfillItemsResponse struct {
platformclientmodels.ApiResponse
Data *platformclientmodels.FulfillmentV2Result
Error404 *platformclientmodels.ErrorEntity
Error409 *platformclientmodels.FulfillmentV2Result
}
func (*RetryFulfillItemsResponse) Unpack ¶
func (m *RetryFulfillItemsResponse) Unpack() (*platformclientmodels.FulfillmentV2Result, *platformclientmodels.ApiError)
type RetryFulfillItemsV3NotFound ¶
type RetryFulfillItemsV3NotFound struct {
Payload *platformclientmodels.ErrorEntity
}
RetryFulfillItemsV3NotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38145</td><td>Fulfillment with transactionId [{transactionId}] does not exist</td></tr></table>
func NewRetryFulfillItemsV3NotFound ¶
func NewRetryFulfillItemsV3NotFound() *RetryFulfillItemsV3NotFound
NewRetryFulfillItemsV3NotFound creates a RetryFulfillItemsV3NotFound with default headers values
func (*RetryFulfillItemsV3NotFound) Error ¶
func (o *RetryFulfillItemsV3NotFound) Error() string
func (*RetryFulfillItemsV3NotFound) GetPayload ¶
func (o *RetryFulfillItemsV3NotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*RetryFulfillItemsV3NotFound) ToJSONString ¶
func (o *RetryFulfillItemsV3NotFound) ToJSONString() string
type RetryFulfillItemsV3OK ¶
type RetryFulfillItemsV3OK struct {
Payload *platformclientmodels.FulfillmentV2Result
}
RetryFulfillItemsV3OK handles this case with default header values.
successful operation
func NewRetryFulfillItemsV3OK ¶
func NewRetryFulfillItemsV3OK() *RetryFulfillItemsV3OK
NewRetryFulfillItemsV3OK creates a RetryFulfillItemsV3OK with default headers values
func (*RetryFulfillItemsV3OK) Error ¶
func (o *RetryFulfillItemsV3OK) Error() string
func (*RetryFulfillItemsV3OK) GetPayload ¶
func (o *RetryFulfillItemsV3OK) GetPayload() *platformclientmodels.FulfillmentV2Result
func (*RetryFulfillItemsV3OK) ToJSONString ¶
func (o *RetryFulfillItemsV3OK) ToJSONString() string
type RetryFulfillItemsV3Params ¶
type RetryFulfillItemsV3Params struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Namespace*/
Namespace string
/*TransactionID*/
TransactionID string
/*UserID*/
UserID string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
RetryFulfillItemsV3Params contains all the parameters to send to the API endpoint for the retry fulfill items v3 operation typically these are written to a http.Request
func NewRetryFulfillItemsV3Params ¶
func NewRetryFulfillItemsV3Params() *RetryFulfillItemsV3Params
NewRetryFulfillItemsV3Params creates a new RetryFulfillItemsV3Params object with the default values initialized.
func NewRetryFulfillItemsV3ParamsWithContext ¶
func NewRetryFulfillItemsV3ParamsWithContext(ctx context.Context) *RetryFulfillItemsV3Params
NewRetryFulfillItemsV3ParamsWithContext creates a new RetryFulfillItemsV3Params object with the default values initialized, and the ability to set a context for a request
func NewRetryFulfillItemsV3ParamsWithHTTPClient ¶
func NewRetryFulfillItemsV3ParamsWithHTTPClient(client *http.Client) *RetryFulfillItemsV3Params
NewRetryFulfillItemsV3ParamsWithHTTPClient creates a new RetryFulfillItemsV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRetryFulfillItemsV3ParamsWithTimeout ¶
func NewRetryFulfillItemsV3ParamsWithTimeout(timeout time.Duration) *RetryFulfillItemsV3Params
NewRetryFulfillItemsV3ParamsWithTimeout creates a new RetryFulfillItemsV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*RetryFulfillItemsV3Params) SetAuthInfoWriter ¶
func (o *RetryFulfillItemsV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) SetContext ¶
func (o *RetryFulfillItemsV3Params) SetContext(ctx context.Context)
SetContext adds the context to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) SetFlightId ¶
func (o *RetryFulfillItemsV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RetryFulfillItemsV3Params) SetHTTPClient ¶
func (o *RetryFulfillItemsV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) SetHTTPClientTransport ¶
func (o *RetryFulfillItemsV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) SetNamespace ¶
func (o *RetryFulfillItemsV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) SetTimeout ¶
func (o *RetryFulfillItemsV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) SetTransactionID ¶
func (o *RetryFulfillItemsV3Params) SetTransactionID(transactionID string)
SetTransactionID adds the transactionId to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) SetUserID ¶
func (o *RetryFulfillItemsV3Params) SetUserID(userID string)
SetUserID adds the userId to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) WithContext ¶
func (o *RetryFulfillItemsV3Params) WithContext(ctx context.Context) *RetryFulfillItemsV3Params
WithContext adds the context to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) WithHTTPClient ¶
func (o *RetryFulfillItemsV3Params) WithHTTPClient(client *http.Client) *RetryFulfillItemsV3Params
WithHTTPClient adds the HTTPClient to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) WithNamespace ¶
func (o *RetryFulfillItemsV3Params) WithNamespace(namespace string) *RetryFulfillItemsV3Params
WithNamespace adds the namespace to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) WithTimeout ¶
func (o *RetryFulfillItemsV3Params) WithTimeout(timeout time.Duration) *RetryFulfillItemsV3Params
WithTimeout adds the timeout to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) WithTransactionID ¶
func (o *RetryFulfillItemsV3Params) WithTransactionID(transactionID string) *RetryFulfillItemsV3Params
WithTransactionID adds the transactionID to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) WithUserID ¶
func (o *RetryFulfillItemsV3Params) WithUserID(userID string) *RetryFulfillItemsV3Params
WithUserID adds the userID to the retry fulfill items v3 params
func (*RetryFulfillItemsV3Params) WriteToRequest ¶
func (o *RetryFulfillItemsV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetryFulfillItemsV3Reader ¶
type RetryFulfillItemsV3Reader struct {
// contains filtered or unexported fields
}
RetryFulfillItemsV3Reader is a Reader for the RetryFulfillItemsV3 structure.
func (*RetryFulfillItemsV3Reader) ReadResponse ¶
func (o *RetryFulfillItemsV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetryFulfillItemsV3Response ¶
type RetryFulfillItemsV3Response struct {
platformclientmodels.ApiResponse
Data *platformclientmodels.FulfillmentV2Result
Error404 *platformclientmodels.ErrorEntity
}
func (*RetryFulfillItemsV3Response) Unpack ¶
func (m *RetryFulfillItemsV3Response) Unpack() (*platformclientmodels.FulfillmentV2Result, *platformclientmodels.ApiError)
type RevokeItemsConflict ¶
type RevokeItemsConflict struct {
Payload *platformclientmodels.RevokeFulfillmentV2Result
}
RevokeItemsConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr></table>
func NewRevokeItemsConflict ¶
func NewRevokeItemsConflict() *RevokeItemsConflict
NewRevokeItemsConflict creates a RevokeItemsConflict with default headers values
func (*RevokeItemsConflict) Error ¶
func (o *RevokeItemsConflict) Error() string
func (*RevokeItemsConflict) GetPayload ¶
func (o *RevokeItemsConflict) GetPayload() *platformclientmodels.RevokeFulfillmentV2Result
func (*RevokeItemsConflict) ToJSONString ¶
func (o *RevokeItemsConflict) ToJSONString() string
type RevokeItemsNotFound ¶
type RevokeItemsNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
RevokeItemsNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38145</td><td>Fulfillment with transactionId [{transactionId}] does not exist</td></tr></table>
func NewRevokeItemsNotFound ¶
func NewRevokeItemsNotFound() *RevokeItemsNotFound
NewRevokeItemsNotFound creates a RevokeItemsNotFound with default headers values
func (*RevokeItemsNotFound) Error ¶
func (o *RevokeItemsNotFound) Error() string
func (*RevokeItemsNotFound) GetPayload ¶
func (o *RevokeItemsNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*RevokeItemsNotFound) ToJSONString ¶
func (o *RevokeItemsNotFound) ToJSONString() string
type RevokeItemsOK ¶
type RevokeItemsOK struct {
Payload *platformclientmodels.RevokeFulfillmentV2Result
}
RevokeItemsOK handles this case with default header values.
successful operation
func NewRevokeItemsOK ¶
func NewRevokeItemsOK() *RevokeItemsOK
NewRevokeItemsOK creates a RevokeItemsOK with default headers values
func (*RevokeItemsOK) Error ¶
func (o *RevokeItemsOK) Error() string
func (*RevokeItemsOK) GetPayload ¶
func (o *RevokeItemsOK) GetPayload() *platformclientmodels.RevokeFulfillmentV2Result
func (*RevokeItemsOK) ToJSONString ¶
func (o *RevokeItemsOK) ToJSONString() string
type RevokeItemsParams ¶
type RevokeItemsParams struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Namespace*/
Namespace string
/*TransactionID*/
TransactionID string
/*UserID*/
UserID string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
RevokeItemsParams contains all the parameters to send to the API endpoint for the revoke items operation typically these are written to a http.Request
func NewRevokeItemsParams ¶
func NewRevokeItemsParams() *RevokeItemsParams
NewRevokeItemsParams creates a new RevokeItemsParams object with the default values initialized.
func NewRevokeItemsParamsWithContext ¶
func NewRevokeItemsParamsWithContext(ctx context.Context) *RevokeItemsParams
NewRevokeItemsParamsWithContext creates a new RevokeItemsParams object with the default values initialized, and the ability to set a context for a request
func NewRevokeItemsParamsWithHTTPClient ¶
func NewRevokeItemsParamsWithHTTPClient(client *http.Client) *RevokeItemsParams
NewRevokeItemsParamsWithHTTPClient creates a new RevokeItemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRevokeItemsParamsWithTimeout ¶
func NewRevokeItemsParamsWithTimeout(timeout time.Duration) *RevokeItemsParams
NewRevokeItemsParamsWithTimeout creates a new RevokeItemsParams object with the default values initialized, and the ability to set a timeout on a request
func (*RevokeItemsParams) SetAuthInfoWriter ¶
func (o *RevokeItemsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the revoke items params
func (*RevokeItemsParams) SetContext ¶
func (o *RevokeItemsParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke items params
func (*RevokeItemsParams) SetFlightId ¶
func (o *RevokeItemsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RevokeItemsParams) SetHTTPClient ¶
func (o *RevokeItemsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke items params
func (*RevokeItemsParams) SetHTTPClientTransport ¶
func (o *RevokeItemsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the revoke items params
func (*RevokeItemsParams) SetNamespace ¶
func (o *RevokeItemsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the revoke items params
func (*RevokeItemsParams) SetTimeout ¶
func (o *RevokeItemsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke items params
func (*RevokeItemsParams) SetTransactionID ¶
func (o *RevokeItemsParams) SetTransactionID(transactionID string)
SetTransactionID adds the transactionId to the revoke items params
func (*RevokeItemsParams) SetUserID ¶
func (o *RevokeItemsParams) SetUserID(userID string)
SetUserID adds the userId to the revoke items params
func (*RevokeItemsParams) WithContext ¶
func (o *RevokeItemsParams) WithContext(ctx context.Context) *RevokeItemsParams
WithContext adds the context to the revoke items params
func (*RevokeItemsParams) WithHTTPClient ¶
func (o *RevokeItemsParams) WithHTTPClient(client *http.Client) *RevokeItemsParams
WithHTTPClient adds the HTTPClient to the revoke items params
func (*RevokeItemsParams) WithNamespace ¶
func (o *RevokeItemsParams) WithNamespace(namespace string) *RevokeItemsParams
WithNamespace adds the namespace to the revoke items params
func (*RevokeItemsParams) WithTimeout ¶
func (o *RevokeItemsParams) WithTimeout(timeout time.Duration) *RevokeItemsParams
WithTimeout adds the timeout to the revoke items params
func (*RevokeItemsParams) WithTransactionID ¶
func (o *RevokeItemsParams) WithTransactionID(transactionID string) *RevokeItemsParams
WithTransactionID adds the transactionID to the revoke items params
func (*RevokeItemsParams) WithUserID ¶
func (o *RevokeItemsParams) WithUserID(userID string) *RevokeItemsParams
WithUserID adds the userID to the revoke items params
func (*RevokeItemsParams) WriteToRequest ¶
func (o *RevokeItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeItemsReader ¶
type RevokeItemsReader struct {
// contains filtered or unexported fields
}
RevokeItemsReader is a Reader for the RevokeItems structure.
func (*RevokeItemsReader) ReadResponse ¶
func (o *RevokeItemsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeItemsResponse ¶
type RevokeItemsResponse struct {
platformclientmodels.ApiResponse
Data *platformclientmodels.RevokeFulfillmentV2Result
Error404 *platformclientmodels.ErrorEntity
Error409 *platformclientmodels.RevokeFulfillmentV2Result
}
func (*RevokeItemsResponse) Unpack ¶
func (m *RevokeItemsResponse) Unpack() (*platformclientmodels.RevokeFulfillmentV2Result, *platformclientmodels.ApiError)
type RevokeItemsV3NotFound ¶
type RevokeItemsV3NotFound struct {
Payload *platformclientmodels.ErrorEntity
}
RevokeItemsV3NotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38145</td><td>Fulfillment with transactionId [{transactionId}] does not exist</td></tr></table>
func NewRevokeItemsV3NotFound ¶
func NewRevokeItemsV3NotFound() *RevokeItemsV3NotFound
NewRevokeItemsV3NotFound creates a RevokeItemsV3NotFound with default headers values
func (*RevokeItemsV3NotFound) Error ¶
func (o *RevokeItemsV3NotFound) Error() string
func (*RevokeItemsV3NotFound) GetPayload ¶
func (o *RevokeItemsV3NotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*RevokeItemsV3NotFound) ToJSONString ¶
func (o *RevokeItemsV3NotFound) ToJSONString() string
type RevokeItemsV3OK ¶
type RevokeItemsV3OK struct {
Payload *platformclientmodels.RevokeFulfillmentV2Result
}
RevokeItemsV3OK handles this case with default header values.
successful operation
func NewRevokeItemsV3OK ¶
func NewRevokeItemsV3OK() *RevokeItemsV3OK
NewRevokeItemsV3OK creates a RevokeItemsV3OK with default headers values
func (*RevokeItemsV3OK) Error ¶
func (o *RevokeItemsV3OK) Error() string
func (*RevokeItemsV3OK) GetPayload ¶
func (o *RevokeItemsV3OK) GetPayload() *platformclientmodels.RevokeFulfillmentV2Result
func (*RevokeItemsV3OK) ToJSONString ¶
func (o *RevokeItemsV3OK) ToJSONString() string
type RevokeItemsV3Params ¶
type RevokeItemsV3Params struct {
/*RetryPolicy*/
RetryPolicy *utils.Retry
/*Namespace*/
Namespace string
/*TransactionID*/
TransactionID string
/*UserID*/
UserID string
AuthInfoWriter runtime.ClientAuthInfoWriter
Context context.Context
HTTPClient *http.Client
// XFlightId is an optional parameter from this SDK
XFlightId *string
// contains filtered or unexported fields
}
RevokeItemsV3Params contains all the parameters to send to the API endpoint for the revoke items v3 operation typically these are written to a http.Request
func NewRevokeItemsV3Params ¶
func NewRevokeItemsV3Params() *RevokeItemsV3Params
NewRevokeItemsV3Params creates a new RevokeItemsV3Params object with the default values initialized.
func NewRevokeItemsV3ParamsWithContext ¶
func NewRevokeItemsV3ParamsWithContext(ctx context.Context) *RevokeItemsV3Params
NewRevokeItemsV3ParamsWithContext creates a new RevokeItemsV3Params object with the default values initialized, and the ability to set a context for a request
func NewRevokeItemsV3ParamsWithHTTPClient ¶
func NewRevokeItemsV3ParamsWithHTTPClient(client *http.Client) *RevokeItemsV3Params
NewRevokeItemsV3ParamsWithHTTPClient creates a new RevokeItemsV3Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRevokeItemsV3ParamsWithTimeout ¶
func NewRevokeItemsV3ParamsWithTimeout(timeout time.Duration) *RevokeItemsV3Params
NewRevokeItemsV3ParamsWithTimeout creates a new RevokeItemsV3Params object with the default values initialized, and the ability to set a timeout on a request
func (*RevokeItemsV3Params) SetAuthInfoWriter ¶
func (o *RevokeItemsV3Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the revoke items v3 params
func (*RevokeItemsV3Params) SetContext ¶
func (o *RevokeItemsV3Params) SetContext(ctx context.Context)
SetContext adds the context to the revoke items v3 params
func (*RevokeItemsV3Params) SetFlightId ¶
func (o *RevokeItemsV3Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*RevokeItemsV3Params) SetHTTPClient ¶
func (o *RevokeItemsV3Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke items v3 params
func (*RevokeItemsV3Params) SetHTTPClientTransport ¶
func (o *RevokeItemsV3Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the revoke items v3 params
func (*RevokeItemsV3Params) SetNamespace ¶
func (o *RevokeItemsV3Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the revoke items v3 params
func (*RevokeItemsV3Params) SetTimeout ¶
func (o *RevokeItemsV3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke items v3 params
func (*RevokeItemsV3Params) SetTransactionID ¶
func (o *RevokeItemsV3Params) SetTransactionID(transactionID string)
SetTransactionID adds the transactionId to the revoke items v3 params
func (*RevokeItemsV3Params) SetUserID ¶
func (o *RevokeItemsV3Params) SetUserID(userID string)
SetUserID adds the userId to the revoke items v3 params
func (*RevokeItemsV3Params) WithContext ¶
func (o *RevokeItemsV3Params) WithContext(ctx context.Context) *RevokeItemsV3Params
WithContext adds the context to the revoke items v3 params
func (*RevokeItemsV3Params) WithHTTPClient ¶
func (o *RevokeItemsV3Params) WithHTTPClient(client *http.Client) *RevokeItemsV3Params
WithHTTPClient adds the HTTPClient to the revoke items v3 params
func (*RevokeItemsV3Params) WithNamespace ¶
func (o *RevokeItemsV3Params) WithNamespace(namespace string) *RevokeItemsV3Params
WithNamespace adds the namespace to the revoke items v3 params
func (*RevokeItemsV3Params) WithTimeout ¶
func (o *RevokeItemsV3Params) WithTimeout(timeout time.Duration) *RevokeItemsV3Params
WithTimeout adds the timeout to the revoke items v3 params
func (*RevokeItemsV3Params) WithTransactionID ¶
func (o *RevokeItemsV3Params) WithTransactionID(transactionID string) *RevokeItemsV3Params
WithTransactionID adds the transactionID to the revoke items v3 params
func (*RevokeItemsV3Params) WithUserID ¶
func (o *RevokeItemsV3Params) WithUserID(userID string) *RevokeItemsV3Params
WithUserID adds the userID to the revoke items v3 params
func (*RevokeItemsV3Params) WriteToRequest ¶
func (o *RevokeItemsV3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeItemsV3Reader ¶
type RevokeItemsV3Reader struct {
// contains filtered or unexported fields
}
RevokeItemsV3Reader is a Reader for the RevokeItemsV3 structure.
func (*RevokeItemsV3Reader) ReadResponse ¶
func (o *RevokeItemsV3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeItemsV3Response ¶
type RevokeItemsV3Response struct {
platformclientmodels.ApiResponse
Data *platformclientmodels.RevokeFulfillmentV2Result
Error404 *platformclientmodels.ErrorEntity
}
func (*RevokeItemsV3Response) Unpack ¶
func (m *RevokeItemsV3Response) Unpack() (*platformclientmodels.RevokeFulfillmentV2Result, *platformclientmodels.ApiError)
Source Files
¶
- fulfill_item_parameters.go
- fulfill_item_responses.go
- fulfill_items_parameters.go
- fulfill_items_responses.go
- fulfill_items_v3_parameters.go
- fulfill_items_v3_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
- retry_fulfill_items_v3_parameters.go
- retry_fulfill_items_v3_responses.go
- revoke_items_parameters.go
- revoke_items_responses.go
- revoke_items_v3_parameters.go
- revoke_items_v3_responses.go