quote_guest_cart_total_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 Client

type Client struct {
	// contains filtered or unexported fields
}

Client for quote guest cart total management v1 API

func (*Client) QuoteGuestCartTotalManagementV1CollectTotalsPut

func (a *Client) QuoteGuestCartTotalManagementV1CollectTotalsPut(params *QuoteGuestCartTotalManagementV1CollectTotalsPutParams, opts ...ClientOption) (*QuoteGuestCartTotalManagementV1CollectTotalsPutOK, error)

QuoteGuestCartTotalManagementV1CollectTotalsPut Set shipping/billing methods and additional data for cart and collect totals for guest.

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 {
	QuoteGuestCartTotalManagementV1CollectTotalsPut(params *QuoteGuestCartTotalManagementV1CollectTotalsPutParams, opts ...ClientOption) (*QuoteGuestCartTotalManagementV1CollectTotalsPutOK, 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 total management v1 API client.

type QuoteGuestCartTotalManagementV1CollectTotalsPutBody

type QuoteGuestCartTotalManagementV1CollectTotalsPutBody struct {

	// additional data
	AdditionalData *models.QuoteDataTotalsAdditionalDataInterface `json:"additionalData,omitempty"`

	// payment method
	// Required: true
	PaymentMethod *models.QuoteDataPaymentInterface `json:"paymentMethod"`

	// The carrier code.
	ShippingCarrierCode string `json:"shippingCarrierCode,omitempty"`

	// The shipping method code.
	ShippingMethodCode string `json:"shippingMethodCode,omitempty"`
}

QuoteGuestCartTotalManagementV1CollectTotalsPutBody quote guest cart total management v1 collect totals put body swagger:model QuoteGuestCartTotalManagementV1CollectTotalsPutBody

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutBody) ContextValidate

ContextValidate validate this quote guest cart total management v1 collect totals put body based on the context it is used

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutBody) MarshalBinary

MarshalBinary interface implementation

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutBody) Validate

Validate validates this quote guest cart total management v1 collect totals put body

type QuoteGuestCartTotalManagementV1CollectTotalsPutDefault

type QuoteGuestCartTotalManagementV1CollectTotalsPutDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
QuoteGuestCartTotalManagementV1CollectTotalsPutDefault describes a response with status code -1, with default header values.

Unexpected error

func NewQuoteGuestCartTotalManagementV1CollectTotalsPutDefault

func NewQuoteGuestCartTotalManagementV1CollectTotalsPutDefault(code int) *QuoteGuestCartTotalManagementV1CollectTotalsPutDefault

NewQuoteGuestCartTotalManagementV1CollectTotalsPutDefault creates a QuoteGuestCartTotalManagementV1CollectTotalsPutDefault with default headers values

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutDefault) Code

Code gets the status code for the quote guest cart total management v1 collect totals put default response

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutDefault) Error

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutDefault) GetPayload

type QuoteGuestCartTotalManagementV1CollectTotalsPutOK

type QuoteGuestCartTotalManagementV1CollectTotalsPutOK struct {
	Payload *models.QuoteDataTotalsInterface
}
QuoteGuestCartTotalManagementV1CollectTotalsPutOK describes a response with status code 200, with default header values.

200 Success.

func NewQuoteGuestCartTotalManagementV1CollectTotalsPutOK

func NewQuoteGuestCartTotalManagementV1CollectTotalsPutOK() *QuoteGuestCartTotalManagementV1CollectTotalsPutOK

NewQuoteGuestCartTotalManagementV1CollectTotalsPutOK creates a QuoteGuestCartTotalManagementV1CollectTotalsPutOK with default headers values

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutOK) Error

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutOK) GetPayload

type QuoteGuestCartTotalManagementV1CollectTotalsPutParams

