Documentation ¶
Index ¶
- type Client
- func (a *Client) QuoteGuestPaymentMethodManagementV1GetGet(params *QuoteGuestPaymentMethodManagementV1GetGetParams, opts ...ClientOption) (*QuoteGuestPaymentMethodManagementV1GetGetOK, error)
- func (a *Client) QuoteGuestPaymentMethodManagementV1GetListGet(params *QuoteGuestPaymentMethodManagementV1GetListGetParams, ...) (*QuoteGuestPaymentMethodManagementV1GetListGetOK, error)
- func (a *Client) QuoteGuestPaymentMethodManagementV1SetPut(params *QuoteGuestPaymentMethodManagementV1SetPutParams, opts ...ClientOption) (*QuoteGuestPaymentMethodManagementV1SetPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type QuoteGuestPaymentMethodManagementV1GetGetBadRequest
- type QuoteGuestPaymentMethodManagementV1GetGetDefault
- type QuoteGuestPaymentMethodManagementV1GetGetOK
- type QuoteGuestPaymentMethodManagementV1GetGetParams
- func NewQuoteGuestPaymentMethodManagementV1GetGetParams() *QuoteGuestPaymentMethodManagementV1GetGetParams
- func NewQuoteGuestPaymentMethodManagementV1GetGetParamsWithContext(ctx context.Context) *QuoteGuestPaymentMethodManagementV1GetGetParams
- func NewQuoteGuestPaymentMethodManagementV1GetGetParamsWithHTTPClient(client *http.Client) *QuoteGuestPaymentMethodManagementV1GetGetParams
- func NewQuoteGuestPaymentMethodManagementV1GetGetParamsWithTimeout(timeout time.Duration) *QuoteGuestPaymentMethodManagementV1GetGetParams
- func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) SetCartID(cartID string)
- func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) SetContext(ctx context.Context)
- func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) SetDefaults()
- func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) SetHTTPClient(client *http.Client)
- func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) SetTimeout(timeout time.Duration)
- func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) WithCartID(cartID string) *QuoteGuestPaymentMethodManagementV1GetGetParams
- func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) WithContext(ctx context.Context) *QuoteGuestPaymentMethodManagementV1GetGetParams
- func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) WithDefaults() *QuoteGuestPaymentMethodManagementV1GetGetParams
- func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) WithHTTPClient(client *http.Client) *QuoteGuestPaymentMethodManagementV1GetGetParams
- func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) WithTimeout(timeout time.Duration) *QuoteGuestPaymentMethodManagementV1GetGetParams
- func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuoteGuestPaymentMethodManagementV1GetGetReader
- type QuoteGuestPaymentMethodManagementV1GetListGetBadRequest
- type QuoteGuestPaymentMethodManagementV1GetListGetDefault
- type QuoteGuestPaymentMethodManagementV1GetListGetOK
- type QuoteGuestPaymentMethodManagementV1GetListGetParams
- func NewQuoteGuestPaymentMethodManagementV1GetListGetParams() *QuoteGuestPaymentMethodManagementV1GetListGetParams
- func NewQuoteGuestPaymentMethodManagementV1GetListGetParamsWithContext(ctx context.Context) *QuoteGuestPaymentMethodManagementV1GetListGetParams
- func NewQuoteGuestPaymentMethodManagementV1GetListGetParamsWithHTTPClient(client *http.Client) *QuoteGuestPaymentMethodManagementV1GetListGetParams
- func NewQuoteGuestPaymentMethodManagementV1GetListGetParamsWithTimeout(timeout time.Duration) *QuoteGuestPaymentMethodManagementV1GetListGetParams
- func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) SetCartID(cartID string)
- func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) SetContext(ctx context.Context)
- func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) SetDefaults()
- func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) SetHTTPClient(client *http.Client)
- func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) SetTimeout(timeout time.Duration)
- func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) WithCartID(cartID string) *QuoteGuestPaymentMethodManagementV1GetListGetParams
- func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) WithContext(ctx context.Context) *QuoteGuestPaymentMethodManagementV1GetListGetParams
- func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) WithDefaults() *QuoteGuestPaymentMethodManagementV1GetListGetParams
- func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) WithHTTPClient(client *http.Client) *QuoteGuestPaymentMethodManagementV1GetListGetParams
- func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) WithTimeout(timeout time.Duration) *QuoteGuestPaymentMethodManagementV1GetListGetParams
- func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuoteGuestPaymentMethodManagementV1GetListGetReader
- type QuoteGuestPaymentMethodManagementV1SetPutBadRequest
- type QuoteGuestPaymentMethodManagementV1SetPutBody
- func (o *QuoteGuestPaymentMethodManagementV1SetPutBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *QuoteGuestPaymentMethodManagementV1SetPutBody) MarshalBinary() ([]byte, error)
- func (o *QuoteGuestPaymentMethodManagementV1SetPutBody) UnmarshalBinary(b []byte) error
- func (o *QuoteGuestPaymentMethodManagementV1SetPutBody) Validate(formats strfmt.Registry) error
- type QuoteGuestPaymentMethodManagementV1SetPutDefault
- type QuoteGuestPaymentMethodManagementV1SetPutOK
- type QuoteGuestPaymentMethodManagementV1SetPutParams
- func NewQuoteGuestPaymentMethodManagementV1SetPutParams() *QuoteGuestPaymentMethodManagementV1SetPutParams
- func NewQuoteGuestPaymentMethodManagementV1SetPutParamsWithContext(ctx context.Context) *QuoteGuestPaymentMethodManagementV1SetPutParams
- func NewQuoteGuestPaymentMethodManagementV1SetPutParamsWithHTTPClient(client *http.Client) *QuoteGuestPaymentMethodManagementV1SetPutParams
- func NewQuoteGuestPaymentMethodManagementV1SetPutParamsWithTimeout(timeout time.Duration) *QuoteGuestPaymentMethodManagementV1SetPutParams
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) SetCartID(cartID string)
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) SetContext(ctx context.Context)
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) SetDefaults()
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) SetHTTPClient(client *http.Client)
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) SetQuoteGuestPaymentMethodManagementV1SetPutBody(...)
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) SetTimeout(timeout time.Duration)
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WithCartID(cartID string) *QuoteGuestPaymentMethodManagementV1SetPutParams
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WithContext(ctx context.Context) *QuoteGuestPaymentMethodManagementV1SetPutParams
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WithDefaults() *QuoteGuestPaymentMethodManagementV1SetPutParams
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WithHTTPClient(client *http.Client) *QuoteGuestPaymentMethodManagementV1SetPutParams
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WithQuoteGuestPaymentMethodManagementV1SetPutBody(...) *QuoteGuestPaymentMethodManagementV1SetPutParams
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WithTimeout(timeout time.Duration) *QuoteGuestPaymentMethodManagementV1SetPutParams
- func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuoteGuestPaymentMethodManagementV1SetPutReader
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 (o *QuoteGuestPaymentMethodManagementV1GetGetBadRequest) Error() string
func (*QuoteGuestPaymentMethodManagementV1GetGetBadRequest) GetPayload ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetDefault) Code() int
Code gets the status code for the quote guest payment method management v1 get get default response
func (*QuoteGuestPaymentMethodManagementV1GetGetDefault) Error ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetDefault) Error() string
func (*QuoteGuestPaymentMethodManagementV1GetGetDefault) GetPayload ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetDefault) GetPayload() *models.ErrorResponse
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 (o *QuoteGuestPaymentMethodManagementV1GetGetOK) Error() string
func (*QuoteGuestPaymentMethodManagementV1GetGetOK) GetPayload ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetOK) GetPayload() *models.QuoteDataPaymentInterface
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 ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) SetCartID(cartID string)
SetCartID adds the cartId to the quote guest payment method management v1 get get params
func (*QuoteGuestPaymentMethodManagementV1GetGetParams) SetContext ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) SetContext(ctx context.Context)
SetContext adds the context to the quote guest payment method management v1 get get params
func (*QuoteGuestPaymentMethodManagementV1GetGetParams) SetDefaults ¶
func (o *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 ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quote guest payment method management v1 get get params
func (*QuoteGuestPaymentMethodManagementV1GetGetParams) SetTimeout ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quote guest payment method management v1 get get params
func (*QuoteGuestPaymentMethodManagementV1GetGetParams) WithCartID ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) WithCartID(cartID string) *QuoteGuestPaymentMethodManagementV1GetGetParams
WithCartID adds the cartID to the quote guest payment method management v1 get get params
func (*QuoteGuestPaymentMethodManagementV1GetGetParams) WithContext ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) WithContext(ctx context.Context) *QuoteGuestPaymentMethodManagementV1GetGetParams
WithContext adds the context to the quote guest payment method management v1 get get params
func (*QuoteGuestPaymentMethodManagementV1GetGetParams) WithDefaults ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) WithDefaults() *QuoteGuestPaymentMethodManagementV1GetGetParams
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 ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) WithHTTPClient(client *http.Client) *QuoteGuestPaymentMethodManagementV1GetGetParams
WithHTTPClient adds the HTTPClient to the quote guest payment method management v1 get get params
func (*QuoteGuestPaymentMethodManagementV1GetGetParams) WithTimeout ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) WithTimeout(timeout time.Duration) *QuoteGuestPaymentMethodManagementV1GetGetParams
WithTimeout adds the timeout to the quote guest payment method management v1 get get params
func (*QuoteGuestPaymentMethodManagementV1GetGetParams) WriteToRequest ¶
func (o *QuoteGuestPaymentMethodManagementV1GetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *QuoteGuestPaymentMethodManagementV1GetListGetBadRequest) Error() string
func (*QuoteGuestPaymentMethodManagementV1GetListGetBadRequest) GetPayload ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetDefault) Code() int
Code gets the status code for the quote guest payment method management v1 get list get default response
func (*QuoteGuestPaymentMethodManagementV1GetListGetDefault) Error ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetDefault) Error() string
func (*QuoteGuestPaymentMethodManagementV1GetListGetDefault) GetPayload ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetDefault) GetPayload() *models.ErrorResponse
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 (o *QuoteGuestPaymentMethodManagementV1GetListGetOK) Error() string
func (*QuoteGuestPaymentMethodManagementV1GetListGetOK) GetPayload ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetOK) GetPayload() []*models.QuoteDataPaymentMethodInterface
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 ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) SetCartID(cartID string)
SetCartID adds the cartId to the quote guest payment method management v1 get list get params
func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) SetContext ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) SetContext(ctx context.Context)
SetContext adds the context to the quote guest payment method management v1 get list get params
func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) SetDefaults ¶
func (o *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 ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the quote guest payment method management v1 get list get params
func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) SetTimeout ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quote guest payment method management v1 get list get params
func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) WithCartID ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) WithCartID(cartID string) *QuoteGuestPaymentMethodManagementV1GetListGetParams
WithCartID adds the cartID to the quote guest payment method management v1 get list get params
func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) WithContext ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) WithContext(ctx context.Context) *QuoteGuestPaymentMethodManagementV1GetListGetParams
WithContext adds the context to the quote guest payment method management v1 get list get params
func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) WithDefaults ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) WithDefaults() *QuoteGuestPaymentMethodManagementV1GetListGetParams
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 ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) WithHTTPClient(client *http.Client) *QuoteGuestPaymentMethodManagementV1GetListGetParams
WithHTTPClient adds the HTTPClient to the quote guest payment method management v1 get list get params
func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) WithTimeout ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) WithTimeout(timeout time.Duration) *QuoteGuestPaymentMethodManagementV1GetListGetParams
WithTimeout adds the timeout to the quote guest payment method management v1 get list get params
func (*QuoteGuestPaymentMethodManagementV1GetListGetParams) WriteToRequest ¶
func (o *QuoteGuestPaymentMethodManagementV1GetListGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *QuoteGuestPaymentMethodManagementV1SetPutBadRequest) Error() string
func (*QuoteGuestPaymentMethodManagementV1SetPutBadRequest) GetPayload ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutBadRequest) GetPayload() *models.ErrorResponse
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 ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this quote guest payment method management v1 set put body based on the context it is used
func (*QuoteGuestPaymentMethodManagementV1SetPutBody) MarshalBinary ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuoteGuestPaymentMethodManagementV1SetPutBody) UnmarshalBinary ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutDefault) Code() int
Code gets the status code for the quote guest payment method management v1 set put default response
func (*QuoteGuestPaymentMethodManagementV1SetPutDefault) Error ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutDefault) Error() string
func (*QuoteGuestPaymentMethodManagementV1SetPutDefault) GetPayload ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutDefault) GetPayload() *models.ErrorResponse
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 (o *QuoteGuestPaymentMethodManagementV1SetPutOK) Error() string
func (*QuoteGuestPaymentMethodManagementV1SetPutOK) GetPayload ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutOK) GetPayload() int64
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 ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) SetCartID(cartID string)
SetCartID adds the cartId to the quote guest payment method management v1 set put params
func (*QuoteGuestPaymentMethodManagementV1SetPutParams) SetContext ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) SetContext(ctx context.Context)
SetContext adds the context to the quote guest payment method management v1 set put params
func (*QuoteGuestPaymentMethodManagementV1SetPutParams) SetDefaults ¶
func (o *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 ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the quote guest payment method management v1 set put params
func (*QuoteGuestPaymentMethodManagementV1SetPutParams) WithCartID ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WithCartID(cartID string) *QuoteGuestPaymentMethodManagementV1SetPutParams
WithCartID adds the cartID to the quote guest payment method management v1 set put params
func (*QuoteGuestPaymentMethodManagementV1SetPutParams) WithContext ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WithContext(ctx context.Context) *QuoteGuestPaymentMethodManagementV1SetPutParams
WithContext adds the context to the quote guest payment method management v1 set put params
func (*QuoteGuestPaymentMethodManagementV1SetPutParams) WithDefaults ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WithDefaults() *QuoteGuestPaymentMethodManagementV1SetPutParams
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 ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WithHTTPClient(client *http.Client) *QuoteGuestPaymentMethodManagementV1SetPutParams
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 ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WithTimeout(timeout time.Duration) *QuoteGuestPaymentMethodManagementV1SetPutParams
WithTimeout adds the timeout to the quote guest payment method management v1 set put params
func (*QuoteGuestPaymentMethodManagementV1SetPutParams) WriteToRequest ¶
func (o *QuoteGuestPaymentMethodManagementV1SetPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- quote_guest_payment_method_management_v1_client.go
- quote_guest_payment_method_management_v1_get_get_parameters.go
- quote_guest_payment_method_management_v1_get_get_responses.go
- quote_guest_payment_method_management_v1_get_list_get_parameters.go
- quote_guest_payment_method_management_v1_get_list_get_responses.go
- quote_guest_payment_method_management_v1_set_put_parameters.go
- quote_guest_payment_method_management_v1_set_put_responses.go