Documentation ¶
Index ¶
- type CheckoutGuestTotalsInformationManagementV1CalculatePostBody
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostBody) MarshalBinary() ([]byte, error)
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostBody) UnmarshalBinary(b []byte) error
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostBody) Validate(formats strfmt.Registry) error
- type CheckoutGuestTotalsInformationManagementV1CalculatePostDefault
- type CheckoutGuestTotalsInformationManagementV1CalculatePostOK
- type CheckoutGuestTotalsInformationManagementV1CalculatePostParams
- func NewCheckoutGuestTotalsInformationManagementV1CalculatePostParams() *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
- func NewCheckoutGuestTotalsInformationManagementV1CalculatePostParamsWithContext(ctx context.Context) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
- func NewCheckoutGuestTotalsInformationManagementV1CalculatePostParamsWithHTTPClient(client *http.Client) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
- func NewCheckoutGuestTotalsInformationManagementV1CalculatePostParamsWithTimeout(timeout time.Duration) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetCartID(cartID string)
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetCheckoutGuestTotalsInformationManagementV1CalculatePostBody(...)
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetContext(ctx context.Context)
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetDefaults()
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetHTTPClient(client *http.Client)
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetTimeout(timeout time.Duration)
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithCartID(cartID string) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithCheckoutGuestTotalsInformationManagementV1CalculatePostBody(...) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithContext(ctx context.Context) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithDefaults() *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithHTTPClient(client *http.Client) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithTimeout(timeout time.Duration) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
- func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckoutGuestTotalsInformationManagementV1CalculatePostReader
- type Client
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckoutGuestTotalsInformationManagementV1CalculatePostBody ¶
type CheckoutGuestTotalsInformationManagementV1CalculatePostBody struct { // address information // Required: true AddressInformation *models.CheckoutDataTotalsInformationInterface `json:"addressInformation"` }
CheckoutGuestTotalsInformationManagementV1CalculatePostBody checkout guest totals information management v1 calculate post body swagger:model CheckoutGuestTotalsInformationManagementV1CalculatePostBody
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostBody) ContextValidate ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this checkout guest totals information management v1 calculate post body based on the context it is used
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostBody) MarshalBinary ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostBody) UnmarshalBinary ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CheckoutGuestTotalsInformationManagementV1CalculatePostDefault ¶
type CheckoutGuestTotalsInformationManagementV1CalculatePostDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CheckoutGuestTotalsInformationManagementV1CalculatePostDefault describes a response with status code -1, with default header values.
Unexpected error
func NewCheckoutGuestTotalsInformationManagementV1CalculatePostDefault ¶
func NewCheckoutGuestTotalsInformationManagementV1CalculatePostDefault(code int) *CheckoutGuestTotalsInformationManagementV1CalculatePostDefault
NewCheckoutGuestTotalsInformationManagementV1CalculatePostDefault creates a CheckoutGuestTotalsInformationManagementV1CalculatePostDefault with default headers values
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostDefault) Code ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostDefault) Code() int
Code gets the status code for the checkout guest totals information management v1 calculate post default response
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostDefault) Error ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostDefault) Error() string
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostDefault) GetPayload ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostDefault) GetPayload() *models.ErrorResponse
type CheckoutGuestTotalsInformationManagementV1CalculatePostOK ¶
type CheckoutGuestTotalsInformationManagementV1CalculatePostOK struct {
Payload *models.QuoteDataTotalsInterface
}
CheckoutGuestTotalsInformationManagementV1CalculatePostOK describes a response with status code 200, with default header values.
200 Success.
func NewCheckoutGuestTotalsInformationManagementV1CalculatePostOK ¶
func NewCheckoutGuestTotalsInformationManagementV1CalculatePostOK() *CheckoutGuestTotalsInformationManagementV1CalculatePostOK
NewCheckoutGuestTotalsInformationManagementV1CalculatePostOK creates a CheckoutGuestTotalsInformationManagementV1CalculatePostOK with default headers values
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostOK) Error ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostOK) Error() string
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostOK) GetPayload ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostOK) GetPayload() *models.QuoteDataTotalsInterface
type CheckoutGuestTotalsInformationManagementV1CalculatePostParams ¶
type CheckoutGuestTotalsInformationManagementV1CalculatePostParams struct { // CartID. CartID string // CheckoutGuestTotalsInformationManagementV1CalculatePostBody. CheckoutGuestTotalsInformationManagementV1CalculatePostBody CheckoutGuestTotalsInformationManagementV1CalculatePostBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CheckoutGuestTotalsInformationManagementV1CalculatePostParams contains all the parameters to send to the API endpoint
for the checkout guest totals information management v1 calculate post operation. Typically these are written to a http.Request.
func NewCheckoutGuestTotalsInformationManagementV1CalculatePostParams ¶
func NewCheckoutGuestTotalsInformationManagementV1CalculatePostParams() *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
NewCheckoutGuestTotalsInformationManagementV1CalculatePostParams creates a new CheckoutGuestTotalsInformationManagementV1CalculatePostParams 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 NewCheckoutGuestTotalsInformationManagementV1CalculatePostParamsWithContext ¶
func NewCheckoutGuestTotalsInformationManagementV1CalculatePostParamsWithContext(ctx context.Context) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
NewCheckoutGuestTotalsInformationManagementV1CalculatePostParamsWithContext creates a new CheckoutGuestTotalsInformationManagementV1CalculatePostParams object with the ability to set a context for a request.
func NewCheckoutGuestTotalsInformationManagementV1CalculatePostParamsWithHTTPClient ¶
func NewCheckoutGuestTotalsInformationManagementV1CalculatePostParamsWithHTTPClient(client *http.Client) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
NewCheckoutGuestTotalsInformationManagementV1CalculatePostParamsWithHTTPClient creates a new CheckoutGuestTotalsInformationManagementV1CalculatePostParams object with the ability to set a custom HTTPClient for a request.
func NewCheckoutGuestTotalsInformationManagementV1CalculatePostParamsWithTimeout ¶
func NewCheckoutGuestTotalsInformationManagementV1CalculatePostParamsWithTimeout(timeout time.Duration) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
NewCheckoutGuestTotalsInformationManagementV1CalculatePostParamsWithTimeout creates a new CheckoutGuestTotalsInformationManagementV1CalculatePostParams object with the ability to set a timeout on a request.
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetCartID ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetCartID(cartID string)
SetCartID adds the cartId to the checkout guest totals information management v1 calculate post params
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetCheckoutGuestTotalsInformationManagementV1CalculatePostBody ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetCheckoutGuestTotalsInformationManagementV1CalculatePostBody(checkoutGuestTotalsInformationManagementV1CalculatePostBody CheckoutGuestTotalsInformationManagementV1CalculatePostBody)
SetCheckoutGuestTotalsInformationManagementV1CalculatePostBody adds the checkoutGuestTotalsInformationManagementV1CalculatePostBody to the checkout guest totals information management v1 calculate post params
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetContext ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetContext(ctx context.Context)
SetContext adds the context to the checkout guest totals information management v1 calculate post params
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetDefaults ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetDefaults()
SetDefaults hydrates default values in the checkout guest totals information management v1 calculate post params (not the query body).
All values with no default are reset to their zero value.
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetHTTPClient ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the checkout guest totals information management v1 calculate post params
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetTimeout ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the checkout guest totals information management v1 calculate post params
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithCartID ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithCartID(cartID string) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
WithCartID adds the cartID to the checkout guest totals information management v1 calculate post params
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithCheckoutGuestTotalsInformationManagementV1CalculatePostBody ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithCheckoutGuestTotalsInformationManagementV1CalculatePostBody(checkoutGuestTotalsInformationManagementV1CalculatePostBody CheckoutGuestTotalsInformationManagementV1CalculatePostBody) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
WithCheckoutGuestTotalsInformationManagementV1CalculatePostBody adds the checkoutGuestTotalsInformationManagementV1CalculatePostBody to the checkout guest totals information management v1 calculate post params
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithContext ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithContext(ctx context.Context) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
WithContext adds the context to the checkout guest totals information management v1 calculate post params
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithDefaults ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithDefaults() *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
WithDefaults hydrates default values in the checkout guest totals information management v1 calculate post params (not the query body).
All values with no default are reset to their zero value.
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithHTTPClient ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithHTTPClient(client *http.Client) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
WithHTTPClient adds the HTTPClient to the checkout guest totals information management v1 calculate post params
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithTimeout ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithTimeout(timeout time.Duration) *CheckoutGuestTotalsInformationManagementV1CalculatePostParams
WithTimeout adds the timeout to the checkout guest totals information management v1 calculate post params
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WriteToRequest ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckoutGuestTotalsInformationManagementV1CalculatePostReader ¶
type CheckoutGuestTotalsInformationManagementV1CalculatePostReader struct {
// contains filtered or unexported fields
}
CheckoutGuestTotalsInformationManagementV1CalculatePostReader is a Reader for the CheckoutGuestTotalsInformationManagementV1CalculatePost structure.
func (*CheckoutGuestTotalsInformationManagementV1CalculatePostReader) ReadResponse ¶
func (o *CheckoutGuestTotalsInformationManagementV1CalculatePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for checkout guest totals information management v1 API
func (*Client) CheckoutGuestTotalsInformationManagementV1CalculatePost ¶
func (a *Client) CheckoutGuestTotalsInformationManagementV1CalculatePost(params *CheckoutGuestTotalsInformationManagementV1CalculatePostParams, opts ...ClientOption) (*CheckoutGuestTotalsInformationManagementV1CalculatePostOK, error)
CheckoutGuestTotalsInformationManagementV1CalculatePost Calculate quote totals based on address and shipping method.
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 { CheckoutGuestTotalsInformationManagementV1CalculatePost(params *CheckoutGuestTotalsInformationManagementV1CalculatePostParams, opts ...ClientOption) (*CheckoutGuestTotalsInformationManagementV1CalculatePostOK, 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 checkout guest totals information management v1 API client.