type QuoteGuestCartTotalManagementV1CollectTotalsPutParams struct {

	/* CartID.

	   The cart ID.
	*/
	CartID string

	// QuoteGuestCartTotalManagementV1CollectTotalsPutBody.
	QuoteGuestCartTotalManagementV1CollectTotalsPutBody QuoteGuestCartTotalManagementV1CollectTotalsPutBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

QuoteGuestCartTotalManagementV1CollectTotalsPutParams contains all the parameters to send to the API endpoint

for the quote guest cart total management v1 collect totals put operation.

Typically these are written to a http.Request.

func NewQuoteGuestCartTotalManagementV1CollectTotalsPutParams

func NewQuoteGuestCartTotalManagementV1CollectTotalsPutParams() *QuoteGuestCartTotalManagementV1CollectTotalsPutParams

NewQuoteGuestCartTotalManagementV1CollectTotalsPutParams creates a new QuoteGuestCartTotalManagementV1CollectTotalsPutParams 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 NewQuoteGuestCartTotalManagementV1CollectTotalsPutParamsWithContext

func NewQuoteGuestCartTotalManagementV1CollectTotalsPutParamsWithContext(ctx context.Context) *QuoteGuestCartTotalManagementV1CollectTotalsPutParams

NewQuoteGuestCartTotalManagementV1CollectTotalsPutParamsWithContext creates a new QuoteGuestCartTotalManagementV1CollectTotalsPutParams object with the ability to set a context for a request.

func NewQuoteGuestCartTotalManagementV1CollectTotalsPutParamsWithHTTPClient

func NewQuoteGuestCartTotalManagementV1CollectTotalsPutParamsWithHTTPClient(client *http.Client) *QuoteGuestCartTotalManagementV1CollectTotalsPutParams

NewQuoteGuestCartTotalManagementV1CollectTotalsPutParamsWithHTTPClient creates a new QuoteGuestCartTotalManagementV1CollectTotalsPutParams object with the ability to set a custom HTTPClient for a request.

func NewQuoteGuestCartTotalManagementV1CollectTotalsPutParamsWithTimeout

func NewQuoteGuestCartTotalManagementV1CollectTotalsPutParamsWithTimeout(timeout time.Duration) *QuoteGuestCartTotalManagementV1CollectTotalsPutParams

NewQuoteGuestCartTotalManagementV1CollectTotalsPutParamsWithTimeout creates a new QuoteGuestCartTotalManagementV1CollectTotalsPutParams object with the ability to set a timeout on a request.

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) SetCartID

SetCartID adds the cartId to the quote guest cart total management v1 collect totals put params

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) SetContext

SetContext adds the context to the quote guest cart total management v1 collect totals put params

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) SetDefaults

SetDefaults hydrates default values in the quote guest cart total management v1 collect totals put params (not the query body).

All values with no default are reset to their zero value.

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the quote guest cart total management v1 collect totals put params

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) SetQuoteGuestCartTotalManagementV1CollectTotalsPutBody

func (o *QuoteGuestCartTotalManagementV1CollectTotalsPutParams) SetQuoteGuestCartTotalManagementV1CollectTotalsPutBody(quoteGuestCartTotalManagementV1CollectTotalsPutBody QuoteGuestCartTotalManagementV1CollectTotalsPutBody)

SetQuoteGuestCartTotalManagementV1CollectTotalsPutBody adds the quoteGuestCartTotalManagementV1CollectTotalsPutBody to the quote guest cart total management v1 collect totals put params

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) SetTimeout

SetTimeout adds the timeout to the quote guest cart total management v1 collect totals put params

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) WithCartID

WithCartID adds the cartID to the quote guest cart total management v1 collect totals put params

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) WithContext

WithContext adds the context to the quote guest cart total management v1 collect totals put params

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) WithDefaults

WithDefaults hydrates default values in the quote guest cart total management v1 collect totals put params (not the query body).

All values with no default are reset to their zero value.

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the quote guest cart total management v1 collect totals put params

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) WithQuoteGuestCartTotalManagementV1CollectTotalsPutBody

func (o *QuoteGuestCartTotalManagementV1CollectTotalsPutParams) WithQuoteGuestCartTotalManagementV1CollectTotalsPutBody(quoteGuestCartTotalManagementV1CollectTotalsPutBody QuoteGuestCartTotalManagementV1CollectTotalsPutBody) *QuoteGuestCartTotalManagementV1CollectTotalsPutParams

WithQuoteGuestCartTotalManagementV1CollectTotalsPutBody adds the quoteGuestCartTotalManagementV1CollectTotalsPutBody to the quote guest cart total management v1 collect totals put params

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) WithTimeout

WithTimeout adds the timeout to the quote guest cart total management v1 collect totals put params

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QuoteGuestCartTotalManagementV1CollectTotalsPutReader

type QuoteGuestCartTotalManagementV1CollectTotalsPutReader struct {
	// contains filtered or unexported fields
}

QuoteGuestCartTotalManagementV1CollectTotalsPutReader is a Reader for the QuoteGuestCartTotalManagementV1CollectTotalsPut structure.

func (*QuoteGuestCartTotalManagementV1CollectTotalsPutReader) ReadResponse

func (o *QuoteGuestCartTotalManagementV1CollectTotalsPutReader) 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