quote_guest_cart_item_repository_v1

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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 (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteBadRequest) GetPayload

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

Code gets the status code for the quote guest cart item repository v1 delete by Id delete default response

func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault) Error

func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteDefault) GetPayload

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 (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteOK) GetPayload

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

SetCartID adds the cartId to the quote guest cart item repository v1 delete by Id delete params

func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetContext

SetContext adds the context to the quote guest cart item repository v1 delete by Id delete params

func (*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

SetHTTPClient adds the HTTPClient to the quote guest cart item repository v1 delete by Id delete params

func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetItemID

SetItemID adds the itemId to the quote guest cart item repository v1 delete by Id delete params

func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) SetTimeout

SetTimeout adds the timeout to the quote guest cart item repository v1 delete by Id delete params

func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithCartID

WithCartID adds the cartID to the quote guest cart item repository v1 delete by Id delete params

func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithContext

WithContext adds the context to the quote guest cart item repository v1 delete by Id delete params

func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the quote guest cart item repository v1 delete by Id delete params

func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithItemID

WithItemID adds the itemID to the quote guest cart item repository v1 delete by Id delete params

func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WithTimeout

WithTimeout adds the timeout to the quote guest cart item repository v1 delete by Id delete params

func (*QuoteGuestCartItemRepositoryV1DeleteByIDDeleteParams) WriteToRequest

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 (*QuoteGuestCartItemRepositoryV1GetListGetBadRequest) GetPayload

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

Code gets the status code for the quote guest cart item repository v1 get list get default response

func (*QuoteGuestCartItemRepositoryV1GetListGetDefault) Error

func (*QuoteGuestCartItemRepositoryV1GetListGetDefault) GetPayload

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 (*QuoteGuestCartItemRepositoryV1GetListGetOK) GetPayload

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

SetCartID adds the cartId to the quote guest cart item repository v1 get list get params

func (*QuoteGuestCartItemRepositoryV1GetListGetParams) SetContext

SetContext adds the context to the quote guest cart item repository v1 get list get params

func (*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

SetHTTPClient adds the HTTPClient to the quote guest cart item repository v1 get list get params

func (*QuoteGuestCartItemRepositoryV1GetListGetParams) SetTimeout

SetTimeout adds the timeout to the quote guest cart item repository v1 get list get params

func (*QuoteGuestCartItemRepositoryV1GetListGetParams) WithCartID

WithCartID adds the cartID to the quote guest cart item repository v1 get list get params

func (*QuoteGuestCartItemRepositoryV1GetListGetParams) WithContext

WithContext adds the context to the quote guest cart item repository v1 get list get params

func (*QuoteGuestCartItemRepositoryV1GetListGetParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the quote guest cart item repository v1 get list get params

func (*QuoteGuestCartItemRepositoryV1GetListGetParams) WithTimeout

WithTimeout adds the timeout to the quote guest cart item repository v1 get list get params

func (*QuoteGuestCartItemRepositoryV1GetListGetParams) WriteToRequest

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 (*QuoteGuestCartItemRepositoryV1SavePostBadRequest) GetPayload

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

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

func (*QuoteGuestCartItemRepositoryV1SavePostBody) Validate

Validate validates this quote guest cart item repository v1 save post body

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

Code gets the status code for the quote guest cart item repository v1 save post default response

func (*QuoteGuestCartItemRepositoryV1SavePostDefault) Error

func (*QuoteGuestCartItemRepositoryV1SavePostDefault) GetPayload

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 (*QuoteGuestCartItemRepositoryV1SavePostOK) GetPayload

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

SetCartID adds the cartId to the quote guest cart item repository v1 save post params

func (*QuoteGuestCartItemRepositoryV1SavePostParams) SetContext

SetContext adds the context to the quote guest cart item repository v1 save post params

func (*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

SetTimeout adds the timeout to the quote guest cart item repository v1 save post params

func (*QuoteGuestCartItemRepositoryV1SavePostParams) WithCartID

WithCartID adds the cartID to the quote guest cart item repository v1 save post params

func (*QuoteGuestCartItemRepositoryV1SavePostParams) WithContext

WithContext adds the context to the quote guest cart item repository v1 save post params

func (*QuoteGuestCartItemRepositoryV1SavePostParams) WithDefaults

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

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

WithTimeout adds the timeout to the quote guest cart item repository v1 save post params

func (*QuoteGuestCartItemRepositoryV1SavePostParams) WriteToRequest

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 (*QuoteGuestCartItemRepositoryV1SavePutBadRequest) GetPayload

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

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

func (*QuoteGuestCartItemRepositoryV1SavePutBody) Validate

Validate validates this quote guest cart item repository v1 save put body

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

Code gets the status code for the quote guest cart item repository v1 save put default response

func (*QuoteGuestCartItemRepositoryV1SavePutDefault) Error

func (*QuoteGuestCartItemRepositoryV1SavePutDefault) GetPayload

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 (*QuoteGuestCartItemRepositoryV1SavePutOK) GetPayload

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

SetCartID adds the cartId to the quote guest cart item repository v1 save put params

func (*QuoteGuestCartItemRepositoryV1SavePutParams) SetContext

SetContext adds the context to the quote guest cart item repository v1 save put params

func (*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

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

SetTimeout adds the timeout to the quote guest cart item repository v1 save put params

func (*QuoteGuestCartItemRepositoryV1SavePutParams) WithCartID

WithCartID adds the cartID to the quote guest cart item repository v1 save put params

func (*QuoteGuestCartItemRepositoryV1SavePutParams) WithContext

WithContext adds the context to the quote guest cart item repository v1 save put params

func (*QuoteGuestCartItemRepositoryV1SavePutParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the quote guest cart item repository v1 save put params

func (*QuoteGuestCartItemRepositoryV1SavePutParams) WithItemID

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

WithTimeout adds the timeout to the quote guest cart item repository v1 save put params

func (*QuoteGuestCartItemRepositoryV1SavePutParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL