quote_guest_payment_method_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 payment method management v1 API

func (*Client) QuoteGuestPaymentMethodManagementV1GetGet

func (a *Client) QuoteGuestPaymentMethodManagementV1GetGet(params *QuoteGuestPaymentMethodManagementV1GetGetParams, opts ...ClientOption) (*QuoteGuestPaymentMethodManagementV1GetGetOK, error)

QuoteGuestPaymentMethodManagementV1GetGet Return the payment method for a specified shopping cart.

func (*Client) QuoteGuestPaymentMethodManagementV1GetListGet

func (a *Client) QuoteGuestPaymentMethodManagementV1GetListGet(params *QuoteGuestPaymentMethodManagementV1GetListGetParams, opts ...ClientOption) (*QuoteGuestPaymentMethodManagementV1GetListGetOK, error)

QuoteGuestPaymentMethodManagementV1GetListGet List available payment methods for a specified shopping cart. This call returns an array of objects, but detailed information about each object’s attributes might not be included. See https://devdocs.magento.com/codelinks/attributes.html#GuestPaymentMethodManagementInterface to determine which call to use to get detailed information about all attributes for an object.

func (*Client) QuoteGuestPaymentMethodManagementV1SetPut

func (a *Client) QuoteGuestPaymentMethodManagementV1SetPut(params *QuoteGuestPaymentMethodManagementV1SetPutParams, opts ...ClientOption) (*QuoteGuestPaymentMethodManagementV1SetPutOK, error)

QuoteGuestPaymentMethodManagementV1SetPut Add a specified payment method to a specified shopping cart.

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 {
	QuoteGuestPaymentMethodManagementV1GetGet(params *QuoteGuestPaymentMethodManagementV1GetGetParams, opts ...ClientOption) (*QuoteGuestPaymentMethodManagementV1GetGetOK, error)

	QuoteGuestPaymentMethodManagementV1GetListGet(params *QuoteGuestPaymentMethodManagementV1GetListGetParams, opts ...ClientOption) (*QuoteGuestPaymentMethodManagementV1GetListGetOK, error)

	QuoteGuestPaymentMethodManagementV1SetPut(params *QuoteGuestPaymentMethodManagementV1SetPutParams, opts ...ClientOption) (*QuoteGuestPaymentMethodManagementV1SetPutOK, 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 payment method management v1 API client.

type QuoteGuestPaymentMethodManagementV1GetGetBadRequest

type QuoteGuestPaymentMethodManagementV1GetGetBadRequest struct {
	Payload *models.ErrorResponse
}
QuoteGuestPaymentMethodManagementV1GetGetBadRequest describes a response with status code 400, with default header values.

400 Bad Request

func NewQuoteGuestPaymentMethodManagementV1GetGetBadRequest

func NewQuoteGuestPaymentMethodManagementV1GetGetBadRequest() *QuoteGuestPaymentMethodManagementV1GetGetBadRequest

NewQuoteGuestPaymentMethodManagementV1GetGetBadRequest creates a QuoteGuestPaymentMethodManagementV1GetGetBadRequest with default headers values

func (*QuoteGuestPaymentMethodManagementV1GetGetBadRequest) Error

func (*QuoteGuestPaymentMethodManagementV1GetGetBadRequest) GetPayload

type QuoteGuestPaymentMethodManagementV1GetGetDefault

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

Unexpected error

func NewQuoteGuestPaymentMethodManagementV1GetGetDefault

func NewQuoteGuestPaymentMethodManagementV1GetGetDefault(code int) *QuoteGuestPaymentMethodManagementV1GetGetDefault

NewQuoteGuestPaymentMethodManagementV1GetGetDefault creates a QuoteGuestPaymentMethodManagementV1GetGetDefault with default headers values

func (*QuoteGuestPaymentMethodManagementV1GetGetDefault) Code

Code gets the status code for the quote guest payment method management v1 get get default response

func (*QuoteGuestPaymentMethodManagementV1GetGetDefault) Error

func (*QuoteGuestPaymentMethodManagementV1GetGetDefault) GetPayload

type QuoteGuestPaymentMethodManagementV1GetGetOK

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

200 Success.

func NewQuoteGuestPaymentMethodManagementV1GetGetOK

func NewQuoteGuestPaymentMethodManagementV1GetGetOK() *QuoteGuestPaymentMethodManagementV1GetGetOK

NewQuoteGuestPaymentMethodManagementV1GetGetOK creates a QuoteGuestPaymentMethodManagementV1GetGetOK with default headers values

func (*QuoteGuestPaymentMethodManagementV1GetGetOK) Error

func (*QuoteGuestPaymentMethodManagementV1GetGetOK) GetPayload

type QuoteGuestPaymentMethodManagementV1GetGetParams

type QuoteGuestPaymentMethodManagementV1GetGetParams struct {

	/* CartID.

	   The cart ID.
	*/
	CartID string

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

QuoteGuestPaymentMethodManagementV1GetGetParams contains all the parameters to send to the API endpoint

for the quote guest payment method management v1 get get operation.

Typically these are written to a http.Request.

func NewQuoteGuestPaymentMethodManagementV1GetGetParams

func NewQuoteGuestPaymentMethodManagementV1GetGetParams() *QuoteGuestPaymentMethodManagementV1GetGetParams

NewQuoteGuestPaymentMethodManagementV1GetGetParams creates a new QuoteGuestPaymentMethodManagementV1GetGetParams 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 NewQuoteGuestPaymentMethodManagementV1GetGetParamsWithContext

func NewQuoteGuestPaymentMethodManagementV1GetGetParamsWithContext(ctx context.Context) *QuoteGuestPaymentMethodManagementV1GetGetParams

NewQuoteGuestPaymentMethodManagementV1GetGetParamsWithContext creates a new QuoteGuestPaymentMethodManagementV1GetGetParams object with the ability to set a context for a request.

func NewQuoteGuestPaymentMethodManagementV1GetGetParamsWithHTTPClient

func NewQuoteGuestPaymentMethodManagementV1GetGetParamsWithHTTPClient(client *http.Client) *QuoteGuestPaymentMethodManagementV1GetGetParams

NewQuoteGuestPaymentMethodManagementV1GetGetParamsWithHTTPClient creates a new QuoteGuestPaymentMethodManagementV1GetGetParams object with the ability to set a custom HTTPClient for a request.

func NewQuoteGuestPaymentMethodManagementV1GetGetParamsWithTimeout

func NewQuoteGuestPaymentMethodManagementV1GetGetParamsWithTimeout(timeout time.Duration) *QuoteGuestPaymentMethodManagementV1GetGetParams

NewQuoteGuestPaymentMethodManagementV1GetGetParamsWithTimeout creates a new QuoteGuestPaymentMethodManagementV1GetGetParams object with the ability to set a timeout on a request.

func (*QuoteGuestPaymentMethodManagementV1GetGetParams) SetCartID

SetCartID adds the cartId to the quote guest payment method management v1 get get params

func (*QuoteGuestPaymentMethodManagementV1GetGetParams) SetContext

SetContext adds the context to the quote guest payment method management v1 get get params

func (*QuoteGuestPaymentMethodManagementV1GetGetParams) SetDefaults

SetDefaults hydrates default values in the quote guest payment method management v1 get get params (not the query body).

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

func (*QuoteGuestPaymentMethodManagementV1GetGetParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the quote guest payment method management v1 get get params

func (*QuoteGuestPaymentMethodManagementV1GetGetParams) SetTimeout

SetTimeout adds the timeout to the quote guest payment method management v1 get get params

func (*QuoteGuestPaymentMethodManagementV1GetGetParams) WithCartID

WithCartID adds the cartID to the quote guest payment method management v1 get get params

func (*QuoteGuestPaymentMethodManagementV1GetGetParams) WithContext

WithContext adds the context to the quote guest payment method management v1 get get params

func (*QuoteGuestPaymentMethodManagementV1GetGetParams) WithDefaults

WithDefaults hydrates default values in the quote guest payment method management v1 get get params (not the query body).

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

func (*QuoteGuestPaymentMethodManagementV1GetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the quote guest payment method management v1 get get params

func (*QuoteGuestPaymentMethodManagementV1GetGetParams) WithTimeout

WithTimeout adds the timeout to the quote guest payment method management v1 get get params

func (*QuoteGuestPaymentMethodManagementV1GetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QuoteGuestPaymentMethodManagementV1GetGetReader

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

QuoteGuestPaymentMethodManagementV1GetGetReader is a Reader for the QuoteGuestPaymentMethodManagementV1GetGet structure.

func (*QuoteGuestPaymentMethodManagementV1GetGetReader) ReadResponse

func (o *QuoteGuestPaymentMethodManagementV1GetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QuoteGuestPaymentMethodManagementV1GetListGetBadRequest

type QuoteGuestPaymentMethodManagementV1GetListGetBadRequest struct {
	Payload *models.ErrorResponse
}
QuoteGuestPaymentMethodManagementV1GetListGetBadRequest describes a response with status code 400, with default header values.

400 Bad Request

func NewQuoteGuestPaymentMethodManagementV1GetListGetBadRequest

func NewQuoteGuestPaymentMethodManagementV1GetListGetBadRequest() *QuoteGuestPaymentMethodManagementV1GetListGetBadRequest

NewQuoteGuestPaymentMethodManagementV1GetListGetBadRequest creates a QuoteGuestPaymentMethodManagementV1GetListGetBadRequest with default headers values

func (*QuoteGuestPaymentMethodManagementV1GetListGetBadRequest) Error

func (*QuoteGuestPaymentMethodManagementV1GetListGetBadRequest) GetPayload

type QuoteGuestPaymentMethodManagementV1GetListGetDefault

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

Unexpected error

func NewQuoteGuestPaymentMethodManagementV1GetListGetDefault

func NewQuoteGuestPaymentMethodManagementV1GetListGetDefault(code int) *QuoteGuestPaymentMethodManagementV1GetListGetDefault

NewQuoteGuestPaymentMethodManagementV1GetListGetDefault creates a QuoteGuestPaymentMethodManagementV1GetListGetDefault with default headers values

func (*QuoteGuestPaymentMethodManagementV1GetListGetDefault) Code

Code gets the status code for the quote guest payment method management v1 get list get default response

func (*QuoteGuestPaymentMethodManagementV1GetListGetDefault) Error

func (*QuoteGuestPaymentMethodManagementV1GetListGetDefault) GetPayload

type QuoteGuestPaymentMethodManagementV1GetListGetOK

type QuoteGuestPaymentMethodManagementV1GetListGetOK struct {
	Payload []*models.QuoteDataPaymentMethodInterface
}
QuoteGuestPaymentMethodManagementV1GetListGetOK describes a response with status code 200, with default header values.

200 Success.

func NewQuoteGuestPaymentMethodManagementV1GetListGetOK

func NewQuoteGuestPaymentMethodManagementV1GetListGetOK() *QuoteGuestPaymentMethodManagementV1GetListGetOK

NewQuoteGuestPaymentMethodManagementV1GetListGetOK creates a QuoteGuestPaymentMethodManagementV1GetListGetOK with default headers values

func (*QuoteGuestPaymentMethodManagementV1GetListGetOK) Error

func (*QuoteGuestPaymentMethodManagementV1GetListGetOK) GetPayload

type QuoteGuestPaymentMethodManagementV1GetListGetParams

type QuoteGuestPaymentMethodManagementV1GetListGetParams struct {

	/* CartID.

	   The cart ID.
	*/
	CartID string

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

QuoteGuestPaymentMethodManagementV1GetListGetParams contains all the parameters to send to the API endpoint

for the quote guest payment method management v1 get list get operation.

Typically these are written to a http.Request.

func NewQuoteGuestPaymentMethodManagementV1GetListGetParams

func NewQuoteGuestPaymentMethodManagementV1GetListGetParams() *QuoteGuestPaymentMethodManagementV1GetListGetParams

NewQuoteGuestPaymentMethodManagementV1GetListGetParams creates a new QuoteGuestPaymentMethodManagementV1GetListGetParams 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 NewQuoteGuestPaymentMethodManagementV1GetListGetParamsWithContext

func NewQuoteGuestPaymentMethodManagementV1GetListGetParamsWithContext(ctx context.Context) *QuoteGuestPaymentMethodManagementV1GetListGetParams

NewQuoteGuestPaymentMethodManagementV1GetListGetParamsWithContext creates a new QuoteGuestPaymentMethodManagementV1GetListGetParams object with the ability to set a context for a request.

func NewQuoteGuestPaymentMethodManagementV1GetListGetParamsWithHTTPClient

func NewQuoteGuestPaymentMethodManagementV1GetListGetParamsWithHTTPClient(client *http.Client) *QuoteGuestPaymentMethodManagementV1GetListGetParams

NewQuoteGuestPaymentMethodManagementV1GetListGetParamsWithHTTPClient creates a new QuoteGuestPaymentMethodManagementV1GetListGetParams object with the ability to set a custom HTTPClient for a request.

func NewQuoteGuestPaymentMethodManagementV1GetListGetParamsWithTimeout

func NewQuoteGuestPaymentMethodManagementV1GetListGetParamsWithTimeout(timeout time.Duration) *QuoteGuestPaymentMethodManagementV1GetListGetParams

NewQuoteGuestPaymentMethodManagementV1GetListGetParamsWithTimeout creates a new QuoteGuestPaymentMethodManagementV1GetListGetParams object with the ability to set a timeout on a request.

func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) SetCartID

SetCartID adds the cartId to the quote guest payment method management v1 get list get params

func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) SetContext

SetContext adds the context to the quote guest payment method management v1 get list get params

func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) SetDefaults

SetDefaults hydrates default values in the quote guest payment method management v1 get list get params (not the query body).

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

func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the quote guest payment method management v1 get list get params

func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) SetTimeout

SetTimeout adds the timeout to the quote guest payment method management v1 get list get params

func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) WithCartID

WithCartID adds the cartID to the quote guest payment method management v1 get list get params

func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) WithContext

WithContext adds the context to the quote guest payment method management v1 get list get params

func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) WithDefaults

WithDefaults hydrates default values in the quote guest payment method management v1 get list get params (not the query body).

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

func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the quote guest payment method management v1 get list get params

func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) WithTimeout

WithTimeout adds the timeout to the quote guest payment method management v1 get list get params

func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QuoteGuestPaymentMethodManagementV1GetListGetReader

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

QuoteGuestPaymentMethodManagementV1GetListGetReader is a Reader for the QuoteGuestPaymentMethodManagementV1GetListGet structure.

func (*QuoteGuestPaymentMethodManagementV1GetListGetReader) ReadResponse

func (o *QuoteGuestPaymentMethodManagementV1GetListGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QuoteGuestPaymentMethodManagementV1SetPutBadRequest

type QuoteGuestPaymentMethodManagementV1SetPutBadRequest struct {
	Payload *models.ErrorResponse
}
QuoteGuestPaymentMethodManagementV1SetPutBadRequest describes a response with status code 400, with default header values.

400 Bad Request

func NewQuoteGuestPaymentMethodManagementV1SetPutBadRequest

func NewQuoteGuestPaymentMethodManagementV1SetPutBadRequest() *QuoteGuestPaymentMethodManagementV1SetPutBadRequest

NewQuoteGuestPaymentMethodManagementV1SetPutBadRequest creates a QuoteGuestPaymentMethodManagementV1SetPutBadRequest with default headers values

func (*QuoteGuestPaymentMethodManagementV1SetPutBadRequest) Error

func (*QuoteGuestPaymentMethodManagementV1SetPutBadRequest) GetPayload

type QuoteGuestPaymentMethodManagementV1SetPutBody

type QuoteGuestPaymentMethodManagementV1SetPutBody struct {

	// method
	// Required: true
	Method *models.QuoteDataPaymentInterface `json:"method"`
}

QuoteGuestPaymentMethodManagementV1SetPutBody quote guest payment method management v1 set put body swagger:model QuoteGuestPaymentMethodManagementV1SetPutBody

func (*QuoteGuestPaymentMethodManagementV1SetPutBody) ContextValidate

ContextValidate validate this quote guest payment method management v1 set put body based on the context it is used

func (*QuoteGuestPaymentMethodManagementV1SetPutBody) MarshalBinary

MarshalBinary interface implementation

func (*QuoteGuestPaymentMethodManagementV1SetPutBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*QuoteGuestPaymentMethodManagementV1SetPutBody) Validate

Validate validates this quote guest payment method management v1 set put body

type QuoteGuestPaymentMethodManagementV1SetPutDefault

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

Unexpected error

func NewQuoteGuestPaymentMethodManagementV1SetPutDefault

func NewQuoteGuestPaymentMethodManagementV1SetPutDefault(code int) *QuoteGuestPaymentMethodManagementV1SetPutDefault

NewQuoteGuestPaymentMethodManagementV1SetPutDefault creates a QuoteGuestPaymentMethodManagementV1SetPutDefault with default headers values

func (*QuoteGuestPaymentMethodManagementV1SetPutDefault) Code

Code gets the status code for the quote guest payment method management v1 set put default response

func (*QuoteGuestPaymentMethodManagementV1SetPutDefault) Error

func (*QuoteGuestPaymentMethodManagementV1SetPutDefault) GetPayload

type QuoteGuestPaymentMethodManagementV1SetPutOK

type QuoteGuestPaymentMethodManagementV1SetPutOK struct {
	Payload int64
}
QuoteGuestPaymentMethodManagementV1SetPutOK describes a response with status code 200, with default header values.

200 Success.

func NewQuoteGuestPaymentMethodManagementV1SetPutOK

func NewQuoteGuestPaymentMethodManagementV1SetPutOK() *QuoteGuestPaymentMethodManagementV1SetPutOK

NewQuoteGuestPaymentMethodManagementV1SetPutOK creates a QuoteGuestPaymentMethodManagementV1SetPutOK with default headers values

func (*QuoteGuestPaymentMethodManagementV1SetPutOK) Error

func (*QuoteGuestPaymentMethodManagementV1SetPutOK) GetPayload

type QuoteGuestPaymentMethodManagementV1SetPutParams

type QuoteGuestPaymentMethodManagementV1SetPutParams struct {

	/* CartID.

	   The cart ID.
	*/
	CartID string

	// QuoteGuestPaymentMethodManagementV1SetPutBody.
	QuoteGuestPaymentMethodManagementV1SetPutBody QuoteGuestPaymentMethodManagementV1SetPutBody

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

QuoteGuestPaymentMethodManagementV1SetPutParams contains all the parameters to send to the API endpoint

for the quote guest payment method management v1 set put operation.

Typically these are written to a http.Request.

func NewQuoteGuestPaymentMethodManagementV1SetPutParams

func NewQuoteGuestPaymentMethodManagementV1SetPutParams() *QuoteGuestPaymentMethodManagementV1SetPutParams

NewQuoteGuestPaymentMethodManagementV1SetPutParams creates a new QuoteGuestPaymentMethodManagementV1SetPutParams 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 NewQuoteGuestPaymentMethodManagementV1SetPutParamsWithContext

func NewQuoteGuestPaymentMethodManagementV1SetPutParamsWithContext(ctx context.Context) *QuoteGuestPaymentMethodManagementV1SetPutParams

NewQuoteGuestPaymentMethodManagementV1SetPutParamsWithContext creates a new QuoteGuestPaymentMethodManagementV1SetPutParams object with the ability to set a context for a request.

func NewQuoteGuestPaymentMethodManagementV1SetPutParamsWithHTTPClient

func NewQuoteGuestPaymentMethodManagementV1SetPutParamsWithHTTPClient(client *http.Client) *QuoteGuestPaymentMethodManagementV1SetPutParams

NewQuoteGuestPaymentMethodManagementV1SetPutParamsWithHTTPClient creates a new QuoteGuestPaymentMethodManagementV1SetPutParams object with the ability to set a custom HTTPClient for a request.

func NewQuoteGuestPaymentMethodManagementV1SetPutParamsWithTimeout

func NewQuoteGuestPaymentMethodManagementV1SetPutParamsWithTimeout(timeout time.Duration) *QuoteGuestPaymentMethodManagementV1SetPutParams

NewQuoteGuestPaymentMethodManagementV1SetPutParamsWithTimeout creates a new QuoteGuestPaymentMethodManagementV1SetPutParams object with the ability to set a timeout on a request.

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) SetCartID

SetCartID adds the cartId to the quote guest payment method management v1 set put params

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) SetContext

