quote_guest_billing_address_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 billing address management v1 API

func (*Client) QuoteGuestBillingAddressManagementV1AssignPost

func (a *Client) QuoteGuestBillingAddressManagementV1AssignPost(params *QuoteGuestBillingAddressManagementV1AssignPostParams, opts ...ClientOption) (*QuoteGuestBillingAddressManagementV1AssignPostOK, error)

QuoteGuestBillingAddressManagementV1AssignPost Assign a specified billing address to a specified cart.

func (*Client) QuoteGuestBillingAddressManagementV1GetGet

func (a *Client) QuoteGuestBillingAddressManagementV1GetGet(params *QuoteGuestBillingAddressManagementV1GetGetParams, opts ...ClientOption) (*QuoteGuestBillingAddressManagementV1GetGetOK, error)

QuoteGuestBillingAddressManagementV1GetGet Return the billing address for a specified quote.

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 {
	QuoteGuestBillingAddressManagementV1AssignPost(params *QuoteGuestBillingAddressManagementV1AssignPostParams, opts ...ClientOption) (*QuoteGuestBillingAddressManagementV1AssignPostOK, error)

	QuoteGuestBillingAddressManagementV1GetGet(params *QuoteGuestBillingAddressManagementV1GetGetParams, opts ...ClientOption) (*QuoteGuestBillingAddressManagementV1GetGetOK, 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 billing address management v1 API client.

type QuoteGuestBillingAddressManagementV1AssignPostBadRequest

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

400 Bad Request

func NewQuoteGuestBillingAddressManagementV1AssignPostBadRequest

func NewQuoteGuestBillingAddressManagementV1AssignPostBadRequest() *QuoteGuestBillingAddressManagementV1AssignPostBadRequest

NewQuoteGuestBillingAddressManagementV1AssignPostBadRequest creates a QuoteGuestBillingAddressManagementV1AssignPostBadRequest with default headers values

func (*QuoteGuestBillingAddressManagementV1AssignPostBadRequest) Error

func (*QuoteGuestBillingAddressManagementV1AssignPostBadRequest) GetPayload

type QuoteGuestBillingAddressManagementV1AssignPostBody

type QuoteGuestBillingAddressManagementV1AssignPostBody struct {

	// address
	// Required: true
	Address *models.QuoteDataAddressInterface `json:"address"`

	// use for shipping
	UseForShipping bool `json:"useForShipping,omitempty"`
}

QuoteGuestBillingAddressManagementV1AssignPostBody quote guest billing address management v1 assign post body swagger:model QuoteGuestBillingAddressManagementV1AssignPostBody

func (*QuoteGuestBillingAddressManagementV1AssignPostBody) ContextValidate

ContextValidate validate this quote guest billing address management v1 assign post body based on the context it is used

func (*QuoteGuestBillingAddressManagementV1AssignPostBody) MarshalBinary

MarshalBinary interface implementation

func (*QuoteGuestBillingAddressManagementV1AssignPostBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*QuoteGuestBillingAddressManagementV1AssignPostBody) Validate

Validate validates this quote guest billing address management v1 assign post body

type QuoteGuestBillingAddressManagementV1AssignPostDefault

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

Unexpected error

func NewQuoteGuestBillingAddressManagementV1AssignPostDefault

func NewQuoteGuestBillingAddressManagementV1AssignPostDefault(code int) *QuoteGuestBillingAddressManagementV1AssignPostDefault

NewQuoteGuestBillingAddressManagementV1AssignPostDefault creates a QuoteGuestBillingAddressManagementV1AssignPostDefault with default headers values

func (*QuoteGuestBillingAddressManagementV1AssignPostDefault) Code

Code gets the status code for the quote guest billing address management v1 assign post default response

func (*QuoteGuestBillingAddressManagementV1AssignPostDefault) Error

func (*QuoteGuestBillingAddressManagementV1AssignPostDefault) GetPayload

type QuoteGuestBillingAddressManagementV1AssignPostOK

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

200 Success.

func NewQuoteGuestBillingAddressManagementV1AssignPostOK

func NewQuoteGuestBillingAddressManagementV1AssignPostOK() *QuoteGuestBillingAddressManagementV1AssignPostOK

NewQuoteGuestBillingAddressManagementV1AssignPostOK creates a QuoteGuestBillingAddressManagementV1AssignPostOK with default headers values

func (*QuoteGuestBillingAddressManagementV1AssignPostOK) Error

func (*QuoteGuestBillingAddressManagementV1AssignPostOK) GetPayload

type QuoteGuestBillingAddressManagementV1AssignPostParams

type QuoteGuestBillingAddressManagementV1AssignPostParams struct {

	/* CartID.

	   The cart ID.
	*/
	CartID string

	// QuoteGuestBillingAddressManagementV1AssignPostBody.
	QuoteGuestBillingAddressManagementV1AssignPostBody QuoteGuestBillingAddressManagementV1AssignPostBody

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

QuoteGuestBillingAddressManagementV1AssignPostParams contains all the parameters to send to the API endpoint

for the quote guest billing address management v1 assign post operation.

Typically these are written to a http.Request.

func NewQuoteGuestBillingAddressManagementV1AssignPostParams

func NewQuoteGuestBillingAddressManagementV1AssignPostParams() *QuoteGuestBillingAddressManagementV1AssignPostParams

NewQuoteGuestBillingAddressManagementV1AssignPostParams creates a new QuoteGuestBillingAddressManagementV1AssignPostParams 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 NewQuoteGuestBillingAddressManagementV1AssignPostParamsWithContext

func NewQuoteGuestBillingAddressManagementV1AssignPostParamsWithContext(ctx context.Context) *QuoteGuestBillingAddressManagementV1AssignPostParams

NewQuoteGuestBillingAddressManagementV1AssignPostParamsWithContext creates a new QuoteGuestBillingAddressManagementV1AssignPostParams object with the ability to set a context for a request.

func NewQuoteGuestBillingAddressManagementV1AssignPostParamsWithHTTPClient

func NewQuoteGuestBillingAddressManagementV1AssignPostParamsWithHTTPClient(client *http.Client) *QuoteGuestBillingAddressManagementV1AssignPostParams

NewQuoteGuestBillingAddressManagementV1AssignPostParamsWithHTTPClient creates a new QuoteGuestBillingAddressManagementV1AssignPostParams object with the ability to set a custom HTTPClient for a request.

func NewQuoteGuestBillingAddressManagementV1AssignPostParamsWithTimeout

func NewQuoteGuestBillingAddressManagementV1AssignPostParamsWithTimeout(timeout time.Duration) *QuoteGuestBillingAddressManagementV1AssignPostParams

NewQuoteGuestBillingAddressManagementV1AssignPostParamsWithTimeout creates a new QuoteGuestBillingAddressManagementV1AssignPostParams object with the ability to set a timeout on a request.

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) SetCartID

SetCartID adds the cartId to the quote guest billing address management v1 assign post params

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) SetContext

SetContext adds the context to the quote guest billing address management v1 assign post params

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) SetDefaults

