Documentation ¶
Index ¶
- type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) MarshalBinary() ([]byte, error)
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) UnmarshalBinary(b []byte) error
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) Validate(formats strfmt.Registry) error
- type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault) Code() int
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault) Error() string
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault) GetPayload() *models.ErrorResponse
- type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostOK
- type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
- func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams() *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
- func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParamsWithContext(ctx context.Context) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
- func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParamsWithHTTPClient(client *http.Client) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
- func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParamsWithTimeout(timeout time.Duration) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetCartID(cartID string)
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody(...)
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetContext(ctx context.Context)
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetDefaults()
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetHTTPClient(client *http.Client)
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetTimeout(timeout time.Duration)
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithCartID(cartID string) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody(...) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithContext(ctx context.Context) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithDefaults() *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithHTTPClient(client *http.Client) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithTimeout(timeout time.Duration) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
- func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostReader
- type Client
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody ¶
type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody struct { // address information // Required: true AddressInformation *models.CheckoutDataShippingInformationInterface `json:"addressInformation"` }
CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody checkout guest shipping information management v1 save address information post body swagger:model CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) ContextValidate ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this checkout guest shipping information management v1 save address information post body based on the context it is used
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) MarshalBinary ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) UnmarshalBinary ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) Validate ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) Validate(formats strfmt.Registry) error
Validate validates this checkout guest shipping information management v1 save address information post body
type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault ¶
type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault describes a response with status code -1, with default header values.
Unexpected error
func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault ¶
func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault(code int) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault
NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault creates a CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault with default headers values
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault) Code ¶
Code gets the status code for the checkout guest shipping information management v1 save address information post default response
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault) GetPayload ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostDefault) GetPayload() *models.ErrorResponse
type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostOK ¶
type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostOK struct {
Payload *models.CheckoutDataPaymentDetailsInterface
}
CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostOK describes a response with status code 200, with default header values.
200 Success.
func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostOK ¶
func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostOK() *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostOK
NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostOK creates a CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostOK with default headers values
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostOK) GetPayload ¶
type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams ¶
type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams struct { // CartID. CartID string // CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody. CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams contains all the parameters to send to the API endpoint
for the checkout guest shipping information management v1 save address information post operation. Typically these are written to a http.Request.
func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams ¶
func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams() *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams creates a new CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams 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 NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParamsWithContext ¶
func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParamsWithContext(ctx context.Context) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParamsWithContext creates a new CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams object with the ability to set a context for a request.
func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParamsWithHTTPClient ¶
func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParamsWithHTTPClient(client *http.Client) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParamsWithHTTPClient creates a new CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams object with the ability to set a custom HTTPClient for a request.
func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParamsWithTimeout ¶
func NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParamsWithTimeout(timeout time.Duration) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
NewCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParamsWithTimeout creates a new CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams object with the ability to set a timeout on a request.
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetCartID ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetCartID(cartID string)
SetCartID adds the cartId to the checkout guest shipping information management v1 save address information post params
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody(checkoutGuestShippingInformationManagementV1SaveAddressInformationPostBody CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody)
SetCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody adds the checkoutGuestShippingInformationManagementV1SaveAddressInformationPostBody to the checkout guest shipping information management v1 save address information post params
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetContext ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetContext(ctx context.Context)
SetContext adds the context to the checkout guest shipping information management v1 save address information post params
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetDefaults ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetDefaults()
SetDefaults hydrates default values in the checkout guest shipping information management v1 save address information post params (not the query body).
All values with no default are reset to their zero value.
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetHTTPClient ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the checkout guest shipping information management v1 save address information post params
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetTimeout ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the checkout guest shipping information management v1 save address information post params
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithCartID ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithCartID(cartID string) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
WithCartID adds the cartID to the checkout guest shipping information management v1 save address information post params
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody(checkoutGuestShippingInformationManagementV1SaveAddressInformationPostBody CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
WithCheckoutGuestShippingInformationManagementV1SaveAddressInformationPostBody adds the checkoutGuestShippingInformationManagementV1SaveAddressInformationPostBody to the checkout guest shipping information management v1 save address information post params
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithContext ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithContext(ctx context.Context) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
WithContext adds the context to the checkout guest shipping information management v1 save address information post params
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithDefaults ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithDefaults() *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
WithDefaults hydrates default values in the checkout guest shipping information management v1 save address information post params (not the query body).
All values with no default are reset to their zero value.
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithHTTPClient ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithHTTPClient(client *http.Client) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
WithHTTPClient adds the HTTPClient to the checkout guest shipping information management v1 save address information post params
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithTimeout ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WithTimeout(timeout time.Duration) *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams
WithTimeout adds the timeout to the checkout guest shipping information management v1 save address information post params
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WriteToRequest ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostReader ¶
type CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostReader struct {
// contains filtered or unexported fields
}
CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostReader is a Reader for the CheckoutGuestShippingInformationManagementV1SaveAddressInformationPost structure.
func (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostReader) ReadResponse ¶
func (o *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for checkout guest shipping information management v1 API
func (*Client) CheckoutGuestShippingInformationManagementV1SaveAddressInformationPost ¶
func (a *Client) CheckoutGuestShippingInformationManagementV1SaveAddressInformationPost(params *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams, opts ...ClientOption) (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostOK, error)
CheckoutGuestShippingInformationManagementV1SaveAddressInformationPost checkout guest shipping information management v1 save address information post API
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 { CheckoutGuestShippingInformationManagementV1SaveAddressInformationPost(params *CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostParams, opts ...ClientOption) (*CheckoutGuestShippingInformationManagementV1SaveAddressInformationPostOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new checkout guest shipping information management v1 API client.