SetContext adds the context to the quote guest payment method management v1 set put params

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) SetDefaults

SetDefaults hydrates default values in the quote guest payment method management v1 set put params (not the query body).

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

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the quote guest payment method management v1 set put params

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) SetQuoteGuestPaymentMethodManagementV1SetPutBody

func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) SetQuoteGuestPaymentMethodManagementV1SetPutBody(quoteGuestPaymentMethodManagementV1SetPutBody QuoteGuestPaymentMethodManagementV1SetPutBody)

SetQuoteGuestPaymentMethodManagementV1SetPutBody adds the quoteGuestPaymentMethodManagementV1SetPutBody to the quote guest payment method management v1 set put params

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) SetTimeout

SetTimeout adds the timeout to the quote guest payment method management v1 set put params

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) WithCartID

WithCartID adds the cartID to the quote guest payment method management v1 set put params

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) WithContext

WithContext adds the context to the quote guest payment method management v1 set put params

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) WithDefaults

WithDefaults hydrates default values in the quote guest payment method management v1 set put params (not the query body).

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

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the quote guest payment method management v1 set put params

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) WithQuoteGuestPaymentMethodManagementV1SetPutBody

func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WithQuoteGuestPaymentMethodManagementV1SetPutBody(quoteGuestPaymentMethodManagementV1SetPutBody QuoteGuestPaymentMethodManagementV1SetPutBody) *QuoteGuestPaymentMethodManagementV1SetPutParams

WithQuoteGuestPaymentMethodManagementV1SetPutBody adds the quoteGuestPaymentMethodManagementV1SetPutBody to the quote guest payment method management v1 set put params

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) WithTimeout

WithTimeout adds the timeout to the quote guest payment method management v1 set put params

func (*QuoteGuestPaymentMethodManagementV1SetPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QuoteGuestPaymentMethodManagementV1SetPutReader

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

QuoteGuestPaymentMethodManagementV1SetPutReader is a Reader for the QuoteGuestPaymentMethodManagementV1SetPut structure.

func (*QuoteGuestPaymentMethodManagementV1SetPutReader) ReadResponse

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