discount_manager

package
v0.0.0-...-cc7b9bc Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 11 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 discount manager API

func (*Client) DiscountManagerCalculateCustomerDiscount

DiscountManagerCalculateCustomerDiscount 计算折扣s

func (*Client) DiscountManagerCreateCustomerDiscount

func (a *Client) DiscountManagerCreateCustomerDiscount(params *DiscountManagerCreateCustomerDiscountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DiscountManagerCreateCustomerDiscountOK, error)

DiscountManagerCreateCustomerDiscount 创建客户折扣s

func (*Client) DiscountManagerDeleteCustomerDiscounts

DiscountManagerDeleteCustomerDiscounts 删除客户折扣s

func (*Client) DiscountManagerDescribeCustomerDiscounts

DiscountManagerDescribeCustomerDiscounts 查询客户折扣列表s

func (*Client) DiscountManagerGetCustomerDiscount

func (a *Client) DiscountManagerGetCustomerDiscount(params *DiscountManagerGetCustomerDiscountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DiscountManagerGetCustomerDiscountOK, error)

DiscountManagerGetCustomerDiscount 查询单个客户折扣信息s

func (*Client) DiscountManagerModifyCustomerDiscount

func (a *Client) DiscountManagerModifyCustomerDiscount(params *DiscountManagerModifyCustomerDiscountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DiscountManagerModifyCustomerDiscountOK, error)

DiscountManagerModifyCustomerDiscount 修改客户折扣s

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

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new discount manager API client.

type DiscountManagerCalculateCustomerDiscountDefault

type DiscountManagerCalculateCustomerDiscountDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

DiscountManagerCalculateCustomerDiscountDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewDiscountManagerCalculateCustomerDiscountDefault

func NewDiscountManagerCalculateCustomerDiscountDefault(code int) *DiscountManagerCalculateCustomerDiscountDefault

NewDiscountManagerCalculateCustomerDiscountDefault creates a DiscountManagerCalculateCustomerDiscountDefault with default headers values

func (*DiscountManagerCalculateCustomerDiscountDefault) Code

Code gets the status code for the discount manager calculate customer discount default response

func (*DiscountManagerCalculateCustomerDiscountDefault) Error

func (*DiscountManagerCalculateCustomerDiscountDefault) GetPayload

func (*DiscountManagerCalculateCustomerDiscountDefault) IsClientError

IsClientError returns true when this discount manager calculate customer discount default response has a 4xx status code

func (*DiscountManagerCalculateCustomerDiscountDefault) IsCode

IsCode returns true when this discount manager calculate customer discount default response a status code equal to that given

func (*DiscountManagerCalculateCustomerDiscountDefault) IsRedirect

IsRedirect returns true when this discount manager calculate customer discount default response has a 3xx status code

func (*DiscountManagerCalculateCustomerDiscountDefault) IsServerError

IsServerError returns true when this discount manager calculate customer discount default response has a 5xx status code

func (*DiscountManagerCalculateCustomerDiscountDefault) IsSuccess

IsSuccess returns true when this discount manager calculate customer discount default response has a 2xx status code

func (*DiscountManagerCalculateCustomerDiscountDefault) String

type DiscountManagerCalculateCustomerDiscountOK

type DiscountManagerCalculateCustomerDiscountOK struct {
	Payload *models.NewbillingCalculateCustomerDiscountResponse
}

DiscountManagerCalculateCustomerDiscountOK describes a response with status code 200, with default header values.

A successful response.

func NewDiscountManagerCalculateCustomerDiscountOK

func NewDiscountManagerCalculateCustomerDiscountOK() *DiscountManagerCalculateCustomerDiscountOK

NewDiscountManagerCalculateCustomerDiscountOK creates a DiscountManagerCalculateCustomerDiscountOK with default headers values

func (*DiscountManagerCalculateCustomerDiscountOK) Error

func (*DiscountManagerCalculateCustomerDiscountOK) GetPayload

func (*DiscountManagerCalculateCustomerDiscountOK) IsClientError

IsClientError returns true when this discount manager calculate customer discount o k response has a 4xx status code

func (*DiscountManagerCalculateCustomerDiscountOK) IsCode

IsCode returns true when this discount manager calculate customer discount o k response a status code equal to that given

func (*DiscountManagerCalculateCustomerDiscountOK) IsRedirect

IsRedirect returns true when this discount manager calculate customer discount o k response has a 3xx status code

func (*DiscountManagerCalculateCustomerDiscountOK) IsServerError

IsServerError returns true when this discount manager calculate customer discount o k response has a 5xx status code

func (*DiscountManagerCalculateCustomerDiscountOK) IsSuccess

IsSuccess returns true when this discount manager calculate customer discount o k response has a 2xx status code

func (*DiscountManagerCalculateCustomerDiscountOK) String

type DiscountManagerCalculateCustomerDiscountParams

