Documentation
¶
Index ¶
- type CheckoutGoogleOrderAsyncOK
- type CheckoutGoogleOrderAsyncParams
- func NewCheckoutGoogleOrderAsyncParams() *CheckoutGoogleOrderAsyncParams
- func NewCheckoutGoogleOrderAsyncParamsWithContext(ctx context.Context) *CheckoutGoogleOrderAsyncParams
- func NewCheckoutGoogleOrderAsyncParamsWithHTTPClient(client *http.Client) *CheckoutGoogleOrderAsyncParams
- func NewCheckoutGoogleOrderAsyncParamsWithTimeout(timeout time.Duration) *CheckoutGoogleOrderAsyncParams
- func (o *CheckoutGoogleOrderAsyncParams) SetContext(ctx context.Context)
- func (o *CheckoutGoogleOrderAsyncParams) SetDefaults()
- func (o *CheckoutGoogleOrderAsyncParams) SetHTTPClient(client *http.Client)
- func (o *CheckoutGoogleOrderAsyncParams) SetOrder(order *models.GoogleOrder)
- func (o *CheckoutGoogleOrderAsyncParams) SetTimeout(timeout time.Duration)
- func (o *CheckoutGoogleOrderAsyncParams) WithContext(ctx context.Context) *CheckoutGoogleOrderAsyncParams
- func (o *CheckoutGoogleOrderAsyncParams) WithDefaults() *CheckoutGoogleOrderAsyncParams
- func (o *CheckoutGoogleOrderAsyncParams) WithHTTPClient(client *http.Client) *CheckoutGoogleOrderAsyncParams
- func (o *CheckoutGoogleOrderAsyncParams) WithOrder(order *models.GoogleOrder) *CheckoutGoogleOrderAsyncParams
- func (o *CheckoutGoogleOrderAsyncParams) WithTimeout(timeout time.Duration) *CheckoutGoogleOrderAsyncParams
- func (o *CheckoutGoogleOrderAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckoutGoogleOrderAsyncReader
- type Client
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckoutGoogleOrderAsyncOK ¶
type CheckoutGoogleOrderAsyncOK struct { }
CheckoutGoogleOrderAsyncOK describes a response with status code 200, with default header values.
Success
func NewCheckoutGoogleOrderAsyncOK ¶
func NewCheckoutGoogleOrderAsyncOK() *CheckoutGoogleOrderAsyncOK
NewCheckoutGoogleOrderAsyncOK creates a CheckoutGoogleOrderAsyncOK with default headers values
func (*CheckoutGoogleOrderAsyncOK) Error ¶
func (o *CheckoutGoogleOrderAsyncOK) Error() string
type CheckoutGoogleOrderAsyncParams ¶
type CheckoutGoogleOrderAsyncParams struct { // Order. Order *models.GoogleOrder Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CheckoutGoogleOrderAsyncParams contains all the parameters to send to the API endpoint
for the checkout google order async operation. Typically these are written to a http.Request.
func NewCheckoutGoogleOrderAsyncParams ¶
func NewCheckoutGoogleOrderAsyncParams() *CheckoutGoogleOrderAsyncParams
NewCheckoutGoogleOrderAsyncParams creates a new CheckoutGoogleOrderAsyncParams 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 NewCheckoutGoogleOrderAsyncParamsWithContext ¶
func NewCheckoutGoogleOrderAsyncParamsWithContext(ctx context.Context) *CheckoutGoogleOrderAsyncParams
NewCheckoutGoogleOrderAsyncParamsWithContext creates a new CheckoutGoogleOrderAsyncParams object with the ability to set a context for a request.
func NewCheckoutGoogleOrderAsyncParamsWithHTTPClient ¶
func NewCheckoutGoogleOrderAsyncParamsWithHTTPClient(client *http.Client) *CheckoutGoogleOrderAsyncParams
NewCheckoutGoogleOrderAsyncParamsWithHTTPClient creates a new CheckoutGoogleOrderAsyncParams object with the ability to set a custom HTTPClient for a request.
func NewCheckoutGoogleOrderAsyncParamsWithTimeout ¶
func NewCheckoutGoogleOrderAsyncParamsWithTimeout(timeout time.Duration) *CheckoutGoogleOrderAsyncParams
NewCheckoutGoogleOrderAsyncParamsWithTimeout creates a new CheckoutGoogleOrderAsyncParams object with the ability to set a timeout on a request.
func (*CheckoutGoogleOrderAsyncParams) SetContext ¶
func (o *CheckoutGoogleOrderAsyncParams) SetContext(ctx context.Context)
SetContext adds the context to the checkout google order async params
func (*CheckoutGoogleOrderAsyncParams) SetDefaults ¶
func (o *CheckoutGoogleOrderAsyncParams) SetDefaults()
SetDefaults hydrates default values in the checkout google order async params (not the query body).
All values with no default are reset to their zero value.
func (*CheckoutGoogleOrderAsyncParams) SetHTTPClient ¶
func (o *CheckoutGoogleOrderAsyncParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the checkout google order async params
func (*CheckoutGoogleOrderAsyncParams) SetOrder ¶
func (o *CheckoutGoogleOrderAsyncParams) SetOrder(order *models.GoogleOrder)
SetOrder adds the order to the checkout google order async params
func (*CheckoutGoogleOrderAsyncParams) SetTimeout ¶
func (o *CheckoutGoogleOrderAsyncParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the checkout google order async params
func (*CheckoutGoogleOrderAsyncParams) WithContext ¶
func (o *CheckoutGoogleOrderAsyncParams) WithContext(ctx context.Context) *CheckoutGoogleOrderAsyncParams
WithContext adds the context to the checkout google order async params
func (*CheckoutGoogleOrderAsyncParams) WithDefaults ¶
func (o *CheckoutGoogleOrderAsyncParams) WithDefaults() *CheckoutGoogleOrderAsyncParams
WithDefaults hydrates default values in the checkout google order async params (not the query body).
All values with no default are reset to their zero value.
func (*CheckoutGoogleOrderAsyncParams) WithHTTPClient ¶
func (o *CheckoutGoogleOrderAsyncParams) WithHTTPClient(client *http.Client) *CheckoutGoogleOrderAsyncParams
WithHTTPClient adds the HTTPClient to the checkout google order async params
func (*CheckoutGoogleOrderAsyncParams) WithOrder ¶
func (o *CheckoutGoogleOrderAsyncParams) WithOrder(order *models.GoogleOrder) *CheckoutGoogleOrderAsyncParams
WithOrder adds the order to the checkout google order async params
func (*CheckoutGoogleOrderAsyncParams) WithTimeout ¶
func (o *CheckoutGoogleOrderAsyncParams) WithTimeout(timeout time.Duration) *CheckoutGoogleOrderAsyncParams
WithTimeout adds the timeout to the checkout google order async params
func (*CheckoutGoogleOrderAsyncParams) WriteToRequest ¶
func (o *CheckoutGoogleOrderAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckoutGoogleOrderAsyncReader ¶
type CheckoutGoogleOrderAsyncReader struct {
// contains filtered or unexported fields
}
CheckoutGoogleOrderAsyncReader is a Reader for the CheckoutGoogleOrderAsync structure.
func (*CheckoutGoogleOrderAsyncReader) ReadResponse ¶
func (o *CheckoutGoogleOrderAsyncReader) 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 google orders API
func (*Client) CheckoutGoogleOrderAsync ¶
func (a *Client) CheckoutGoogleOrderAsync(params *CheckoutGoogleOrderAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckoutGoogleOrderAsyncOK, error)
CheckoutGoogleOrderAsync checkout google order async 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 { CheckoutGoogleOrderAsync(params *CheckoutGoogleOrderAsyncParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckoutGoogleOrderAsyncOK, 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 google orders API client.