customer_groups

package
v0.0.0-...-dc3cc4a Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 10 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 customer groups API

func (*Client) CreateCustomerGroup

func (a *Client) CreateCustomerGroup(params *CreateCustomerGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCustomerGroupOK, error)
CreateCustomerGroup creates customer group

Creates a new customer group for a business.

The request must include the `name` value of the group.

func (*Client) DeleteCustomerGroup

func (a *Client) DeleteCustomerGroup(params *DeleteCustomerGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCustomerGroupOK, error)

DeleteCustomerGroup deletes customer group

Deletes a customer group as identified by the `group_id` value.

func (*Client) ListCustomerGroups

func (a *Client) ListCustomerGroups(params *ListCustomerGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCustomerGroupsOK, error)

ListCustomerGroups lists customer groups

Retrieves the list of customer groups of a business.

func (*Client) RetrieveCustomerGroup

func (a *Client) RetrieveCustomerGroup(params *RetrieveCustomerGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RetrieveCustomerGroupOK, error)

RetrieveCustomerGroup retrieves customer group

Retrieves a specific customer group as identified by the `group_id` value.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateCustomerGroup

func (a *Client) UpdateCustomerGroup(params *UpdateCustomerGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCustomerGroupOK, error)

UpdateCustomerGroup updates customer group