type DiscountManagerCalculateCustomerDiscountParams struct {

	// Body.
	Body *models.NewbillingCalculateCustomerDiscountRequest

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

DiscountManagerCalculateCustomerDiscountParams contains all the parameters to send to the API endpoint

for the discount manager calculate customer discount operation.

Typically these are written to a http.Request.

func NewDiscountManagerCalculateCustomerDiscountParams

func NewDiscountManagerCalculateCustomerDiscountParams() *DiscountManagerCalculateCustomerDiscountParams

NewDiscountManagerCalculateCustomerDiscountParams creates a new DiscountManagerCalculateCustomerDiscountParams 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 NewDiscountManagerCalculateCustomerDiscountParamsWithContext

func NewDiscountManagerCalculateCustomerDiscountParamsWithContext(ctx context.Context) *DiscountManagerCalculateCustomerDiscountParams

NewDiscountManagerCalculateCustomerDiscountParamsWithContext creates a new DiscountManagerCalculateCustomerDiscountParams object with the ability to set a context for a request.

func NewDiscountManagerCalculateCustomerDiscountParamsWithHTTPClient

func NewDiscountManagerCalculateCustomerDiscountParamsWithHTTPClient(client *http.Client) *DiscountManagerCalculateCustomerDiscountParams

NewDiscountManagerCalculateCustomerDiscountParamsWithHTTPClient creates a new DiscountManagerCalculateCustomerDiscountParams object with the ability to set a custom HTTPClient for a request.

func NewDiscountManagerCalculateCustomerDiscountParamsWithTimeout

func NewDiscountManagerCalculateCustomerDiscountParamsWithTimeout(timeout time.Duration) *DiscountManagerCalculateCustomerDiscountParams

NewDiscountManagerCalculateCustomerDiscountParamsWithTimeout creates a new DiscountManagerCalculateCustomerDiscountParams object with the ability to set a timeout on a request.

func (*DiscountManagerCalculateCustomerDiscountParams) SetBody

SetBody adds the body to the discount manager calculate customer discount params

func (*DiscountManagerCalculateCustomerDiscountParams) SetContext

SetContext adds the context to the discount manager calculate customer discount params

func (*DiscountManagerCalculateCustomerDiscountParams) SetDefaults

SetDefaults hydrates default values in the discount manager calculate customer discount params (not the query body).

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

func (*DiscountManagerCalculateCustomerDiscountParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the discount manager calculate customer discount params

func (*DiscountManagerCalculateCustomerDiscountParams) SetTimeout

SetTimeout adds the timeout to the discount manager calculate customer discount params

func (*DiscountManagerCalculateCustomerDiscountParams) WithBody

WithBody adds the body to the discount manager calculate customer discount params

func (*DiscountManagerCalculateCustomerDiscountParams) WithContext

WithContext adds the context to the discount manager calculate customer discount params

func (*DiscountManagerCalculateCustomerDiscountParams) WithDefaults

WithDefaults hydrates default values in the discount manager calculate customer discount params (not the query body).

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

func (*DiscountManagerCalculateCustomerDiscountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the discount manager calculate customer discount params

func (*DiscountManagerCalculateCustomerDiscountParams) WithTimeout

WithTimeout adds the timeout to the discount manager calculate customer discount params

func (*DiscountManagerCalculateCustomerDiscountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DiscountManagerCalculateCustomerDiscountReader

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

DiscountManagerCalculateCustomerDiscountReader is a Reader for the DiscountManagerCalculateCustomerDiscount structure.

func (*DiscountManagerCalculateCustomerDiscountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DiscountManagerCreateCustomerDiscountDefault

type DiscountManagerCreateCustomerDiscountDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

DiscountManagerCreateCustomerDiscountDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewDiscountManagerCreateCustomerDiscountDefault

func NewDiscountManagerCreateCustomerDiscountDefault(code int) *DiscountManagerCreateCustomerDiscountDefault

NewDiscountManagerCreateCustomerDiscountDefault creates a DiscountManagerCreateCustomerDiscountDefault with default headers values

func (*DiscountManagerCreateCustomerDiscountDefault) Code

Code gets the status code for the discount manager create customer discount default response

func (*DiscountManagerCreateCustomerDiscountDefault) Error

func (*DiscountManagerCreateCustomerDiscountDefault) GetPayload

func (*DiscountManagerCreateCustomerDiscountDefault) IsClientError

IsClientError returns true when this discount manager create customer discount default response has a 4xx status code

func (*DiscountManagerCreateCustomerDiscountDefault) IsCode

IsCode returns true when this discount manager create customer discount default response a status code equal to that given

func (*DiscountManagerCreateCustomerDiscountDefault) IsRedirect

IsRedirect returns true when this discount manager create customer discount default response has a 3xx status code

func (*DiscountManagerCreateCustomerDiscountDefault) IsServerError

IsServerError returns true when this discount manager create customer discount default response has a 5xx status code

func (*DiscountManagerCreateCustomerDiscountDefault) IsSuccess

IsSuccess returns true when this discount manager create customer discount default response has a 2xx status code

func (*DiscountManagerCreateCustomerDiscountDefault) String

type DiscountManagerCreateCustomerDiscountOK

type DiscountManagerCreateCustomerDiscountOK struct {
	Payload *models.NewbillingCreateCustomerDiscountResponse
}

DiscountManagerCreateCustomerDiscountOK describes a response with status code 200, with default header values.

A successful response.

func NewDiscountManagerCreateCustomerDiscountOK

func NewDiscountManagerCreateCustomerDiscountOK() *DiscountManagerCreateCustomerDiscountOK

NewDiscountManagerCreateCustomerDiscountOK creates a DiscountManagerCreateCustomerDiscountOK with default headers values

func (*DiscountManagerCreateCustomerDiscountOK) Error

func (*DiscountManagerCreateCustomerDiscountOK) GetPayload

func (*DiscountManagerCreateCustomerDiscountOK) IsClientError

func (o *DiscountManagerCreateCustomerDiscountOK) IsClientError() bool

IsClientError returns true when this discount manager create customer discount o k response has a 4xx status code

func (*DiscountManagerCreateCustomerDiscountOK) IsCode

IsCode returns true when this discount manager create customer discount o k response a status code equal to that given

func (*DiscountManagerCreateCustomerDiscountOK) IsRedirect

IsRedirect returns true when this discount manager create customer discount o k response has a 3xx status code

func (*DiscountManagerCreateCustomerDiscountOK) IsServerError

func (o *DiscountManagerCreateCustomerDiscountOK) IsServerError() bool

IsServerError returns true when this discount manager create customer discount o k response has a 5xx status code

func (*DiscountManagerCreateCustomerDiscountOK) IsSuccess

IsSuccess returns true when this discount manager create customer discount o k response has a 2xx status code

func (*DiscountManagerCreateCustomerDiscountOK) String

type DiscountManagerCreateCustomerDiscountParams

type DiscountManagerCreateCustomerDiscountParams struct {

	// Body.
	Body *models.NewbillingCreateCustomerDiscountRequest

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

DiscountManagerCreateCustomerDiscountParams contains all the parameters to send to the API endpoint

for the discount manager create customer discount operation.

Typically these are written to a http.Request.

func NewDiscountManagerCreateCustomerDiscountParams

func NewDiscountManagerCreateCustomerDiscountParams() *DiscountManagerCreateCustomerDiscountParams

NewDiscountManagerCreateCustomerDiscountParams creates a new DiscountManagerCreateCustomerDiscountParams 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 NewDiscountManagerCreateCustomerDiscountParamsWithContext

func NewDiscountManagerCreateCustomerDiscountParamsWithContext(ctx context.Context) *DiscountManagerCreateCustomerDiscountParams

NewDiscountManagerCreateCustomerDiscountParamsWithContext creates a new DiscountManagerCreateCustomerDiscountParams object with the ability to set a context for a request.

func NewDiscountManagerCreateCustomerDiscountParamsWithHTTPClient

func NewDiscountManagerCreateCustomerDiscountParamsWithHTTPClient(client *http.Client) *DiscountManagerCreateCustomerDiscountParams

NewDiscountManagerCreateCustomerDiscountParamsWithHTTPClient creates a new DiscountManagerCreateCustomerDiscountParams object with the ability to set a custom HTTPClient for a request.

func NewDiscountManagerCreateCustomerDiscountParamsWithTimeout

func NewDiscountManagerCreateCustomerDiscountParamsWithTimeout(timeout time.Duration) *DiscountManagerCreateCustomerDiscountParams

NewDiscountManagerCreateCustomerDiscountParamsWithTimeout creates a new DiscountManagerCreateCustomerDiscountParams object with the ability to set a timeout on a request.

func (*DiscountManagerCreateCustomerDiscountParams) SetBody

SetBody adds the body to the discount manager create customer discount params

func (*DiscountManagerCreateCustomerDiscountParams) SetContext

SetContext adds the context to the discount manager create customer discount params

func (*DiscountManagerCreateCustomerDiscountParams) SetDefaults

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

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

func (*DiscountManagerCreateCustomerDiscountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the discount manager create customer discount params

func (*DiscountManagerCreateCustomerDiscountParams) SetTimeout

SetTimeout adds the timeout to the discount manager create customer discount params

func (*DiscountManagerCreateCustomerDiscountParams) WithBody

WithBody adds the body to the discount manager create customer discount params

func (*DiscountManagerCreateCustomerDiscountParams) WithContext

WithContext adds the context to the discount manager create customer discount params

func (*DiscountManagerCreateCustomerDiscountParams) WithDefaults

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

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

func (*DiscountManagerCreateCustomerDiscountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the discount manager create customer discount params

func (*DiscountManagerCreateCustomerDiscountParams) WithTimeout

WithTimeout adds the timeout to the discount manager create customer discount params

func (*DiscountManagerCreateCustomerDiscountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DiscountManagerCreateCustomerDiscountReader

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

DiscountManagerCreateCustomerDiscountReader is a Reader for the DiscountManagerCreateCustomerDiscount structure.

func (*DiscountManagerCreateCustomerDiscountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DiscountManagerDeleteCustomerDiscountsDefault

type DiscountManagerDeleteCustomerDiscountsDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

DiscountManagerDeleteCustomerDiscountsDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewDiscountManagerDeleteCustomerDiscountsDefault

func NewDiscountManagerDeleteCustomerDiscountsDefault(code int) *DiscountManagerDeleteCustomerDiscountsDefault

NewDiscountManagerDeleteCustomerDiscountsDefault creates a DiscountManagerDeleteCustomerDiscountsDefault with default headers values

func (*DiscountManagerDeleteCustomerDiscountsDefault) Code

Code gets the status code for the discount manager delete customer discounts default response

func (*DiscountManagerDeleteCustomerDiscountsDefault) Error

func (*DiscountManagerDeleteCustomerDiscountsDefault) GetPayload

func (*DiscountManagerDeleteCustomerDiscountsDefault) IsClientError

IsClientError returns true when this discount manager delete customer discounts default response has a 4xx status code

func (*DiscountManagerDeleteCustomerDiscountsDefault) IsCode

IsCode returns true when this discount manager delete customer discounts default response a status code equal to that given

func (*DiscountManagerDeleteCustomerDiscountsDefault) IsRedirect

IsRedirect returns true when this discount manager delete customer discounts default response has a 3xx status code

func (*DiscountManagerDeleteCustomerDiscountsDefault) IsServerError

IsServerError returns true when this discount manager delete customer discounts default response has a 5xx status code

func (*DiscountManagerDeleteCustomerDiscountsDefault) IsSuccess

IsSuccess returns true when this discount manager delete customer discounts default response has a 2xx status code

func (*DiscountManagerDeleteCustomerDiscountsDefault) String

type DiscountManagerDeleteCustomerDiscountsOK

type DiscountManagerDeleteCustomerDiscountsOK struct {
	Payload *models.NewbillingDeleteCustomerDiscountsResponse
}

DiscountManagerDeleteCustomerDiscountsOK describes a response with status code 200, with default header values.

A successful response.

func NewDiscountManagerDeleteCustomerDiscountsOK

func NewDiscountManagerDeleteCustomerDiscountsOK() *DiscountManagerDeleteCustomerDiscountsOK

NewDiscountManagerDeleteCustomerDiscountsOK creates a DiscountManagerDeleteCustomerDiscountsOK with default headers values

func (*DiscountManagerDeleteCustomerDiscountsOK) Error

func (*DiscountManagerDeleteCustomerDiscountsOK) GetPayload

func (*DiscountManagerDeleteCustomerDiscountsOK) IsClientError

IsClientError returns true when this discount manager delete customer discounts o k response has a 4xx status code

func (*DiscountManagerDeleteCustomerDiscountsOK) IsCode

IsCode returns true when this discount manager delete customer discounts o k response a status code equal to that given

func (*DiscountManagerDeleteCustomerDiscountsOK) IsRedirect

IsRedirect returns true when this discount manager delete customer discounts o k response has a 3xx status code

func (*DiscountManagerDeleteCustomerDiscountsOK) IsServerError

IsServerError returns true when this discount manager delete customer discounts o k response has a 5xx status code

func (*DiscountManagerDeleteCustomerDiscountsOK) IsSuccess

IsSuccess returns true when this discount manager delete customer discounts o k response has a 2xx status code

func (*DiscountManagerDeleteCustomerDiscountsOK) String

type DiscountManagerDeleteCustomerDiscountsParams

type DiscountManagerDeleteCustomerDiscountsParams struct {

	// Body.
	Body *models.NewbillingDeleteCustomerDiscountsRequest

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

DiscountManagerDeleteCustomerDiscountsParams contains all the parameters to send to the API endpoint

for the discount manager delete customer discounts operation.

Typically these are written to a http.Request.

func NewDiscountManagerDeleteCustomerDiscountsParams

func NewDiscountManagerDeleteCustomerDiscountsParams() *DiscountManagerDeleteCustomerDiscountsParams

NewDiscountManagerDeleteCustomerDiscountsParams creates a new DiscountManagerDeleteCustomerDiscountsParams 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 NewDiscountManagerDeleteCustomerDiscountsParamsWithContext

func NewDiscountManagerDeleteCustomerDiscountsParamsWithContext(ctx context.Context) *DiscountManagerDeleteCustomerDiscountsParams

NewDiscountManagerDeleteCustomerDiscountsParamsWithContext creates a new DiscountManagerDeleteCustomerDiscountsParams object with the ability to set a context for a request.

func NewDiscountManagerDeleteCustomerDiscountsParamsWithHTTPClient

func NewDiscountManagerDeleteCustomerDiscountsParamsWithHTTPClient(client *http.Client) *DiscountManagerDeleteCustomerDiscountsParams

NewDiscountManagerDeleteCustomerDiscountsParamsWithHTTPClient creates a new DiscountManagerDeleteCustomerDiscountsParams object with the ability to set a custom HTTPClient for a request.

func NewDiscountManagerDeleteCustomerDiscountsParamsWithTimeout

func NewDiscountManagerDeleteCustomerDiscountsParamsWithTimeout(timeout time.Duration) *DiscountManagerDeleteCustomerDiscountsParams

NewDiscountManagerDeleteCustomerDiscountsParamsWithTimeout creates a new DiscountManagerDeleteCustomerDiscountsParams object with the ability to set a timeout on a request.

func (*DiscountManagerDeleteCustomerDiscountsParams) SetBody

SetBody adds the body to the discount manager delete customer discounts params

func (*DiscountManagerDeleteCustomerDiscountsParams) SetContext

SetContext adds the context to the discount manager delete customer discounts params

func (*DiscountManagerDeleteCustomerDiscountsParams) SetDefaults

SetDefaults hydrates default values in the discount manager delete customer discounts params (not the query body).

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

func (*DiscountManagerDeleteCustomerDiscountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the discount manager delete customer discounts params

func (*DiscountManagerDeleteCustomerDiscountsParams) SetTimeout

SetTimeout adds the timeout to the discount manager delete customer discounts params

func (*DiscountManagerDeleteCustomerDiscountsParams) WithBody

WithBody adds the body to the discount manager delete customer discounts params

func (*DiscountManagerDeleteCustomerDiscountsParams) WithContext

WithContext adds the context to the discount manager delete customer discounts params

func (*DiscountManagerDeleteCustomerDiscountsParams) WithDefaults

WithDefaults hydrates default values in the discount manager delete customer discounts params (not the query body).

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

func (*DiscountManagerDeleteCustomerDiscountsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the discount manager delete customer discounts params

func (*DiscountManagerDeleteCustomerDiscountsParams) WithTimeout

WithTimeout adds the timeout to the discount manager delete customer discounts params

func (*DiscountManagerDeleteCustomerDiscountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DiscountManagerDeleteCustomerDiscountsReader

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

DiscountManagerDeleteCustomerDiscountsReader is a Reader for the DiscountManagerDeleteCustomerDiscounts structure.

func (*DiscountManagerDeleteCustomerDiscountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DiscountManagerDescribeCustomerDiscountsDefault

type DiscountManagerDescribeCustomerDiscountsDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

DiscountManagerDescribeCustomerDiscountsDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewDiscountManagerDescribeCustomerDiscountsDefault

func NewDiscountManagerDescribeCustomerDiscountsDefault(code int) *DiscountManagerDescribeCustomerDiscountsDefault

NewDiscountManagerDescribeCustomerDiscountsDefault creates a DiscountManagerDescribeCustomerDiscountsDefault with default headers values

func (*DiscountManagerDescribeCustomerDiscountsDefault) Code

Code gets the status code for the discount manager describe customer discounts default response

func (*DiscountManagerDescribeCustomerDiscountsDefault) Error

func (*DiscountManagerDescribeCustomerDiscountsDefault) GetPayload

func (*DiscountManagerDescribeCustomerDiscountsDefault) IsClientError

IsClientError returns true when this discount manager describe customer discounts default response has a 4xx status code

func (*DiscountManagerDescribeCustomerDiscountsDefault) IsCode

IsCode returns true when this discount manager describe customer discounts default response a status code equal to that given

func (*DiscountManagerDescribeCustomerDiscountsDefault) IsRedirect

IsRedirect returns true when this discount manager describe customer discounts default response has a 3xx status code

func (*DiscountManagerDescribeCustomerDiscountsDefault) IsServerError

IsServerError returns true when this discount manager describe customer discounts default response has a 5xx status code

func (*DiscountManagerDescribeCustomerDiscountsDefault) IsSuccess

IsSuccess returns true when this discount manager describe customer discounts default response has a 2xx status code

func (*DiscountManagerDescribeCustomerDiscountsDefault) String

type DiscountManagerDescribeCustomerDiscountsOK

type DiscountManagerDescribeCustomerDiscountsOK struct {
	Payload *models.NewbillingDescribeCustomerDiscountsResponse
}

DiscountManagerDescribeCustomerDiscountsOK describes a response with status code 200, with default header values.

A successful response.

func NewDiscountManagerDescribeCustomerDiscountsOK

func NewDiscountManagerDescribeCustomerDiscountsOK() *DiscountManagerDescribeCustomerDiscountsOK

NewDiscountManagerDescribeCustomerDiscountsOK creates a DiscountManagerDescribeCustomerDiscountsOK with default headers values

func (*DiscountManagerDescribeCustomerDiscountsOK) Error

func (*DiscountManagerDescribeCustomerDiscountsOK) GetPayload

func (*DiscountManagerDescribeCustomerDiscountsOK) IsClientError

IsClientError returns true when this discount manager describe customer discounts o k response has a 4xx status code

func (*DiscountManagerDescribeCustomerDiscountsOK) IsCode

IsCode returns true when this discount manager describe customer discounts o k response a status code equal to that given

func (*DiscountManagerDescribeCustomerDiscountsOK) IsRedirect

IsRedirect returns true when this discount manager describe customer discounts o k response has a 3xx status code

func (*DiscountManagerDescribeCustomerDiscountsOK) IsServerError

IsServerError returns true when this discount manager describe customer discounts o k response has a 5xx status code

func (*DiscountManagerDescribeCustomerDiscountsOK) IsSuccess

IsSuccess returns true when this discount manager describe customer discounts o k response has a 2xx status code

func (*DiscountManagerDescribeCustomerDiscountsOK) String

type DiscountManagerDescribeCustomerDiscountsParams

type DiscountManagerDescribeCustomerDiscountsParams struct {

	/* AccessSysID.

	   接入系统ID.
	*/
	AccessSysID []string

	/* CustomerDiscountName.

	   产品折扣名称.
	*/
	CustomerDiscountName []string

	/* CustomerID.

	   客户ID.
	*/
	CustomerID []string

	/* Limit.

	   数据库查询每页大小 - 默认 20, 最大值 200.

	   Format: uint64
	*/
	Limit *string

	/* Offset.

	   数据库查询偏移位置 - 默认 0.

	   Format: uint64
	*/
	Offset *string

	/* Reverse.

	   是否倒序排序 - value = 0 sort ASC, value = 1 sort DESC.
	*/
	Reverse *bool

	/* SearchWord.

	   模糊查询关键字 - 支持字段:toadd.
	*/
	SearchWord *string

	/* SortKey.

	   排序字段 - 默认 create_time.
	*/
	SortKey *string

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

DiscountManagerDescribeCustomerDiscountsParams contains all the parameters to send to the API endpoint

for the discount manager describe customer discounts operation.

Typically these are written to a http.Request.

func NewDiscountManagerDescribeCustomerDiscountsParams

func NewDiscountManagerDescribeCustomerDiscountsParams() *DiscountManagerDescribeCustomerDiscountsParams

NewDiscountManagerDescribeCustomerDiscountsParams creates a new DiscountManagerDescribeCustomerDiscountsParams 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 NewDiscountManagerDescribeCustomerDiscountsParamsWithContext

func NewDiscountManagerDescribeCustomerDiscountsParamsWithContext(ctx context.Context) *DiscountManagerDescribeCustomerDiscountsParams

NewDiscountManagerDescribeCustomerDiscountsParamsWithContext creates a new DiscountManagerDescribeCustomerDiscountsParams object with the ability to set a context for a request.

func NewDiscountManagerDescribeCustomerDiscountsParamsWithHTTPClient

func NewDiscountManagerDescribeCustomerDiscountsParamsWithHTTPClient(client *http.Client) *DiscountManagerDescribeCustomerDiscountsParams

NewDiscountManagerDescribeCustomerDiscountsParamsWithHTTPClient creates a new DiscountManagerDescribeCustomerDiscountsParams object with the ability to set a custom HTTPClient for a request.

func NewDiscountManagerDescribeCustomerDiscountsParamsWithTimeout

func NewDiscountManagerDescribeCustomerDiscountsParamsWithTimeout(timeout time.Duration) *DiscountManagerDescribeCustomerDiscountsParams

NewDiscountManagerDescribeCustomerDiscountsParamsWithTimeout creates a new DiscountManagerDescribeCustomerDiscountsParams object with the ability to set a timeout on a request.

func (*DiscountManagerDescribeCustomerDiscountsParams) SetAccessSysID

func (o *DiscountManagerDescribeCustomerDiscountsParams) SetAccessSysID(accessSysID []string)

SetAccessSysID adds the accessSysId to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) SetContext

SetContext adds the context to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) SetCustomerDiscountName

func (o *DiscountManagerDescribeCustomerDiscountsParams) SetCustomerDiscountName(customerDiscountName []string)

SetCustomerDiscountName adds the customerDiscountName to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) SetCustomerID

func (o *DiscountManagerDescribeCustomerDiscountsParams) SetCustomerID(customerID []string)

SetCustomerID adds the customerId to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) SetDefaults

SetDefaults hydrates default values in the discount manager describe customer discounts params (not the query body).

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

func (*DiscountManagerDescribeCustomerDiscountsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) SetLimit

SetLimit adds the limit to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) SetOffset

SetOffset adds the offset to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) SetReverse

func (o *DiscountManagerDescribeCustomerDiscountsParams) SetReverse(reverse *bool)

SetReverse adds the reverse to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) SetSearchWord

func (o *DiscountManagerDescribeCustomerDiscountsParams) SetSearchWord(searchWord *string)

SetSearchWord adds the searchWord to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) SetSortKey

SetSortKey adds the sortKey to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) SetTimeout

SetTimeout adds the timeout to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) WithAccessSysID

WithAccessSysID adds the accessSysID to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) WithContext

WithContext adds the context to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) WithCustomerDiscountName

WithCustomerDiscountName adds the customerDiscountName to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) WithCustomerID

WithCustomerID adds the customerID to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) WithDefaults

WithDefaults hydrates default values in the discount manager describe customer discounts params (not the query body).

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

func (*DiscountManagerDescribeCustomerDiscountsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) WithLimit

WithLimit adds the limit to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) WithOffset

WithOffset adds the offset to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) WithReverse

