Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateFulfillmentScript(params *CreateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFulfillmentScriptCreated, *CreateFulfillmentScriptConflict, error)
- func (a *Client) CreateFulfillmentScriptShort(params *CreateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFulfillmentScriptCreated, error)
- func (a *Client) DeleteFulfillmentScript(params *DeleteFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFulfillmentScriptNoContent, error)
- func (a *Client) DeleteFulfillmentScriptShort(params *DeleteFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFulfillmentScriptNoContent, error)
- func (a *Client) GetFulfillmentScript(params *GetFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*GetFulfillmentScriptOK, *GetFulfillmentScriptNotFound, error)
- func (a *Client) GetFulfillmentScriptShort(params *GetFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*GetFulfillmentScriptOK, error)
- func (a *Client) ListFulfillmentScripts(params *ListFulfillmentScriptsParams, authInfo runtime.ClientAuthInfoWriter) (*ListFulfillmentScriptsOK, error)
- func (a *Client) ListFulfillmentScriptsShort(params *ListFulfillmentScriptsParams, authInfo runtime.ClientAuthInfoWriter) (*ListFulfillmentScriptsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TestFulfillmentScriptEval(params *TestFulfillmentScriptEvalParams, authInfo runtime.ClientAuthInfoWriter) (*TestFulfillmentScriptEvalOK, error)
- func (a *Client) TestFulfillmentScriptEvalShort(params *TestFulfillmentScriptEvalParams, authInfo runtime.ClientAuthInfoWriter) (*TestFulfillmentScriptEvalOK, error)
- func (a *Client) UpdateFulfillmentScript(params *UpdateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFulfillmentScriptOK, *UpdateFulfillmentScriptBadRequest, error)
- 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) SetBody(body *platformclientmodels.FulfillmentScriptCreate)
- func (o *CreateFulfillmentScriptParams) SetContext(ctx context.Context)
- func (o *CreateFulfillmentScriptParams) SetHTTPClient(client *http.Client)
- func (o *CreateFulfillmentScriptParams) SetID(id 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(id 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) SetContext(ctx context.Context)
- func (o *DeleteFulfillmentScriptParams) SetHTTPClient(client *http.Client)
- func (o *DeleteFulfillmentScriptParams) SetID(id 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(id 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) SetContext(ctx context.Context)
- func (o *GetFulfillmentScriptParams) SetHTTPClient(client *http.Client)
- func (o *GetFulfillmentScriptParams) SetID(id 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(id 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) SetContext(ctx context.Context)
- func (o *ListFulfillmentScriptsParams) SetHTTPClient(client *http.Client)
- 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 TestFulfillmentScriptEvalOK
- type TestFulfillmentScriptEvalParams
- func NewTestFulfillmentScriptEvalParams() *TestFulfillmentScriptEvalParams
- func NewTestFulfillmentScriptEvalParamsWithContext(ctx context.Context) *TestFulfillmentScriptEvalParams
- func NewTestFulfillmentScriptEvalParamsWithHTTPClient(client *http.Client) *TestFulfillmentScriptEvalParams
- func NewTestFulfillmentScriptEvalParamsWithTimeout(timeout time.Duration) *TestFulfillmentScriptEvalParams
- func (o *TestFulfillmentScriptEvalParams) SetBody(body *platformclientmodels.FulfillmentScriptEvalTestRequest)
- func (o *TestFulfillmentScriptEvalParams) SetContext(ctx context.Context)
- func (o *TestFulfillmentScriptEvalParams) SetHTTPClient(client *http.Client)
- func (o *TestFulfillmentScriptEvalParams) SetTimeout(timeout time.Duration)
- func (o *TestFulfillmentScriptEvalParams) WithBody(body *platformclientmodels.FulfillmentScriptEvalTestRequest) *TestFulfillmentScriptEvalParams
- func (o *TestFulfillmentScriptEvalParams) WithContext(ctx context.Context) *TestFulfillmentScriptEvalParams
- func (o *TestFulfillmentScriptEvalParams) WithHTTPClient(client *http.Client) *TestFulfillmentScriptEvalParams
- func (o *TestFulfillmentScriptEvalParams) WithTimeout(timeout time.Duration) *TestFulfillmentScriptEvalParams
- func (o *TestFulfillmentScriptEvalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestFulfillmentScriptEvalReader
- 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) SetBody(body *platformclientmodels.FulfillmentScriptUpdate)
- func (o *UpdateFulfillmentScriptParams) SetContext(ctx context.Context)
- func (o *UpdateFulfillmentScriptParams) SetHTTPClient(client *http.Client)
- func (o *UpdateFulfillmentScriptParams) SetID(id 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(id 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 ¶
func (a *Client) CreateFulfillmentScript(params *CreateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFulfillmentScriptCreated, *CreateFulfillmentScriptConflict, error)
CreateFulfillmentScript creates fulfillment script
Create fulfillment script.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:FULFILLMENT", action=1 (CREATE)</li></ul>Fulfillment scripts are used for adding custom fulfillment logic based on <b>ITEM_TYPE</b>: [MEDIA,INGAMEITEM] for now, and the custom scripts only cover grantDays.<br>Example for grantDays: <br><code>order && ((order.currency && order.currency.currencyCode) == 'LP' || order.isFree) ? 30 : -1</code><br>
func (*Client) CreateFulfillmentScriptShort ¶ added in v0.8.0
func (a *Client) CreateFulfillmentScriptShort(params *CreateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*CreateFulfillmentScriptCreated, error)
func (*Client) DeleteFulfillmentScript ¶
func (a *Client) DeleteFulfillmentScript(params *DeleteFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFulfillmentScriptNoContent, error)
DeleteFulfillmentScript deletes fulfillment script
Delete fulfillment script.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:FULFILLMENT", action=8 (DELETE)</li></ul>
func (*Client) DeleteFulfillmentScriptShort ¶ added in v0.8.0
func (a *Client) DeleteFulfillmentScriptShort(params *DeleteFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFulfillmentScriptNoContent, error)
func (*Client) GetFulfillmentScript ¶
func (a *Client) GetFulfillmentScript(params *GetFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*GetFulfillmentScriptOK, *GetFulfillmentScriptNotFound, error)
GetFulfillmentScript gets fulfillment script by id
Get fulfillment script by id.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:FULFILLMENT", action=2 (READ)</li><li><i>Returns</i>: get fulfillment script</li></ul>
func (*Client) GetFulfillmentScriptShort ¶ added in v0.8.0
func (a *Client) GetFulfillmentScriptShort(params *GetFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*GetFulfillmentScriptOK, error)
func (*Client) ListFulfillmentScripts ¶
func (a *Client) ListFulfillmentScripts(params *ListFulfillmentScriptsParams, authInfo runtime.ClientAuthInfoWriter) (*ListFulfillmentScriptsOK, error)
ListFulfillmentScripts lists all fulfillment scripts
List all fulfillment scripts.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:FULFILLMENT", action=2 (READ)</li></ul>
func (*Client) ListFulfillmentScriptsShort ¶ added in v0.8.0
func (a *Client) ListFulfillmentScriptsShort(params *ListFulfillmentScriptsParams, authInfo runtime.ClientAuthInfoWriter) (*ListFulfillmentScriptsOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TestFulfillmentScriptEval ¶
func (a *Client) TestFulfillmentScriptEval(params *TestFulfillmentScriptEvalParams, authInfo runtime.ClientAuthInfoWriter) (*TestFulfillmentScriptEvalOK, error)
TestFulfillmentScriptEval tests eval fulfillment script
<b>[TEST FACILITY ONLY]</b>Test eval fulfillment script.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:FULFILLMENT", action=2 (READ)</li></ul>
func (*Client) TestFulfillmentScriptEvalShort ¶ added in v0.8.0
func (a *Client) TestFulfillmentScriptEvalShort(params *TestFulfillmentScriptEvalParams, authInfo runtime.ClientAuthInfoWriter) (*TestFulfillmentScriptEvalOK, error)
func (*Client) UpdateFulfillmentScript ¶
func (a *Client) UpdateFulfillmentScript(params *UpdateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFulfillmentScriptOK, *UpdateFulfillmentScriptBadRequest, error)
UpdateFulfillmentScript updates fulfillment script
Update fulfillment script.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:FULFILLMENT", action=4 (UPDATE)</li></ul>
func (*Client) UpdateFulfillmentScriptShort ¶ added in v0.8.0
func (a *Client) UpdateFulfillmentScriptShort(params *UpdateFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateFulfillmentScriptOK, error)
type ClientService ¶
type ClientService interface { 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) GetFulfillmentScript(params *GetFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*GetFulfillmentScriptOK, *GetFulfillmentScriptNotFound, error) GetFulfillmentScriptShort(params *GetFulfillmentScriptParams, authInfo runtime.ClientAuthInfoWriter) (*GetFulfillmentScriptOK, error) ListFulfillmentScripts(params *ListFulfillmentScriptsParams, authInfo runtime.ClientAuthInfoWriter) (*ListFulfillmentScriptsOK, error) ListFulfillmentScriptsShort(params *ListFulfillmentScriptsParams, authInfo runtime.ClientAuthInfoWriter) (*ListFulfillmentScriptsOK, error) TestFulfillmentScriptEval(params *TestFulfillmentScriptEvalParams, authInfo runtime.ClientAuthInfoWriter) (*TestFulfillmentScriptEvalOK, error) TestFulfillmentScriptEvalShort(params *TestFulfillmentScriptEvalParams, authInfo runtime.ClientAuthInfoWriter) (*TestFulfillmentScriptEvalOK, 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
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
type CreateFulfillmentScriptParams ¶
type CreateFulfillmentScriptParams struct { /*Body*/ Body *platformclientmodels.FulfillmentScriptCreate /*ID*/ ID string 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) 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) SetID ¶
func (o *CreateFulfillmentScriptParams) SetID(id 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(id string) *CreateFulfillmentScriptParams
WithID adds the id 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 { /*ID*/ ID string 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) 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) SetID ¶
func (o *DeleteFulfillmentScriptParams) SetID(id 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(id string) *DeleteFulfillmentScriptParams
WithID adds the id 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
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
type GetFulfillmentScriptParams ¶
type GetFulfillmentScriptParams struct { /*ID*/ ID string 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) 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) SetID ¶
func (o *GetFulfillmentScriptParams) SetID(id 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(id string) *GetFulfillmentScriptParams
WithID adds the id 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
type ListFulfillmentScriptsParams ¶
type ListFulfillmentScriptsParams struct { 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) 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) 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 TestFulfillmentScriptEvalOK ¶
type TestFulfillmentScriptEvalOK struct {
Payload *platformclientmodels.FulfillmentScriptEvalTestResult
}
TestFulfillmentScriptEvalOK handles this case with default header values.
successful operation
func NewTestFulfillmentScriptEvalOK ¶
func NewTestFulfillmentScriptEvalOK() *TestFulfillmentScriptEvalOK
NewTestFulfillmentScriptEvalOK creates a TestFulfillmentScriptEvalOK with default headers values
func (*TestFulfillmentScriptEvalOK) Error ¶
func (o *TestFulfillmentScriptEvalOK) Error() string
func (*TestFulfillmentScriptEvalOK) GetPayload ¶
func (o *TestFulfillmentScriptEvalOK) GetPayload() *platformclientmodels.FulfillmentScriptEvalTestResult
type TestFulfillmentScriptEvalParams ¶
type TestFulfillmentScriptEvalParams struct { /*Body*/ Body *platformclientmodels.FulfillmentScriptEvalTestRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TestFulfillmentScriptEvalParams contains all the parameters to send to the API endpoint for the test fulfillment script eval operation typically these are written to a http.Request
func NewTestFulfillmentScriptEvalParams ¶
func NewTestFulfillmentScriptEvalParams() *TestFulfillmentScriptEvalParams
NewTestFulfillmentScriptEvalParams creates a new TestFulfillmentScriptEvalParams object with the default values initialized.
func NewTestFulfillmentScriptEvalParamsWithContext ¶
func NewTestFulfillmentScriptEvalParamsWithContext(ctx context.Context) *TestFulfillmentScriptEvalParams
NewTestFulfillmentScriptEvalParamsWithContext creates a new TestFulfillmentScriptEvalParams object with the default values initialized, and the ability to set a context for a request
func NewTestFulfillmentScriptEvalParamsWithHTTPClient ¶
func NewTestFulfillmentScriptEvalParamsWithHTTPClient(client *http.Client) *TestFulfillmentScriptEvalParams
NewTestFulfillmentScriptEvalParamsWithHTTPClient creates a new TestFulfillmentScriptEvalParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewTestFulfillmentScriptEvalParamsWithTimeout ¶
func NewTestFulfillmentScriptEvalParamsWithTimeout(timeout time.Duration) *TestFulfillmentScriptEvalParams
NewTestFulfillmentScriptEvalParamsWithTimeout creates a new TestFulfillmentScriptEvalParams object with the default values initialized, and the ability to set a timeout on a request
func (*TestFulfillmentScriptEvalParams) SetBody ¶
func (o *TestFulfillmentScriptEvalParams) SetBody(body *platformclientmodels.FulfillmentScriptEvalTestRequest)
SetBody adds the body to the test fulfillment script eval params
func (*TestFulfillmentScriptEvalParams) SetContext ¶
func (o *TestFulfillmentScriptEvalParams) SetContext(ctx context.Context)
SetContext adds the context to the test fulfillment script eval params
func (*TestFulfillmentScriptEvalParams) SetHTTPClient ¶
func (o *TestFulfillmentScriptEvalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the test fulfillment script eval params
func (*TestFulfillmentScriptEvalParams) SetTimeout ¶
func (o *TestFulfillmentScriptEvalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the test fulfillment script eval params
func (*TestFulfillmentScriptEvalParams) WithBody ¶
func (o *TestFulfillmentScriptEvalParams) WithBody(body *platformclientmodels.FulfillmentScriptEvalTestRequest) *TestFulfillmentScriptEvalParams
WithBody adds the body to the test fulfillment script eval params
func (*TestFulfillmentScriptEvalParams) WithContext ¶
func (o *TestFulfillmentScriptEvalParams) WithContext(ctx context.Context) *TestFulfillmentScriptEvalParams
WithContext adds the context to the test fulfillment script eval params
func (*TestFulfillmentScriptEvalParams) WithHTTPClient ¶
func (o *TestFulfillmentScriptEvalParams) WithHTTPClient(client *http.Client) *TestFulfillmentScriptEvalParams
WithHTTPClient adds the HTTPClient to the test fulfillment script eval params
func (*TestFulfillmentScriptEvalParams) WithTimeout ¶
func (o *TestFulfillmentScriptEvalParams) WithTimeout(timeout time.Duration) *TestFulfillmentScriptEvalParams
WithTimeout adds the timeout to the test fulfillment script eval params
func (*TestFulfillmentScriptEvalParams) WriteToRequest ¶
func (o *TestFulfillmentScriptEvalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TestFulfillmentScriptEvalReader ¶
type TestFulfillmentScriptEvalReader struct {
// contains filtered or unexported fields
}
TestFulfillmentScriptEvalReader is a Reader for the TestFulfillmentScriptEval structure.
func (*TestFulfillmentScriptEvalReader) ReadResponse ¶
func (o *TestFulfillmentScriptEvalReader) 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
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
type UpdateFulfillmentScriptParams ¶
type UpdateFulfillmentScriptParams struct { /*Body*/ Body *platformclientmodels.FulfillmentScriptUpdate /*ID*/ ID string 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) 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) SetID ¶
func (o *UpdateFulfillmentScriptParams) SetID(id 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(id string) *UpdateFulfillmentScriptParams
WithID adds the id 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
- test_fulfillment_script_eval_parameters.go
- test_fulfillment_script_eval_responses.go
- update_fulfillment_script_parameters.go
- update_fulfillment_script_responses.go