Updates a customer group as identified by the `group_id` value.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateCustomerGroup(params *CreateCustomerGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCustomerGroupOK, error)

	DeleteCustomerGroup(params *DeleteCustomerGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCustomerGroupOK, error)

	ListCustomerGroups(params *ListCustomerGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCustomerGroupsOK, error)

	RetrieveCustomerGroup(params *RetrieveCustomerGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RetrieveCustomerGroupOK, error)

	UpdateCustomerGroup(params *UpdateCustomerGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCustomerGroupOK, 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 customer groups API client.

type CreateCustomerGroupOK

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

Success

func NewCreateCustomerGroupOK

func NewCreateCustomerGroupOK() *CreateCustomerGroupOK

NewCreateCustomerGroupOK creates a CreateCustomerGroupOK with default headers values

func (*CreateCustomerGroupOK) Error

func (o *CreateCustomerGroupOK) Error() string

func (*CreateCustomerGroupOK) GetPayload

type CreateCustomerGroupParams

type CreateCustomerGroupParams struct {

	/* Body.

	     An object containing the fields to POST for the request.

	See the corresponding object definition for field details.
	*/
	Body *models.CreateCustomerGroupRequest

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

CreateCustomerGroupParams contains all the parameters to send to the API endpoint

for the create customer group operation.

Typically these are written to a http.Request.

func NewCreateCustomerGroupParams

func NewCreateCustomerGroupParams() *CreateCustomerGroupParams

NewCreateCustomerGroupParams creates a new CreateCustomerGroupParams 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 NewCreateCustomerGroupParamsWithContext

func NewCreateCustomerGroupParamsWithContext(ctx context.Context) *CreateCustomerGroupParams

NewCreateCustomerGroupParamsWithContext creates a new CreateCustomerGroupParams object with the ability to set a context for a request.

func NewCreateCustomerGroupParamsWithHTTPClient

func NewCreateCustomerGroupParamsWithHTTPClient(client *http.Client) *CreateCustomerGroupParams

NewCreateCustomerGroupParamsWithHTTPClient creates a new CreateCustomerGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCustomerGroupParamsWithTimeout

func NewCreateCustomerGroupParamsWithTimeout(timeout time.Duration) *CreateCustomerGroupParams

NewCreateCustomerGroupParamsWithTimeout creates a new CreateCustomerGroupParams object with the ability to set a timeout on a request.

func (*CreateCustomerGroupParams) SetBody

SetBody adds the body to the create customer group params

func (*CreateCustomerGroupParams) SetContext

func (o *CreateCustomerGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the create customer group params

func (*CreateCustomerGroupParams) SetDefaults

func (o *CreateCustomerGroupParams) SetDefaults()

SetDefaults hydrates default values in the create customer group params (not the query body).

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

func (*CreateCustomerGroupParams) SetHTTPClient

func (o *CreateCustomerGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create customer group params

func (*CreateCustomerGroupParams) SetTimeout

func (o *CreateCustomerGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create customer group params

func (*CreateCustomerGroupParams) WithBody

WithBody adds the body to the create customer group params

func (*CreateCustomerGroupParams) WithContext

WithContext adds the context to the create customer group params

func (*CreateCustomerGroupParams) WithDefaults

WithDefaults hydrates default values in the create customer group params (not the query body).

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

func (*CreateCustomerGroupParams) WithHTTPClient

func (o *CreateCustomerGroupParams) WithHTTPClient(client *http.Client) *CreateCustomerGroupParams

WithHTTPClient adds the HTTPClient to the create customer group params

func (*CreateCustomerGroupParams) WithTimeout

WithTimeout adds the timeout to the create customer group params

func (*CreateCustomerGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCustomerGroupReader

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

CreateCustomerGroupReader is a Reader for the CreateCustomerGroup structure.

func (*CreateCustomerGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCustomerGroupOK

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

Success

func NewDeleteCustomerGroupOK

func NewDeleteCustomerGroupOK() *DeleteCustomerGroupOK

NewDeleteCustomerGroupOK creates a DeleteCustomerGroupOK with default headers values

func (*DeleteCustomerGroupOK) Error

func (o *DeleteCustomerGroupOK) Error() string

func (*DeleteCustomerGroupOK) GetPayload

type DeleteCustomerGroupParams

type DeleteCustomerGroupParams struct {

	/* GroupID.

	   The ID of the customer group to delete.
	*/
	GroupID string

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

DeleteCustomerGroupParams contains all the parameters to send to the API endpoint

for the delete customer group operation.

Typically these are written to a http.Request.

func NewDeleteCustomerGroupParams

func NewDeleteCustomerGroupParams() *DeleteCustomerGroupParams

NewDeleteCustomerGroupParams creates a new DeleteCustomerGroupParams 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 NewDeleteCustomerGroupParamsWithContext

func NewDeleteCustomerGroupParamsWithContext(ctx context.Context) *DeleteCustomerGroupParams

NewDeleteCustomerGroupParamsWithContext creates a new DeleteCustomerGroupParams object with the ability to set a context for a request.

func NewDeleteCustomerGroupParamsWithHTTPClient

func NewDeleteCustomerGroupParamsWithHTTPClient(client *http.Client) *DeleteCustomerGroupParams

NewDeleteCustomerGroupParamsWithHTTPClient creates a new DeleteCustomerGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCustomerGroupParamsWithTimeout

func NewDeleteCustomerGroupParamsWithTimeout(timeout time.Duration) *DeleteCustomerGroupParams

NewDeleteCustomerGroupParamsWithTimeout creates a new DeleteCustomerGroupParams object with the ability to set a timeout on a request.

func (*DeleteCustomerGroupParams) SetContext

func (o *DeleteCustomerGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the delete customer group params

func (*DeleteCustomerGroupParams) SetDefaults

func (o *DeleteCustomerGroupParams) SetDefaults()

SetDefaults hydrates default values in the delete customer group params (not the query body).

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

func (*DeleteCustomerGroupParams) SetGroupID

func (o *DeleteCustomerGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the delete customer group params

func (*DeleteCustomerGroupParams) SetHTTPClient

func (o *DeleteCustomerGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete customer group params

func (*DeleteCustomerGroupParams) SetTimeout

func (o *DeleteCustomerGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete customer group params

func (*DeleteCustomerGroupParams) WithContext

WithContext adds the context to the delete customer group params

func (*DeleteCustomerGroupParams) WithDefaults

WithDefaults hydrates default values in the delete customer group params (not the query body).

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

func (*DeleteCustomerGroupParams) WithGroupID

WithGroupID adds the groupID to the delete customer group params

func (*DeleteCustomerGroupParams) WithHTTPClient

func (o *DeleteCustomerGroupParams) WithHTTPClient(client *http.Client) *DeleteCustomerGroupParams

WithHTTPClient adds the HTTPClient to the delete customer group params

func (*DeleteCustomerGroupParams) WithTimeout

WithTimeout adds the timeout to the delete customer group params

func (*DeleteCustomerGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCustomerGroupReader

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

DeleteCustomerGroupReader is a Reader for the DeleteCustomerGroup structure.

func (*DeleteCustomerGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCustomerGroupsOK

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

Success

func NewListCustomerGroupsOK

func NewListCustomerGroupsOK() *ListCustomerGroupsOK

NewListCustomerGroupsOK creates a ListCustomerGroupsOK with default headers values

func (*ListCustomerGroupsOK) Error

func (o *ListCustomerGroupsOK) Error() string

func (*ListCustomerGroupsOK) GetPayload

type ListCustomerGroupsParams

type ListCustomerGroupsParams struct {

	/* Cursor.

	     A pagination cursor returned by a previous call to this endpoint.
	Provide this to retrieve the next set of results for your original query.

	See the [Pagination guide](https://developer.squareup.com/docs/working-with-apis/pagination) for more information.
	*/
	Cursor *string

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

ListCustomerGroupsParams contains all the parameters to send to the API endpoint

for the list customer groups operation.

Typically these are written to a http.Request.

func NewListCustomerGroupsParams

func NewListCustomerGroupsParams() *ListCustomerGroupsParams

NewListCustomerGroupsParams creates a new ListCustomerGroupsParams 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 NewListCustomerGroupsParamsWithContext

func NewListCustomerGroupsParamsWithContext(ctx context.Context) *ListCustomerGroupsParams

NewListCustomerGroupsParamsWithContext creates a new ListCustomerGroupsParams object with the ability to set a context for a request.

func NewListCustomerGroupsParamsWithHTTPClient

func NewListCustomerGroupsParamsWithHTTPClient(client *http.Client) *ListCustomerGroupsParams

NewListCustomerGroupsParamsWithHTTPClient creates a new ListCustomerGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewListCustomerGroupsParamsWithTimeout

func NewListCustomerGroupsParamsWithTimeout(timeout time.Duration) *ListCustomerGroupsParams

NewListCustomerGroupsParamsWithTimeout creates a new ListCustomerGroupsParams object with the ability to set a timeout on a request.

func (*ListCustomerGroupsParams) SetContext

func (o *ListCustomerGroupsParams) SetContext(ctx context.Context)

SetContext adds the context to the list customer groups params

func (*ListCustomerGroupsParams) SetCursor

func (o *ListCustomerGroupsParams) SetCursor(cursor *string)

SetCursor adds the cursor to the list customer groups params

func (*ListCustomerGroupsParams) SetDefaults

func (o *ListCustomerGroupsParams) SetDefaults()

SetDefaults hydrates default values in the list customer groups params (not the query body).

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

func (*ListCustomerGroupsParams) SetHTTPClient

func (o *ListCustomerGroupsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list customer groups params

func (*ListCustomerGroupsParams) SetTimeout

func (o *ListCustomerGroupsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list customer groups params

func (*ListCustomerGroupsParams) WithContext

WithContext adds the context to the list customer groups params

func (*ListCustomerGroupsParams) WithCursor

WithCursor adds the cursor to the list customer groups params

func (*ListCustomerGroupsParams) WithDefaults

WithDefaults hydrates default values in the list customer groups params (not the query body).

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

func (*ListCustomerGroupsParams) WithHTTPClient

func (o *ListCustomerGroupsParams) WithHTTPClient(client *http.Client) *ListCustomerGroupsParams

WithHTTPClient adds the HTTPClient to the list customer groups params

func (*ListCustomerGroupsParams) WithTimeout

WithTimeout adds the timeout to the list customer groups params

func (*ListCustomerGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListCustomerGroupsReader

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

ListCustomerGroupsReader is a Reader for the ListCustomerGroups structure.

func (*ListCustomerGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RetrieveCustomerGroupOK

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

Success

func NewRetrieveCustomerGroupOK

func NewRetrieveCustomerGroupOK() *RetrieveCustomerGroupOK

NewRetrieveCustomerGroupOK creates a RetrieveCustomerGroupOK with default headers values

func (*RetrieveCustomerGroupOK) Error

func (o *RetrieveCustomerGroupOK) Error() string

func (*RetrieveCustomerGroupOK) GetPayload

type RetrieveCustomerGroupParams

type RetrieveCustomerGroupParams struct {

	/* GroupID.

	   The ID of the customer group to retrieve.
	*/
	GroupID string

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

RetrieveCustomerGroupParams contains all the parameters to send to the API endpoint

for the retrieve customer group operation.

Typically these are written to a http.Request.

func NewRetrieveCustomerGroupParams

func NewRetrieveCustomerGroupParams() *RetrieveCustomerGroupParams

NewRetrieveCustomerGroupParams creates a new RetrieveCustomerGroupParams 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 NewRetrieveCustomerGroupParamsWithContext

func NewRetrieveCustomerGroupParamsWithContext(ctx context.Context) *RetrieveCustomerGroupParams

NewRetrieveCustomerGroupParamsWithContext creates a new RetrieveCustomerGroupParams object with the ability to set a context for a request.

func NewRetrieveCustomerGroupParamsWithHTTPClient

func NewRetrieveCustomerGroupParamsWithHTTPClient(client *http.Client) *RetrieveCustomerGroupParams

NewRetrieveCustomerGroupParamsWithHTTPClient creates a new RetrieveCustomerGroupParams object with the ability to set a custom HTTPClient for a request.

func NewRetrieveCustomerGroupParamsWithTimeout

func NewRetrieveCustomerGroupParamsWithTimeout(timeout time.Duration) *RetrieveCustomerGroupParams

NewRetrieveCustomerGroupParamsWithTimeout creates a new RetrieveCustomerGroupParams object with the ability to set a timeout on a request.

func (*RetrieveCustomerGroupParams) SetContext

func (o *RetrieveCustomerGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the retrieve customer group params

func (*RetrieveCustomerGroupParams) SetDefaults

func (o *RetrieveCustomerGroupParams) SetDefaults()

SetDefaults hydrates default values in the retrieve customer group params (not the query body).

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

func (*RetrieveCustomerGroupParams) SetGroupID

func (o *RetrieveCustomerGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the retrieve customer group params

func (*RetrieveCustomerGroupParams) SetHTTPClient

func (o *RetrieveCustomerGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the retrieve customer group params

func (*RetrieveCustomerGroupParams) SetTimeout

func (o *RetrieveCustomerGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the retrieve customer group params

func (*RetrieveCustomerGroupParams) WithContext

WithContext adds the context to the retrieve customer group params

func (*RetrieveCustomerGroupParams) WithDefaults

WithDefaults hydrates default values in the retrieve customer group params (not the query body).

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

func (*RetrieveCustomerGroupParams) WithGroupID

WithGroupID adds the groupID to the retrieve customer group params

func (*RetrieveCustomerGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve customer group params

func (*RetrieveCustomerGroupParams) WithTimeout

WithTimeout adds the timeout to the retrieve customer group params

func (*RetrieveCustomerGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveCustomerGroupReader

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

RetrieveCustomerGroupReader is a Reader for the RetrieveCustomerGroup structure.

func (*RetrieveCustomerGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCustomerGroupOK

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

Success

func NewUpdateCustomerGroupOK

func NewUpdateCustomerGroupOK() *UpdateCustomerGroupOK

NewUpdateCustomerGroupOK creates a UpdateCustomerGroupOK with default headers values

func (*UpdateCustomerGroupOK) Error

func (o *UpdateCustomerGroupOK) Error() string

func (*UpdateCustomerGroupOK) GetPayload

type UpdateCustomerGroupParams

type UpdateCustomerGroupParams struct {

	/* Body.

	     An object containing the fields to POST for the request.

	See the corresponding object definition for field details.
	*/
	Body *models.UpdateCustomerGroupRequest

	/* GroupID.

	   The ID of the customer group to update.
	*/
	GroupID string

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

UpdateCustomerGroupParams contains all the parameters to send to the API endpoint

for the update customer group operation.

Typically these are written to a http.Request.

func NewUpdateCustomerGroupParams

func NewUpdateCustomerGroupParams() *UpdateCustomerGroupParams

NewUpdateCustomerGroupParams creates a new UpdateCustomerGroupParams 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 NewUpdateCustomerGroupParamsWithContext

func NewUpdateCustomerGroupParamsWithContext(ctx context.Context) *UpdateCustomerGroupParams

NewUpdateCustomerGroupParamsWithContext creates a new UpdateCustomerGroupParams object with the ability to set a context for a request.

func NewUpdateCustomerGroupParamsWithHTTPClient

func NewUpdateCustomerGroupParamsWithHTTPClient(client *http.Client) *UpdateCustomerGroupParams

NewUpdateCustomerGroupParamsWithHTTPClient creates a new UpdateCustomerGroupParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCustomerGroupParamsWithTimeout

func NewUpdateCustomerGroupParamsWithTimeout(timeout time.Duration) *UpdateCustomerGroupParams

NewUpdateCustomerGroupParamsWithTimeout creates a new UpdateCustomerGroupParams object with the ability to set a timeout on a request.

func (*UpdateCustomerGroupParams) SetBody

SetBody adds the body to the update customer group params

func (*UpdateCustomerGroupParams) SetContext

func (o *UpdateCustomerGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the update customer group params

func (*UpdateCustomerGroupParams) SetDefaults

func (o *UpdateCustomerGroupParams) SetDefaults()

SetDefaults hydrates default values in the update customer group params (not the query body).

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

func (*UpdateCustomerGroupParams) SetGroupID

func (o *UpdateCustomerGroupParams) SetGroupID(groupID string)

SetGroupID adds the groupId to the update customer group params

func (*UpdateCustomerGroupParams) SetHTTPClient

func (o *UpdateCustomerGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update customer group params

func (*UpdateCustomerGroupParams) SetTimeout

func (o *UpdateCustomerGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update customer group params

func (*UpdateCustomerGroupParams) WithBody

WithBody adds the body to the update customer group params

func (*UpdateCustomerGroupParams) WithContext

WithContext adds the context to the update customer group params

func (*UpdateCustomerGroupParams) WithDefaults

WithDefaults hydrates default values in the update customer group params (not the query body).

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

func (*UpdateCustomerGroupParams) WithGroupID

WithGroupID adds the groupID to the update customer group params

func (*UpdateCustomerGroupParams) WithHTTPClient

func (o *UpdateCustomerGroupParams) WithHTTPClient(client *http.Client) *UpdateCustomerGroupParams

WithHTTPClient adds the HTTPClient to the update customer group params

func (*UpdateCustomerGroupParams) WithTimeout

WithTimeout adds the timeout to the update customer group params

func (*UpdateCustomerGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCustomerGroupReader

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

UpdateCustomerGroupReader is a Reader for the UpdateCustomerGroup structure.

func (*UpdateCustomerGroupReader) ReadResponse

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