SetDefaults hydrates default values in the quote guest billing address management v1 assign post params (not the query body).

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

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the quote guest billing address management v1 assign post params

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) SetQuoteGuestBillingAddressManagementV1AssignPostBody

func (o *QuoteGuestBillingAddressManagementV1AssignPostParams) SetQuoteGuestBillingAddressManagementV1AssignPostBody(quoteGuestBillingAddressManagementV1AssignPostBody QuoteGuestBillingAddressManagementV1AssignPostBody)

SetQuoteGuestBillingAddressManagementV1AssignPostBody adds the quoteGuestBillingAddressManagementV1AssignPostBody to the quote guest billing address management v1 assign post params

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) SetTimeout

SetTimeout adds the timeout to the quote guest billing address management v1 assign post params

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) WithCartID

WithCartID adds the cartID to the quote guest billing address management v1 assign post params

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) WithContext

WithContext adds the context to the quote guest billing address management v1 assign post params

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) WithDefaults

WithDefaults hydrates default values in the quote guest billing address management v1 assign post params (not the query body).

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

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the quote guest billing address management v1 assign post params

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) WithQuoteGuestBillingAddressManagementV1AssignPostBody

func (o *QuoteGuestBillingAddressManagementV1AssignPostParams) WithQuoteGuestBillingAddressManagementV1AssignPostBody(quoteGuestBillingAddressManagementV1AssignPostBody QuoteGuestBillingAddressManagementV1AssignPostBody) *QuoteGuestBillingAddressManagementV1AssignPostParams

WithQuoteGuestBillingAddressManagementV1AssignPostBody adds the quoteGuestBillingAddressManagementV1AssignPostBody to the quote guest billing address management v1 assign post params

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) WithTimeout

WithTimeout adds the timeout to the quote guest billing address management v1 assign post params

func (*QuoteGuestBillingAddressManagementV1AssignPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QuoteGuestBillingAddressManagementV1AssignPostReader

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

QuoteGuestBillingAddressManagementV1AssignPostReader is a Reader for the QuoteGuestBillingAddressManagementV1AssignPost structure.

func (*QuoteGuestBillingAddressManagementV1AssignPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QuoteGuestBillingAddressManagementV1GetGetBadRequest

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

400 Bad Request

func NewQuoteGuestBillingAddressManagementV1GetGetBadRequest

func NewQuoteGuestBillingAddressManagementV1GetGetBadRequest() *QuoteGuestBillingAddressManagementV1GetGetBadRequest

NewQuoteGuestBillingAddressManagementV1GetGetBadRequest creates a QuoteGuestBillingAddressManagementV1GetGetBadRequest with default headers values

func (*QuoteGuestBillingAddressManagementV1GetGetBadRequest) Error

func (*QuoteGuestBillingAddressManagementV1GetGetBadRequest) GetPayload

type QuoteGuestBillingAddressManagementV1GetGetDefault

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

Unexpected error

func NewQuoteGuestBillingAddressManagementV1GetGetDefault

func NewQuoteGuestBillingAddressManagementV1GetGetDefault(code int) *QuoteGuestBillingAddressManagementV1GetGetDefault

NewQuoteGuestBillingAddressManagementV1GetGetDefault creates a QuoteGuestBillingAddressManagementV1GetGetDefault with default headers values

func (*QuoteGuestBillingAddressManagementV1GetGetDefault) Code

Code gets the status code for the quote guest billing address management v1 get get default response

func (*QuoteGuestBillingAddressManagementV1GetGetDefault) Error

func (*QuoteGuestBillingAddressManagementV1GetGetDefault) GetPayload

type QuoteGuestBillingAddressManagementV1GetGetOK

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

200 Success.

func NewQuoteGuestBillingAddressManagementV1GetGetOK

func NewQuoteGuestBillingAddressManagementV1GetGetOK() *QuoteGuestBillingAddressManagementV1GetGetOK

NewQuoteGuestBillingAddressManagementV1GetGetOK creates a QuoteGuestBillingAddressManagementV1GetGetOK with default headers values

func (*QuoteGuestBillingAddressManagementV1GetGetOK) Error

func (*QuoteGuestBillingAddressManagementV1GetGetOK) GetPayload

type QuoteGuestBillingAddressManagementV1GetGetParams

type QuoteGuestBillingAddressManagementV1GetGetParams struct {

	/* CartID.

	   The cart ID.
	*/
	CartID string

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

QuoteGuestBillingAddressManagementV1GetGetParams contains all the parameters to send to the API endpoint

for the quote guest billing address management v1 get get operation.

Typically these are written to a http.Request.

func NewQuoteGuestBillingAddressManagementV1GetGetParams

func NewQuoteGuestBillingAddressManagementV1GetGetParams() *QuoteGuestBillingAddressManagementV1GetGetParams

NewQuoteGuestBillingAddressManagementV1GetGetParams creates a new QuoteGuestBillingAddressManagementV1GetGetParams 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 NewQuoteGuestBillingAddressManagementV1GetGetParamsWithContext

func NewQuoteGuestBillingAddressManagementV1GetGetParamsWithContext(ctx context.Context) *QuoteGuestBillingAddressManagementV1GetGetParams

NewQuoteGuestBillingAddressManagementV1GetGetParamsWithContext creates a new QuoteGuestBillingAddressManagementV1GetGetParams object with the ability to set a context for a request.

func NewQuoteGuestBillingAddressManagementV1GetGetParamsWithHTTPClient

func NewQuoteGuestBillingAddressManagementV1GetGetParamsWithHTTPClient(client *http.Client) *QuoteGuestBillingAddressManagementV1GetGetParams

NewQuoteGuestBillingAddressManagementV1GetGetParamsWithHTTPClient creates a new QuoteGuestBillingAddressManagementV1GetGetParams object with the ability to set a custom HTTPClient for a request.

func NewQuoteGuestBillingAddressManagementV1GetGetParamsWithTimeout

func NewQuoteGuestBillingAddressManagementV1GetGetParamsWithTimeout(timeout time.Duration) *QuoteGuestBillingAddressManagementV1GetGetParams

NewQuoteGuestBillingAddressManagementV1GetGetParamsWithTimeout creates a new QuoteGuestBillingAddressManagementV1GetGetParams object with the ability to set a timeout on a request.

func (*QuoteGuestBillingAddressManagementV1GetGetParams) SetCartID

SetCartID adds the cartId to the quote guest billing address management v1 get get params

func (*QuoteGuestBillingAddressManagementV1GetGetParams) SetContext

SetContext adds the context to the quote guest billing address management v1 get get params

func (*QuoteGuestBillingAddressManagementV1GetGetParams) SetDefaults

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

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

func (*QuoteGuestBillingAddressManagementV1GetGetParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the quote guest billing address management v1 get get params

func (*QuoteGuestBillingAddressManagementV1GetGetParams) SetTimeout

SetTimeout adds the timeout to the quote guest billing address management v1 get get params

func (*QuoteGuestBillingAddressManagementV1GetGetParams) WithCartID

WithCartID adds the cartID to the quote guest billing address management v1 get get params

func (*QuoteGuestBillingAddressManagementV1GetGetParams) WithContext

WithContext adds the context to the quote guest billing address management v1 get get params

func (*QuoteGuestBillingAddressManagementV1GetGetParams) WithDefaults

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

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

func (*QuoteGuestBillingAddressManagementV1GetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the quote guest billing address management v1 get get params

func (*QuoteGuestBillingAddressManagementV1GetGetParams) WithTimeout

WithTimeout adds the timeout to the quote guest billing address management v1 get get params

func (*QuoteGuestBillingAddressManagementV1GetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QuoteGuestBillingAddressManagementV1GetGetReader

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

QuoteGuestBillingAddressManagementV1GetGetReader is a Reader for the QuoteGuestBillingAddressManagementV1GetGet structure.

func (*QuoteGuestBillingAddressManagementV1GetGetReader) ReadResponse

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