Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateFulfillmentScript(params *CreateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFulfillmentScriptCreated, *CreateFulfillmentScriptConflict, error)deprecated
- func (a *Client) CreateFulfillmentScriptShort(params *CreateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFulfillmentScriptCreated, error)
- func (a *Client) DeleteFulfillmentScript(params *DeleteFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFulfillmentScriptNoContent, error)deprecated
- func (a *Client) DeleteFulfillmentScriptShort(params *DeleteFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFulfillmentScriptNoContent, error)
- func (a *Client) GetFulfillmentScript(params *GetFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*GetFulfillmentScriptOK, *GetFulfillmentScriptNotFound, error)deprecated
- func (a *Client) GetFulfillmentScriptShort(params *GetFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*GetFulfillmentScriptOK, error)
- func (a *Client) ListFulfillmentScripts(params *ListFulfillmentScriptsParams, authInfo runtime.ClientAuthInfoWriter) (*ListFulfillmentScriptsOK, error)deprecated
- func (a *Client) ListFulfillmentScriptsShort(params *ListFulfillmentScriptsParams, authInfo runtime.ClientAuthInfoWriter) (*ListFulfillmentScriptsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateFulfillmentScript(params *UpdateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFulfillmentScriptOK, *UpdateFulfillmentScriptBadRequest, error)deprecated
- func (a *Client) UpdateFulfillmentScriptShort(params *UpdateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFulfillmentScriptOK, error)
- type ClientService
- type CreateFulfillmentScriptConflict
- type CreateFulfillmentScriptCreated
- type CreateFulfillmentScriptParams
- func NewCreateFulfillmentScriptParams() *CreateFulfillmentScriptParams
- func NewCreateFulfillmentScriptParamsWithContext(ctx context.Context) *CreateFulfillmentScriptParams
- func NewCreateFulfillmentScriptParamsWithHTTPClient(client *http.Client) *CreateFulfillmentScriptParams
- func NewCreateFulfillmentScriptParamsWithTimeout(timeout time.Duration) *CreateFulfillmentScriptParams
- func (o *CreateFulfillmentScriptParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateFulfillmentScriptParams) SetBody(body *platformclientmodels.FulfillmentScriptCreate)
- func (o *CreateFulfillmentScriptParams) SetContext(ctx context.Context)
- func (o *CreateFulfillmentScriptParams) SetHTTPClient(client *http.Client)
- func (o *CreateFulfillmentScriptParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateFulfillmentScriptParams) SetID(idVar string)
- func (o *CreateFulfillmentScriptParams) SetTimeout(timeout time.Duration)
- func (o *CreateFulfillmentScriptParams) WithBody(body *platformclientmodels.FulfillmentScriptCreate) *CreateFulfillmentScriptParams
- func (o *CreateFulfillmentScriptParams) WithContext(ctx context.Context) *CreateFulfillmentScriptParams
- func (o *CreateFulfillmentScriptParams) WithHTTPClient(client *http.Client) *CreateFulfillmentScriptParams
- func (o *CreateFulfillmentScriptParams) WithID(idVar string) *CreateFulfillmentScriptParams
- func (o *CreateFulfillmentScriptParams) WithTimeout(timeout time.Duration) *CreateFulfillmentScriptParams
- func (o *CreateFulfillmentScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFulfillmentScriptReader
- type DeleteFulfillmentScriptNoContent
- type DeleteFulfillmentScriptParams
- func NewDeleteFulfillmentScriptParams() *DeleteFulfillmentScriptParams
- func NewDeleteFulfillmentScriptParamsWithContext(ctx context.Context) *DeleteFulfillmentScriptParams
- func NewDeleteFulfillmentScriptParamsWithHTTPClient(client *http.Client) *DeleteFulfillmentScriptParams
- func NewDeleteFulfillmentScriptParamsWithTimeout(timeout time.Duration) *DeleteFulfillmentScriptParams
- func (o *DeleteFulfillmentScriptParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteFulfillmentScriptParams) SetContext(ctx context.Context)
- func (o *DeleteFulfillmentScriptParams) SetHTTPClient(client *http.Client)
- func (o *DeleteFulfillmentScriptParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteFulfillmentScriptParams) SetID(idVar string)
- func (o *DeleteFulfillmentScriptParams) SetTimeout(timeout time.Duration)
- func (o *DeleteFulfillmentScriptParams) WithContext(ctx context.Context) *DeleteFulfillmentScriptParams
- func (o *DeleteFulfillmentScriptParams) WithHTTPClient(client *http.Client) *DeleteFulfillmentScriptParams
- func (o *DeleteFulfillmentScriptParams) WithID(idVar string) *DeleteFulfillmentScriptParams
- func (o *DeleteFulfillmentScriptParams) WithTimeout(timeout time.Duration) *DeleteFulfillmentScriptParams
- func (o *DeleteFulfillmentScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteFulfillmentScriptReader
- type GetFulfillmentScriptNotFound
- type GetFulfillmentScriptOK
- type GetFulfillmentScriptParams
- func NewGetFulfillmentScriptParams() *GetFulfillmentScriptParams
- func NewGetFulfillmentScriptParamsWithContext(ctx context.Context) *GetFulfillmentScriptParams
- func NewGetFulfillmentScriptParamsWithHTTPClient(client *http.Client) *GetFulfillmentScriptParams
- func NewGetFulfillmentScriptParamsWithTimeout(timeout time.Duration) *GetFulfillmentScriptParams
- func (o *GetFulfillmentScriptParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetFulfillmentScriptParams) SetContext(ctx context.Context)
- func (o *GetFulfillmentScriptParams) SetHTTPClient(client *http.Client)
- func (o *GetFulfillmentScriptParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetFulfillmentScriptParams) SetID(idVar string)
- func (o *GetFulfillmentScriptParams) SetTimeout(timeout time.Duration)
- func (o *GetFulfillmentScriptParams) WithContext(ctx context.Context) *GetFulfillmentScriptParams
- func (o *GetFulfillmentScriptParams) WithHTTPClient(client *http.Client) *GetFulfillmentScriptParams
- func (o *GetFulfillmentScriptParams) WithID(idVar string) *GetFulfillmentScriptParams
- func (o *GetFulfillmentScriptParams) WithTimeout(timeout time.Duration) *GetFulfillmentScriptParams
- func (o *GetFulfillmentScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFulfillmentScriptReader
- type ListFulfillmentScriptsOK
- type ListFulfillmentScriptsParams
- func NewListFulfillmentScriptsParams() *ListFulfillmentScriptsParams
- func NewListFulfillmentScriptsParamsWithContext(ctx context.Context) *ListFulfillmentScriptsParams
- func NewListFulfillmentScriptsParamsWithHTTPClient(client *http.Client) *ListFulfillmentScriptsParams
- func NewListFulfillmentScriptsParamsWithTimeout(timeout time.Duration) *ListFulfillmentScriptsParams
- func (o *ListFulfillmentScriptsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListFulfillmentScriptsParams) SetContext(ctx context.Context)
- func (o *ListFulfillmentScriptsParams) SetHTTPClient(client *http.Client)
- func (o *ListFulfillmentScriptsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListFulfillmentScriptsParams) SetTimeout(timeout time.Duration)
- func (o *ListFulfillmentScriptsParams) WithContext(ctx context.Context) *ListFulfillmentScriptsParams
- func (o *ListFulfillmentScriptsParams) WithHTTPClient(client *http.Client) *ListFulfillmentScriptsParams
- func (o *ListFulfillmentScriptsParams) WithTimeout(timeout time.Duration) *ListFulfillmentScriptsParams
- func (o *ListFulfillmentScriptsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListFulfillmentScriptsReader
- type UpdateFulfillmentScriptBadRequest
- type UpdateFulfillmentScriptOK
- type UpdateFulfillmentScriptParams
- func NewUpdateFulfillmentScriptParams() *UpdateFulfillmentScriptParams
- func NewUpdateFulfillmentScriptParamsWithContext(ctx context.Context) *UpdateFulfillmentScriptParams
- func NewUpdateFulfillmentScriptParamsWithHTTPClient(client *http.Client) *UpdateFulfillmentScriptParams
- func NewUpdateFulfillmentScriptParamsWithTimeout(timeout time.Duration) *UpdateFulfillmentScriptParams
- func (o *UpdateFulfillmentScriptParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateFulfillmentScriptParams) SetBody(body *platformclientmodels.FulfillmentScriptUpdate)
- func (o *UpdateFulfillmentScriptParams) SetContext(ctx context.Context)
- func (o *UpdateFulfillmentScriptParams) SetHTTPClient(client *http.Client)
- func (o *UpdateFulfillmentScriptParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateFulfillmentScriptParams) SetID(idVar string)
- func (o *UpdateFulfillmentScriptParams) SetTimeout(timeout time.Duration)
- func (o *UpdateFulfillmentScriptParams) WithBody(body *platformclientmodels.FulfillmentScriptUpdate) *UpdateFulfillmentScriptParams
- func (o *UpdateFulfillmentScriptParams) WithContext(ctx context.Context) *UpdateFulfillmentScriptParams
- func (o *UpdateFulfillmentScriptParams) WithHTTPClient(client *http.Client) *UpdateFulfillmentScriptParams
- func (o *UpdateFulfillmentScriptParams) WithID(idVar string) *UpdateFulfillmentScriptParams
- func (o *UpdateFulfillmentScriptParams) WithTimeout(timeout time.Duration) *UpdateFulfillmentScriptParams
- func (o *UpdateFulfillmentScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateFulfillmentScriptReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for fulfillment script API
func (*Client) CreateFulfillmentScript
deprecated
func (a *Client) CreateFulfillmentScript(params *CreateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFulfillmentScriptCreated, *CreateFulfillmentScriptConflict, error)
Deprecated: 2022-08-10 - Use CreateFulfillmentScriptShort instead.
CreateFulfillmentScript create fulfillment script
[AGS Premium Feature] Create fulfillment script.
Other detail info:
- Required permission : resource="ADMIN:FULFILLMENT", action=1 (CREATE)
Fulfillment scripts are used for adding custom fulfillment logic based on ITEM_TYPE : [MEDIA,INGAMEITEM] for now, and the custom scripts only cover grantDays. Example for grantDays: `order && ((order.currency && order.currency.currencyCode) == 'LP' || order.isFree) ? 30 : -1`
func (*Client) CreateFulfillmentScriptShort ¶ added in v0.8.0
func (a *Client) CreateFulfillmentScriptShort(params *CreateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFulfillmentScriptCreated, error)
CreateFulfillmentScriptShort create fulfillment script
[AGS Premium Feature] Create fulfillment script.
Other detail info:
- Required permission : resource="ADMIN:FULFILLMENT", action=1 (CREATE)
Fulfillment scripts are used for adding custom fulfillment logic based on ITEM_TYPE : [MEDIA,INGAMEITEM] for now, and the custom scripts only cover grantDays. Example for grantDays: `order && ((order.currency && order.currency.currencyCode) == 'LP' || order.isFree) ? 30 : -1`
func (*Client) DeleteFulfillmentScript
deprecated
func (a *Client) DeleteFulfillmentScript(params *DeleteFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFulfillmentScriptNoContent, error)
Deprecated: 2022-08-10 - Use DeleteFulfillmentScriptShort instead.
DeleteFulfillmentScript delete fulfillment script Delete fulfillment script. Other detail info:
- Required permission : resource="ADMIN:FULFILLMENT", action=8 (DELETE)
func (*Client) DeleteFulfillmentScriptShort ¶ added in v0.8.0
func (a *Client) DeleteFulfillmentScriptShort(params *DeleteFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFulfillmentScriptNoContent, error)
DeleteFulfillmentScriptShort delete fulfillment script Delete fulfillment script. Other detail info:
- Required permission : resource="ADMIN:FULFILLMENT", action=8 (DELETE)
func (*Client) GetFulfillmentScript
deprecated
func (a *Client) GetFulfillmentScript(params *GetFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*GetFulfillmentScriptOK, *GetFulfillmentScriptNotFound, error)
Deprecated: 2022-08-10 - Use GetFulfillmentScriptShort instead.
GetFulfillmentScript get fulfillment script by id Get fulfillment script by id. Other detail info:
- Required permission : resource="ADMIN:FULFILLMENT", action=2 (READ)
- Returns : get fulfillment script
func (*Client) GetFulfillmentScriptShort ¶ added in v0.8.0
func (a *Client) GetFulfillmentScriptShort(params *GetFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*GetFulfillmentScriptOK, error)
GetFulfillmentScriptShort get fulfillment script by id Get fulfillment script by id. Other detail info:
- Required permission : resource="ADMIN:FULFILLMENT", action=2 (READ)
- Returns : get fulfillment script
func (*Client) ListFulfillmentScripts
deprecated
func (a *Client) ListFulfillmentScripts(params *ListFulfillmentScriptsParams, authInfo runtime.ClientAuthInfoWriter) (*ListFulfillmentScriptsOK, error)
Deprecated: 2022-08-10 - Use ListFulfillmentScriptsShort instead.
ListFulfillmentScripts list all fulfillment scripts List all fulfillment scripts. Other detail info:
- Required permission : resource="ADMIN:FULFILLMENT", action=2 (READ)
func (*Client) ListFulfillmentScriptsShort ¶ added in v0.8.0
func (a *Client) ListFulfillmentScriptsShort(params *ListFulfillmentScriptsParams, authInfo runtime.ClientAuthInfoWriter) (*ListFulfillmentScriptsOK, error)
ListFulfillmentScriptsShort list all fulfillment scripts List all fulfillment scripts. Other detail info:
- Required permission : resource="ADMIN:FULFILLMENT", action=2 (READ)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateFulfillmentScript
deprecated
func (a *Client) UpdateFulfillmentScript(params *UpdateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFulfillmentScriptOK, *UpdateFulfillmentScriptBadRequest, error)
Deprecated: 2022-08-10 - Use UpdateFulfillmentScriptShort instead.
UpdateFulfillmentScript update fulfillment script
[AGS Premium Feature] Update fulfillment script.
Other detail info:
- Required permission : resource="ADMIN:FULFILLMENT", action=4 (UPDATE)
func (*Client) UpdateFulfillmentScriptShort ¶ added in v0.8.0
func (a *Client) UpdateFulfillmentScriptShort(params *UpdateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFulfillmentScriptOK, error)
UpdateFulfillmentScriptShort update fulfillment script
[AGS Premium Feature] Update fulfillment script.
Other detail info:
- Required permission : resource="ADMIN:FULFILLMENT", action=4 (UPDATE)
type ClientService ¶
type ClientService interface { ListFulfillmentScripts(params *ListFulfillmentScriptsParams, authInfo runtime.ClientAuthInfoWriter) (*ListFulfillmentScriptsOK, error) ListFulfillmentScriptsShort(params *ListFulfillmentScriptsParams, authInfo runtime.ClientAuthInfoWriter) (*ListFulfillmentScriptsOK, error) GetFulfillmentScript(params *GetFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*GetFulfillmentScriptOK, *GetFulfillmentScriptNotFound, error) GetFulfillmentScriptShort(params *GetFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*GetFulfillmentScriptOK, error) CreateFulfillmentScript(params *CreateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFulfillmentScriptCreated, *CreateFulfillmentScriptConflict, error) CreateFulfillmentScriptShort(params *CreateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFulfillmentScriptCreated, error) DeleteFulfillmentScript(params *DeleteFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFulfillmentScriptNoContent, error) DeleteFulfillmentScriptShort(params *DeleteFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFulfillmentScriptNoContent, error) UpdateFulfillmentScript(params *UpdateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFulfillmentScriptOK, *UpdateFulfillmentScriptBadRequest, error) UpdateFulfillmentScriptShort(params *UpdateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFulfillmentScriptOK, 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 script API client.
type CreateFulfillmentScriptConflict ¶
type CreateFulfillmentScriptConflict struct {
Payload *platformclientmodels.ErrorEntity
}
CreateFulfillmentScriptConflict handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38171</td><td>Fulfillment script already exists</td></tr></table>
func NewCreateFulfillmentScriptConflict ¶
func NewCreateFulfillmentScriptConflict() *CreateFulfillmentScriptConflict
NewCreateFulfillmentScriptConflict creates a CreateFulfillmentScriptConflict with default headers values
func (*CreateFulfillmentScriptConflict) Error ¶
func (o *CreateFulfillmentScriptConflict) Error() string
func (*CreateFulfillmentScriptConflict) GetPayload ¶
func (o *CreateFulfillmentScriptConflict) GetPayload() *platformclientmodels.ErrorEntity
func (*CreateFulfillmentScriptConflict) ToJSONString ¶ added in v0.25.0
func (o *CreateFulfillmentScriptConflict) ToJSONString() string
type CreateFulfillmentScriptCreated ¶
type CreateFulfillmentScriptCreated struct {
Payload *platformclientmodels.FulfillmentScriptInfo
}
CreateFulfillmentScriptCreated handles this case with default header values.
successful operation
func NewCreateFulfillmentScriptCreated ¶
func NewCreateFulfillmentScriptCreated() *CreateFulfillmentScriptCreated
NewCreateFulfillmentScriptCreated creates a CreateFulfillmentScriptCreated with default headers values
func (*CreateFulfillmentScriptCreated) Error ¶
func (o *CreateFulfillmentScriptCreated) Error() string
func (*CreateFulfillmentScriptCreated) GetPayload ¶
func (o *CreateFulfillmentScriptCreated) GetPayload() *platformclientmodels.FulfillmentScriptInfo
func (*CreateFulfillmentScriptCreated) ToJSONString ¶ added in v0.25.0
func (o *CreateFulfillmentScriptCreated) ToJSONString() string
type CreateFulfillmentScriptParams ¶
type CreateFulfillmentScriptParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.FulfillmentScriptCreate /*ID*/ ID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateFulfillmentScriptParams contains all the parameters to send to the API endpoint for the create fulfillment script operation typically these are written to a http.Request
func NewCreateFulfillmentScriptParams ¶
func NewCreateFulfillmentScriptParams() *CreateFulfillmentScriptParams
NewCreateFulfillmentScriptParams creates a new CreateFulfillmentScriptParams object with the default values initialized.
func NewCreateFulfillmentScriptParamsWithContext ¶
func NewCreateFulfillmentScriptParamsWithContext(ctx context.Context) *CreateFulfillmentScriptParams
NewCreateFulfillmentScriptParamsWithContext creates a new CreateFulfillmentScriptParams object with the default values initialized, and the ability to set a context for a request
func NewCreateFulfillmentScriptParamsWithHTTPClient ¶
func NewCreateFulfillmentScriptParamsWithHTTPClient(client *http.Client) *CreateFulfillmentScriptParams
NewCreateFulfillmentScriptParamsWithHTTPClient creates a new CreateFulfillmentScriptParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateFulfillmentScriptParamsWithTimeout ¶
func NewCreateFulfillmentScriptParamsWithTimeout(timeout time.Duration) *CreateFulfillmentScriptParams
NewCreateFulfillmentScriptParamsWithTimeout creates a new CreateFulfillmentScriptParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateFulfillmentScriptParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CreateFulfillmentScriptParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create fulfillment script params
func (*CreateFulfillmentScriptParams) SetBody ¶
func (o *CreateFulfillmentScriptParams) SetBody(body *platformclientmodels.FulfillmentScriptCreate)
SetBody adds the body to the create fulfillment script params
func (*CreateFulfillmentScriptParams) SetContext ¶
func (o *CreateFulfillmentScriptParams) SetContext(ctx context.Context)
SetContext adds the context to the create fulfillment script params
func (*CreateFulfillmentScriptParams) SetHTTPClient ¶
func (o *CreateFulfillmentScriptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create fulfillment script params
func (*CreateFulfillmentScriptParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CreateFulfillmentScriptParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create fulfillment script params
func (*CreateFulfillmentScriptParams) SetID ¶
func (o *CreateFulfillmentScriptParams) SetID(idVar string)
SetID adds the id to the create fulfillment script params
func (*CreateFulfillmentScriptParams) SetTimeout ¶
func (o *CreateFulfillmentScriptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create fulfillment script params
func (*CreateFulfillmentScriptParams) WithBody ¶
func (o *CreateFulfillmentScriptParams) WithBody(body *platformclientmodels.FulfillmentScriptCreate) *CreateFulfillmentScriptParams
WithBody adds the body to the create fulfillment script params
func (*CreateFulfillmentScriptParams) WithContext ¶
func (o *CreateFulfillmentScriptParams) WithContext(ctx context.Context) *CreateFulfillmentScriptParams
WithContext adds the context to the create fulfillment script params
func (*CreateFulfillmentScriptParams) WithHTTPClient ¶
func (o *CreateFulfillmentScriptParams) WithHTTPClient(client *http.Client) *CreateFulfillmentScriptParams
WithHTTPClient adds the HTTPClient to the create fulfillment script params
func (*CreateFulfillmentScriptParams) WithID ¶
func (o *CreateFulfillmentScriptParams) WithID(idVar string) *CreateFulfillmentScriptParams
WithID adds the idVar to the create fulfillment script params
func (*CreateFulfillmentScriptParams) WithTimeout ¶
func (o *CreateFulfillmentScriptParams) WithTimeout(timeout time.Duration) *CreateFulfillmentScriptParams
WithTimeout adds the timeout to the create fulfillment script params
func (*CreateFulfillmentScriptParams) WriteToRequest ¶
func (o *CreateFulfillmentScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateFulfillmentScriptReader ¶
type CreateFulfillmentScriptReader struct {
// contains filtered or unexported fields
}
CreateFulfillmentScriptReader is a Reader for the CreateFulfillmentScript structure.
func (*CreateFulfillmentScriptReader) ReadResponse ¶
func (o *CreateFulfillmentScriptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteFulfillmentScriptNoContent ¶
type DeleteFulfillmentScriptNoContent struct { }
DeleteFulfillmentScriptNoContent handles this case with default header values.
delete fulfillment script successfully
func NewDeleteFulfillmentScriptNoContent ¶
func NewDeleteFulfillmentScriptNoContent() *DeleteFulfillmentScriptNoContent
NewDeleteFulfillmentScriptNoContent creates a DeleteFulfillmentScriptNoContent with default headers values
func (*DeleteFulfillmentScriptNoContent) Error ¶
func (o *DeleteFulfillmentScriptNoContent) Error() string
type DeleteFulfillmentScriptParams ¶
type DeleteFulfillmentScriptParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ID*/ ID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteFulfillmentScriptParams contains all the parameters to send to the API endpoint for the delete fulfillment script operation typically these are written to a http.Request
func NewDeleteFulfillmentScriptParams ¶
func NewDeleteFulfillmentScriptParams() *DeleteFulfillmentScriptParams
NewDeleteFulfillmentScriptParams creates a new DeleteFulfillmentScriptParams object with the default values initialized.
func NewDeleteFulfillmentScriptParamsWithContext ¶
func NewDeleteFulfillmentScriptParamsWithContext(ctx context.Context) *DeleteFulfillmentScriptParams
NewDeleteFulfillmentScriptParamsWithContext creates a new DeleteFulfillmentScriptParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteFulfillmentScriptParamsWithHTTPClient ¶
func NewDeleteFulfillmentScriptParamsWithHTTPClient(client *http.Client) *DeleteFulfillmentScriptParams
NewDeleteFulfillmentScriptParamsWithHTTPClient creates a new DeleteFulfillmentScriptParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteFulfillmentScriptParamsWithTimeout ¶
func NewDeleteFulfillmentScriptParamsWithTimeout(timeout time.Duration) *DeleteFulfillmentScriptParams
NewDeleteFulfillmentScriptParamsWithTimeout creates a new DeleteFulfillmentScriptParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteFulfillmentScriptParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteFulfillmentScriptParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete fulfillment script params
func (*DeleteFulfillmentScriptParams) SetContext ¶
func (o *DeleteFulfillmentScriptParams) SetContext(ctx context.Context)
SetContext adds the context to the delete fulfillment script params
func (*DeleteFulfillmentScriptParams) SetHTTPClient ¶
func (o *DeleteFulfillmentScriptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete fulfillment script params
func (*DeleteFulfillmentScriptParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteFulfillmentScriptParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete fulfillment script params
func (*DeleteFulfillmentScriptParams) SetID ¶
func (o *DeleteFulfillmentScriptParams) SetID(idVar string)
SetID adds the id to the delete fulfillment script params
func (*DeleteFulfillmentScriptParams) SetTimeout ¶
func (o *DeleteFulfillmentScriptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete fulfillment script params
func (*DeleteFulfillmentScriptParams) WithContext ¶
func (o *DeleteFulfillmentScriptParams) WithContext(ctx context.Context) *DeleteFulfillmentScriptParams
WithContext adds the context to the delete fulfillment script params
func (*DeleteFulfillmentScriptParams) WithHTTPClient ¶
func (o *DeleteFulfillmentScriptParams) WithHTTPClient(client *http.Client) *DeleteFulfillmentScriptParams
WithHTTPClient adds the HTTPClient to the delete fulfillment script params
func (*DeleteFulfillmentScriptParams) WithID ¶
func (o *DeleteFulfillmentScriptParams) WithID(idVar string) *DeleteFulfillmentScriptParams
WithID adds the idVar to the delete fulfillment script params
func (*DeleteFulfillmentScriptParams) WithTimeout ¶
func (o *DeleteFulfillmentScriptParams) WithTimeout(timeout time.Duration) *DeleteFulfillmentScriptParams
WithTimeout adds the timeout to the delete fulfillment script params
func (*DeleteFulfillmentScriptParams) WriteToRequest ¶
func (o *DeleteFulfillmentScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteFulfillmentScriptReader ¶
type DeleteFulfillmentScriptReader struct {
// contains filtered or unexported fields
}
DeleteFulfillmentScriptReader is a Reader for the DeleteFulfillmentScript structure.
func (*DeleteFulfillmentScriptReader) ReadResponse ¶
func (o *DeleteFulfillmentScriptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFulfillmentScriptNotFound ¶
type GetFulfillmentScriptNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetFulfillmentScriptNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38141</td><td>Fulfillment script does not exist</td></tr></table>
func NewGetFulfillmentScriptNotFound ¶
func NewGetFulfillmentScriptNotFound() *GetFulfillmentScriptNotFound
NewGetFulfillmentScriptNotFound creates a GetFulfillmentScriptNotFound with default headers values
func (*GetFulfillmentScriptNotFound) Error ¶
func (o *GetFulfillmentScriptNotFound) Error() string
func (*GetFulfillmentScriptNotFound) GetPayload ¶
func (o *GetFulfillmentScriptNotFound) GetPayload() *platformclientmodels.ErrorEntity
func (*GetFulfillmentScriptNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetFulfillmentScriptNotFound) ToJSONString() string
type GetFulfillmentScriptOK ¶
type GetFulfillmentScriptOK struct {
Payload *platformclientmodels.FulfillmentScriptInfo
}
GetFulfillmentScriptOK handles this case with default header values.
successful operation
func NewGetFulfillmentScriptOK ¶
func NewGetFulfillmentScriptOK() *GetFulfillmentScriptOK
NewGetFulfillmentScriptOK creates a GetFulfillmentScriptOK with default headers values
func (*GetFulfillmentScriptOK) Error ¶
func (o *GetFulfillmentScriptOK) Error() string
func (*GetFulfillmentScriptOK) GetPayload ¶
func (o *GetFulfillmentScriptOK) GetPayload() *platformclientmodels.FulfillmentScriptInfo
func (*GetFulfillmentScriptOK) ToJSONString ¶ added in v0.25.0
func (o *GetFulfillmentScriptOK) ToJSONString() string
type GetFulfillmentScriptParams ¶
type GetFulfillmentScriptParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*ID*/ ID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFulfillmentScriptParams contains all the parameters to send to the API endpoint for the get fulfillment script operation typically these are written to a http.Request
func NewGetFulfillmentScriptParams ¶
func NewGetFulfillmentScriptParams() *GetFulfillmentScriptParams
NewGetFulfillmentScriptParams creates a new GetFulfillmentScriptParams object with the default values initialized.
func NewGetFulfillmentScriptParamsWithContext ¶
func NewGetFulfillmentScriptParamsWithContext(ctx context.Context) *GetFulfillmentScriptParams
NewGetFulfillmentScriptParamsWithContext creates a new GetFulfillmentScriptParams object with the default values initialized, and the ability to set a context for a request
func NewGetFulfillmentScriptParamsWithHTTPClient ¶
func NewGetFulfillmentScriptParamsWithHTTPClient(client *http.Client) *GetFulfillmentScriptParams
NewGetFulfillmentScriptParamsWithHTTPClient creates a new GetFulfillmentScriptParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFulfillmentScriptParamsWithTimeout ¶
func NewGetFulfillmentScriptParamsWithTimeout(timeout time.Duration) *GetFulfillmentScriptParams
NewGetFulfillmentScriptParamsWithTimeout creates a new GetFulfillmentScriptParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFulfillmentScriptParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetFulfillmentScriptParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get fulfillment script params
func (*GetFulfillmentScriptParams) SetContext ¶
func (o *GetFulfillmentScriptParams) SetContext(ctx context.Context)
SetContext adds the context to the get fulfillment script params
func (*GetFulfillmentScriptParams) SetHTTPClient ¶
func (o *GetFulfillmentScriptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fulfillment script params
func (*GetFulfillmentScriptParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetFulfillmentScriptParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get fulfillment script params
func (*GetFulfillmentScriptParams) SetID ¶
func (o *GetFulfillmentScriptParams) SetID(idVar string)
SetID adds the id to the get fulfillment script params
func (*GetFulfillmentScriptParams) SetTimeout ¶
func (o *GetFulfillmentScriptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fulfillment script params
func (*GetFulfillmentScriptParams) WithContext ¶
func (o *GetFulfillmentScriptParams) WithContext(ctx context.Context) *GetFulfillmentScriptParams
WithContext adds the context to the get fulfillment script params
func (*GetFulfillmentScriptParams) WithHTTPClient ¶
func (o *GetFulfillmentScriptParams) WithHTTPClient(client *http.Client) *GetFulfillmentScriptParams
WithHTTPClient adds the HTTPClient to the get fulfillment script params
func (*GetFulfillmentScriptParams) WithID ¶
func (o *GetFulfillmentScriptParams) WithID(idVar string) *GetFulfillmentScriptParams
WithID adds the idVar to the get fulfillment script params
func (*GetFulfillmentScriptParams) WithTimeout ¶
func (o *GetFulfillmentScriptParams) WithTimeout(timeout time.Duration) *GetFulfillmentScriptParams
WithTimeout adds the timeout to the get fulfillment script params
func (*GetFulfillmentScriptParams) WriteToRequest ¶
func (o *GetFulfillmentScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFulfillmentScriptReader ¶
type GetFulfillmentScriptReader struct {
// contains filtered or unexported fields
}
GetFulfillmentScriptReader is a Reader for the GetFulfillmentScript structure.
func (*GetFulfillmentScriptReader) ReadResponse ¶
func (o *GetFulfillmentScriptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListFulfillmentScriptsOK ¶
type ListFulfillmentScriptsOK struct {
Payload []*platformclientmodels.FulfillmentScriptInfo
}
ListFulfillmentScriptsOK handles this case with default header values.
successful operation
func NewListFulfillmentScriptsOK ¶
func NewListFulfillmentScriptsOK() *ListFulfillmentScriptsOK
NewListFulfillmentScriptsOK creates a ListFulfillmentScriptsOK with default headers values
func (*ListFulfillmentScriptsOK) Error ¶
func (o *ListFulfillmentScriptsOK) Error() string
func (*ListFulfillmentScriptsOK) GetPayload ¶
func (o *ListFulfillmentScriptsOK) GetPayload() []*platformclientmodels.FulfillmentScriptInfo
func (*ListFulfillmentScriptsOK) ToJSONString ¶ added in v0.25.0
func (o *ListFulfillmentScriptsOK) ToJSONString() string
type ListFulfillmentScriptsParams ¶
type ListFulfillmentScriptsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListFulfillmentScriptsParams contains all the parameters to send to the API endpoint for the list fulfillment scripts operation typically these are written to a http.Request
func NewListFulfillmentScriptsParams ¶
func NewListFulfillmentScriptsParams() *ListFulfillmentScriptsParams
NewListFulfillmentScriptsParams creates a new ListFulfillmentScriptsParams object with the default values initialized.
func NewListFulfillmentScriptsParamsWithContext ¶
func NewListFulfillmentScriptsParamsWithContext(ctx context.Context) *ListFulfillmentScriptsParams
NewListFulfillmentScriptsParamsWithContext creates a new ListFulfillmentScriptsParams object with the default values initialized, and the ability to set a context for a request
func NewListFulfillmentScriptsParamsWithHTTPClient ¶
func NewListFulfillmentScriptsParamsWithHTTPClient(client *http.Client) *ListFulfillmentScriptsParams
NewListFulfillmentScriptsParamsWithHTTPClient creates a new ListFulfillmentScriptsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListFulfillmentScriptsParamsWithTimeout ¶
func NewListFulfillmentScriptsParamsWithTimeout(timeout time.Duration) *ListFulfillmentScriptsParams
NewListFulfillmentScriptsParamsWithTimeout creates a new ListFulfillmentScriptsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListFulfillmentScriptsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ListFulfillmentScriptsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list fulfillment scripts params
func (*ListFulfillmentScriptsParams) SetContext ¶
func (o *ListFulfillmentScriptsParams) SetContext(ctx context.Context)
SetContext adds the context to the list fulfillment scripts params
func (*ListFulfillmentScriptsParams) SetHTTPClient ¶
func (o *ListFulfillmentScriptsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list fulfillment scripts params
func (*ListFulfillmentScriptsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ListFulfillmentScriptsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list fulfillment scripts params
func (*ListFulfillmentScriptsParams) SetTimeout ¶
func (o *ListFulfillmentScriptsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list fulfillment scripts params
func (*ListFulfillmentScriptsParams) WithContext ¶
func (o *ListFulfillmentScriptsParams) WithContext(ctx context.Context) *ListFulfillmentScriptsParams
WithContext adds the context to the list fulfillment scripts params
func (*ListFulfillmentScriptsParams) WithHTTPClient ¶
func (o *ListFulfillmentScriptsParams) WithHTTPClient(client *http.Client) *ListFulfillmentScriptsParams
WithHTTPClient adds the HTTPClient to the list fulfillment scripts params
func (*ListFulfillmentScriptsParams) WithTimeout ¶
func (o *ListFulfillmentScriptsParams) WithTimeout(timeout time.Duration) *ListFulfillmentScriptsParams
WithTimeout adds the timeout to the list fulfillment scripts params
func (*ListFulfillmentScriptsParams) WriteToRequest ¶
func (o *ListFulfillmentScriptsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListFulfillmentScriptsReader ¶
type ListFulfillmentScriptsReader struct {
// contains filtered or unexported fields
}
ListFulfillmentScriptsReader is a Reader for the ListFulfillmentScripts structure.
func (*ListFulfillmentScriptsReader) ReadResponse ¶
func (o *ListFulfillmentScriptsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateFulfillmentScriptBadRequest ¶
type UpdateFulfillmentScriptBadRequest struct {
Payload *platformclientmodels.ErrorEntity
}
UpdateFulfillmentScriptBadRequest handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>38141</td><td>Fulfillment script does not exist</td></tr></table>
func NewUpdateFulfillmentScriptBadRequest ¶
func NewUpdateFulfillmentScriptBadRequest() *UpdateFulfillmentScriptBadRequest
NewUpdateFulfillmentScriptBadRequest creates a UpdateFulfillmentScriptBadRequest with default headers values
func (*UpdateFulfillmentScriptBadRequest) Error ¶
func (o *UpdateFulfillmentScriptBadRequest) Error() string
func (*UpdateFulfillmentScriptBadRequest) GetPayload ¶
func (o *UpdateFulfillmentScriptBadRequest) GetPayload() *platformclientmodels.ErrorEntity
func (*UpdateFulfillmentScriptBadRequest) ToJSONString ¶ added in v0.25.0
func (o *UpdateFulfillmentScriptBadRequest) ToJSONString() string
type UpdateFulfillmentScriptOK ¶
type UpdateFulfillmentScriptOK struct {
Payload *platformclientmodels.FulfillmentScriptInfo
}
UpdateFulfillmentScriptOK handles this case with default header values.
successful operation
func NewUpdateFulfillmentScriptOK ¶
func NewUpdateFulfillmentScriptOK() *UpdateFulfillmentScriptOK
NewUpdateFulfillmentScriptOK creates a UpdateFulfillmentScriptOK with default headers values
func (*UpdateFulfillmentScriptOK) Error ¶
func (o *UpdateFulfillmentScriptOK) Error() string
func (*UpdateFulfillmentScriptOK) GetPayload ¶
func (o *UpdateFulfillmentScriptOK) GetPayload() *platformclientmodels.FulfillmentScriptInfo
func (*UpdateFulfillmentScriptOK) ToJSONString ¶ added in v0.25.0
func (o *UpdateFulfillmentScriptOK) ToJSONString() string
type UpdateFulfillmentScriptParams ¶
type UpdateFulfillmentScriptParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *platformclientmodels.FulfillmentScriptUpdate /*ID*/ ID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateFulfillmentScriptParams contains all the parameters to send to the API endpoint for the update fulfillment script operation typically these are written to a http.Request
func NewUpdateFulfillmentScriptParams ¶
func NewUpdateFulfillmentScriptParams() *UpdateFulfillmentScriptParams
NewUpdateFulfillmentScriptParams creates a new UpdateFulfillmentScriptParams object with the default values initialized.
func NewUpdateFulfillmentScriptParamsWithContext ¶
func NewUpdateFulfillmentScriptParamsWithContext(ctx context.Context) *UpdateFulfillmentScriptParams
NewUpdateFulfillmentScriptParamsWithContext creates a new UpdateFulfillmentScriptParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateFulfillmentScriptParamsWithHTTPClient ¶
func NewUpdateFulfillmentScriptParamsWithHTTPClient(client *http.Client) *UpdateFulfillmentScriptParams
NewUpdateFulfillmentScriptParamsWithHTTPClient creates a new UpdateFulfillmentScriptParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateFulfillmentScriptParamsWithTimeout ¶
func NewUpdateFulfillmentScriptParamsWithTimeout(timeout time.Duration) *UpdateFulfillmentScriptParams
NewUpdateFulfillmentScriptParamsWithTimeout creates a new UpdateFulfillmentScriptParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateFulfillmentScriptParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateFulfillmentScriptParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update fulfillment script params
func (*UpdateFulfillmentScriptParams) SetBody ¶
func (o *UpdateFulfillmentScriptParams) SetBody(body *platformclientmodels.FulfillmentScriptUpdate)
SetBody adds the body to the update fulfillment script params
func (*UpdateFulfillmentScriptParams) SetContext ¶
func (o *UpdateFulfillmentScriptParams) SetContext(ctx context.Context)
SetContext adds the context to the update fulfillment script params
func (*UpdateFulfillmentScriptParams) SetHTTPClient ¶
func (o *UpdateFulfillmentScriptParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update fulfillment script params
func (*UpdateFulfillmentScriptParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateFulfillmentScriptParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update fulfillment script params
func (*UpdateFulfillmentScriptParams) SetID ¶
func (o *UpdateFulfillmentScriptParams) SetID(idVar string)
SetID adds the id to the update fulfillment script params
func (*UpdateFulfillmentScriptParams) SetTimeout ¶
func (o *UpdateFulfillmentScriptParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update fulfillment script params
func (*UpdateFulfillmentScriptParams) WithBody ¶
func (o *UpdateFulfillmentScriptParams) WithBody(body *platformclientmodels.FulfillmentScriptUpdate) *UpdateFulfillmentScriptParams
WithBody adds the body to the update fulfillment script params
func (*UpdateFulfillmentScriptParams) WithContext ¶
func (o *UpdateFulfillmentScriptParams) WithContext(ctx context.Context) *UpdateFulfillmentScriptParams
WithContext adds the context to the update fulfillment script params
func (*UpdateFulfillmentScriptParams) WithHTTPClient ¶
func (o *UpdateFulfillmentScriptParams) WithHTTPClient(client *http.Client) *UpdateFulfillmentScriptParams
WithHTTPClient adds the HTTPClient to the update fulfillment script params
func (*UpdateFulfillmentScriptParams) WithID ¶
func (o *UpdateFulfillmentScriptParams) WithID(idVar string) *UpdateFulfillmentScriptParams
WithID adds the idVar to the update fulfillment script params
func (*UpdateFulfillmentScriptParams) WithTimeout ¶
func (o *UpdateFulfillmentScriptParams) WithTimeout(timeout time.Duration) *UpdateFulfillmentScriptParams
WithTimeout adds the timeout to the update fulfillment script params
func (*UpdateFulfillmentScriptParams) WriteToRequest ¶
func (o *UpdateFulfillmentScriptParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateFulfillmentScriptReader ¶
type UpdateFulfillmentScriptReader struct {
// contains filtered or unexported fields
}
UpdateFulfillmentScriptReader is a Reader for the UpdateFulfillmentScript structure.
func (*UpdateFulfillmentScriptReader) ReadResponse ¶
func (o *UpdateFulfillmentScriptReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_fulfillment_script_parameters.go
- create_fulfillment_script_responses.go
- delete_fulfillment_script_parameters.go
- delete_fulfillment_script_responses.go
- fulfillment_script_client.go
- get_fulfillment_script_parameters.go
- get_fulfillment_script_responses.go
- list_fulfillment_scripts_parameters.go
- list_fulfillment_scripts_responses.go
- update_fulfillment_script_parameters.go
- update_fulfillment_script_responses.go