WithReverse adds the reverse to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) WithSearchWord

WithSearchWord adds the searchWord to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) WithSortKey

WithSortKey adds the sortKey to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) WithTimeout

WithTimeout adds the timeout to the discount manager describe customer discounts params

func (*DiscountManagerDescribeCustomerDiscountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DiscountManagerDescribeCustomerDiscountsReader

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

DiscountManagerDescribeCustomerDiscountsReader is a Reader for the DiscountManagerDescribeCustomerDiscounts structure.

func (*DiscountManagerDescribeCustomerDiscountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DiscountManagerGetCustomerDiscountDefault

type DiscountManagerGetCustomerDiscountDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

DiscountManagerGetCustomerDiscountDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewDiscountManagerGetCustomerDiscountDefault

func NewDiscountManagerGetCustomerDiscountDefault(code int) *DiscountManagerGetCustomerDiscountDefault

NewDiscountManagerGetCustomerDiscountDefault creates a DiscountManagerGetCustomerDiscountDefault with default headers values

func (*DiscountManagerGetCustomerDiscountDefault) Code

Code gets the status code for the discount manager get customer discount default response

func (*DiscountManagerGetCustomerDiscountDefault) Error

func (*DiscountManagerGetCustomerDiscountDefault) GetPayload

func (*DiscountManagerGetCustomerDiscountDefault) IsClientError

IsClientError returns true when this discount manager get customer discount default response has a 4xx status code

func (*DiscountManagerGetCustomerDiscountDefault) IsCode

IsCode returns true when this discount manager get customer discount default response a status code equal to that given

func (*DiscountManagerGetCustomerDiscountDefault) IsRedirect

IsRedirect returns true when this discount manager get customer discount default response has a 3xx status code

func (*DiscountManagerGetCustomerDiscountDefault) IsServerError

IsServerError returns true when this discount manager get customer discount default response has a 5xx status code

func (*DiscountManagerGetCustomerDiscountDefault) IsSuccess

IsSuccess returns true when this discount manager get customer discount default response has a 2xx status code

func (*DiscountManagerGetCustomerDiscountDefault) String

type DiscountManagerGetCustomerDiscountOK

type DiscountManagerGetCustomerDiscountOK struct {
	Payload *models.NewbillingGetCustomerDiscountResponse
}

DiscountManagerGetCustomerDiscountOK describes a response with status code 200, with default header values.

A successful response.

func NewDiscountManagerGetCustomerDiscountOK

func NewDiscountManagerGetCustomerDiscountOK() *DiscountManagerGetCustomerDiscountOK

NewDiscountManagerGetCustomerDiscountOK creates a DiscountManagerGetCustomerDiscountOK with default headers values

func (*DiscountManagerGetCustomerDiscountOK) Error

func (*DiscountManagerGetCustomerDiscountOK) GetPayload

func (*DiscountManagerGetCustomerDiscountOK) IsClientError

func (o *DiscountManagerGetCustomerDiscountOK) IsClientError() bool

IsClientError returns true when this discount manager get customer discount o k response has a 4xx status code

func (*DiscountManagerGetCustomerDiscountOK) IsCode

IsCode returns true when this discount manager get customer discount o k response a status code equal to that given

func (*DiscountManagerGetCustomerDiscountOK) IsRedirect

IsRedirect returns true when this discount manager get customer discount o k response has a 3xx status code

func (*DiscountManagerGetCustomerDiscountOK) IsServerError

func (o *DiscountManagerGetCustomerDiscountOK) IsServerError() bool

IsServerError returns true when this discount manager get customer discount o k response has a 5xx status code

func (*DiscountManagerGetCustomerDiscountOK) IsSuccess

IsSuccess returns true when this discount manager get customer discount o k response has a 2xx status code

func (*DiscountManagerGetCustomerDiscountOK) String

type DiscountManagerGetCustomerDiscountParams

type DiscountManagerGetCustomerDiscountParams struct {

	/* CustomerDiscountID.

	   客户折扣ID
	*/
	CustomerDiscountID string

	/* ProdID.

	   产品ID.
	*/
	ProdID *string

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

DiscountManagerGetCustomerDiscountParams contains all the parameters to send to the API endpoint

for the discount manager get customer discount operation.

Typically these are written to a http.Request.

func NewDiscountManagerGetCustomerDiscountParams

func NewDiscountManagerGetCustomerDiscountParams() *DiscountManagerGetCustomerDiscountParams

NewDiscountManagerGetCustomerDiscountParams creates a new DiscountManagerGetCustomerDiscountParams 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 NewDiscountManagerGetCustomerDiscountParamsWithContext

func NewDiscountManagerGetCustomerDiscountParamsWithContext(ctx context.Context) *DiscountManagerGetCustomerDiscountParams

NewDiscountManagerGetCustomerDiscountParamsWithContext creates a new DiscountManagerGetCustomerDiscountParams object with the ability to set a context for a request.

func NewDiscountManagerGetCustomerDiscountParamsWithHTTPClient

func NewDiscountManagerGetCustomerDiscountParamsWithHTTPClient(client *http.Client) *DiscountManagerGetCustomerDiscountParams

NewDiscountManagerGetCustomerDiscountParamsWithHTTPClient creates a new DiscountManagerGetCustomerDiscountParams object with the ability to set a custom HTTPClient for a request.

func NewDiscountManagerGetCustomerDiscountParamsWithTimeout

func NewDiscountManagerGetCustomerDiscountParamsWithTimeout(timeout time.Duration) *DiscountManagerGetCustomerDiscountParams

NewDiscountManagerGetCustomerDiscountParamsWithTimeout creates a new DiscountManagerGetCustomerDiscountParams object with the ability to set a timeout on a request.

func (*DiscountManagerGetCustomerDiscountParams) SetContext

SetContext adds the context to the discount manager get customer discount params

func (*DiscountManagerGetCustomerDiscountParams) SetCustomerDiscountID

func (o *DiscountManagerGetCustomerDiscountParams) SetCustomerDiscountID(customerDiscountID string)

SetCustomerDiscountID adds the customerDiscountId to the discount manager get customer discount params

func (*DiscountManagerGetCustomerDiscountParams) SetDefaults

SetDefaults hydrates default values in the discount manager get customer discount params (not the query body).

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

func (*DiscountManagerGetCustomerDiscountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the discount manager get customer discount params

func (*DiscountManagerGetCustomerDiscountParams) SetProdID

func (o *DiscountManagerGetCustomerDiscountParams) SetProdID(prodID *string)

SetProdID adds the prodId to the discount manager get customer discount params

func (*DiscountManagerGetCustomerDiscountParams) SetTimeout

SetTimeout adds the timeout to the discount manager get customer discount params

func (*DiscountManagerGetCustomerDiscountParams) WithContext

WithContext adds the context to the discount manager get customer discount params

func (*DiscountManagerGetCustomerDiscountParams) WithCustomerDiscountID

func (o *DiscountManagerGetCustomerDiscountParams) WithCustomerDiscountID(customerDiscountID string) *DiscountManagerGetCustomerDiscountParams

WithCustomerDiscountID adds the customerDiscountID to the discount manager get customer discount params

func (*DiscountManagerGetCustomerDiscountParams) WithDefaults

WithDefaults hydrates default values in the discount manager get customer discount params (not the query body).

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

func (*DiscountManagerGetCustomerDiscountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the discount manager get customer discount params

func (*DiscountManagerGetCustomerDiscountParams) WithProdID

WithProdID adds the prodID to the discount manager get customer discount params

func (*DiscountManagerGetCustomerDiscountParams) WithTimeout

WithTimeout adds the timeout to the discount manager get customer discount params

func (*DiscountManagerGetCustomerDiscountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DiscountManagerGetCustomerDiscountReader

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

DiscountManagerGetCustomerDiscountReader is a Reader for the DiscountManagerGetCustomerDiscount structure.

func (*DiscountManagerGetCustomerDiscountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DiscountManagerModifyCustomerDiscountDefault

type DiscountManagerModifyCustomerDiscountDefault struct {
	Payload *models.RuntimeError
	// contains filtered or unexported fields
}

DiscountManagerModifyCustomerDiscountDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewDiscountManagerModifyCustomerDiscountDefault

func NewDiscountManagerModifyCustomerDiscountDefault(code int) *DiscountManagerModifyCustomerDiscountDefault

NewDiscountManagerModifyCustomerDiscountDefault creates a DiscountManagerModifyCustomerDiscountDefault with default headers values

func (*DiscountManagerModifyCustomerDiscountDefault) Code

Code gets the status code for the discount manager modify customer discount default response

func (*DiscountManagerModifyCustomerDiscountDefault) Error

func (*DiscountManagerModifyCustomerDiscountDefault) GetPayload

func (*DiscountManagerModifyCustomerDiscountDefault) IsClientError

IsClientError returns true when this discount manager modify customer discount default response has a 4xx status code

func (*DiscountManagerModifyCustomerDiscountDefault) IsCode

IsCode returns true when this discount manager modify customer discount default response a status code equal to that given

func (*DiscountManagerModifyCustomerDiscountDefault) IsRedirect

IsRedirect returns true when this discount manager modify customer discount default response has a 3xx status code

func (*DiscountManagerModifyCustomerDiscountDefault) IsServerError

IsServerError returns true when this discount manager modify customer discount default response has a 5xx status code

func (*DiscountManagerModifyCustomerDiscountDefault) IsSuccess

IsSuccess returns true when this discount manager modify customer discount default response has a 2xx status code

func (*DiscountManagerModifyCustomerDiscountDefault) String

type DiscountManagerModifyCustomerDiscountOK

type DiscountManagerModifyCustomerDiscountOK struct {
	Payload *models.NewbillingModifyCustomerDiscountResponse
}

DiscountManagerModifyCustomerDiscountOK describes a response with status code 200, with default header values.

A successful response.

func NewDiscountManagerModifyCustomerDiscountOK

func NewDiscountManagerModifyCustomerDiscountOK() *DiscountManagerModifyCustomerDiscountOK

NewDiscountManagerModifyCustomerDiscountOK creates a DiscountManagerModifyCustomerDiscountOK with default headers values

func (*DiscountManagerModifyCustomerDiscountOK) Error

func (*DiscountManagerModifyCustomerDiscountOK) GetPayload

func (*DiscountManagerModifyCustomerDiscountOK) IsClientError

func (o *DiscountManagerModifyCustomerDiscountOK) IsClientError() bool

IsClientError returns true when this discount manager modify customer discount o k response has a 4xx status code

func (*DiscountManagerModifyCustomerDiscountOK) IsCode

IsCode returns true when this discount manager modify customer discount o k response a status code equal to that given

func (*DiscountManagerModifyCustomerDiscountOK) IsRedirect

IsRedirect returns true when this discount manager modify customer discount o k response has a 3xx status code

func (*DiscountManagerModifyCustomerDiscountOK) IsServerError

func (o *DiscountManagerModifyCustomerDiscountOK) IsServerError() bool

IsServerError returns true when this discount manager modify customer discount o k response has a 5xx status code

func (*DiscountManagerModifyCustomerDiscountOK) IsSuccess

IsSuccess returns true when this discount manager modify customer discount o k response has a 2xx status code

func (*DiscountManagerModifyCustomerDiscountOK) String

type DiscountManagerModifyCustomerDiscountParams

type DiscountManagerModifyCustomerDiscountParams struct {

	// Body.
	Body *models.NewbillingModifyCustomerDiscountRequest

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

DiscountManagerModifyCustomerDiscountParams contains all the parameters to send to the API endpoint

for the discount manager modify customer discount operation.

Typically these are written to a http.Request.

func NewDiscountManagerModifyCustomerDiscountParams

func NewDiscountManagerModifyCustomerDiscountParams() *DiscountManagerModifyCustomerDiscountParams

NewDiscountManagerModifyCustomerDiscountParams creates a new DiscountManagerModifyCustomerDiscountParams 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 NewDiscountManagerModifyCustomerDiscountParamsWithContext

func NewDiscountManagerModifyCustomerDiscountParamsWithContext(ctx context.Context) *DiscountManagerModifyCustomerDiscountParams

NewDiscountManagerModifyCustomerDiscountParamsWithContext creates a new DiscountManagerModifyCustomerDiscountParams object with the ability to set a context for a request.

func NewDiscountManagerModifyCustomerDiscountParamsWithHTTPClient

func NewDiscountManagerModifyCustomerDiscountParamsWithHTTPClient(client *http.Client) *DiscountManagerModifyCustomerDiscountParams

NewDiscountManagerModifyCustomerDiscountParamsWithHTTPClient creates a new DiscountManagerModifyCustomerDiscountParams object with the ability to set a custom HTTPClient for a request.

func NewDiscountManagerModifyCustomerDiscountParamsWithTimeout

func NewDiscountManagerModifyCustomerDiscountParamsWithTimeout(timeout time.Duration) *DiscountManagerModifyCustomerDiscountParams

NewDiscountManagerModifyCustomerDiscountParamsWithTimeout creates a new DiscountManagerModifyCustomerDiscountParams object with the ability to set a timeout on a request.

func (*DiscountManagerModifyCustomerDiscountParams) SetBody

SetBody adds the body to the discount manager modify customer discount params

func (*DiscountManagerModifyCustomerDiscountParams) SetContext

SetContext adds the context to the discount manager modify customer discount params

func (*DiscountManagerModifyCustomerDiscountParams) SetDefaults

SetDefaults hydrates default values in the discount manager modify customer discount params (not the query body).

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

func (*DiscountManagerModifyCustomerDiscountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the discount manager modify customer discount params

func (*DiscountManagerModifyCustomerDiscountParams) SetTimeout

SetTimeout adds the timeout to the discount manager modify customer discount params

func (*DiscountManagerModifyCustomerDiscountParams) WithBody

WithBody adds the body to the discount manager modify customer discount params

func (*DiscountManagerModifyCustomerDiscountParams) WithContext

WithContext adds the context to the discount manager modify customer discount params

func (*DiscountManagerModifyCustomerDiscountParams) WithDefaults

WithDefaults hydrates default values in the discount manager modify customer discount params (not the query body).

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

func (*DiscountManagerModifyCustomerDiscountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the discount manager modify customer discount params

func (*DiscountManagerModifyCustomerDiscountParams) WithTimeout

WithTimeout adds the timeout to the discount manager modify customer discount params

func (*DiscountManagerModifyCustomerDiscountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DiscountManagerModifyCustomerDiscountReader

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

DiscountManagerModifyCustomerDiscountReader is a Reader for the DiscountManagerModifyCustomerDiscount structure.

func (*DiscountManagerModifyCustomerDiscountReader) ReadResponse

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