Documentation ¶
Index ¶
- type Client
- func (a *Client) QuoteGuestCartItemRepositoryV1DeleteByIDDelete(params *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams, ...) (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK, error)
- func (a *Client) QuoteGuestCartItemRepositoryV1GetListGet(params *QuoteGuestCartItemRepositoryV1GetListGetParams, opts ...ClientOption) (*QuoteGuestCartItemRepositoryV1GetListGetOK, error)
- func (a *Client) QuoteGuestCartItemRepositoryV1SavePost(params *QuoteGuestCartItemRepositoryV1SavePostParams, opts ...ClientOption) (*QuoteGuestCartItemRepositoryV1SavePostOK, error)
- func (a *Client) QuoteGuestCartItemRepositoryV1SavePut(params *QuoteGuestCartItemRepositoryV1SavePutParams, opts ...ClientOption) (*QuoteGuestCartItemRepositoryV1SavePutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest
- type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault
- type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK
- type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
- func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams() *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
- func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParamsWithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
- func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParamsWithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
- func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParamsWithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetCartID(cartID string)
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetContext(ctx context.Context)
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetDefaults()
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetHTTPClient(client *http.Client)
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetItemID(itemID int64)
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetTimeout(timeout time.Duration)
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithCartID(cartID string) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithDefaults() *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithItemID(itemID int64) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
- func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteReader
- type QuoteGuestCartItemRepositoryV1GetListGetBadRequest
- type QuoteGuestCartItemRepositoryV1GetListGetDefault
- type QuoteGuestCartItemRepositoryV1GetListGetOK
- type QuoteGuestCartItemRepositoryV1GetListGetParams
- func NewQuoteGuestCartItemRepositoryV1GetListGetParams() *QuoteGuestCartItemRepositoryV1GetListGetParams
- func NewQuoteGuestCartItemRepositoryV1GetListGetParamsWithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1GetListGetParams
- func NewQuoteGuestCartItemRepositoryV1GetListGetParamsWithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1GetListGetParams
- func NewQuoteGuestCartItemRepositoryV1GetListGetParamsWithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1GetListGetParams
- func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) SetCartID(cartID string)
- func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) SetContext(ctx context.Context)
- func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) SetDefaults()
- func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) SetHTTPClient(client *http.Client)
- func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) SetTimeout(timeout time.Duration)
- func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) WithCartID(cartID string) *QuoteGuestCartItemRepositoryV1GetListGetParams
- func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) WithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1GetListGetParams
- func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) WithDefaults() *QuoteGuestCartItemRepositoryV1GetListGetParams
- func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) WithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1GetListGetParams
- func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) WithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1GetListGetParams
- func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuoteGuestCartItemRepositoryV1GetListGetReader
- type QuoteGuestCartItemRepositoryV1SavePostBadRequest
- type QuoteGuestCartItemRepositoryV1SavePostBody
- func (o *QuoteGuestCartItemRepositoryV1SavePostBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *QuoteGuestCartItemRepositoryV1SavePostBody) MarshalBinary() ([]byte, error)
- func (o *QuoteGuestCartItemRepositoryV1SavePostBody) UnmarshalBinary(b []byte) error
- func (o *QuoteGuestCartItemRepositoryV1SavePostBody) Validate(formats strfmt.Registry) error
- type QuoteGuestCartItemRepositoryV1SavePostDefault
- type QuoteGuestCartItemRepositoryV1SavePostOK
- type QuoteGuestCartItemRepositoryV1SavePostParams
- func NewQuoteGuestCartItemRepositoryV1SavePostParams() *QuoteGuestCartItemRepositoryV1SavePostParams
- func NewQuoteGuestCartItemRepositoryV1SavePostParamsWithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1SavePostParams
- func NewQuoteGuestCartItemRepositoryV1SavePostParamsWithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1SavePostParams
- func NewQuoteGuestCartItemRepositoryV1SavePostParamsWithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1SavePostParams
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) SetCartID(cartID string)
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) SetContext(ctx context.Context)
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) SetDefaults()
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) SetHTTPClient(client *http.Client)
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) SetQuoteGuestCartItemRepositoryV1SavePostBody(...)
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) SetTimeout(timeout time.Duration)
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WithCartID(cartID string) *QuoteGuestCartItemRepositoryV1SavePostParams
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1SavePostParams
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WithDefaults() *QuoteGuestCartItemRepositoryV1SavePostParams
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1SavePostParams
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WithQuoteGuestCartItemRepositoryV1SavePostBody(...) *QuoteGuestCartItemRepositoryV1SavePostParams
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1SavePostParams
- func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuoteGuestCartItemRepositoryV1SavePostReader
- type QuoteGuestCartItemRepositoryV1SavePutBadRequest
- type QuoteGuestCartItemRepositoryV1SavePutBody
- func (o *QuoteGuestCartItemRepositoryV1SavePutBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *QuoteGuestCartItemRepositoryV1SavePutBody) MarshalBinary() ([]byte, error)
- func (o *QuoteGuestCartItemRepositoryV1SavePutBody) UnmarshalBinary(b []byte) error
- func (o *QuoteGuestCartItemRepositoryV1SavePutBody) Validate(formats strfmt.Registry) error
- type QuoteGuestCartItemRepositoryV1SavePutDefault
- type QuoteGuestCartItemRepositoryV1SavePutOK
- type QuoteGuestCartItemRepositoryV1SavePutParams
- func NewQuoteGuestCartItemRepositoryV1SavePutParams() *QuoteGuestCartItemRepositoryV1SavePutParams
- func NewQuoteGuestCartItemRepositoryV1SavePutParamsWithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1SavePutParams
- func NewQuoteGuestCartItemRepositoryV1SavePutParamsWithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1SavePutParams
- func NewQuoteGuestCartItemRepositoryV1SavePutParamsWithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1SavePutParams
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetCartID(cartID string)
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetContext(ctx context.Context)
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetDefaults()
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetHTTPClient(client *http.Client)
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetItemID(itemID string)
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetQuoteGuestCartItemRepositoryV1SavePutBody(...)
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetTimeout(timeout time.Duration)
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithCartID(cartID string) *QuoteGuestCartItemRepositoryV1SavePutParams
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1SavePutParams
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithDefaults() *QuoteGuestCartItemRepositoryV1SavePutParams
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1SavePutParams
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithItemID(itemID string) *QuoteGuestCartItemRepositoryV1SavePutParams
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithQuoteGuestCartItemRepositoryV1SavePutBody(...) *QuoteGuestCartItemRepositoryV1SavePutParams
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1SavePutParams
- func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuoteGuestCartItemRepositoryV1SavePutReader
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 quote guest cart item repository v1 API
func (*Client) QuoteGuestCartItemRepositoryV1DeleteByIDDelete ¶
func (a *Client) QuoteGuestCartItemRepositoryV1DeleteByIDDelete(params *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams, opts ...ClientOption) (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK, error)
QuoteGuestCartItemRepositoryV1DeleteByIDDelete Remove the specified item from the specified cart.
func (*Client) QuoteGuestCartItemRepositoryV1GetListGet ¶
func (a *Client) QuoteGuestCartItemRepositoryV1GetListGet(params *QuoteGuestCartItemRepositoryV1GetListGetParams, opts ...ClientOption) (*QuoteGuestCartItemRepositoryV1GetListGetOK, error)
QuoteGuestCartItemRepositoryV1GetListGet List items that are assigned to a specified cart.
func (*Client) QuoteGuestCartItemRepositoryV1SavePost ¶
func (a *Client) QuoteGuestCartItemRepositoryV1SavePost(params *QuoteGuestCartItemRepositoryV1SavePostParams, opts ...ClientOption) (*QuoteGuestCartItemRepositoryV1SavePostOK, error)
QuoteGuestCartItemRepositoryV1SavePost Add/update the specified cart item.
func (*Client) QuoteGuestCartItemRepositoryV1SavePut ¶
func (a *Client) QuoteGuestCartItemRepositoryV1SavePut(params *QuoteGuestCartItemRepositoryV1SavePutParams, opts ...ClientOption) (*QuoteGuestCartItemRepositoryV1SavePutOK, error)
QuoteGuestCartItemRepositoryV1SavePut Add/update the specified cart item.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { QuoteGuestCartItemRepositoryV1DeleteByIDDelete(params *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams, opts ...ClientOption) (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK, error) QuoteGuestCartItemRepositoryV1GetListGet(params *QuoteGuestCartItemRepositoryV1GetListGetParams, opts ...ClientOption) (*QuoteGuestCartItemRepositoryV1GetListGetOK, error) QuoteGuestCartItemRepositoryV1SavePost(params *QuoteGuestCartItemRepositoryV1SavePostParams, opts ...ClientOption) (*QuoteGuestCartItemRepositoryV1SavePostOK, error) QuoteGuestCartItemRepositoryV1SavePut(params *QuoteGuestCartItemRepositoryV1SavePutParams, opts ...ClientOption) (*QuoteGuestCartItemRepositoryV1SavePutOK, 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 quote guest cart item repository v1 API client.
type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest ¶
type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest struct {
Payload *models.ErrorResponse
}
QuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest describes a response with status code 400, with default header values.
400 Bad Request
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest ¶
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest() *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest
NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest creates a QuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest with default headers values
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest) Error ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest) Error() string
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest) GetPayload ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest) GetPayload() *models.ErrorResponse
type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault ¶
type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault describes a response with status code -1, with default header values.
Unexpected error
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault ¶
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault(code int) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault
NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault creates a QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault with default headers values
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault) Code ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault) Code() int
Code gets the status code for the quote guest cart item repository v1 delete by Id delete default response
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault) Error ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault) Error() string
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault) GetPayload ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault) GetPayload() *models.ErrorResponse
type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK ¶
type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK struct {
Payload bool
}
QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK describes a response with status code 200, with default header values.
200 Success.
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK ¶
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK() *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK
NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK creates a QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK with default headers values
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK) Error ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK) Error() string
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK) GetPayload ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK) GetPayload() bool
type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams ¶
type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams struct { /* CartID. The cart ID. */ CartID string /* ItemID. The item ID of the item to be removed. */ ItemID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams contains all the parameters to send to the API endpoint
for the quote guest cart item repository v1 delete by Id delete operation. Typically these are written to a http.Request.
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams ¶
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams() *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams creates a new QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParamsWithContext ¶
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParamsWithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParamsWithContext creates a new QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams object with the ability to set a context for a request.
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParamsWithHTTPClient ¶
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParamsWithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParamsWithHTTPClient creates a new QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParamsWithTimeout ¶
func NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParamsWithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
NewQuoteGuestCartItemRepositoryV1DeleteByIDDeleteParamsWithTimeout creates a new QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams object with the ability to set a timeout on a request.
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetCartID ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetCartID(cartID string)
SetCartID adds the cartId to the quote guest cart item repository v1 delete by Id delete params
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetContext ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the quote guest cart item repository v1 delete by Id delete params
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetDefaults ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetDefaults()
SetDefaults hydrates default values in the quote guest cart item repository v1 delete by Id delete params (not the query body).
All values with no default are reset to their zero value.
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetHTTPClient ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quote guest cart item repository v1 delete by Id delete params
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetItemID ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetItemID(itemID int64)
SetItemID adds the itemId to the quote guest cart item repository v1 delete by Id delete params
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetTimeout ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quote guest cart item repository v1 delete by Id delete params
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithCartID ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithCartID(cartID string) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
WithCartID adds the cartID to the quote guest cart item repository v1 delete by Id delete params
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithContext ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
WithContext adds the context to the quote guest cart item repository v1 delete by Id delete params
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithDefaults ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithDefaults() *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
WithDefaults hydrates default values in the quote guest cart item repository v1 delete by Id delete params (not the query body).
All values with no default are reset to their zero value.
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithHTTPClient ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
WithHTTPClient adds the HTTPClient to the quote guest cart item repository v1 delete by Id delete params
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithItemID ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithItemID(itemID int64) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
WithItemID adds the itemID to the quote guest cart item repository v1 delete by Id delete params
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithTimeout ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams
WithTimeout adds the timeout to the quote guest cart item repository v1 delete by Id delete params
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WriteToRequest ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteReader ¶
type QuoteGuestCartItemRepositoryV1DeleteByIDDeleteReader struct {
// contains filtered or unexported fields
}
QuoteGuestCartItemRepositoryV1DeleteByIDDeleteReader is a Reader for the QuoteGuestCartItemRepositoryV1DeleteByIDDelete structure.
func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteReader) ReadResponse ¶
func (o *QuoteGuestCartItemRepositoryV1DeleteByIDDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuoteGuestCartItemRepositoryV1GetListGetBadRequest ¶
type QuoteGuestCartItemRepositoryV1GetListGetBadRequest struct {
Payload *models.ErrorResponse
}
QuoteGuestCartItemRepositoryV1GetListGetBadRequest describes a response with status code 400, with default header values.
400 Bad Request
func NewQuoteGuestCartItemRepositoryV1GetListGetBadRequest ¶
func NewQuoteGuestCartItemRepositoryV1GetListGetBadRequest() *QuoteGuestCartItemRepositoryV1GetListGetBadRequest
NewQuoteGuestCartItemRepositoryV1GetListGetBadRequest creates a QuoteGuestCartItemRepositoryV1GetListGetBadRequest with default headers values
func (*QuoteGuestCartItemRepositoryV1GetListGetBadRequest) Error ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetBadRequest) Error() string
func (*QuoteGuestCartItemRepositoryV1GetListGetBadRequest) GetPayload ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetBadRequest) GetPayload() *models.ErrorResponse
type QuoteGuestCartItemRepositoryV1GetListGetDefault ¶
type QuoteGuestCartItemRepositoryV1GetListGetDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
QuoteGuestCartItemRepositoryV1GetListGetDefault describes a response with status code -1, with default header values.
Unexpected error
func NewQuoteGuestCartItemRepositoryV1GetListGetDefault ¶
func NewQuoteGuestCartItemRepositoryV1GetListGetDefault(code int) *QuoteGuestCartItemRepositoryV1GetListGetDefault
NewQuoteGuestCartItemRepositoryV1GetListGetDefault creates a QuoteGuestCartItemRepositoryV1GetListGetDefault with default headers values
func (*QuoteGuestCartItemRepositoryV1GetListGetDefault) Code ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetDefault) Code() int
Code gets the status code for the quote guest cart item repository v1 get list get default response
func (*QuoteGuestCartItemRepositoryV1GetListGetDefault) Error ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetDefault) Error() string
func (*QuoteGuestCartItemRepositoryV1GetListGetDefault) GetPayload ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetDefault) GetPayload() *models.ErrorResponse
type QuoteGuestCartItemRepositoryV1GetListGetOK ¶
type QuoteGuestCartItemRepositoryV1GetListGetOK struct {
Payload []*models.QuoteDataCartItemInterface
}
QuoteGuestCartItemRepositoryV1GetListGetOK describes a response with status code 200, with default header values.
200 Success.
func NewQuoteGuestCartItemRepositoryV1GetListGetOK ¶
func NewQuoteGuestCartItemRepositoryV1GetListGetOK() *QuoteGuestCartItemRepositoryV1GetListGetOK
NewQuoteGuestCartItemRepositoryV1GetListGetOK creates a QuoteGuestCartItemRepositoryV1GetListGetOK with default headers values
func (*QuoteGuestCartItemRepositoryV1GetListGetOK) Error ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetOK) Error() string
func (*QuoteGuestCartItemRepositoryV1GetListGetOK) GetPayload ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetOK) GetPayload() []*models.QuoteDataCartItemInterface
type QuoteGuestCartItemRepositoryV1GetListGetParams ¶
type QuoteGuestCartItemRepositoryV1GetListGetParams struct { /* CartID. The cart ID. */ CartID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuoteGuestCartItemRepositoryV1GetListGetParams contains all the parameters to send to the API endpoint
for the quote guest cart item repository v1 get list get operation. Typically these are written to a http.Request.
func NewQuoteGuestCartItemRepositoryV1GetListGetParams ¶
func NewQuoteGuestCartItemRepositoryV1GetListGetParams() *QuoteGuestCartItemRepositoryV1GetListGetParams
NewQuoteGuestCartItemRepositoryV1GetListGetParams creates a new QuoteGuestCartItemRepositoryV1GetListGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewQuoteGuestCartItemRepositoryV1GetListGetParamsWithContext ¶
func NewQuoteGuestCartItemRepositoryV1GetListGetParamsWithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1GetListGetParams
NewQuoteGuestCartItemRepositoryV1GetListGetParamsWithContext creates a new QuoteGuestCartItemRepositoryV1GetListGetParams object with the ability to set a context for a request.
func NewQuoteGuestCartItemRepositoryV1GetListGetParamsWithHTTPClient ¶
func NewQuoteGuestCartItemRepositoryV1GetListGetParamsWithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1GetListGetParams
NewQuoteGuestCartItemRepositoryV1GetListGetParamsWithHTTPClient creates a new QuoteGuestCartItemRepositoryV1GetListGetParams object with the ability to set a custom HTTPClient for a request.
func NewQuoteGuestCartItemRepositoryV1GetListGetParamsWithTimeout ¶
func NewQuoteGuestCartItemRepositoryV1GetListGetParamsWithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1GetListGetParams
NewQuoteGuestCartItemRepositoryV1GetListGetParamsWithTimeout creates a new QuoteGuestCartItemRepositoryV1GetListGetParams object with the ability to set a timeout on a request.
func (*QuoteGuestCartItemRepositoryV1GetListGetParams) SetCartID ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) SetCartID(cartID string)
SetCartID adds the cartId to the quote guest cart item repository v1 get list get params
func (*QuoteGuestCartItemRepositoryV1GetListGetParams) SetContext ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) SetContext(ctx context.Context)
SetContext adds the context to the quote guest cart item repository v1 get list get params
func (*QuoteGuestCartItemRepositoryV1GetListGetParams) SetDefaults ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) SetDefaults()
SetDefaults hydrates default values in the quote guest cart item repository v1 get list get params (not the query body).
All values with no default are reset to their zero value.
func (*QuoteGuestCartItemRepositoryV1GetListGetParams) SetHTTPClient ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quote guest cart item repository v1 get list get params
func (*QuoteGuestCartItemRepositoryV1GetListGetParams) SetTimeout ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quote guest cart item repository v1 get list get params
func (*QuoteGuestCartItemRepositoryV1GetListGetParams) WithCartID ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) WithCartID(cartID string) *QuoteGuestCartItemRepositoryV1GetListGetParams
WithCartID adds the cartID to the quote guest cart item repository v1 get list get params
func (*QuoteGuestCartItemRepositoryV1GetListGetParams) WithContext ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) WithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1GetListGetParams
WithContext adds the context to the quote guest cart item repository v1 get list get params
func (*QuoteGuestCartItemRepositoryV1GetListGetParams) WithDefaults ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) WithDefaults() *QuoteGuestCartItemRepositoryV1GetListGetParams
WithDefaults hydrates default values in the quote guest cart item repository v1 get list get params (not the query body).
All values with no default are reset to their zero value.
func (*QuoteGuestCartItemRepositoryV1GetListGetParams) WithHTTPClient ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) WithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1GetListGetParams
WithHTTPClient adds the HTTPClient to the quote guest cart item repository v1 get list get params
func (*QuoteGuestCartItemRepositoryV1GetListGetParams) WithTimeout ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) WithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1GetListGetParams
WithTimeout adds the timeout to the quote guest cart item repository v1 get list get params
func (*QuoteGuestCartItemRepositoryV1GetListGetParams) WriteToRequest ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuoteGuestCartItemRepositoryV1GetListGetReader ¶
type QuoteGuestCartItemRepositoryV1GetListGetReader struct {
// contains filtered or unexported fields
}
QuoteGuestCartItemRepositoryV1GetListGetReader is a Reader for the QuoteGuestCartItemRepositoryV1GetListGet structure.
func (*QuoteGuestCartItemRepositoryV1GetListGetReader) ReadResponse ¶
func (o *QuoteGuestCartItemRepositoryV1GetListGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuoteGuestCartItemRepositoryV1SavePostBadRequest ¶
type QuoteGuestCartItemRepositoryV1SavePostBadRequest struct {
Payload *models.ErrorResponse
}
QuoteGuestCartItemRepositoryV1SavePostBadRequest describes a response with status code 400, with default header values.
400 Bad Request
func NewQuoteGuestCartItemRepositoryV1SavePostBadRequest ¶
func NewQuoteGuestCartItemRepositoryV1SavePostBadRequest() *QuoteGuestCartItemRepositoryV1SavePostBadRequest
NewQuoteGuestCartItemRepositoryV1SavePostBadRequest creates a QuoteGuestCartItemRepositoryV1SavePostBadRequest with default headers values
func (*QuoteGuestCartItemRepositoryV1SavePostBadRequest) Error ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostBadRequest) Error() string
func (*QuoteGuestCartItemRepositoryV1SavePostBadRequest) GetPayload ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostBadRequest) GetPayload() *models.ErrorResponse
type QuoteGuestCartItemRepositoryV1SavePostBody ¶
type QuoteGuestCartItemRepositoryV1SavePostBody struct { // cart item // Required: true CartItem *models.QuoteDataCartItemInterface `json:"cartItem"` }
QuoteGuestCartItemRepositoryV1SavePostBody quote guest cart item repository v1 save post body swagger:model QuoteGuestCartItemRepositoryV1SavePostBody
func (*QuoteGuestCartItemRepositoryV1SavePostBody) ContextValidate ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this quote guest cart item repository v1 save post body based on the context it is used
func (*QuoteGuestCartItemRepositoryV1SavePostBody) MarshalBinary ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuoteGuestCartItemRepositoryV1SavePostBody) UnmarshalBinary ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QuoteGuestCartItemRepositoryV1SavePostDefault ¶
type QuoteGuestCartItemRepositoryV1SavePostDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
QuoteGuestCartItemRepositoryV1SavePostDefault describes a response with status code -1, with default header values.
Unexpected error
func NewQuoteGuestCartItemRepositoryV1SavePostDefault ¶
func NewQuoteGuestCartItemRepositoryV1SavePostDefault(code int) *QuoteGuestCartItemRepositoryV1SavePostDefault
NewQuoteGuestCartItemRepositoryV1SavePostDefault creates a QuoteGuestCartItemRepositoryV1SavePostDefault with default headers values
func (*QuoteGuestCartItemRepositoryV1SavePostDefault) Code ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostDefault) Code() int
Code gets the status code for the quote guest cart item repository v1 save post default response
func (*QuoteGuestCartItemRepositoryV1SavePostDefault) Error ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostDefault) Error() string
func (*QuoteGuestCartItemRepositoryV1SavePostDefault) GetPayload ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostDefault) GetPayload() *models.ErrorResponse
type QuoteGuestCartItemRepositoryV1SavePostOK ¶
type QuoteGuestCartItemRepositoryV1SavePostOK struct {
Payload *models.QuoteDataCartItemInterface
}
QuoteGuestCartItemRepositoryV1SavePostOK describes a response with status code 200, with default header values.
200 Success.
func NewQuoteGuestCartItemRepositoryV1SavePostOK ¶
func NewQuoteGuestCartItemRepositoryV1SavePostOK() *QuoteGuestCartItemRepositoryV1SavePostOK
NewQuoteGuestCartItemRepositoryV1SavePostOK creates a QuoteGuestCartItemRepositoryV1SavePostOK with default headers values
func (*QuoteGuestCartItemRepositoryV1SavePostOK) Error ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostOK) Error() string
func (*QuoteGuestCartItemRepositoryV1SavePostOK) GetPayload ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostOK) GetPayload() *models.QuoteDataCartItemInterface
type QuoteGuestCartItemRepositoryV1SavePostParams ¶
type QuoteGuestCartItemRepositoryV1SavePostParams struct { // CartID. CartID string // QuoteGuestCartItemRepositoryV1SavePostBody. QuoteGuestCartItemRepositoryV1SavePostBody QuoteGuestCartItemRepositoryV1SavePostBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuoteGuestCartItemRepositoryV1SavePostParams contains all the parameters to send to the API endpoint
for the quote guest cart item repository v1 save post operation. Typically these are written to a http.Request.
func NewQuoteGuestCartItemRepositoryV1SavePostParams ¶
func NewQuoteGuestCartItemRepositoryV1SavePostParams() *QuoteGuestCartItemRepositoryV1SavePostParams
NewQuoteGuestCartItemRepositoryV1SavePostParams creates a new QuoteGuestCartItemRepositoryV1SavePostParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewQuoteGuestCartItemRepositoryV1SavePostParamsWithContext ¶
func NewQuoteGuestCartItemRepositoryV1SavePostParamsWithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1SavePostParams
NewQuoteGuestCartItemRepositoryV1SavePostParamsWithContext creates a new QuoteGuestCartItemRepositoryV1SavePostParams object with the ability to set a context for a request.
func NewQuoteGuestCartItemRepositoryV1SavePostParamsWithHTTPClient ¶
func NewQuoteGuestCartItemRepositoryV1SavePostParamsWithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1SavePostParams
NewQuoteGuestCartItemRepositoryV1SavePostParamsWithHTTPClient creates a new QuoteGuestCartItemRepositoryV1SavePostParams object with the ability to set a custom HTTPClient for a request.
func NewQuoteGuestCartItemRepositoryV1SavePostParamsWithTimeout ¶
func NewQuoteGuestCartItemRepositoryV1SavePostParamsWithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1SavePostParams
NewQuoteGuestCartItemRepositoryV1SavePostParamsWithTimeout creates a new QuoteGuestCartItemRepositoryV1SavePostParams object with the ability to set a timeout on a request.
func (*QuoteGuestCartItemRepositoryV1SavePostParams) SetCartID ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) SetCartID(cartID string)
SetCartID adds the cartId to the quote guest cart item repository v1 save post params
func (*QuoteGuestCartItemRepositoryV1SavePostParams) SetContext ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) SetContext(ctx context.Context)
SetContext adds the context to the quote guest cart item repository v1 save post params
func (*QuoteGuestCartItemRepositoryV1SavePostParams) SetDefaults ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) SetDefaults()
SetDefaults hydrates default values in the quote guest cart item repository v1 save post params (not the query body).
All values with no default are reset to their zero value.
func (*QuoteGuestCartItemRepositoryV1SavePostParams) SetHTTPClient ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quote guest cart item repository v1 save post params
func (*QuoteGuestCartItemRepositoryV1SavePostParams) SetQuoteGuestCartItemRepositoryV1SavePostBody ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) SetQuoteGuestCartItemRepositoryV1SavePostBody(quoteGuestCartItemRepositoryV1SavePostBody QuoteGuestCartItemRepositoryV1SavePostBody)
SetQuoteGuestCartItemRepositoryV1SavePostBody adds the quoteGuestCartItemRepositoryV1SavePostBody to the quote guest cart item repository v1 save post params
func (*QuoteGuestCartItemRepositoryV1SavePostParams) SetTimeout ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quote guest cart item repository v1 save post params
func (*QuoteGuestCartItemRepositoryV1SavePostParams) WithCartID ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WithCartID(cartID string) *QuoteGuestCartItemRepositoryV1SavePostParams
WithCartID adds the cartID to the quote guest cart item repository v1 save post params
func (*QuoteGuestCartItemRepositoryV1SavePostParams) WithContext ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1SavePostParams
WithContext adds the context to the quote guest cart item repository v1 save post params
func (*QuoteGuestCartItemRepositoryV1SavePostParams) WithDefaults ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WithDefaults() *QuoteGuestCartItemRepositoryV1SavePostParams
WithDefaults hydrates default values in the quote guest cart item repository v1 save post params (not the query body).
All values with no default are reset to their zero value.
func (*QuoteGuestCartItemRepositoryV1SavePostParams) WithHTTPClient ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1SavePostParams
WithHTTPClient adds the HTTPClient to the quote guest cart item repository v1 save post params
func (*QuoteGuestCartItemRepositoryV1SavePostParams) WithQuoteGuestCartItemRepositoryV1SavePostBody ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WithQuoteGuestCartItemRepositoryV1SavePostBody(quoteGuestCartItemRepositoryV1SavePostBody QuoteGuestCartItemRepositoryV1SavePostBody) *QuoteGuestCartItemRepositoryV1SavePostParams
WithQuoteGuestCartItemRepositoryV1SavePostBody adds the quoteGuestCartItemRepositoryV1SavePostBody to the quote guest cart item repository v1 save post params
func (*QuoteGuestCartItemRepositoryV1SavePostParams) WithTimeout ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1SavePostParams
WithTimeout adds the timeout to the quote guest cart item repository v1 save post params
func (*QuoteGuestCartItemRepositoryV1SavePostParams) WriteToRequest ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuoteGuestCartItemRepositoryV1SavePostReader ¶
type QuoteGuestCartItemRepositoryV1SavePostReader struct {
// contains filtered or unexported fields
}
QuoteGuestCartItemRepositoryV1SavePostReader is a Reader for the QuoteGuestCartItemRepositoryV1SavePost structure.
func (*QuoteGuestCartItemRepositoryV1SavePostReader) ReadResponse ¶
func (o *QuoteGuestCartItemRepositoryV1SavePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuoteGuestCartItemRepositoryV1SavePutBadRequest ¶
type QuoteGuestCartItemRepositoryV1SavePutBadRequest struct {
Payload *models.ErrorResponse
}
QuoteGuestCartItemRepositoryV1SavePutBadRequest describes a response with status code 400, with default header values.
400 Bad Request
func NewQuoteGuestCartItemRepositoryV1SavePutBadRequest ¶
func NewQuoteGuestCartItemRepositoryV1SavePutBadRequest() *QuoteGuestCartItemRepositoryV1SavePutBadRequest
NewQuoteGuestCartItemRepositoryV1SavePutBadRequest creates a QuoteGuestCartItemRepositoryV1SavePutBadRequest with default headers values
func (*QuoteGuestCartItemRepositoryV1SavePutBadRequest) Error ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutBadRequest) Error() string
func (*QuoteGuestCartItemRepositoryV1SavePutBadRequest) GetPayload ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutBadRequest) GetPayload() *models.ErrorResponse
type QuoteGuestCartItemRepositoryV1SavePutBody ¶
type QuoteGuestCartItemRepositoryV1SavePutBody struct { // cart item // Required: true CartItem *models.QuoteDataCartItemInterface `json:"cartItem"` }
QuoteGuestCartItemRepositoryV1SavePutBody quote guest cart item repository v1 save put body swagger:model QuoteGuestCartItemRepositoryV1SavePutBody
func (*QuoteGuestCartItemRepositoryV1SavePutBody) ContextValidate ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this quote guest cart item repository v1 save put body based on the context it is used
func (*QuoteGuestCartItemRepositoryV1SavePutBody) MarshalBinary ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuoteGuestCartItemRepositoryV1SavePutBody) UnmarshalBinary ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QuoteGuestCartItemRepositoryV1SavePutDefault ¶
type QuoteGuestCartItemRepositoryV1SavePutDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
QuoteGuestCartItemRepositoryV1SavePutDefault describes a response with status code -1, with default header values.
Unexpected error
func NewQuoteGuestCartItemRepositoryV1SavePutDefault ¶
func NewQuoteGuestCartItemRepositoryV1SavePutDefault(code int) *QuoteGuestCartItemRepositoryV1SavePutDefault
NewQuoteGuestCartItemRepositoryV1SavePutDefault creates a QuoteGuestCartItemRepositoryV1SavePutDefault with default headers values
func (*QuoteGuestCartItemRepositoryV1SavePutDefault) Code ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutDefault) Code() int
Code gets the status code for the quote guest cart item repository v1 save put default response
func (*QuoteGuestCartItemRepositoryV1SavePutDefault) Error ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutDefault) Error() string
func (*QuoteGuestCartItemRepositoryV1SavePutDefault) GetPayload ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutDefault) GetPayload() *models.ErrorResponse
type QuoteGuestCartItemRepositoryV1SavePutOK ¶
type QuoteGuestCartItemRepositoryV1SavePutOK struct {
Payload *models.QuoteDataCartItemInterface
}
QuoteGuestCartItemRepositoryV1SavePutOK describes a response with status code 200, with default header values.
200 Success.
func NewQuoteGuestCartItemRepositoryV1SavePutOK ¶
func NewQuoteGuestCartItemRepositoryV1SavePutOK() *QuoteGuestCartItemRepositoryV1SavePutOK
NewQuoteGuestCartItemRepositoryV1SavePutOK creates a QuoteGuestCartItemRepositoryV1SavePutOK with default headers values
func (*QuoteGuestCartItemRepositoryV1SavePutOK) Error ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutOK) Error() string
func (*QuoteGuestCartItemRepositoryV1SavePutOK) GetPayload ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutOK) GetPayload() *models.QuoteDataCartItemInterface
type QuoteGuestCartItemRepositoryV1SavePutParams ¶
type QuoteGuestCartItemRepositoryV1SavePutParams struct { // CartID. CartID string // ItemID. ItemID string // QuoteGuestCartItemRepositoryV1SavePutBody. QuoteGuestCartItemRepositoryV1SavePutBody QuoteGuestCartItemRepositoryV1SavePutBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuoteGuestCartItemRepositoryV1SavePutParams contains all the parameters to send to the API endpoint
for the quote guest cart item repository v1 save put operation. Typically these are written to a http.Request.
func NewQuoteGuestCartItemRepositoryV1SavePutParams ¶
func NewQuoteGuestCartItemRepositoryV1SavePutParams() *QuoteGuestCartItemRepositoryV1SavePutParams
NewQuoteGuestCartItemRepositoryV1SavePutParams creates a new QuoteGuestCartItemRepositoryV1SavePutParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewQuoteGuestCartItemRepositoryV1SavePutParamsWithContext ¶
func NewQuoteGuestCartItemRepositoryV1SavePutParamsWithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1SavePutParams
NewQuoteGuestCartItemRepositoryV1SavePutParamsWithContext creates a new QuoteGuestCartItemRepositoryV1SavePutParams object with the ability to set a context for a request.
func NewQuoteGuestCartItemRepositoryV1SavePutParamsWithHTTPClient ¶
func NewQuoteGuestCartItemRepositoryV1SavePutParamsWithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1SavePutParams
NewQuoteGuestCartItemRepositoryV1SavePutParamsWithHTTPClient creates a new QuoteGuestCartItemRepositoryV1SavePutParams object with the ability to set a custom HTTPClient for a request.
func NewQuoteGuestCartItemRepositoryV1SavePutParamsWithTimeout ¶
func NewQuoteGuestCartItemRepositoryV1SavePutParamsWithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1SavePutParams
NewQuoteGuestCartItemRepositoryV1SavePutParamsWithTimeout creates a new QuoteGuestCartItemRepositoryV1SavePutParams object with the ability to set a timeout on a request.
func (*QuoteGuestCartItemRepositoryV1SavePutParams) SetCartID ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetCartID(cartID string)
SetCartID adds the cartId to the quote guest cart item repository v1 save put params
func (*QuoteGuestCartItemRepositoryV1SavePutParams) SetContext ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetContext(ctx context.Context)
SetContext adds the context to the quote guest cart item repository v1 save put params
func (*QuoteGuestCartItemRepositoryV1SavePutParams) SetDefaults ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetDefaults()
SetDefaults hydrates default values in the quote guest cart item repository v1 save put params (not the query body).
All values with no default are reset to their zero value.
func (*QuoteGuestCartItemRepositoryV1SavePutParams) SetHTTPClient ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quote guest cart item repository v1 save put params
func (*QuoteGuestCartItemRepositoryV1SavePutParams) SetItemID ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetItemID(itemID string)
SetItemID adds the itemId to the quote guest cart item repository v1 save put params
func (*QuoteGuestCartItemRepositoryV1SavePutParams) SetQuoteGuestCartItemRepositoryV1SavePutBody ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetQuoteGuestCartItemRepositoryV1SavePutBody(quoteGuestCartItemRepositoryV1SavePutBody QuoteGuestCartItemRepositoryV1SavePutBody)
SetQuoteGuestCartItemRepositoryV1SavePutBody adds the quoteGuestCartItemRepositoryV1SavePutBody to the quote guest cart item repository v1 save put params
func (*QuoteGuestCartItemRepositoryV1SavePutParams) SetTimeout ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quote guest cart item repository v1 save put params
func (*QuoteGuestCartItemRepositoryV1SavePutParams) WithCartID ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithCartID(cartID string) *QuoteGuestCartItemRepositoryV1SavePutParams
WithCartID adds the cartID to the quote guest cart item repository v1 save put params
func (*QuoteGuestCartItemRepositoryV1SavePutParams) WithContext ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithContext(ctx context.Context) *QuoteGuestCartItemRepositoryV1SavePutParams
WithContext adds the context to the quote guest cart item repository v1 save put params
func (*QuoteGuestCartItemRepositoryV1SavePutParams) WithDefaults ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithDefaults() *QuoteGuestCartItemRepositoryV1SavePutParams
WithDefaults hydrates default values in the quote guest cart item repository v1 save put params (not the query body).
All values with no default are reset to their zero value.
func (*QuoteGuestCartItemRepositoryV1SavePutParams) WithHTTPClient ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithHTTPClient(client *http.Client) *QuoteGuestCartItemRepositoryV1SavePutParams
WithHTTPClient adds the HTTPClient to the quote guest cart item repository v1 save put params
func (*QuoteGuestCartItemRepositoryV1SavePutParams) WithItemID ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithItemID(itemID string) *QuoteGuestCartItemRepositoryV1SavePutParams
WithItemID adds the itemID to the quote guest cart item repository v1 save put params
func (*QuoteGuestCartItemRepositoryV1SavePutParams) WithQuoteGuestCartItemRepositoryV1SavePutBody ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithQuoteGuestCartItemRepositoryV1SavePutBody(quoteGuestCartItemRepositoryV1SavePutBody QuoteGuestCartItemRepositoryV1SavePutBody) *QuoteGuestCartItemRepositoryV1SavePutParams
WithQuoteGuestCartItemRepositoryV1SavePutBody adds the quoteGuestCartItemRepositoryV1SavePutBody to the quote guest cart item repository v1 save put params
func (*QuoteGuestCartItemRepositoryV1SavePutParams) WithTimeout ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WithTimeout(timeout time.Duration) *QuoteGuestCartItemRepositoryV1SavePutParams
WithTimeout adds the timeout to the quote guest cart item repository v1 save put params
func (*QuoteGuestCartItemRepositoryV1SavePutParams) WriteToRequest ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuoteGuestCartItemRepositoryV1SavePutReader ¶
type QuoteGuestCartItemRepositoryV1SavePutReader struct {
// contains filtered or unexported fields
}
QuoteGuestCartItemRepositoryV1SavePutReader is a Reader for the QuoteGuestCartItemRepositoryV1SavePut structure.
func (*QuoteGuestCartItemRepositoryV1SavePutReader) ReadResponse ¶
func (o *QuoteGuestCartItemRepositoryV1SavePutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- quote_guest_cart_item_repository_v1_client.go
- quote_guest_cart_item_repository_v1_delete_by_id_delete_parameters.go
- quote_guest_cart_item_repository_v1_delete_by_id_delete_responses.go
- quote_guest_cart_item_repository_v1_get_list_get_parameters.go
- quote_guest_cart_item_repository_v1_get_list_get_responses.go
- quote_guest_cart_item_repository_v1_save_post_parameters.go
- quote_guest_cart_item_repository_v1_save_post_responses.go
- quote_guest_cart_item_repository_v1_save_put_parameters.go
- quote_guest_cart_item_repository_v1_save_put_responses.go