google_orders

package
v0.0.0-...-4ac4f36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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

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

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

WithContext adds the context to the checkout google order async params

func (*CheckoutGoogleOrderAsyncParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the checkout google order async params

func (*CheckoutGoogleOrderAsyncParams) WithOrder

WithOrder adds the order to the checkout google order async params

func (*CheckoutGoogleOrderAsyncParams) WithTimeout

WithTimeout adds the timeout to the checkout google order async params

func (*CheckoutGoogleOrderAsyncParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL