checkout_guest_totals_information_management_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 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

ContextValidate validate this checkout guest totals information management v1 calculate post body based on the context it is used

func (*CheckoutGuestTotalsInformationManagementV1CalculatePostBody) MarshalBinary

MarshalBinary interface implementation

func (*CheckoutGuestTotalsInformationManagementV1CalculatePostBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CheckoutGuestTotalsInformationManagementV1CalculatePostBody) Validate

Validate validates this checkout guest totals information management v1 calculate post body

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

Code gets the status code for the checkout guest totals information management v1 calculate post default response

func (*CheckoutGuestTotalsInformationManagementV1CalculatePostDefault) Error

func (*CheckoutGuestTotalsInformationManagementV1CalculatePostDefault) GetPayload

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

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

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

SetContext adds the context to the checkout guest totals information management v1 calculate post params

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

SetHTTPClient adds the HTTPClient to the checkout guest totals information management v1 calculate post params

func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) SetTimeout

SetTimeout adds the timeout to the checkout guest totals information management v1 calculate post params

func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithCartID

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

WithContext adds the context to the checkout guest totals information management v1 calculate post params

func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the checkout guest totals information management v1 calculate post params

func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WithTimeout

WithTimeout adds the timeout to the checkout guest totals information management v1 calculate post params

func (*CheckoutGuestTotalsInformationManagementV1CalculatePostParams) WriteToRequest

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

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.

Jump to

Keyboard shortcuts

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