product_price

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 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 product price API

func (*Client) ProductProductPriceSearch

func (a *Client) ProductProductPriceSearch(params *ProductProductPriceSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProductProductPriceSearchOK, error)

ProductProductPriceSearch bs e t a find prices for a product only available for users that have activated the logistics logistics plus beta program in our customer account

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ProductProductPriceSearch(params *ProductProductPriceSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProductProductPriceSearchOK, 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 product price API client.

type ProductProductPriceSearchOK

type ProductProductPriceSearchOK struct {
	Payload *models.ListResponseProductPrice
}

ProductProductPriceSearchOK handles this case with default header values.

successful operation

func NewProductProductPriceSearchOK

func NewProductProductPriceSearchOK() *ProductProductPriceSearchOK

NewProductProductPriceSearchOK creates a ProductProductPriceSearchOK with default headers values

func (*ProductProductPriceSearchOK) Error

func (*ProductProductPriceSearchOK) GetPayload

type ProductProductPriceSearchParams

type ProductProductPriceSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*FromDate
	  From and including

	*/
	FromDate *string
	/*ProductID
	  Equals

	*/
	ProductID int32
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*ToDate
	  To and excluding

	*/
	ToDate *string

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

ProductProductPriceSearchParams contains all the parameters to send to the API endpoint for the product product price search operation typically these are written to a http.Request

func NewProductProductPriceSearchParams

func NewProductProductPriceSearchParams() *ProductProductPriceSearchParams

NewProductProductPriceSearchParams creates a new ProductProductPriceSearchParams object with the default values initialized.

func NewProductProductPriceSearchParamsWithContext

func NewProductProductPriceSearchParamsWithContext(ctx context.Context) *ProductProductPriceSearchParams

NewProductProductPriceSearchParamsWithContext creates a new ProductProductPriceSearchParams object with the default values initialized, and the ability to set a context for a request

func NewProductProductPriceSearchParamsWithHTTPClient

func NewProductProductPriceSearchParamsWithHTTPClient(client *http.Client) *ProductProductPriceSearchParams

NewProductProductPriceSearchParamsWithHTTPClient creates a new ProductProductPriceSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProductProductPriceSearchParamsWithTimeout

func NewProductProductPriceSearchParamsWithTimeout(timeout time.Duration) *ProductProductPriceSearchParams

NewProductProductPriceSearchParamsWithTimeout creates a new ProductProductPriceSearchParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProductProductPriceSearchParams) SetContext

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

SetContext adds the context to the product product price search params

func (*ProductProductPriceSearchParams) SetCount

func (o *ProductProductPriceSearchParams) SetCount(count *int64)

SetCount adds the count to the product product price search params

func (*ProductProductPriceSearchParams) SetFields

func (o *ProductProductPriceSearchParams) SetFields(fields *string)

SetFields adds the fields to the product product price search params

func (*ProductProductPriceSearchParams) SetFrom

func (o *ProductProductPriceSearchParams) SetFrom(from *int64)

SetFrom adds the from to the product product price search params

func (*ProductProductPriceSearchParams) SetFromDate

func (o *ProductProductPriceSearchParams) SetFromDate(fromDate *string)

SetFromDate adds the fromDate to the product product price search params

func (*ProductProductPriceSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the product product price search params

func (*ProductProductPriceSearchParams) SetProductID

func (o *ProductProductPriceSearchParams) SetProductID(productID int32)

SetProductID adds the productId to the product product price search params

func (*ProductProductPriceSearchParams) SetSorting

func (o *ProductProductPriceSearchParams) SetSorting(sorting *string)

SetSorting adds the sorting to the product product price search params

func (*ProductProductPriceSearchParams) SetTimeout

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

SetTimeout adds the timeout to the product product price search params

func (*ProductProductPriceSearchParams) SetToDate

func (o *ProductProductPriceSearchParams) SetToDate(toDate *string)

SetToDate adds the toDate to the product product price search params

func (*ProductProductPriceSearchParams) WithContext

WithContext adds the context to the product product price search params

func (*ProductProductPriceSearchParams) WithCount

WithCount adds the count to the product product price search params

func (*ProductProductPriceSearchParams) WithFields

WithFields adds the fields to the product product price search params

func (*ProductProductPriceSearchParams) WithFrom

WithFrom adds the from to the product product price search params

func (*ProductProductPriceSearchParams) WithFromDate

WithFromDate adds the fromDate to the product product price search params

func (*ProductProductPriceSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product product price search params

func (*ProductProductPriceSearchParams) WithProductID

WithProductID adds the productID to the product product price search params

func (*ProductProductPriceSearchParams) WithSorting

WithSorting adds the sorting to the product product price search params

func (*ProductProductPriceSearchParams) WithTimeout

WithTimeout adds the timeout to the product product price search params

func (*ProductProductPriceSearchParams) WithToDate

WithToDate adds the toDate to the product product price search params

func (*ProductProductPriceSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProductProductPriceSearchReader

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

ProductProductPriceSearchReader is a Reader for the ProductProductPriceSearch structure.

func (*ProductProductPriceSearchReader) ReadResponse

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