items

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchDeleteItemClassificationsBadRequest

type BatchDeleteItemClassificationsBadRequest struct {
}
BatchDeleteItemClassificationsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewBatchDeleteItemClassificationsBadRequest

func NewBatchDeleteItemClassificationsBadRequest() *BatchDeleteItemClassificationsBadRequest

NewBatchDeleteItemClassificationsBadRequest creates a BatchDeleteItemClassificationsBadRequest with default headers values

func (*BatchDeleteItemClassificationsBadRequest) Error

type BatchDeleteItemClassificationsNotFound

type BatchDeleteItemClassificationsNotFound struct {
}
BatchDeleteItemClassificationsNotFound describes a response with status code 404, with default header values.

Not Found

func NewBatchDeleteItemClassificationsNotFound

func NewBatchDeleteItemClassificationsNotFound() *BatchDeleteItemClassificationsNotFound

NewBatchDeleteItemClassificationsNotFound creates a BatchDeleteItemClassificationsNotFound with default headers values

func (*BatchDeleteItemClassificationsNotFound) Error

type BatchDeleteItemClassificationsOK

type BatchDeleteItemClassificationsOK struct {
	Payload []*models.ErrorDetail
}
BatchDeleteItemClassificationsOK describes a response with status code 200, with default header values.

Success

func NewBatchDeleteItemClassificationsOK

func NewBatchDeleteItemClassificationsOK() *BatchDeleteItemClassificationsOK

NewBatchDeleteItemClassificationsOK creates a BatchDeleteItemClassificationsOK with default headers values

func (*BatchDeleteItemClassificationsOK) Error

func (*BatchDeleteItemClassificationsOK) GetPayload

type BatchDeleteItemClassificationsParams

type BatchDeleteItemClassificationsParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The ID of the company that owns this item.

	   Format: int32
	*/
	CompanyID int32

	/* ItemID.

	   The ID of the item you wish to delete the classifications.

	   Format: int64
	*/
	ItemID int64

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

BatchDeleteItemClassificationsParams contains all the parameters to send to the API endpoint

for the batch delete item classifications operation.

Typically these are written to a http.Request.

func NewBatchDeleteItemClassificationsParams

func NewBatchDeleteItemClassificationsParams() *BatchDeleteItemClassificationsParams

NewBatchDeleteItemClassificationsParams creates a new BatchDeleteItemClassificationsParams 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 NewBatchDeleteItemClassificationsParamsWithContext

func NewBatchDeleteItemClassificationsParamsWithContext(ctx context.Context) *BatchDeleteItemClassificationsParams

NewBatchDeleteItemClassificationsParamsWithContext creates a new BatchDeleteItemClassificationsParams object with the ability to set a context for a request.

func NewBatchDeleteItemClassificationsParamsWithHTTPClient

func NewBatchDeleteItemClassificationsParamsWithHTTPClient(client *http.Client) *BatchDeleteItemClassificationsParams

NewBatchDeleteItemClassificationsParamsWithHTTPClient creates a new BatchDeleteItemClassificationsParams object with the ability to set a custom HTTPClient for a request.

func NewBatchDeleteItemClassificationsParamsWithTimeout

func NewBatchDeleteItemClassificationsParamsWithTimeout(timeout time.Duration) *BatchDeleteItemClassificationsParams

NewBatchDeleteItemClassificationsParamsWithTimeout creates a new BatchDeleteItemClassificationsParams object with the ability to set a timeout on a request.

func (*BatchDeleteItemClassificationsParams) SetCompanyID

func (o *BatchDeleteItemClassificationsParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the batch delete item classifications params

func (*BatchDeleteItemClassificationsParams) SetContext

SetContext adds the context to the batch delete item classifications params

func (*BatchDeleteItemClassificationsParams) SetDefaults

func (o *BatchDeleteItemClassificationsParams) SetDefaults()

SetDefaults hydrates default values in the batch delete item classifications params (not the query body).

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

func (*BatchDeleteItemClassificationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the batch delete item classifications params

func (*BatchDeleteItemClassificationsParams) SetItemID

func (o *BatchDeleteItemClassificationsParams) SetItemID(itemID int64)

SetItemID adds the itemId to the batch delete item classifications params

func (*BatchDeleteItemClassificationsParams) SetTimeout

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

SetTimeout adds the timeout to the batch delete item classifications params

func (*BatchDeleteItemClassificationsParams) SetXAvalaraClient

func (o *BatchDeleteItemClassificationsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the batch delete item classifications params

func (*BatchDeleteItemClassificationsParams) WithCompanyID

WithCompanyID adds the companyID to the batch delete item classifications params

func (*BatchDeleteItemClassificationsParams) WithContext

WithContext adds the context to the batch delete item classifications params

func (*BatchDeleteItemClassificationsParams) WithDefaults

WithDefaults hydrates default values in the batch delete item classifications params (not the query body).

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

func (*BatchDeleteItemClassificationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the batch delete item classifications params

func (*BatchDeleteItemClassificationsParams) WithItemID

WithItemID adds the itemID to the batch delete item classifications params

func (*BatchDeleteItemClassificationsParams) WithTimeout

WithTimeout adds the timeout to the batch delete item classifications params

func (*BatchDeleteItemClassificationsParams) WithXAvalaraClient

WithXAvalaraClient adds the xAvalaraClient to the batch delete item classifications params

func (*BatchDeleteItemClassificationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BatchDeleteItemClassificationsReader

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

BatchDeleteItemClassificationsReader is a Reader for the BatchDeleteItemClassifications structure.

func (*BatchDeleteItemClassificationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BatchDeleteItemClassificationsUnauthorized

type BatchDeleteItemClassificationsUnauthorized struct {
}
BatchDeleteItemClassificationsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewBatchDeleteItemClassificationsUnauthorized

func NewBatchDeleteItemClassificationsUnauthorized() *BatchDeleteItemClassificationsUnauthorized

NewBatchDeleteItemClassificationsUnauthorized creates a BatchDeleteItemClassificationsUnauthorized with default headers values

func (*BatchDeleteItemClassificationsUnauthorized) Error

type BatchDeleteItemParametersOK

type BatchDeleteItemParametersOK struct {
	Payload []*models.ErrorDetail
}
BatchDeleteItemParametersOK describes a response with status code 200, with default header values.

Success

func NewBatchDeleteItemParametersOK

func NewBatchDeleteItemParametersOK() *BatchDeleteItemParametersOK

NewBatchDeleteItemParametersOK creates a BatchDeleteItemParametersOK with default headers values

func (*BatchDeleteItemParametersOK) Error

func (*BatchDeleteItemParametersOK) GetPayload

func (o *BatchDeleteItemParametersOK) GetPayload() []*models.ErrorDetail

type BatchDeleteItemParametersParams

type BatchDeleteItemParametersParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The ID of the company that owns this item.

	   Format: int32
	*/
	CompanyID int32

	/* ItemID.

	   The ID of the item you wish to delete the parameters.

	   Format: int64
	*/
	ItemID int64

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

BatchDeleteItemParametersParams contains all the parameters to send to the API endpoint

for the batch delete item parameters operation.

Typically these are written to a http.Request.

func NewBatchDeleteItemParametersParams

func NewBatchDeleteItemParametersParams() *BatchDeleteItemParametersParams

NewBatchDeleteItemParametersParams creates a new BatchDeleteItemParametersParams 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 NewBatchDeleteItemParametersParamsWithContext

func NewBatchDeleteItemParametersParamsWithContext(ctx context.Context) *BatchDeleteItemParametersParams

NewBatchDeleteItemParametersParamsWithContext creates a new BatchDeleteItemParametersParams object with the ability to set a context for a request.

func NewBatchDeleteItemParametersParamsWithHTTPClient

func NewBatchDeleteItemParametersParamsWithHTTPClient(client *http.Client) *BatchDeleteItemParametersParams

NewBatchDeleteItemParametersParamsWithHTTPClient creates a new BatchDeleteItemParametersParams object with the ability to set a custom HTTPClient for a request.

func NewBatchDeleteItemParametersParamsWithTimeout

func NewBatchDeleteItemParametersParamsWithTimeout(timeout time.Duration) *BatchDeleteItemParametersParams

NewBatchDeleteItemParametersParamsWithTimeout creates a new BatchDeleteItemParametersParams object with the ability to set a timeout on a request.

func (*BatchDeleteItemParametersParams) SetCompanyID

func (o *BatchDeleteItemParametersParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the batch delete item parameters params

func (*BatchDeleteItemParametersParams) SetContext

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

SetContext adds the context to the batch delete item parameters params

func (*BatchDeleteItemParametersParams) SetDefaults

func (o *BatchDeleteItemParametersParams) SetDefaults()

SetDefaults hydrates default values in the batch delete item parameters params (not the query body).

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

func (*BatchDeleteItemParametersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the batch delete item parameters params

func (*BatchDeleteItemParametersParams) SetItemID

func (o *BatchDeleteItemParametersParams) SetItemID(itemID int64)

SetItemID adds the itemId to the batch delete item parameters params

func (*BatchDeleteItemParametersParams) SetTimeout

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

SetTimeout adds the timeout to the batch delete item parameters params

func (*BatchDeleteItemParametersParams) SetXAvalaraClient

func (o *BatchDeleteItemParametersParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the batch delete item parameters params

func (*BatchDeleteItemParametersParams) WithCompanyID

WithCompanyID adds the companyID to the batch delete item parameters params

func (*BatchDeleteItemParametersParams) WithContext

WithContext adds the context to the batch delete item parameters params

func (*BatchDeleteItemParametersParams) WithDefaults

WithDefaults hydrates default values in the batch delete item parameters params (not the query body).

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

func (*BatchDeleteItemParametersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the batch delete item parameters params

func (*BatchDeleteItemParametersParams) WithItemID

WithItemID adds the itemID to the batch delete item parameters params

func (*BatchDeleteItemParametersParams) WithTimeout

WithTimeout adds the timeout to the batch delete item parameters params

func (*BatchDeleteItemParametersParams) WithXAvalaraClient

func (o *BatchDeleteItemParametersParams) WithXAvalaraClient(xAvalaraClient *string) *BatchDeleteItemParametersParams

WithXAvalaraClient adds the xAvalaraClient to the batch delete item parameters params

func (*BatchDeleteItemParametersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BatchDeleteItemParametersReader

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

BatchDeleteItemParametersReader is a Reader for the BatchDeleteItemParameters structure.

func (*BatchDeleteItemParametersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkUploadItemsBadRequest

type BulkUploadItemsBadRequest struct {
}
BulkUploadItemsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewBulkUploadItemsBadRequest

func NewBulkUploadItemsBadRequest() *BulkUploadItemsBadRequest

NewBulkUploadItemsBadRequest creates a BulkUploadItemsBadRequest with default headers values

func (*BulkUploadItemsBadRequest) Error

func (o *BulkUploadItemsBadRequest) Error() string

type BulkUploadItemsNotFound

type BulkUploadItemsNotFound struct {
}
BulkUploadItemsNotFound describes a response with status code 404, with default header values.

Not Found

func NewBulkUploadItemsNotFound

func NewBulkUploadItemsNotFound() *BulkUploadItemsNotFound

NewBulkUploadItemsNotFound creates a BulkUploadItemsNotFound with default headers values

func (*BulkUploadItemsNotFound) Error

func (o *BulkUploadItemsNotFound) Error() string

type BulkUploadItemsOK

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

Success

func NewBulkUploadItemsOK

func NewBulkUploadItemsOK() *BulkUploadItemsOK

NewBulkUploadItemsOK creates a BulkUploadItemsOK with default headers values

func (*BulkUploadItemsOK) Error

func (o *BulkUploadItemsOK) Error() string

func (*BulkUploadItemsOK) GetPayload

type BulkUploadItemsParams

type BulkUploadItemsParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* Body.

	   The items you wish to upload.
	*/
	Body *models.ItemBulkUploadInputModel

	/* CompanyID.

	   The ID of the company that owns this items.

	   Format: int32
	*/
	CompanyID int32

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

BulkUploadItemsParams contains all the parameters to send to the API endpoint

for the bulk upload items operation.

Typically these are written to a http.Request.

func NewBulkUploadItemsParams

func NewBulkUploadItemsParams() *BulkUploadItemsParams

NewBulkUploadItemsParams creates a new BulkUploadItemsParams 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 NewBulkUploadItemsParamsWithContext

func NewBulkUploadItemsParamsWithContext(ctx context.Context) *BulkUploadItemsParams

NewBulkUploadItemsParamsWithContext creates a new BulkUploadItemsParams object with the ability to set a context for a request.

func NewBulkUploadItemsParamsWithHTTPClient

func NewBulkUploadItemsParamsWithHTTPClient(client *http.Client) *BulkUploadItemsParams

NewBulkUploadItemsParamsWithHTTPClient creates a new BulkUploadItemsParams object with the ability to set a custom HTTPClient for a request.

func NewBulkUploadItemsParamsWithTimeout

func NewBulkUploadItemsParamsWithTimeout(timeout time.Duration) *BulkUploadItemsParams

NewBulkUploadItemsParamsWithTimeout creates a new BulkUploadItemsParams object with the ability to set a timeout on a request.

func (*BulkUploadItemsParams) SetBody

SetBody adds the body to the bulk upload items params

func (*BulkUploadItemsParams) SetCompanyID

func (o *BulkUploadItemsParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the bulk upload items params

func (*BulkUploadItemsParams) SetContext

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

SetContext adds the context to the bulk upload items params

func (*BulkUploadItemsParams) SetDefaults

func (o *BulkUploadItemsParams) SetDefaults()

SetDefaults hydrates default values in the bulk upload items params (not the query body).

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

func (*BulkUploadItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk upload items params

func (*BulkUploadItemsParams) SetTimeout

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

SetTimeout adds the timeout to the bulk upload items params

func (*BulkUploadItemsParams) SetXAvalaraClient

func (o *BulkUploadItemsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the bulk upload items params

func (*BulkUploadItemsParams) WithBody

WithBody adds the body to the bulk upload items params

func (*BulkUploadItemsParams) WithCompanyID

func (o *BulkUploadItemsParams) WithCompanyID(companyID int32) *BulkUploadItemsParams

WithCompanyID adds the companyID to the bulk upload items params

func (*BulkUploadItemsParams) WithContext

WithContext adds the context to the bulk upload items params

func (*BulkUploadItemsParams) WithDefaults

func (o *BulkUploadItemsParams) WithDefaults() *BulkUploadItemsParams

WithDefaults hydrates default values in the bulk upload items params (not the query body).

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

func (*BulkUploadItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the bulk upload items params

func (*BulkUploadItemsParams) WithTimeout

func (o *BulkUploadItemsParams) WithTimeout(timeout time.Duration) *BulkUploadItemsParams

WithTimeout adds the timeout to the bulk upload items params

func (*BulkUploadItemsParams) WithXAvalaraClient

func (o *BulkUploadItemsParams) WithXAvalaraClient(xAvalaraClient *string) *BulkUploadItemsParams

WithXAvalaraClient adds the xAvalaraClient to the bulk upload items params

func (*BulkUploadItemsParams) WriteToRequest

func (o *BulkUploadItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type BulkUploadItemsReader

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

BulkUploadItemsReader is a Reader for the BulkUploadItems structure.

func (*BulkUploadItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkUploadItemsUnauthorized

type BulkUploadItemsUnauthorized struct {
}
BulkUploadItemsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewBulkUploadItemsUnauthorized

func NewBulkUploadItemsUnauthorized() *BulkUploadItemsUnauthorized

NewBulkUploadItemsUnauthorized creates a BulkUploadItemsUnauthorized with default headers values

func (*BulkUploadItemsUnauthorized) Error

type Client

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

Client for items API

func (*Client) BatchDeleteItemClassifications

func (a *Client) BatchDeleteItemClassifications(params *BatchDeleteItemClassificationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BatchDeleteItemClassificationsOK, error)
BatchDeleteItemClassifications deletes all classifications for an item

Delete all the classifications for a given item.

A classification is the code for a product in a particular tax system. Classifications enable an item to be used in multiple tax systems which may have different tax rates for a product.

When an item is used in a transaction, the applicable classification will be used to determine the appropriate tax rate.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) BatchDeleteItemParameters

func (a *Client) BatchDeleteItemParameters(params *BatchDeleteItemParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BatchDeleteItemParametersOK, error)
BatchDeleteItemParameters deletes all parameters for an item

Delete all the parameters for a given item.

Some items can be taxed differently depending on the properties of that item, such as the item grade or by a particular measurement of that item. In AvaTax, these tax-affecting properties are called "parameters".

A parameter added to an item will be used by default in tax calculation but will not show on the transaction line referencing the item .

A parameter specified on a transaction line will override an item parameter if they share the same parameter name.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) BulkUploadItems

func (a *Client) BulkUploadItems(params *BulkUploadItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BulkUploadItemsOK, error)
BulkUploadItems bulks upload items from a product catalog

Create/Update one or more item objects attached to this company.

Items are a way of separating your tax calculation process from your tax configuration details. If you choose, you can provide `itemCode` values for each `CreateTransaction()` API call rather than specifying tax codes, parameters, descriptions, and other data fields. AvaTax will automatically look up each `itemCode` and apply the correct tax codes and parameters from the item table instead. This allows your CreateTransaction call to be as simple as possible, and your tax compliance team can manage your item catalog and adjust the tax behavior of items without having to modify your software.

The tax code takes precedence over the tax code id if both are provided.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) CreateItemClassifications

func (a *Client) CreateItemClassifications(params *CreateItemClassificationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateItemClassificationsCreated, error)
CreateItemClassifications adds classifications to an item

Add classifications to an item.

A classification is the code for a product in a particular tax system. Classifications enable an item to be used in multiple tax systems which may have different tax rates for a product.

When an item is used in a transaction, the applicable classification will be used to determine the appropriate tax rate.

An item may only have one classification per tax system.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) CreateItemParameters

func (a *Client) CreateItemParameters(params *CreateItemParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateItemParametersCreated, error)
CreateItemParameters adds parameters to an item

Add parameters to an item.

Some items can be taxed differently depending on the properties of that item, such as the item grade or by a particular measurement of that item. In AvaTax, these tax-affecting properties are called "parameters".

A parameter added to an item will be used by default in tax calculation but will not show on the transaction line referencing the item .

A parameter specified on a transaction line will override an item parameter if they share the same parameter name.

To see available parameters for this item, call `/api/v2/definitions/parameters?$filter=attributeType eq Product`

Some parameters are only available for use if you have subscribed to specific AvaTax services. To see which parameters you are able to use, add the query parameter "$showSubscribed=true" to the parameter definition call above.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) CreateItemTags

func (a *Client) CreateItemTags(params *CreateItemTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateItemTagsCreated, error)
CreateItemTags creates tags for a item

Creates one or more new `Tag` objects attached to this Item.

Item tags puts multiple labels for an item. So that item can be easily grouped by these tags.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) CreateItems

func (a *Client) CreateItems(params *CreateItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateItemsOK, error)
CreateItems creates a new item

Creates one or more new item objects attached to this company.

Items are a way of separating your tax calculation process from your tax configuration details. If you choose, you can provide `itemCode` values for each `CreateTransaction()` API call rather than specifying tax codes, parameters, descriptions, and other data fields. AvaTax will automatically look up each `itemCode` and apply the correct tax codes and parameters from the item table instead. This allows your CreateTransaction call to be as simple as possible, and your tax compliance team can manage your item catalog and adjust the tax behavior of items without having to modify your software.

The tax code takes precedence over the tax code id if both are provided.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) DeleteItem

func (a *Client) DeleteItem(params *DeleteItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteItemOK, error)
DeleteItem deletes a single item

Deletes the item object at this URL.

Items are a way of separating your tax calculation process from your tax configuration details. If you choose, you can provide `itemCode` values for each `CreateTransaction()` API call rather than specifying tax codes, parameters, descriptions, and other data fields. AvaTax will automatically look up each `itemCode` and apply the correct tax codes and parameters from the item table instead. This allows your CreateTransaction call to be as simple as possible, and your tax compliance team can manage your item catalog and adjust the tax behavior of items without having to modify your software.

Deleting an item will also delete the parameters and classifications associated with that item.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) DeleteItemClassification

func (a *Client) DeleteItemClassification(params *DeleteItemClassificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteItemClassificationOK, error)
DeleteItemClassification deletes a single item classification

Delete a single item classification.

A classification is the code for a product in a particular tax system. Classifications enable an item to be used in multiple tax systems which may have different tax rates for a product.

When an item is used in a transaction, the applicable classification will be used to determine the appropriate tax rate.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) DeleteItemParameter

func (a *Client) DeleteItemParameter(params *DeleteItemParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteItemParameterOK, error)
DeleteItemParameter deletes a single item parameter

Delete a single item parameter.

Some items can be taxed differently depending on the properties of that item, such as the item grade or by a particular measurement of that item. In AvaTax, these tax-affecting properties are called "parameters".

A parameter added to an item will be used by default in tax calculation but will not show on the transaction line referencing the item .

A parameter specified on a transaction line will override an item parameter if they share the same parameter name.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) DeleteItemTag

func (a *Client) DeleteItemTag(params *DeleteItemTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteItemTagOK, error)
DeleteItemTag deletes item tag by id

Deletes the `Tag` object of an Item at this URL.

Item tags puts multiple labels for an item. So that item can be easily grouped by these tags.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) DeleteItemTags

func (a *Client) DeleteItemTags(params *DeleteItemTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteItemTagsOK, error)
DeleteItemTags deletes all item tags

Deletes all `Tags` objects of an Item at this URL.

Item tags puts multiple labels for an item. So that item can be easily grouped by these tags.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) GetItem

func (a *Client) GetItem(params *GetItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetItemOK, error)
GetItem retrieves a single item

Get the `Item` object identified by this URL.

Items are a way of separating your tax calculation process from your tax configuration details. If you choose, you can provide `itemCode` values for each `CreateTransaction()` API call rather than specifying tax codes, parameters, descriptions, and other data fields. AvaTax will automatically look up each `itemCode` and apply the correct tax codes and parameters from the item table instead. This allows your CreateTransaction call to be as simple as possible, and your tax compliance team can manage your item catalog and adjust the tax behavior of items without having to modify your software.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.

func (*Client) GetItemClassification

func (a *Client) GetItemClassification(params *GetItemClassificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetItemClassificationOK, error)
GetItemClassification retrieves a single item classification

Retrieve a single item classification.

A classification is the code for a product in a particular tax system. Classifications enable an item to be used in multiple tax systems which may have different tax rates for a product.

When an item is used in a transaction, the applicable classification will be used to determine the appropriate tax rate.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.

func (*Client) GetItemParameter

func (a *Client) GetItemParameter(params *GetItemParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetItemParameterOK, error)
GetItemParameter retrieves a single item parameter

Retrieve a single item parameter.

Some items can be taxed differently depending on the properties of that item, such as the item grade or by a particular measurement of that item. In AvaTax, these tax-affecting properties are called "parameters".

A parameter added to an item will be used by default in tax calculation but will not show on the transaction line referencing the item .

A parameter specified on a transaction line will override an item parameter if they share the same parameter name.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.

func (*Client) GetItemTags

func (a *Client) GetItemTags(params *GetItemTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetItemTagsOK, error)
GetItemTags retrieves tags for an item

Get the `Tag` objects of an Item identified by this URL.

Item tags puts multiple labels for an item. So that item can be easily grouped by these tags.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.

func (*Client) ListItemClassifications

func (a *Client) ListItemClassifications(params *ListItemClassificationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListItemClassificationsOK, error)
ListItemClassifications retrieves classifications for an item

List classifications for an item.

A classification is the code for a product in a particular tax system. Classifications enable an item to be used in multiple tax systems which may have different tax rates for a product.

When an item is used in a transaction, the applicable classification will be used to determine the appropriate tax rate.

Search for specific objects using the criteria in the `$filter` classification; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . Paginate your results using the `$top`, `$skip`, and `$orderby` classifications.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.

func (*Client) ListItemParameters

func (a *Client) ListItemParameters(params *ListItemParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListItemParametersOK, error)
ListItemParameters retrieves parameters for an item

List parameters for an item.

Some items can be taxed differently depending on the properties of that item, such as the item grade or by a particular measurement of that item. In AvaTax, these tax-affecting properties are called "parameters".

A parameter added to an item will be used by default in tax calculation but will not show on the transaction line referencing the item .

A parameter specified on a transaction line will override an item parameter if they share the same parameter name.

Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.

func (*Client) ListItemsByCompany

func (a *Client) ListItemsByCompany(params *ListItemsByCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListItemsByCompanyOK, error)
ListItemsByCompany retrieves items for this company

List all items defined for the current company.

Items are a way of separating your tax calculation process from your tax configuration details. If you choose, you can provide `itemCode` values for each `CreateTransaction()` API call rather than specifying tax codes, parameters, descriptions, and other data fields. AvaTax will automatically look up each `itemCode` and apply the correct tax codes and parameters from the item table instead. This allows your CreateTransaction call to be as simple as possible, and your tax compliance team can manage your item catalog and adjust the tax behavior of items without having to modify your software.

Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) .

Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.

You may specify Tag Name in the `tagName` query parameter if you want to filter items on the basis of tagName

You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:

* Parameters * Classifications * Tags

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.

func (*Client) QueryItems

func (a *Client) QueryItems(params *QueryItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryItemsOK, error)
QueryItems retrieves all items

Get multiple item objects across all companies.

Items are a way of separating your tax calculation process from your tax configuration details. If you choose, you can provide `itemCode` values for each `CreateTransaction()` API call rather than specifying tax codes, parameters, descriptions, and other data fields. AvaTax will automatically look up each `itemCode` and apply the correct tax codes and parameters from the item table instead. This allows your CreateTransaction call to be as simple as possible, and your tax compliance team can manage your item catalog and adjust the tax behavior of items without having to modify your software.

Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) .

Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.

func (*Client) QueryItemsByTag

func (a *Client) QueryItemsByTag(params *QueryItemsByTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryItemsByTagOK, error)
QueryItemsByTag retrieves all items associated with given tag

Get multiple item objects associated with given tag.

Items are a way of separating your tax calculation process from your tax configuration details. If you choose, you can provide `itemCode` values for each `CreateTransaction()` API call rather than specifying tax codes, parameters, descriptions, and other data fields. AvaTax will automatically look up each `itemCode` and apply the correct tax codes and parameters from the item table instead. This allows your CreateTransaction call to be as simple as possible, and your tax compliance team can manage your item catalog and adjust the tax behavior of items without having to modify your software.

Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) .

Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SyncItems

func (a *Client) SyncItems(params *SyncItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SyncItemsAccepted, error)
SyncItems syncs items from a product catalog

Syncs a list of items with AvaTax without waiting for them to be created. It is ideal for syncing large product catalogs

with AvaTax.

Any invalid or duplicate items will be ignored. To diagnose why an item is not created, use the normal create transaction API to receive validation information.

This API is currently limited to 1000 items per call (the limit is subject to change).

Items are a way of separating your tax calculation process from your tax configuration details. If you choose, you can provide `itemCode` values for each `CreateTransaction()` API call rather than specifying tax codes, parameters, descriptions, and other data fields. AvaTax will automatically look up each `itemCode` and apply the correct tax codes and parameters from the item table instead. This allows your CreateTransaction call to be as simple as possible, and your tax compliance team can manage your item catalog and adjust the tax behavior of items without having to modify your software.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) UpdateItem

func (a *Client) UpdateItem(params *UpdateItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateItemOK, error)
UpdateItem updates a single item

Replace the existing `Item` object at this URL with an updated object.

Items are a way of separating your tax calculation process from your tax configuration details. If you choose, you can provide `itemCode` values for each `CreateTransaction()` API call rather than specifying tax codes, parameters, descriptions, and other data fields. AvaTax will automatically look up each `itemCode` and apply the correct tax codes and parameters from the item table instead. This allows your CreateTransaction call to be as simple as possible, and your tax compliance team can manage your item catalog and adjust the tax behavior of items without having to modify your software.

All data from the existing object will be replaced with data in the object you PUT. To set a field's value to null, you may either set its value to null or omit that field from the object you post.

The tax code takes precedence over the tax code id if both are provided.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) UpdateItemClassification

func (a *Client) UpdateItemClassification(params *UpdateItemClassificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateItemClassificationOK, error)
UpdateItemClassification updates an item classification

Update an item classification.

A classification is the code for a product in a particular tax system. Classifications enable an item to be used in multiple tax systems which may have different tax rates for a product.

When an item is used in a transaction, the applicable classification will be used to determine the appropriate tax rate.

An item may only have one classification per tax system.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

func (*Client) UpdateItemParameter

func (a *Client) UpdateItemParameter(params *UpdateItemParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateItemParameterOK, error)
UpdateItemParameter updates an item parameter

Update an item parameter.

Some items can be taxed differently depending on the properties of that item, such as the item grade or by a particular measurement of that item. In AvaTax, these tax-affecting properties are called "parameters".

A parameter added to an item will be used by default in tax calculation but will not show on the transaction line referencing the item .

A parameter specified on a transaction line will override an item parameter if they share the same parameter name.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	BatchDeleteItemClassifications(params *BatchDeleteItemClassificationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BatchDeleteItemClassificationsOK, error)

	BatchDeleteItemParameters(params *BatchDeleteItemParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BatchDeleteItemParametersOK, error)

	BulkUploadItems(params *BulkUploadItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BulkUploadItemsOK, error)

	CreateItemClassifications(params *CreateItemClassificationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateItemClassificationsCreated, error)

	CreateItemParameters(params *CreateItemParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateItemParametersCreated, error)

	CreateItemTags(params *CreateItemTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateItemTagsCreated, error)

	CreateItems(params *CreateItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateItemsOK, error)

	DeleteItem(params *DeleteItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteItemOK, error)

	DeleteItemClassification(params *DeleteItemClassificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteItemClassificationOK, error)

	DeleteItemParameter(params *DeleteItemParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteItemParameterOK, error)

	DeleteItemTag(params *DeleteItemTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteItemTagOK, error)

	DeleteItemTags(params *DeleteItemTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteItemTagsOK, error)

	GetItem(params *GetItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetItemOK, error)

	GetItemClassification(params *GetItemClassificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetItemClassificationOK, error)

	GetItemParameter(params *GetItemParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetItemParameterOK, error)

	GetItemTags(params *GetItemTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetItemTagsOK, error)

	ListItemClassifications(params *ListItemClassificationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListItemClassificationsOK, error)

	ListItemParameters(params *ListItemParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListItemParametersOK, error)

	ListItemsByCompany(params *ListItemsByCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListItemsByCompanyOK, error)

	QueryItems(params *QueryItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryItemsOK, error)

	QueryItemsByTag(params *QueryItemsByTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryItemsByTagOK, error)

	SyncItems(params *SyncItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SyncItemsAccepted, error)

	UpdateItem(params *UpdateItemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateItemOK, error)

	UpdateItemClassification(params *UpdateItemClassificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateItemClassificationOK, error)

	UpdateItemParameter(params *UpdateItemParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateItemParameterOK, 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 items API client.

type CreateItemClassificationsBadRequest

type CreateItemClassificationsBadRequest struct {
}
CreateItemClassificationsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateItemClassificationsBadRequest

func NewCreateItemClassificationsBadRequest() *CreateItemClassificationsBadRequest

NewCreateItemClassificationsBadRequest creates a CreateItemClassificationsBadRequest with default headers values

func (*CreateItemClassificationsBadRequest) Error

type CreateItemClassificationsCreated

type CreateItemClassificationsCreated struct {
	Payload []*models.ItemClassificationOutputModel
}
CreateItemClassificationsCreated describes a response with status code 201, with default header values.

Success

func NewCreateItemClassificationsCreated

func NewCreateItemClassificationsCreated() *CreateItemClassificationsCreated

NewCreateItemClassificationsCreated creates a CreateItemClassificationsCreated with default headers values

func (*CreateItemClassificationsCreated) Error

func (*CreateItemClassificationsCreated) GetPayload

type CreateItemClassificationsNotFound

type CreateItemClassificationsNotFound struct {
}
CreateItemClassificationsNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateItemClassificationsNotFound

func NewCreateItemClassificationsNotFound() *CreateItemClassificationsNotFound

NewCreateItemClassificationsNotFound creates a CreateItemClassificationsNotFound with default headers values

func (*CreateItemClassificationsNotFound) Error

type CreateItemClassificationsParams

type CreateItemClassificationsParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* Body.

	   The item classifications you wish to create.
	*/
	Body []*models.ItemClassificationInputModel

	/* CompanyID.

	   The company id.

	   Format: int32
	*/
	CompanyID int32

	/* ItemID.

	   The item id.

	   Format: int64
	*/
	ItemID int64

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

CreateItemClassificationsParams contains all the parameters to send to the API endpoint

for the create item classifications operation.

Typically these are written to a http.Request.

func NewCreateItemClassificationsParams

func NewCreateItemClassificationsParams() *CreateItemClassificationsParams

NewCreateItemClassificationsParams creates a new CreateItemClassificationsParams 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 NewCreateItemClassificationsParamsWithContext

func NewCreateItemClassificationsParamsWithContext(ctx context.Context) *CreateItemClassificationsParams

NewCreateItemClassificationsParamsWithContext creates a new CreateItemClassificationsParams object with the ability to set a context for a request.

func NewCreateItemClassificationsParamsWithHTTPClient

func NewCreateItemClassificationsParamsWithHTTPClient(client *http.Client) *CreateItemClassificationsParams

NewCreateItemClassificationsParamsWithHTTPClient creates a new CreateItemClassificationsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateItemClassificationsParamsWithTimeout

func NewCreateItemClassificationsParamsWithTimeout(timeout time.Duration) *CreateItemClassificationsParams

NewCreateItemClassificationsParamsWithTimeout creates a new CreateItemClassificationsParams object with the ability to set a timeout on a request.

func (*CreateItemClassificationsParams) SetBody

SetBody adds the body to the create item classifications params

func (*CreateItemClassificationsParams) SetCompanyID

func (o *CreateItemClassificationsParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the create item classifications params

func (*CreateItemClassificationsParams) SetContext

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

SetContext adds the context to the create item classifications params

func (*CreateItemClassificationsParams) SetDefaults

func (o *CreateItemClassificationsParams) SetDefaults()

SetDefaults hydrates default values in the create item classifications params (not the query body).

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

func (*CreateItemClassificationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create item classifications params

func (*CreateItemClassificationsParams) SetItemID

func (o *CreateItemClassificationsParams) SetItemID(itemID int64)

SetItemID adds the itemId to the create item classifications params

func (*CreateItemClassificationsParams) SetTimeout

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

SetTimeout adds the timeout to the create item classifications params

func (*CreateItemClassificationsParams) SetXAvalaraClient

func (o *CreateItemClassificationsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the create item classifications params

func (*CreateItemClassificationsParams) WithBody

WithBody adds the body to the create item classifications params

func (*CreateItemClassificationsParams) WithCompanyID

WithCompanyID adds the companyID to the create item classifications params

func (*CreateItemClassificationsParams) WithContext

WithContext adds the context to the create item classifications params

func (*CreateItemClassificationsParams) WithDefaults

WithDefaults hydrates default values in the create item classifications params (not the query body).

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

func (*CreateItemClassificationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create item classifications params

func (*CreateItemClassificationsParams) WithItemID

WithItemID adds the itemID to the create item classifications params

func (*CreateItemClassificationsParams) WithTimeout

WithTimeout adds the timeout to the create item classifications params

func (*CreateItemClassificationsParams) WithXAvalaraClient

func (o *CreateItemClassificationsParams) WithXAvalaraClient(xAvalaraClient *string) *CreateItemClassificationsParams

WithXAvalaraClient adds the xAvalaraClient to the create item classifications params

func (*CreateItemClassificationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateItemClassificationsReader

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

CreateItemClassificationsReader is a Reader for the CreateItemClassifications structure.

func (*CreateItemClassificationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateItemClassificationsUnauthorized

type CreateItemClassificationsUnauthorized struct {
}
CreateItemClassificationsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateItemClassificationsUnauthorized

func NewCreateItemClassificationsUnauthorized() *CreateItemClassificationsUnauthorized

NewCreateItemClassificationsUnauthorized creates a CreateItemClassificationsUnauthorized with default headers values

func (*CreateItemClassificationsUnauthorized) Error

type CreateItemParametersBadRequest

type CreateItemParametersBadRequest struct {
}
CreateItemParametersBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateItemParametersBadRequest

func NewCreateItemParametersBadRequest() *CreateItemParametersBadRequest

NewCreateItemParametersBadRequest creates a CreateItemParametersBadRequest with default headers values

func (*CreateItemParametersBadRequest) Error

type CreateItemParametersCreated

type CreateItemParametersCreated struct {
	Payload []*models.ItemParameterModel
}
CreateItemParametersCreated describes a response with status code 201, with default header values.

Success

func NewCreateItemParametersCreated

func NewCreateItemParametersCreated() *CreateItemParametersCreated

NewCreateItemParametersCreated creates a CreateItemParametersCreated with default headers values

func (*CreateItemParametersCreated) Error

func (*CreateItemParametersCreated) GetPayload

type CreateItemParametersNotFound

type CreateItemParametersNotFound struct {
}
CreateItemParametersNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateItemParametersNotFound

func NewCreateItemParametersNotFound() *CreateItemParametersNotFound

NewCreateItemParametersNotFound creates a CreateItemParametersNotFound with default headers values

func (*CreateItemParametersNotFound) Error

type CreateItemParametersParams

type CreateItemParametersParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* Body.

	   The item parameters you wish to create.
	*/
	Body []*models.ItemParameterModel

	/* CompanyID.

	   The ID of the company that owns this item parameter.

	   Format: int32
	*/
	CompanyID int32

	/* ItemID.

	   The item id.

	   Format: int64
	*/
	ItemID int64

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

CreateItemParametersParams contains all the parameters to send to the API endpoint

for the create item parameters operation.

Typically these are written to a http.Request.

func NewCreateItemParametersParams

func NewCreateItemParametersParams() *CreateItemParametersParams

NewCreateItemParametersParams creates a new CreateItemParametersParams 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 NewCreateItemParametersParamsWithContext

func NewCreateItemParametersParamsWithContext(ctx context.Context) *CreateItemParametersParams

NewCreateItemParametersParamsWithContext creates a new CreateItemParametersParams object with the ability to set a context for a request.

func NewCreateItemParametersParamsWithHTTPClient

func NewCreateItemParametersParamsWithHTTPClient(client *http.Client) *CreateItemParametersParams

NewCreateItemParametersParamsWithHTTPClient creates a new CreateItemParametersParams object with the ability to set a custom HTTPClient for a request.

func NewCreateItemParametersParamsWithTimeout

func NewCreateItemParametersParamsWithTimeout(timeout time.Duration) *CreateItemParametersParams

NewCreateItemParametersParamsWithTimeout creates a new CreateItemParametersParams object with the ability to set a timeout on a request.

func (*CreateItemParametersParams) SetBody

SetBody adds the body to the create item parameters params

func (*CreateItemParametersParams) SetCompanyID

func (o *CreateItemParametersParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the create item parameters params

func (*CreateItemParametersParams) SetContext

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

SetContext adds the context to the create item parameters params

func (*CreateItemParametersParams) SetDefaults

func (o *CreateItemParametersParams) SetDefaults()

SetDefaults hydrates default values in the create item parameters params (not the query body).

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

func (*CreateItemParametersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create item parameters params

func (*CreateItemParametersParams) SetItemID

func (o *CreateItemParametersParams) SetItemID(itemID int64)

SetItemID adds the itemId to the create item parameters params

func (*CreateItemParametersParams) SetTimeout

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

SetTimeout adds the timeout to the create item parameters params

func (*CreateItemParametersParams) SetXAvalaraClient

func (o *CreateItemParametersParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the create item parameters params

func (*CreateItemParametersParams) WithBody

WithBody adds the body to the create item parameters params

func (*CreateItemParametersParams) WithCompanyID

func (o *CreateItemParametersParams) WithCompanyID(companyID int32) *CreateItemParametersParams

WithCompanyID adds the companyID to the create item parameters params

func (*CreateItemParametersParams) WithContext

WithContext adds the context to the create item parameters params

func (*CreateItemParametersParams) WithDefaults

WithDefaults hydrates default values in the create item parameters params (not the query body).

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

func (*CreateItemParametersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create item parameters params

func (*CreateItemParametersParams) WithItemID

WithItemID adds the itemID to the create item parameters params

func (*CreateItemParametersParams) WithTimeout

WithTimeout adds the timeout to the create item parameters params

func (*CreateItemParametersParams) WithXAvalaraClient

func (o *CreateItemParametersParams) WithXAvalaraClient(xAvalaraClient *string) *CreateItemParametersParams

WithXAvalaraClient adds the xAvalaraClient to the create item parameters params

func (*CreateItemParametersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateItemParametersReader

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

CreateItemParametersReader is a Reader for the CreateItemParameters structure.

func (*CreateItemParametersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateItemParametersUnauthorized

type CreateItemParametersUnauthorized struct {
}
CreateItemParametersUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateItemParametersUnauthorized

func NewCreateItemParametersUnauthorized() *CreateItemParametersUnauthorized

NewCreateItemParametersUnauthorized creates a CreateItemParametersUnauthorized with default headers values

func (*CreateItemParametersUnauthorized) Error

type CreateItemTagsBadRequest

type CreateItemTagsBadRequest struct {
}
CreateItemTagsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateItemTagsBadRequest

func NewCreateItemTagsBadRequest() *CreateItemTagsBadRequest

NewCreateItemTagsBadRequest creates a CreateItemTagsBadRequest with default headers values

func (*CreateItemTagsBadRequest) Error

func (o *CreateItemTagsBadRequest) Error() string

type CreateItemTagsCreated

type CreateItemTagsCreated struct {
	Payload []*models.ItemTagDetailModel
}
CreateItemTagsCreated describes a response with status code 201, with default header values.

Success

func NewCreateItemTagsCreated

func NewCreateItemTagsCreated() *CreateItemTagsCreated

NewCreateItemTagsCreated creates a CreateItemTagsCreated with default headers values

func (*CreateItemTagsCreated) Error

func (o *CreateItemTagsCreated) Error() string

func (*CreateItemTagsCreated) GetPayload

func (o *CreateItemTagsCreated) GetPayload() []*models.ItemTagDetailModel

type CreateItemTagsNotFound

type CreateItemTagsNotFound struct {
}
CreateItemTagsNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateItemTagsNotFound

func NewCreateItemTagsNotFound() *CreateItemTagsNotFound

NewCreateItemTagsNotFound creates a CreateItemTagsNotFound with default headers values

func (*CreateItemTagsNotFound) Error

func (o *CreateItemTagsNotFound) Error() string

type CreateItemTagsParams

type CreateItemTagsParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* Body.

	   Tags you wish to associate with the Item
	*/
	Body []*models.ItemTagDetailModel

	/* CompanyID.

	   The ID of the company that defined these items

	   Format: int32
	*/
	CompanyID int32

	/* ItemID.

	   The ID of the item as defined by the company that owns this tag.

	   Format: int32
	*/
	ItemID int32

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

CreateItemTagsParams contains all the parameters to send to the API endpoint

for the create item tags operation.

Typically these are written to a http.Request.

func NewCreateItemTagsParams

func NewCreateItemTagsParams() *CreateItemTagsParams

NewCreateItemTagsParams creates a new CreateItemTagsParams 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 NewCreateItemTagsParamsWithContext

func NewCreateItemTagsParamsWithContext(ctx context.Context) *CreateItemTagsParams

NewCreateItemTagsParamsWithContext creates a new CreateItemTagsParams object with the ability to set a context for a request.

func NewCreateItemTagsParamsWithHTTPClient

func NewCreateItemTagsParamsWithHTTPClient(client *http.Client) *CreateItemTagsParams

NewCreateItemTagsParamsWithHTTPClient creates a new CreateItemTagsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateItemTagsParamsWithTimeout

func NewCreateItemTagsParamsWithTimeout(timeout time.Duration) *CreateItemTagsParams

NewCreateItemTagsParamsWithTimeout creates a new CreateItemTagsParams object with the ability to set a timeout on a request.

func (*CreateItemTagsParams) SetBody

func (o *CreateItemTagsParams) SetBody(body []*models.ItemTagDetailModel)

SetBody adds the body to the create item tags params

func (*CreateItemTagsParams) SetCompanyID

func (o *CreateItemTagsParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the create item tags params

func (*CreateItemTagsParams) SetContext

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

SetContext adds the context to the create item tags params

func (*CreateItemTagsParams) SetDefaults

func (o *CreateItemTagsParams) SetDefaults()

SetDefaults hydrates default values in the create item tags params (not the query body).

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

func (*CreateItemTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create item tags params

func (*CreateItemTagsParams) SetItemID

func (o *CreateItemTagsParams) SetItemID(itemID int32)

SetItemID adds the itemId to the create item tags params

func (*CreateItemTagsParams) SetTimeout

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

SetTimeout adds the timeout to the create item tags params

func (*CreateItemTagsParams) SetXAvalaraClient

func (o *CreateItemTagsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the create item tags params

func (*CreateItemTagsParams) WithBody

WithBody adds the body to the create item tags params

func (*CreateItemTagsParams) WithCompanyID

func (o *CreateItemTagsParams) WithCompanyID(companyID int32) *CreateItemTagsParams

WithCompanyID adds the companyID to the create item tags params

func (*CreateItemTagsParams) WithContext

WithContext adds the context to the create item tags params

func (*CreateItemTagsParams) WithDefaults

func (o *CreateItemTagsParams) WithDefaults() *CreateItemTagsParams

WithDefaults hydrates default values in the create item tags params (not the query body).

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

func (*CreateItemTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create item tags params

func (*CreateItemTagsParams) WithItemID

func (o *CreateItemTagsParams) WithItemID(itemID int32) *CreateItemTagsParams

WithItemID adds the itemID to the create item tags params

func (*CreateItemTagsParams) WithTimeout

func (o *CreateItemTagsParams) WithTimeout(timeout time.Duration) *CreateItemTagsParams

WithTimeout adds the timeout to the create item tags params

func (*CreateItemTagsParams) WithXAvalaraClient

func (o *CreateItemTagsParams) WithXAvalaraClient(xAvalaraClient *string) *CreateItemTagsParams

WithXAvalaraClient adds the xAvalaraClient to the create item tags params

func (*CreateItemTagsParams) WriteToRequest

func (o *CreateItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateItemTagsReader

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

CreateItemTagsReader is a Reader for the CreateItemTags structure.

func (*CreateItemTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateItemTagsUnauthorized

type CreateItemTagsUnauthorized struct {
}
CreateItemTagsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateItemTagsUnauthorized

func NewCreateItemTagsUnauthorized() *CreateItemTagsUnauthorized

NewCreateItemTagsUnauthorized creates a CreateItemTagsUnauthorized with default headers values

func (*CreateItemTagsUnauthorized) Error

type CreateItemsBadRequest

type CreateItemsBadRequest struct {
}
CreateItemsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateItemsBadRequest

func NewCreateItemsBadRequest() *CreateItemsBadRequest

NewCreateItemsBadRequest creates a CreateItemsBadRequest with default headers values

func (*CreateItemsBadRequest) Error

func (o *CreateItemsBadRequest) Error() string

type CreateItemsNotFound

type CreateItemsNotFound struct {
}
CreateItemsNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateItemsNotFound

func NewCreateItemsNotFound() *CreateItemsNotFound

NewCreateItemsNotFound creates a CreateItemsNotFound with default headers values

func (*CreateItemsNotFound) Error

func (o *CreateItemsNotFound) Error() string

type CreateItemsOK

type CreateItemsOK struct {
	Payload []*models.ItemModel
}
CreateItemsOK describes a response with status code 200, with default header values.

Success

func NewCreateItemsOK

func NewCreateItemsOK() *CreateItemsOK

NewCreateItemsOK creates a CreateItemsOK with default headers values

func (*CreateItemsOK) Error

func (o *CreateItemsOK) Error() string

func (*CreateItemsOK) GetPayload

func (o *CreateItemsOK) GetPayload() []*models.ItemModel

type CreateItemsParams

type CreateItemsParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* Body.

	   The item you wish to create.
	*/
	Body []*models.ItemModel

	/* CompanyID.

	   The ID of the company that owns this item.

	   Format: int32
	*/
	CompanyID int32

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

CreateItemsParams contains all the parameters to send to the API endpoint

for the create items operation.

Typically these are written to a http.Request.

func NewCreateItemsParams

func NewCreateItemsParams() *CreateItemsParams

NewCreateItemsParams creates a new CreateItemsParams 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 NewCreateItemsParamsWithContext

func NewCreateItemsParamsWithContext(ctx context.Context) *CreateItemsParams

NewCreateItemsParamsWithContext creates a new CreateItemsParams object with the ability to set a context for a request.

func NewCreateItemsParamsWithHTTPClient

func NewCreateItemsParamsWithHTTPClient(client *http.Client) *CreateItemsParams

NewCreateItemsParamsWithHTTPClient creates a new CreateItemsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateItemsParamsWithTimeout

func NewCreateItemsParamsWithTimeout(timeout time.Duration) *CreateItemsParams

NewCreateItemsParamsWithTimeout creates a new CreateItemsParams object with the ability to set a timeout on a request.

func (*CreateItemsParams) SetBody

func (o *CreateItemsParams) SetBody(body []*models.ItemModel)

SetBody adds the body to the create items params

func (*CreateItemsParams) SetCompanyID

func (o *CreateItemsParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the create items params

func (*CreateItemsParams) SetContext

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

SetContext adds the context to the create items params

func (*CreateItemsParams) SetDefaults

func (o *CreateItemsParams) SetDefaults()

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

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

func (*CreateItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create items params

func (*CreateItemsParams) SetTimeout

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

SetTimeout adds the timeout to the create items params

func (*CreateItemsParams) SetXAvalaraClient

func (o *CreateItemsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the create items params

func (*CreateItemsParams) WithBody

func (o *CreateItemsParams) WithBody(body []*models.ItemModel) *CreateItemsParams

WithBody adds the body to the create items params

func (*CreateItemsParams) WithCompanyID

func (o *CreateItemsParams) WithCompanyID(companyID int32) *CreateItemsParams

WithCompanyID adds the companyID to the create items params

func (*CreateItemsParams) WithContext

func (o *CreateItemsParams) WithContext(ctx context.Context) *CreateItemsParams

WithContext adds the context to the create items params

func (*CreateItemsParams) WithDefaults

func (o *CreateItemsParams) WithDefaults() *CreateItemsParams

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

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

func (*CreateItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create items params

func (*CreateItemsParams) WithTimeout

func (o *CreateItemsParams) WithTimeout(timeout time.Duration) *CreateItemsParams

WithTimeout adds the timeout to the create items params

func (*CreateItemsParams) WithXAvalaraClient

func (o *CreateItemsParams) WithXAvalaraClient(xAvalaraClient *string) *CreateItemsParams

WithXAvalaraClient adds the xAvalaraClient to the create items params

func (*CreateItemsParams) WriteToRequest

func (o *CreateItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateItemsReader

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

CreateItemsReader is a Reader for the CreateItems structure.

func (*CreateItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateItemsUnauthorized

type CreateItemsUnauthorized struct {
}
CreateItemsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateItemsUnauthorized

func NewCreateItemsUnauthorized() *CreateItemsUnauthorized

NewCreateItemsUnauthorized creates a CreateItemsUnauthorized with default headers values

func (*CreateItemsUnauthorized) Error

func (o *CreateItemsUnauthorized) Error() string

type DeleteItemBadRequest

type DeleteItemBadRequest struct {
}
DeleteItemBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteItemBadRequest

func NewDeleteItemBadRequest() *DeleteItemBadRequest

NewDeleteItemBadRequest creates a DeleteItemBadRequest with default headers values

func (*DeleteItemBadRequest) Error

func (o *DeleteItemBadRequest) Error() string

type DeleteItemClassificationBadRequest

type DeleteItemClassificationBadRequest struct {
}
DeleteItemClassificationBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteItemClassificationBadRequest

func NewDeleteItemClassificationBadRequest() *DeleteItemClassificationBadRequest

NewDeleteItemClassificationBadRequest creates a DeleteItemClassificationBadRequest with default headers values

func (*DeleteItemClassificationBadRequest) Error

type DeleteItemClassificationNotFound

type DeleteItemClassificationNotFound struct {
}
DeleteItemClassificationNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteItemClassificationNotFound

func NewDeleteItemClassificationNotFound() *DeleteItemClassificationNotFound

NewDeleteItemClassificationNotFound creates a DeleteItemClassificationNotFound with default headers values

func (*DeleteItemClassificationNotFound) Error

type DeleteItemClassificationOK

type DeleteItemClassificationOK struct {
	Payload []*models.ErrorDetail
}
DeleteItemClassificationOK describes a response with status code 200, with default header values.

Success

func NewDeleteItemClassificationOK

func NewDeleteItemClassificationOK() *DeleteItemClassificationOK

NewDeleteItemClassificationOK creates a DeleteItemClassificationOK with default headers values

func (*DeleteItemClassificationOK) Error

func (*DeleteItemClassificationOK) GetPayload

func (o *DeleteItemClassificationOK) GetPayload() []*models.ErrorDetail

type DeleteItemClassificationParams

type DeleteItemClassificationParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The company id.

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The item classification id.

	   Format: int64
	*/
	ID int64

	/* ItemID.

	   The item id.

	   Format: int64
	*/
	ItemID int64

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

DeleteItemClassificationParams contains all the parameters to send to the API endpoint

for the delete item classification operation.

Typically these are written to a http.Request.

func NewDeleteItemClassificationParams

func NewDeleteItemClassificationParams() *DeleteItemClassificationParams

NewDeleteItemClassificationParams creates a new DeleteItemClassificationParams 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 NewDeleteItemClassificationParamsWithContext

func NewDeleteItemClassificationParamsWithContext(ctx context.Context) *DeleteItemClassificationParams

NewDeleteItemClassificationParamsWithContext creates a new DeleteItemClassificationParams object with the ability to set a context for a request.

func NewDeleteItemClassificationParamsWithHTTPClient

func NewDeleteItemClassificationParamsWithHTTPClient(client *http.Client) *DeleteItemClassificationParams

NewDeleteItemClassificationParamsWithHTTPClient creates a new DeleteItemClassificationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteItemClassificationParamsWithTimeout

func NewDeleteItemClassificationParamsWithTimeout(timeout time.Duration) *DeleteItemClassificationParams

NewDeleteItemClassificationParamsWithTimeout creates a new DeleteItemClassificationParams object with the ability to set a timeout on a request.

func (*DeleteItemClassificationParams) SetCompanyID

func (o *DeleteItemClassificationParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the delete item classification params

func (*DeleteItemClassificationParams) SetContext

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

SetContext adds the context to the delete item classification params

func (*DeleteItemClassificationParams) SetDefaults

func (o *DeleteItemClassificationParams) SetDefaults()

SetDefaults hydrates default values in the delete item classification params (not the query body).

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

func (*DeleteItemClassificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete item classification params

func (*DeleteItemClassificationParams) SetID

SetID adds the id to the delete item classification params

func (*DeleteItemClassificationParams) SetItemID

func (o *DeleteItemClassificationParams) SetItemID(itemID int64)

SetItemID adds the itemId to the delete item classification params

func (*DeleteItemClassificationParams) SetTimeout

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

SetTimeout adds the timeout to the delete item classification params

func (*DeleteItemClassificationParams) SetXAvalaraClient

func (o *DeleteItemClassificationParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the delete item classification params

func (*DeleteItemClassificationParams) WithCompanyID

WithCompanyID adds the companyID to the delete item classification params

func (*DeleteItemClassificationParams) WithContext

WithContext adds the context to the delete item classification params

func (*DeleteItemClassificationParams) WithDefaults

WithDefaults hydrates default values in the delete item classification params (not the query body).

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

func (*DeleteItemClassificationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete item classification params

func (*DeleteItemClassificationParams) WithID

WithID adds the id to the delete item classification params

func (*DeleteItemClassificationParams) WithItemID

WithItemID adds the itemID to the delete item classification params

func (*DeleteItemClassificationParams) WithTimeout

WithTimeout adds the timeout to the delete item classification params

func (*DeleteItemClassificationParams) WithXAvalaraClient

func (o *DeleteItemClassificationParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteItemClassificationParams

WithXAvalaraClient adds the xAvalaraClient to the delete item classification params

func (*DeleteItemClassificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteItemClassificationReader

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

DeleteItemClassificationReader is a Reader for the DeleteItemClassification structure.

func (*DeleteItemClassificationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteItemClassificationUnauthorized

type DeleteItemClassificationUnauthorized struct {
}
DeleteItemClassificationUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteItemClassificationUnauthorized

func NewDeleteItemClassificationUnauthorized() *DeleteItemClassificationUnauthorized

NewDeleteItemClassificationUnauthorized creates a DeleteItemClassificationUnauthorized with default headers values

func (*DeleteItemClassificationUnauthorized) Error

type DeleteItemNotFound

type DeleteItemNotFound struct {
}
DeleteItemNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteItemNotFound

func NewDeleteItemNotFound() *DeleteItemNotFound

NewDeleteItemNotFound creates a DeleteItemNotFound with default headers values

func (*DeleteItemNotFound) Error

func (o *DeleteItemNotFound) Error() string

type DeleteItemOK

type DeleteItemOK struct {
	Payload []*models.ErrorDetail
}
DeleteItemOK describes a response with status code 200, with default header values.

Success

func NewDeleteItemOK

func NewDeleteItemOK() *DeleteItemOK

NewDeleteItemOK creates a DeleteItemOK with default headers values

func (*DeleteItemOK) Error

func (o *DeleteItemOK) Error() string

func (*DeleteItemOK) GetPayload

func (o *DeleteItemOK) GetPayload() []*models.ErrorDetail

type DeleteItemParameterBadRequest

type DeleteItemParameterBadRequest struct {
}
DeleteItemParameterBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteItemParameterBadRequest

func NewDeleteItemParameterBadRequest() *DeleteItemParameterBadRequest

NewDeleteItemParameterBadRequest creates a DeleteItemParameterBadRequest with default headers values

func (*DeleteItemParameterBadRequest) Error

type DeleteItemParameterNotFound

type DeleteItemParameterNotFound struct {
}
DeleteItemParameterNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteItemParameterNotFound

func NewDeleteItemParameterNotFound() *DeleteItemParameterNotFound

NewDeleteItemParameterNotFound creates a DeleteItemParameterNotFound with default headers values

func (*DeleteItemParameterNotFound) Error

type DeleteItemParameterOK

type DeleteItemParameterOK struct {
	Payload []*models.ErrorDetail
}
DeleteItemParameterOK describes a response with status code 200, with default header values.

Success

func NewDeleteItemParameterOK

func NewDeleteItemParameterOK() *DeleteItemParameterOK

NewDeleteItemParameterOK creates a DeleteItemParameterOK with default headers values

func (*DeleteItemParameterOK) Error

func (o *DeleteItemParameterOK) Error() string

func (*DeleteItemParameterOK) GetPayload

func (o *DeleteItemParameterOK) GetPayload() []*models.ErrorDetail

type DeleteItemParameterParams

type DeleteItemParameterParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The company id

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The parameter id

	   Format: int64
	*/
	ID int64

	/* ItemID.

	   The item id

	   Format: int64
	*/
	ItemID int64

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

DeleteItemParameterParams contains all the parameters to send to the API endpoint

for the delete item parameter operation.

Typically these are written to a http.Request.

func NewDeleteItemParameterParams

func NewDeleteItemParameterParams() *DeleteItemParameterParams

NewDeleteItemParameterParams creates a new DeleteItemParameterParams 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 NewDeleteItemParameterParamsWithContext

func NewDeleteItemParameterParamsWithContext(ctx context.Context) *DeleteItemParameterParams

NewDeleteItemParameterParamsWithContext creates a new DeleteItemParameterParams object with the ability to set a context for a request.

func NewDeleteItemParameterParamsWithHTTPClient

func NewDeleteItemParameterParamsWithHTTPClient(client *http.Client) *DeleteItemParameterParams

NewDeleteItemParameterParamsWithHTTPClient creates a new DeleteItemParameterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteItemParameterParamsWithTimeout

func NewDeleteItemParameterParamsWithTimeout(timeout time.Duration) *DeleteItemParameterParams

NewDeleteItemParameterParamsWithTimeout creates a new DeleteItemParameterParams object with the ability to set a timeout on a request.

func (*DeleteItemParameterParams) SetCompanyID

func (o *DeleteItemParameterParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the delete item parameter params

func (*DeleteItemParameterParams) SetContext

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

SetContext adds the context to the delete item parameter params

func (*DeleteItemParameterParams) SetDefaults

func (o *DeleteItemParameterParams) SetDefaults()

SetDefaults hydrates default values in the delete item parameter params (not the query body).

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

func (*DeleteItemParameterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete item parameter params

func (*DeleteItemParameterParams) SetID

func (o *DeleteItemParameterParams) SetID(id int64)

SetID adds the id to the delete item parameter params

func (*DeleteItemParameterParams) SetItemID

func (o *DeleteItemParameterParams) SetItemID(itemID int64)

SetItemID adds the itemId to the delete item parameter params

func (*DeleteItemParameterParams) SetTimeout

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

SetTimeout adds the timeout to the delete item parameter params

func (*DeleteItemParameterParams) SetXAvalaraClient

func (o *DeleteItemParameterParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the delete item parameter params

func (*DeleteItemParameterParams) WithCompanyID

func (o *DeleteItemParameterParams) WithCompanyID(companyID int32) *DeleteItemParameterParams

WithCompanyID adds the companyID to the delete item parameter params

func (*DeleteItemParameterParams) WithContext

WithContext adds the context to the delete item parameter params

func (*DeleteItemParameterParams) WithDefaults

WithDefaults hydrates default values in the delete item parameter params (not the query body).

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

func (*DeleteItemParameterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete item parameter params

func (*DeleteItemParameterParams) WithID

WithID adds the id to the delete item parameter params

func (*DeleteItemParameterParams) WithItemID

WithItemID adds the itemID to the delete item parameter params

func (*DeleteItemParameterParams) WithTimeout

WithTimeout adds the timeout to the delete item parameter params

func (*DeleteItemParameterParams) WithXAvalaraClient

func (o *DeleteItemParameterParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteItemParameterParams

WithXAvalaraClient adds the xAvalaraClient to the delete item parameter params

func (*DeleteItemParameterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteItemParameterReader

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

DeleteItemParameterReader is a Reader for the DeleteItemParameter structure.

func (*DeleteItemParameterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteItemParameterUnauthorized

type DeleteItemParameterUnauthorized struct {
}
DeleteItemParameterUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteItemParameterUnauthorized

func NewDeleteItemParameterUnauthorized() *DeleteItemParameterUnauthorized

NewDeleteItemParameterUnauthorized creates a DeleteItemParameterUnauthorized with default headers values

func (*DeleteItemParameterUnauthorized) Error

type DeleteItemParams

type DeleteItemParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The ID of the company that owns this item.

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The ID of the item you wish to delete.

	   Format: int64
	*/
	ID int64

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

DeleteItemParams contains all the parameters to send to the API endpoint

for the delete item operation.

Typically these are written to a http.Request.

func NewDeleteItemParams

func NewDeleteItemParams() *DeleteItemParams

NewDeleteItemParams creates a new DeleteItemParams 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 NewDeleteItemParamsWithContext

func NewDeleteItemParamsWithContext(ctx context.Context) *DeleteItemParams

NewDeleteItemParamsWithContext creates a new DeleteItemParams object with the ability to set a context for a request.

func NewDeleteItemParamsWithHTTPClient

func NewDeleteItemParamsWithHTTPClient(client *http.Client) *DeleteItemParams

NewDeleteItemParamsWithHTTPClient creates a new DeleteItemParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteItemParamsWithTimeout

func NewDeleteItemParamsWithTimeout(timeout time.Duration) *DeleteItemParams

NewDeleteItemParamsWithTimeout creates a new DeleteItemParams object with the ability to set a timeout on a request.

func (*DeleteItemParams) SetCompanyID

func (o *DeleteItemParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the delete item params

func (*DeleteItemParams) SetContext

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

SetContext adds the context to the delete item params

func (*DeleteItemParams) SetDefaults

func (o *DeleteItemParams) SetDefaults()

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

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

func (*DeleteItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete item params

func (*DeleteItemParams) SetID

func (o *DeleteItemParams) SetID(id int64)

SetID adds the id to the delete item params

func (*DeleteItemParams) SetTimeout

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

SetTimeout adds the timeout to the delete item params

func (*DeleteItemParams) SetXAvalaraClient

func (o *DeleteItemParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the delete item params

func (*DeleteItemParams) WithCompanyID

func (o *DeleteItemParams) WithCompanyID(companyID int32) *DeleteItemParams

WithCompanyID adds the companyID to the delete item params

func (*DeleteItemParams) WithContext

func (o *DeleteItemParams) WithContext(ctx context.Context) *DeleteItemParams

WithContext adds the context to the delete item params

func (*DeleteItemParams) WithDefaults

func (o *DeleteItemParams) WithDefaults() *DeleteItemParams

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

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

func (*DeleteItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete item params

func (*DeleteItemParams) WithID

func (o *DeleteItemParams) WithID(id int64) *DeleteItemParams

WithID adds the id to the delete item params

func (*DeleteItemParams) WithTimeout

func (o *DeleteItemParams) WithTimeout(timeout time.Duration) *DeleteItemParams

WithTimeout adds the timeout to the delete item params

func (*DeleteItemParams) WithXAvalaraClient

func (o *DeleteItemParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteItemParams

WithXAvalaraClient adds the xAvalaraClient to the delete item params

func (*DeleteItemParams) WriteToRequest

func (o *DeleteItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteItemReader

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

DeleteItemReader is a Reader for the DeleteItem structure.

func (*DeleteItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteItemTagBadRequest

type DeleteItemTagBadRequest struct {
}
DeleteItemTagBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteItemTagBadRequest

func NewDeleteItemTagBadRequest() *DeleteItemTagBadRequest

NewDeleteItemTagBadRequest creates a DeleteItemTagBadRequest with default headers values

func (*DeleteItemTagBadRequest) Error

func (o *DeleteItemTagBadRequest) Error() string

type DeleteItemTagNotFound

type DeleteItemTagNotFound struct {
}
DeleteItemTagNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteItemTagNotFound

func NewDeleteItemTagNotFound() *DeleteItemTagNotFound

NewDeleteItemTagNotFound creates a DeleteItemTagNotFound with default headers values

func (*DeleteItemTagNotFound) Error

func (o *DeleteItemTagNotFound) Error() string

type DeleteItemTagOK

type DeleteItemTagOK struct {
	Payload []*models.ErrorDetail
}
DeleteItemTagOK describes a response with status code 200, with default header values.

Success

func NewDeleteItemTagOK

func NewDeleteItemTagOK() *DeleteItemTagOK

NewDeleteItemTagOK creates a DeleteItemTagOK with default headers values

func (*DeleteItemTagOK) Error

func (o *DeleteItemTagOK) Error() string

func (*DeleteItemTagOK) GetPayload

func (o *DeleteItemTagOK) GetPayload() []*models.ErrorDetail

type DeleteItemTagParams

type DeleteItemTagParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The ID of the company that defined these items

	   Format: int32
	*/
	CompanyID int32

	/* ItemID.

	   The ID of the item as defined by the company that owns this tag.

	   Format: int64
	*/
	ItemID int64

	/* ItemTagDetailID.

	   The ID of the item tag detail you wish to delete.

	   Format: int32
	*/
	ItemTagDetailID int32

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

DeleteItemTagParams contains all the parameters to send to the API endpoint

for the delete item tag operation.

Typically these are written to a http.Request.

func NewDeleteItemTagParams

func NewDeleteItemTagParams() *DeleteItemTagParams

NewDeleteItemTagParams creates a new DeleteItemTagParams 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 NewDeleteItemTagParamsWithContext

func NewDeleteItemTagParamsWithContext(ctx context.Context) *DeleteItemTagParams

NewDeleteItemTagParamsWithContext creates a new DeleteItemTagParams object with the ability to set a context for a request.

func NewDeleteItemTagParamsWithHTTPClient

func NewDeleteItemTagParamsWithHTTPClient(client *http.Client) *DeleteItemTagParams

NewDeleteItemTagParamsWithHTTPClient creates a new DeleteItemTagParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteItemTagParamsWithTimeout

func NewDeleteItemTagParamsWithTimeout(timeout time.Duration) *DeleteItemTagParams

NewDeleteItemTagParamsWithTimeout creates a new DeleteItemTagParams object with the ability to set a timeout on a request.

func (*DeleteItemTagParams) SetCompanyID

func (o *DeleteItemTagParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the delete item tag params

func (*DeleteItemTagParams) SetContext

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

SetContext adds the context to the delete item tag params

func (*DeleteItemTagParams) SetDefaults

func (o *DeleteItemTagParams) SetDefaults()

SetDefaults hydrates default values in the delete item tag params (not the query body).

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

func (*DeleteItemTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete item tag params

func (*DeleteItemTagParams) SetItemID

func (o *DeleteItemTagParams) SetItemID(itemID int64)

SetItemID adds the itemId to the delete item tag params

func (*DeleteItemTagParams) SetItemTagDetailID

func (o *DeleteItemTagParams) SetItemTagDetailID(itemTagDetailID int32)

SetItemTagDetailID adds the itemTagDetailId to the delete item tag params

func (*DeleteItemTagParams) SetTimeout

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

SetTimeout adds the timeout to the delete item tag params

func (*DeleteItemTagParams) SetXAvalaraClient

func (o *DeleteItemTagParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the delete item tag params

func (*DeleteItemTagParams) WithCompanyID

func (o *DeleteItemTagParams) WithCompanyID(companyID int32) *DeleteItemTagParams

WithCompanyID adds the companyID to the delete item tag params

func (*DeleteItemTagParams) WithContext

WithContext adds the context to the delete item tag params

func (*DeleteItemTagParams) WithDefaults

func (o *DeleteItemTagParams) WithDefaults() *DeleteItemTagParams

WithDefaults hydrates default values in the delete item tag params (not the query body).

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

func (*DeleteItemTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete item tag params

func (*DeleteItemTagParams) WithItemID

func (o *DeleteItemTagParams) WithItemID(itemID int64) *DeleteItemTagParams

WithItemID adds the itemID to the delete item tag params

func (*DeleteItemTagParams) WithItemTagDetailID

func (o *DeleteItemTagParams) WithItemTagDetailID(itemTagDetailID int32) *DeleteItemTagParams

WithItemTagDetailID adds the itemTagDetailID to the delete item tag params

func (*DeleteItemTagParams) WithTimeout

func (o *DeleteItemTagParams) WithTimeout(timeout time.Duration) *DeleteItemTagParams

WithTimeout adds the timeout to the delete item tag params

func (*DeleteItemTagParams) WithXAvalaraClient

func (o *DeleteItemTagParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteItemTagParams

WithXAvalaraClient adds the xAvalaraClient to the delete item tag params

func (*DeleteItemTagParams) WriteToRequest

func (o *DeleteItemTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteItemTagReader

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

DeleteItemTagReader is a Reader for the DeleteItemTag structure.

func (*DeleteItemTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteItemTagUnauthorized

type DeleteItemTagUnauthorized struct {
}
DeleteItemTagUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteItemTagUnauthorized

func NewDeleteItemTagUnauthorized() *DeleteItemTagUnauthorized

NewDeleteItemTagUnauthorized creates a DeleteItemTagUnauthorized with default headers values

func (*DeleteItemTagUnauthorized) Error

func (o *DeleteItemTagUnauthorized) Error() string

type DeleteItemTagsBadRequest

type DeleteItemTagsBadRequest struct {
}
DeleteItemTagsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteItemTagsBadRequest

func NewDeleteItemTagsBadRequest() *DeleteItemTagsBadRequest

NewDeleteItemTagsBadRequest creates a DeleteItemTagsBadRequest with default headers values

func (*DeleteItemTagsBadRequest) Error

func (o *DeleteItemTagsBadRequest) Error() string

type DeleteItemTagsNotFound

type DeleteItemTagsNotFound struct {
}
DeleteItemTagsNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteItemTagsNotFound

func NewDeleteItemTagsNotFound() *DeleteItemTagsNotFound

NewDeleteItemTagsNotFound creates a DeleteItemTagsNotFound with default headers values

func (*DeleteItemTagsNotFound) Error

func (o *DeleteItemTagsNotFound) Error() string

type DeleteItemTagsOK

type DeleteItemTagsOK struct {
	Payload []*models.ErrorDetail
}
DeleteItemTagsOK describes a response with status code 200, with default header values.

Success

func NewDeleteItemTagsOK

func NewDeleteItemTagsOK() *DeleteItemTagsOK

NewDeleteItemTagsOK creates a DeleteItemTagsOK with default headers values

func (*DeleteItemTagsOK) Error

func (o *DeleteItemTagsOK) Error() string

func (*DeleteItemTagsOK) GetPayload

func (o *DeleteItemTagsOK) GetPayload() []*models.ErrorDetail

type DeleteItemTagsParams

type DeleteItemTagsParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The ID of the company that defined these items.

	   Format: int32
	*/
	CompanyID int32

	/* ItemID.

	   The ID of the item as defined by the company that owns this tag.

	   Format: int64
	*/
	ItemID int64

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

DeleteItemTagsParams contains all the parameters to send to the API endpoint

for the delete item tags operation.

Typically these are written to a http.Request.

func NewDeleteItemTagsParams

func NewDeleteItemTagsParams() *DeleteItemTagsParams

NewDeleteItemTagsParams creates a new DeleteItemTagsParams 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 NewDeleteItemTagsParamsWithContext

func NewDeleteItemTagsParamsWithContext(ctx context.Context) *DeleteItemTagsParams

NewDeleteItemTagsParamsWithContext creates a new DeleteItemTagsParams object with the ability to set a context for a request.

func NewDeleteItemTagsParamsWithHTTPClient

func NewDeleteItemTagsParamsWithHTTPClient(client *http.Client) *DeleteItemTagsParams

NewDeleteItemTagsParamsWithHTTPClient creates a new DeleteItemTagsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteItemTagsParamsWithTimeout

func NewDeleteItemTagsParamsWithTimeout(timeout time.Duration) *DeleteItemTagsParams

NewDeleteItemTagsParamsWithTimeout creates a new DeleteItemTagsParams object with the ability to set a timeout on a request.

func (*DeleteItemTagsParams) SetCompanyID

func (o *DeleteItemTagsParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the delete item tags params

func (*DeleteItemTagsParams) SetContext

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

SetContext adds the context to the delete item tags params

func (*DeleteItemTagsParams) SetDefaults

func (o *DeleteItemTagsParams) SetDefaults()

SetDefaults hydrates default values in the delete item tags params (not the query body).

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

func (*DeleteItemTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete item tags params

func (*DeleteItemTagsParams) SetItemID

func (o *DeleteItemTagsParams) SetItemID(itemID int64)

SetItemID adds the itemId to the delete item tags params

func (*DeleteItemTagsParams) SetTimeout

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

SetTimeout adds the timeout to the delete item tags params

func (*DeleteItemTagsParams) SetXAvalaraClient

func (o *DeleteItemTagsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the delete item tags params

func (*DeleteItemTagsParams) WithCompanyID

func (o *DeleteItemTagsParams) WithCompanyID(companyID int32) *DeleteItemTagsParams

WithCompanyID adds the companyID to the delete item tags params

func (*DeleteItemTagsParams) WithContext

WithContext adds the context to the delete item tags params

func (*DeleteItemTagsParams) WithDefaults

func (o *DeleteItemTagsParams) WithDefaults() *DeleteItemTagsParams

WithDefaults hydrates default values in the delete item tags params (not the query body).

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

func (*DeleteItemTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete item tags params

func (*DeleteItemTagsParams) WithItemID

func (o *DeleteItemTagsParams) WithItemID(itemID int64) *DeleteItemTagsParams

WithItemID adds the itemID to the delete item tags params

func (*DeleteItemTagsParams) WithTimeout

func (o *DeleteItemTagsParams) WithTimeout(timeout time.Duration) *DeleteItemTagsParams

WithTimeout adds the timeout to the delete item tags params

func (*DeleteItemTagsParams) WithXAvalaraClient

func (o *DeleteItemTagsParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteItemTagsParams

WithXAvalaraClient adds the xAvalaraClient to the delete item tags params

func (*DeleteItemTagsParams) WriteToRequest

func (o *DeleteItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteItemTagsReader

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

DeleteItemTagsReader is a Reader for the DeleteItemTags structure.

func (*DeleteItemTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteItemTagsUnauthorized

type DeleteItemTagsUnauthorized struct {
}
DeleteItemTagsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteItemTagsUnauthorized

func NewDeleteItemTagsUnauthorized() *DeleteItemTagsUnauthorized

NewDeleteItemTagsUnauthorized creates a DeleteItemTagsUnauthorized with default headers values

func (*DeleteItemTagsUnauthorized) Error

type DeleteItemUnauthorized

type DeleteItemUnauthorized struct {
}
DeleteItemUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteItemUnauthorized

func NewDeleteItemUnauthorized() *DeleteItemUnauthorized

NewDeleteItemUnauthorized creates a DeleteItemUnauthorized with default headers values

func (*DeleteItemUnauthorized) Error

func (o *DeleteItemUnauthorized) Error() string

type GetItemBadRequest

type GetItemBadRequest struct {
}
GetItemBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetItemBadRequest

func NewGetItemBadRequest() *GetItemBadRequest

NewGetItemBadRequest creates a GetItemBadRequest with default headers values

func (*GetItemBadRequest) Error

func (o *GetItemBadRequest) Error() string

type GetItemClassificationBadRequest

type GetItemClassificationBadRequest struct {
}
GetItemClassificationBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetItemClassificationBadRequest

func NewGetItemClassificationBadRequest() *GetItemClassificationBadRequest

NewGetItemClassificationBadRequest creates a GetItemClassificationBadRequest with default headers values

func (*GetItemClassificationBadRequest) Error

type GetItemClassificationNotFound

type GetItemClassificationNotFound struct {
}
GetItemClassificationNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetItemClassificationNotFound

func NewGetItemClassificationNotFound() *GetItemClassificationNotFound

NewGetItemClassificationNotFound creates a GetItemClassificationNotFound with default headers values

func (*GetItemClassificationNotFound) Error

type GetItemClassificationOK

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

Success

func NewGetItemClassificationOK

func NewGetItemClassificationOK() *GetItemClassificationOK

NewGetItemClassificationOK creates a GetItemClassificationOK with default headers values

func (*GetItemClassificationOK) Error

func (o *GetItemClassificationOK) Error() string

func (*GetItemClassificationOK) GetPayload

type GetItemClassificationParams

type GetItemClassificationParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The company id.

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The item classification id.

	   Format: int64
	*/
	ID int64

	/* ItemID.

	   The item id.

	   Format: int64
	*/
	ItemID int64

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

GetItemClassificationParams contains all the parameters to send to the API endpoint

for the get item classification operation.

Typically these are written to a http.Request.

func NewGetItemClassificationParams

func NewGetItemClassificationParams() *GetItemClassificationParams

NewGetItemClassificationParams creates a new GetItemClassificationParams 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 NewGetItemClassificationParamsWithContext

func NewGetItemClassificationParamsWithContext(ctx context.Context) *GetItemClassificationParams

NewGetItemClassificationParamsWithContext creates a new GetItemClassificationParams object with the ability to set a context for a request.

func NewGetItemClassificationParamsWithHTTPClient

func NewGetItemClassificationParamsWithHTTPClient(client *http.Client) *GetItemClassificationParams

NewGetItemClassificationParamsWithHTTPClient creates a new GetItemClassificationParams object with the ability to set a custom HTTPClient for a request.

func NewGetItemClassificationParamsWithTimeout

func NewGetItemClassificationParamsWithTimeout(timeout time.Duration) *GetItemClassificationParams

NewGetItemClassificationParamsWithTimeout creates a new GetItemClassificationParams object with the ability to set a timeout on a request.

func (*GetItemClassificationParams) SetCompanyID

func (o *GetItemClassificationParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the get item classification params

func (*GetItemClassificationParams) SetContext

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

SetContext adds the context to the get item classification params

func (*GetItemClassificationParams) SetDefaults

func (o *GetItemClassificationParams) SetDefaults()

SetDefaults hydrates default values in the get item classification params (not the query body).

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

func (*GetItemClassificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get item classification params

func (*GetItemClassificationParams) SetID

func (o *GetItemClassificationParams) SetID(id int64)

SetID adds the id to the get item classification params

func (*GetItemClassificationParams) SetItemID

func (o *GetItemClassificationParams) SetItemID(itemID int64)

SetItemID adds the itemId to the get item classification params

func (*GetItemClassificationParams) SetTimeout

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

SetTimeout adds the timeout to the get item classification params

func (*GetItemClassificationParams) SetXAvalaraClient

func (o *GetItemClassificationParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the get item classification params

func (*GetItemClassificationParams) WithCompanyID

func (o *GetItemClassificationParams) WithCompanyID(companyID int32) *GetItemClassificationParams

WithCompanyID adds the companyID to the get item classification params

func (*GetItemClassificationParams) WithContext

WithContext adds the context to the get item classification params

func (*GetItemClassificationParams) WithDefaults

WithDefaults hydrates default values in the get item classification params (not the query body).

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

func (*GetItemClassificationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get item classification params

func (*GetItemClassificationParams) WithID

WithID adds the id to the get item classification params

func (*GetItemClassificationParams) WithItemID

WithItemID adds the itemID to the get item classification params

func (*GetItemClassificationParams) WithTimeout

WithTimeout adds the timeout to the get item classification params

func (*GetItemClassificationParams) WithXAvalaraClient

func (o *GetItemClassificationParams) WithXAvalaraClient(xAvalaraClient *string) *GetItemClassificationParams

WithXAvalaraClient adds the xAvalaraClient to the get item classification params

func (*GetItemClassificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetItemClassificationReader

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

GetItemClassificationReader is a Reader for the GetItemClassification structure.

func (*GetItemClassificationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemClassificationUnauthorized

type GetItemClassificationUnauthorized struct {
}
GetItemClassificationUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetItemClassificationUnauthorized

func NewGetItemClassificationUnauthorized() *GetItemClassificationUnauthorized

NewGetItemClassificationUnauthorized creates a GetItemClassificationUnauthorized with default headers values

func (*GetItemClassificationUnauthorized) Error

type GetItemNotFound

type GetItemNotFound struct {
}
GetItemNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetItemNotFound

func NewGetItemNotFound() *GetItemNotFound

NewGetItemNotFound creates a GetItemNotFound with default headers values

func (*GetItemNotFound) Error

func (o *GetItemNotFound) Error() string

type GetItemOK

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

Success

func NewGetItemOK

func NewGetItemOK() *GetItemOK

NewGetItemOK creates a GetItemOK with default headers values

func (*GetItemOK) Error

func (o *GetItemOK) Error() string

func (*GetItemOK) GetPayload

func (o *GetItemOK) GetPayload() *models.ItemModel

type GetItemParameterBadRequest

type GetItemParameterBadRequest struct {
}
GetItemParameterBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetItemParameterBadRequest

func NewGetItemParameterBadRequest() *GetItemParameterBadRequest

NewGetItemParameterBadRequest creates a GetItemParameterBadRequest with default headers values

func (*GetItemParameterBadRequest) Error

type GetItemParameterNotFound

type GetItemParameterNotFound struct {
}
GetItemParameterNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetItemParameterNotFound

func NewGetItemParameterNotFound() *GetItemParameterNotFound

NewGetItemParameterNotFound creates a GetItemParameterNotFound with default headers values

func (*GetItemParameterNotFound) Error

func (o *GetItemParameterNotFound) Error() string

type GetItemParameterOK

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

Success

func NewGetItemParameterOK

func NewGetItemParameterOK() *GetItemParameterOK

NewGetItemParameterOK creates a GetItemParameterOK with default headers values

func (*GetItemParameterOK) Error

func (o *GetItemParameterOK) Error() string

func (*GetItemParameterOK) GetPayload

func (o *GetItemParameterOK) GetPayload() *models.ItemParameterModel

type GetItemParameterParams

type GetItemParameterParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The company id

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The parameter id

	   Format: int64
	*/
	ID int64

	/* ItemID.

	   The item id

	   Format: int64
	*/
	ItemID int64

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

GetItemParameterParams contains all the parameters to send to the API endpoint

for the get item parameter operation.

Typically these are written to a http.Request.

func NewGetItemParameterParams

func NewGetItemParameterParams() *GetItemParameterParams

NewGetItemParameterParams creates a new GetItemParameterParams 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 NewGetItemParameterParamsWithContext

func NewGetItemParameterParamsWithContext(ctx context.Context) *GetItemParameterParams

NewGetItemParameterParamsWithContext creates a new GetItemParameterParams object with the ability to set a context for a request.

func NewGetItemParameterParamsWithHTTPClient

func NewGetItemParameterParamsWithHTTPClient(client *http.Client) *GetItemParameterParams

NewGetItemParameterParamsWithHTTPClient creates a new GetItemParameterParams object with the ability to set a custom HTTPClient for a request.

func NewGetItemParameterParamsWithTimeout

func NewGetItemParameterParamsWithTimeout(timeout time.Duration) *GetItemParameterParams

NewGetItemParameterParamsWithTimeout creates a new GetItemParameterParams object with the ability to set a timeout on a request.

func (*GetItemParameterParams) SetCompanyID

func (o *GetItemParameterParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the get item parameter params

func (*GetItemParameterParams) SetContext

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

SetContext adds the context to the get item parameter params

func (*GetItemParameterParams) SetDefaults

func (o *GetItemParameterParams) SetDefaults()

SetDefaults hydrates default values in the get item parameter params (not the query body).

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

func (*GetItemParameterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get item parameter params

func (*GetItemParameterParams) SetID

func (o *GetItemParameterParams) SetID(id int64)

SetID adds the id to the get item parameter params

func (*GetItemParameterParams) SetItemID

func (o *GetItemParameterParams) SetItemID(itemID int64)

SetItemID adds the itemId to the get item parameter params

func (*GetItemParameterParams) SetTimeout

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

SetTimeout adds the timeout to the get item parameter params

func (*GetItemParameterParams) SetXAvalaraClient

func (o *GetItemParameterParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the get item parameter params

func (*GetItemParameterParams) WithCompanyID

func (o *GetItemParameterParams) WithCompanyID(companyID int32) *GetItemParameterParams

WithCompanyID adds the companyID to the get item parameter params

func (*GetItemParameterParams) WithContext

WithContext adds the context to the get item parameter params

func (*GetItemParameterParams) WithDefaults

WithDefaults hydrates default values in the get item parameter params (not the query body).

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

func (*GetItemParameterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get item parameter params

func (*GetItemParameterParams) WithID

WithID adds the id to the get item parameter params

func (*GetItemParameterParams) WithItemID

func (o *GetItemParameterParams) WithItemID(itemID int64) *GetItemParameterParams

WithItemID adds the itemID to the get item parameter params

func (*GetItemParameterParams) WithTimeout

WithTimeout adds the timeout to the get item parameter params

func (*GetItemParameterParams) WithXAvalaraClient

func (o *GetItemParameterParams) WithXAvalaraClient(xAvalaraClient *string) *GetItemParameterParams

WithXAvalaraClient adds the xAvalaraClient to the get item parameter params

func (*GetItemParameterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetItemParameterReader

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

GetItemParameterReader is a Reader for the GetItemParameter structure.

func (*GetItemParameterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemParameterUnauthorized

type GetItemParameterUnauthorized struct {
}
GetItemParameterUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetItemParameterUnauthorized

func NewGetItemParameterUnauthorized() *GetItemParameterUnauthorized

NewGetItemParameterUnauthorized creates a GetItemParameterUnauthorized with default headers values

func (*GetItemParameterUnauthorized) Error

type GetItemParams

type GetItemParams struct {

	/* DollarInclude.

	   A comma separated list of additional data to retrieve.
	*/
	DollarInclude *string

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The ID of the company that owns this item object

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The primary key of this item

	   Format: int64
	*/
	ID int64

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

GetItemParams contains all the parameters to send to the API endpoint

for the get item operation.

Typically these are written to a http.Request.

func NewGetItemParams

func NewGetItemParams() *GetItemParams

NewGetItemParams creates a new GetItemParams 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 NewGetItemParamsWithContext

func NewGetItemParamsWithContext(ctx context.Context) *GetItemParams

NewGetItemParamsWithContext creates a new GetItemParams object with the ability to set a context for a request.

func NewGetItemParamsWithHTTPClient

func NewGetItemParamsWithHTTPClient(client *http.Client) *GetItemParams

NewGetItemParamsWithHTTPClient creates a new GetItemParams object with the ability to set a custom HTTPClient for a request.

func NewGetItemParamsWithTimeout

func NewGetItemParamsWithTimeout(timeout time.Duration) *GetItemParams

NewGetItemParamsWithTimeout creates a new GetItemParams object with the ability to set a timeout on a request.

func (*GetItemParams) SetCompanyID

func (o *GetItemParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the get item params

func (*GetItemParams) SetContext

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

SetContext adds the context to the get item params

func (*GetItemParams) SetDefaults

func (o *GetItemParams) SetDefaults()

SetDefaults hydrates default values in the get item params (not the query body).

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

func (*GetItemParams) SetDollarInclude

func (o *GetItemParams) SetDollarInclude(dollarInclude *string)

SetDollarInclude adds the dollarInclude to the get item params

func (*GetItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get item params

func (*GetItemParams) SetID

func (o *GetItemParams) SetID(id int64)

SetID adds the id to the get item params

func (*GetItemParams) SetTimeout

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

SetTimeout adds the timeout to the get item params

func (*GetItemParams) SetXAvalaraClient

func (o *GetItemParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the get item params

func (*GetItemParams) WithCompanyID

func (o *GetItemParams) WithCompanyID(companyID int32) *GetItemParams

WithCompanyID adds the companyID to the get item params

func (*GetItemParams) WithContext

func (o *GetItemParams) WithContext(ctx context.Context) *GetItemParams

WithContext adds the context to the get item params

func (*GetItemParams) WithDefaults

func (o *GetItemParams) WithDefaults() *GetItemParams

WithDefaults hydrates default values in the get item params (not the query body).

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

func (*GetItemParams) WithDollarInclude

func (o *GetItemParams) WithDollarInclude(dollarInclude *string) *GetItemParams

WithDollarInclude adds the dollarInclude to the get item params

func (*GetItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get item params

func (*GetItemParams) WithID

func (o *GetItemParams) WithID(id int64) *GetItemParams

WithID adds the id to the get item params

func (*GetItemParams) WithTimeout

func (o *GetItemParams) WithTimeout(timeout time.Duration) *GetItemParams

WithTimeout adds the timeout to the get item params

func (*GetItemParams) WithXAvalaraClient

func (o *GetItemParams) WithXAvalaraClient(xAvalaraClient *string) *GetItemParams

WithXAvalaraClient adds the xAvalaraClient to the get item params

func (*GetItemParams) WriteToRequest

func (o *GetItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetItemReader

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

GetItemReader is a Reader for the GetItem structure.

func (*GetItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemTagsBadRequest

type GetItemTagsBadRequest struct {
}
GetItemTagsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetItemTagsBadRequest

func NewGetItemTagsBadRequest() *GetItemTagsBadRequest

NewGetItemTagsBadRequest creates a GetItemTagsBadRequest with default headers values

func (*GetItemTagsBadRequest) Error

func (o *GetItemTagsBadRequest) Error() string

type GetItemTagsNotFound

type GetItemTagsNotFound struct {
}
GetItemTagsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetItemTagsNotFound

func NewGetItemTagsNotFound() *GetItemTagsNotFound

NewGetItemTagsNotFound creates a GetItemTagsNotFound with default headers values

func (*GetItemTagsNotFound) Error

func (o *GetItemTagsNotFound) Error() string

type GetItemTagsOK

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

Success

func NewGetItemTagsOK

func NewGetItemTagsOK() *GetItemTagsOK

NewGetItemTagsOK creates a GetItemTagsOK with default headers values

func (*GetItemTagsOK) Error

func (o *GetItemTagsOK) Error() string

func (*GetItemTagsOK) GetPayload

type GetItemTagsParams

type GetItemTagsParams struct {

	/* DollarFilter.

	   A filter statement to identify specific records to retrieve.  For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* tagName
	*/
	DollarFilter *string

	/* DollarSkip.

	   If nonzero, skip this number of results before returning data.  Used with `$top` to provide pagination for large datasets.

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   If nonzero, return no more than this number of results.  Used with `$skip` to provide pagination for large datasets.  Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The ID of the company that defined these items

	   Format: int32
	*/
	CompanyID int32

	/* ItemID.

	   The ID of the item as defined by the company that owns this tag.

	   Format: int64
	*/
	ItemID int64

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

GetItemTagsParams contains all the parameters to send to the API endpoint

for the get item tags operation.

Typically these are written to a http.Request.

func NewGetItemTagsParams

func NewGetItemTagsParams() *GetItemTagsParams

NewGetItemTagsParams creates a new GetItemTagsParams 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 NewGetItemTagsParamsWithContext

func NewGetItemTagsParamsWithContext(ctx context.Context) *GetItemTagsParams

NewGetItemTagsParamsWithContext creates a new GetItemTagsParams object with the ability to set a context for a request.

func NewGetItemTagsParamsWithHTTPClient

func NewGetItemTagsParamsWithHTTPClient(client *http.Client) *GetItemTagsParams

NewGetItemTagsParamsWithHTTPClient creates a new GetItemTagsParams object with the ability to set a custom HTTPClient for a request.

func NewGetItemTagsParamsWithTimeout

func NewGetItemTagsParamsWithTimeout(timeout time.Duration) *GetItemTagsParams

NewGetItemTagsParamsWithTimeout creates a new GetItemTagsParams object with the ability to set a timeout on a request.

func (*GetItemTagsParams) SetCompanyID

func (o *GetItemTagsParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the get item tags params

func (*GetItemTagsParams) SetContext

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

SetContext adds the context to the get item tags params

func (*GetItemTagsParams) SetDefaults

func (o *GetItemTagsParams) SetDefaults()

SetDefaults hydrates default values in the get item tags params (not the query body).

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

func (*GetItemTagsParams) SetDollarFilter

func (o *GetItemTagsParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the get item tags params

func (*GetItemTagsParams) SetDollarSkip

func (o *GetItemTagsParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the get item tags params

func (*GetItemTagsParams) SetDollarTop

func (o *GetItemTagsParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the get item tags params

func (*GetItemTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get item tags params

func (*GetItemTagsParams) SetItemID

func (o *GetItemTagsParams) SetItemID(itemID int64)

SetItemID adds the itemId to the get item tags params

func (*GetItemTagsParams) SetTimeout

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

SetTimeout adds the timeout to the get item tags params

func (*GetItemTagsParams) SetXAvalaraClient

func (o *GetItemTagsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the get item tags params

func (*GetItemTagsParams) WithCompanyID

func (o *GetItemTagsParams) WithCompanyID(companyID int32) *GetItemTagsParams

WithCompanyID adds the companyID to the get item tags params

func (*GetItemTagsParams) WithContext

func (o *GetItemTagsParams) WithContext(ctx context.Context) *GetItemTagsParams

WithContext adds the context to the get item tags params

func (*GetItemTagsParams) WithDefaults

func (o *GetItemTagsParams) WithDefaults() *GetItemTagsParams

WithDefaults hydrates default values in the get item tags params (not the query body).

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

func (*GetItemTagsParams) WithDollarFilter

func (o *GetItemTagsParams) WithDollarFilter(dollarFilter *string) *GetItemTagsParams

WithDollarFilter adds the dollarFilter to the get item tags params

func (*GetItemTagsParams) WithDollarSkip

func (o *GetItemTagsParams) WithDollarSkip(dollarSkip *int32) *GetItemTagsParams

WithDollarSkip adds the dollarSkip to the get item tags params

func (*GetItemTagsParams) WithDollarTop

func (o *GetItemTagsParams) WithDollarTop(dollarTop *int32) *GetItemTagsParams

WithDollarTop adds the dollarTop to the get item tags params

func (*GetItemTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get item tags params

func (*GetItemTagsParams) WithItemID

func (o *GetItemTagsParams) WithItemID(itemID int64) *GetItemTagsParams

WithItemID adds the itemID to the get item tags params

func (*GetItemTagsParams) WithTimeout

func (o *GetItemTagsParams) WithTimeout(timeout time.Duration) *GetItemTagsParams

WithTimeout adds the timeout to the get item tags params

func (*GetItemTagsParams) WithXAvalaraClient

func (o *GetItemTagsParams) WithXAvalaraClient(xAvalaraClient *string) *GetItemTagsParams

WithXAvalaraClient adds the xAvalaraClient to the get item tags params

func (*GetItemTagsParams) WriteToRequest

func (o *GetItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetItemTagsReader

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

GetItemTagsReader is a Reader for the GetItemTags structure.

func (*GetItemTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetItemTagsUnauthorized

type GetItemTagsUnauthorized struct {
}
GetItemTagsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetItemTagsUnauthorized

func NewGetItemTagsUnauthorized() *GetItemTagsUnauthorized

NewGetItemTagsUnauthorized creates a GetItemTagsUnauthorized with default headers values

func (*GetItemTagsUnauthorized) Error

func (o *GetItemTagsUnauthorized) Error() string

type GetItemUnauthorized

type GetItemUnauthorized struct {
}
GetItemUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetItemUnauthorized

func NewGetItemUnauthorized() *GetItemUnauthorized

NewGetItemUnauthorized creates a GetItemUnauthorized with default headers values

func (*GetItemUnauthorized) Error

func (o *GetItemUnauthorized) Error() string

type ListItemClassificationsBadRequest

type ListItemClassificationsBadRequest struct {
}
ListItemClassificationsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewListItemClassificationsBadRequest

func NewListItemClassificationsBadRequest() *ListItemClassificationsBadRequest

NewListItemClassificationsBadRequest creates a ListItemClassificationsBadRequest with default headers values

func (*ListItemClassificationsBadRequest) Error

type ListItemClassificationsNotFound

type ListItemClassificationsNotFound struct {
}
ListItemClassificationsNotFound describes a response with status code 404, with default header values.

Not Found

func NewListItemClassificationsNotFound

func NewListItemClassificationsNotFound() *ListItemClassificationsNotFound

NewListItemClassificationsNotFound creates a ListItemClassificationsNotFound with default headers values

func (*ListItemClassificationsNotFound) Error

type ListItemClassificationsOK

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

Success

func NewListItemClassificationsOK

func NewListItemClassificationsOK() *ListItemClassificationsOK

NewListItemClassificationsOK creates a ListItemClassificationsOK with default headers values

func (*ListItemClassificationsOK) Error

func (o *ListItemClassificationsOK) Error() string

func (*ListItemClassificationsOK) GetPayload

type ListItemClassificationsParams

type ListItemClassificationsParams struct {

	/* DollarFilter.

	   A filter statement to identify specific records to retrieve.  For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* productCode, systemCode
	*/
	DollarFilter *string

	/* DollarOrderBy.

	   A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
	*/
	DollarOrderBy *string

	/* DollarSkip.

	   If nonzero, skip this number of results before returning data.  Used with `$top` to provide pagination for large datasets.

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   If nonzero, return no more than this number of results.  Used with `$skip` to provide pagination for large datasets.  Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The company id.

	   Format: int32
	*/
	CompanyID int32

	/* ItemID.

	   The item id.

	   Format: int64
	*/
	ItemID int64

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

ListItemClassificationsParams contains all the parameters to send to the API endpoint

for the list item classifications operation.

Typically these are written to a http.Request.

func NewListItemClassificationsParams

func NewListItemClassificationsParams() *ListItemClassificationsParams

NewListItemClassificationsParams creates a new ListItemClassificationsParams 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 NewListItemClassificationsParamsWithContext

func NewListItemClassificationsParamsWithContext(ctx context.Context) *ListItemClassificationsParams

NewListItemClassificationsParamsWithContext creates a new ListItemClassificationsParams object with the ability to set a context for a request.

func NewListItemClassificationsParamsWithHTTPClient

func NewListItemClassificationsParamsWithHTTPClient(client *http.Client) *ListItemClassificationsParams

NewListItemClassificationsParamsWithHTTPClient creates a new ListItemClassificationsParams object with the ability to set a custom HTTPClient for a request.

func NewListItemClassificationsParamsWithTimeout

func NewListItemClassificationsParamsWithTimeout(timeout time.Duration) *ListItemClassificationsParams

NewListItemClassificationsParamsWithTimeout creates a new ListItemClassificationsParams object with the ability to set a timeout on a request.

func (*ListItemClassificationsParams) SetCompanyID

func (o *ListItemClassificationsParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the list item classifications params

func (*ListItemClassificationsParams) SetContext

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

SetContext adds the context to the list item classifications params

func (*ListItemClassificationsParams) SetDefaults

func (o *ListItemClassificationsParams) SetDefaults()

SetDefaults hydrates default values in the list item classifications params (not the query body).

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

func (*ListItemClassificationsParams) SetDollarFilter

func (o *ListItemClassificationsParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the list item classifications params

func (*ListItemClassificationsParams) SetDollarOrderBy

func (o *ListItemClassificationsParams) SetDollarOrderBy(dollarOrderBy *string)

SetDollarOrderBy adds the dollarOrderBy to the list item classifications params

func (*ListItemClassificationsParams) SetDollarSkip

func (o *ListItemClassificationsParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the list item classifications params

func (*ListItemClassificationsParams) SetDollarTop

func (o *ListItemClassificationsParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the list item classifications params

func (*ListItemClassificationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list item classifications params

func (*ListItemClassificationsParams) SetItemID

func (o *ListItemClassificationsParams) SetItemID(itemID int64)

SetItemID adds the itemId to the list item classifications params

func (*ListItemClassificationsParams) SetTimeout

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

SetTimeout adds the timeout to the list item classifications params

func (*ListItemClassificationsParams) SetXAvalaraClient

func (o *ListItemClassificationsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the list item classifications params

func (*ListItemClassificationsParams) WithCompanyID

WithCompanyID adds the companyID to the list item classifications params

func (*ListItemClassificationsParams) WithContext

WithContext adds the context to the list item classifications params

func (*ListItemClassificationsParams) WithDefaults

WithDefaults hydrates default values in the list item classifications params (not the query body).

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

func (*ListItemClassificationsParams) WithDollarFilter

func (o *ListItemClassificationsParams) WithDollarFilter(dollarFilter *string) *ListItemClassificationsParams

WithDollarFilter adds the dollarFilter to the list item classifications params

func (*ListItemClassificationsParams) WithDollarOrderBy

func (o *ListItemClassificationsParams) WithDollarOrderBy(dollarOrderBy *string) *ListItemClassificationsParams

WithDollarOrderBy adds the dollarOrderBy to the list item classifications params

func (*ListItemClassificationsParams) WithDollarSkip

func (o *ListItemClassificationsParams) WithDollarSkip(dollarSkip *int32) *ListItemClassificationsParams

WithDollarSkip adds the dollarSkip to the list item classifications params

func (*ListItemClassificationsParams) WithDollarTop

WithDollarTop adds the dollarTop to the list item classifications params

func (*ListItemClassificationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list item classifications params

func (*ListItemClassificationsParams) WithItemID

WithItemID adds the itemID to the list item classifications params

func (*ListItemClassificationsParams) WithTimeout

WithTimeout adds the timeout to the list item classifications params

func (*ListItemClassificationsParams) WithXAvalaraClient

func (o *ListItemClassificationsParams) WithXAvalaraClient(xAvalaraClient *string) *ListItemClassificationsParams

WithXAvalaraClient adds the xAvalaraClient to the list item classifications params

func (*ListItemClassificationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListItemClassificationsReader

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

ListItemClassificationsReader is a Reader for the ListItemClassifications structure.

func (*ListItemClassificationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListItemClassificationsUnauthorized

type ListItemClassificationsUnauthorized struct {
}
ListItemClassificationsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListItemClassificationsUnauthorized

func NewListItemClassificationsUnauthorized() *ListItemClassificationsUnauthorized

NewListItemClassificationsUnauthorized creates a ListItemClassificationsUnauthorized with default headers values

func (*ListItemClassificationsUnauthorized) Error

type ListItemParametersBadRequest

type ListItemParametersBadRequest struct {
}
ListItemParametersBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewListItemParametersBadRequest

func NewListItemParametersBadRequest() *ListItemParametersBadRequest

NewListItemParametersBadRequest creates a ListItemParametersBadRequest with default headers values

func (*ListItemParametersBadRequest) Error

type ListItemParametersNotFound

type ListItemParametersNotFound struct {
}
ListItemParametersNotFound describes a response with status code 404, with default header values.

Not Found

func NewListItemParametersNotFound

func NewListItemParametersNotFound() *ListItemParametersNotFound

NewListItemParametersNotFound creates a ListItemParametersNotFound with default headers values

func (*ListItemParametersNotFound) Error

type ListItemParametersOK

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

Success

func NewListItemParametersOK

func NewListItemParametersOK() *ListItemParametersOK

NewListItemParametersOK creates a ListItemParametersOK with default headers values

func (*ListItemParametersOK) Error

func (o *ListItemParametersOK) Error() string

func (*ListItemParametersOK) GetPayload

type ListItemParametersParams

type ListItemParametersParams struct {

	/* DollarFilter.

	   A filter statement to identify specific records to retrieve.  For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* name, unit, isNeededForCalculation, isNeededForReturns, isNeededForClassification
	*/
	DollarFilter *string

	/* DollarOrderBy.

	   A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
	*/
	DollarOrderBy *string

	/* DollarSkip.

	   If nonzero, skip this number of results before returning data.  Used with `$top` to provide pagination for large datasets.

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   If nonzero, return no more than this number of results.  Used with `$skip` to provide pagination for large datasets.  Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The company id

	   Format: int32
	*/
	CompanyID int32

	/* ItemID.

	   The item id

	   Format: int64
	*/
	ItemID int64

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

ListItemParametersParams contains all the parameters to send to the API endpoint

for the list item parameters operation.

Typically these are written to a http.Request.

func NewListItemParametersParams

func NewListItemParametersParams() *ListItemParametersParams

NewListItemParametersParams creates a new ListItemParametersParams 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 NewListItemParametersParamsWithContext

func NewListItemParametersParamsWithContext(ctx context.Context) *ListItemParametersParams

NewListItemParametersParamsWithContext creates a new ListItemParametersParams object with the ability to set a context for a request.

func NewListItemParametersParamsWithHTTPClient

func NewListItemParametersParamsWithHTTPClient(client *http.Client) *ListItemParametersParams

NewListItemParametersParamsWithHTTPClient creates a new ListItemParametersParams object with the ability to set a custom HTTPClient for a request.

func NewListItemParametersParamsWithTimeout

func NewListItemParametersParamsWithTimeout(timeout time.Duration) *ListItemParametersParams

NewListItemParametersParamsWithTimeout creates a new ListItemParametersParams object with the ability to set a timeout on a request.

func (*ListItemParametersParams) SetCompanyID

func (o *ListItemParametersParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the list item parameters params

func (*ListItemParametersParams) SetContext

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

SetContext adds the context to the list item parameters params

func (*ListItemParametersParams) SetDefaults

func (o *ListItemParametersParams) SetDefaults()

SetDefaults hydrates default values in the list item parameters params (not the query body).

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

func (*ListItemParametersParams) SetDollarFilter

func (o *ListItemParametersParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the list item parameters params

func (*ListItemParametersParams) SetDollarOrderBy

func (o *ListItemParametersParams) SetDollarOrderBy(dollarOrderBy *string)

SetDollarOrderBy adds the dollarOrderBy to the list item parameters params

func (*ListItemParametersParams) SetDollarSkip

func (o *ListItemParametersParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the list item parameters params

func (*ListItemParametersParams) SetDollarTop

func (o *ListItemParametersParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the list item parameters params

func (*ListItemParametersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list item parameters params

func (*ListItemParametersParams) SetItemID

func (o *ListItemParametersParams) SetItemID(itemID int64)

SetItemID adds the itemId to the list item parameters params

func (*ListItemParametersParams) SetTimeout

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

SetTimeout adds the timeout to the list item parameters params

func (*ListItemParametersParams) SetXAvalaraClient

func (o *ListItemParametersParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the list item parameters params

func (*ListItemParametersParams) WithCompanyID

func (o *ListItemParametersParams) WithCompanyID(companyID int32) *ListItemParametersParams

WithCompanyID adds the companyID to the list item parameters params

func (*ListItemParametersParams) WithContext

WithContext adds the context to the list item parameters params

func (*ListItemParametersParams) WithDefaults

WithDefaults hydrates default values in the list item parameters params (not the query body).

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

func (*ListItemParametersParams) WithDollarFilter

func (o *ListItemParametersParams) WithDollarFilter(dollarFilter *string) *ListItemParametersParams

WithDollarFilter adds the dollarFilter to the list item parameters params

func (*ListItemParametersParams) WithDollarOrderBy

func (o *ListItemParametersParams) WithDollarOrderBy(dollarOrderBy *string) *ListItemParametersParams

WithDollarOrderBy adds the dollarOrderBy to the list item parameters params

func (*ListItemParametersParams) WithDollarSkip

func (o *ListItemParametersParams) WithDollarSkip(dollarSkip *int32) *ListItemParametersParams

WithDollarSkip adds the dollarSkip to the list item parameters params

func (*ListItemParametersParams) WithDollarTop

func (o *ListItemParametersParams) WithDollarTop(dollarTop *int32) *ListItemParametersParams

WithDollarTop adds the dollarTop to the list item parameters params

func (*ListItemParametersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list item parameters params

func (*ListItemParametersParams) WithItemID

WithItemID adds the itemID to the list item parameters params

func (*ListItemParametersParams) WithTimeout

WithTimeout adds the timeout to the list item parameters params

func (*ListItemParametersParams) WithXAvalaraClient

func (o *ListItemParametersParams) WithXAvalaraClient(xAvalaraClient *string) *ListItemParametersParams

WithXAvalaraClient adds the xAvalaraClient to the list item parameters params

func (*ListItemParametersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListItemParametersReader

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

ListItemParametersReader is a Reader for the ListItemParameters structure.

func (*ListItemParametersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListItemParametersUnauthorized

type ListItemParametersUnauthorized struct {
}
ListItemParametersUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListItemParametersUnauthorized

func NewListItemParametersUnauthorized() *ListItemParametersUnauthorized

NewListItemParametersUnauthorized creates a ListItemParametersUnauthorized with default headers values

func (*ListItemParametersUnauthorized) Error

type ListItemsByCompanyBadRequest

type ListItemsByCompanyBadRequest struct {
}
ListItemsByCompanyBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewListItemsByCompanyBadRequest

func NewListItemsByCompanyBadRequest() *ListItemsByCompanyBadRequest

NewListItemsByCompanyBadRequest creates a ListItemsByCompanyBadRequest with default headers values

func (*ListItemsByCompanyBadRequest) Error

type ListItemsByCompanyNotFound

type ListItemsByCompanyNotFound struct {
}
ListItemsByCompanyNotFound describes a response with status code 404, with default header values.

Not Found

func NewListItemsByCompanyNotFound

func NewListItemsByCompanyNotFound() *ListItemsByCompanyNotFound

NewListItemsByCompanyNotFound creates a ListItemsByCompanyNotFound with default headers values

func (*ListItemsByCompanyNotFound) Error

type ListItemsByCompanyOK

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

Success

func NewListItemsByCompanyOK

func NewListItemsByCompanyOK() *ListItemsByCompanyOK

NewListItemsByCompanyOK creates a ListItemsByCompanyOK with default headers values

func (*ListItemsByCompanyOK) Error

func (o *ListItemsByCompanyOK) Error() string

func (*ListItemsByCompanyOK) GetPayload

type ListItemsByCompanyParams

type ListItemsByCompanyParams struct {

	/* DollarFilter.

	   A filter statement to identify specific records to retrieve.  For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* taxCode, classifications, parameters, tags
	*/
	DollarFilter *string

	/* DollarInclude.

	   A comma separated list of additional data to retrieve.
	*/
	DollarInclude *string

	/* DollarOrderBy.

	   A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
	*/
	DollarOrderBy *string

	/* DollarSkip.

	   If nonzero, skip this number of results before returning data.  Used with `$top` to provide pagination for large datasets.

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   If nonzero, return no more than this number of results.  Used with `$skip` to provide pagination for large datasets.  Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The ID of the company that defined these items

	   Format: int32
	*/
	CompanyID int32

	/* TagName.

	   Tag Name on the basis of which you want to filter Items
	*/
	TagName *string

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

ListItemsByCompanyParams contains all the parameters to send to the API endpoint

for the list items by company operation.

Typically these are written to a http.Request.

func NewListItemsByCompanyParams

func NewListItemsByCompanyParams() *ListItemsByCompanyParams

NewListItemsByCompanyParams creates a new ListItemsByCompanyParams 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 NewListItemsByCompanyParamsWithContext

func NewListItemsByCompanyParamsWithContext(ctx context.Context) *ListItemsByCompanyParams

NewListItemsByCompanyParamsWithContext creates a new ListItemsByCompanyParams object with the ability to set a context for a request.

func NewListItemsByCompanyParamsWithHTTPClient

func NewListItemsByCompanyParamsWithHTTPClient(client *http.Client) *ListItemsByCompanyParams

NewListItemsByCompanyParamsWithHTTPClient creates a new ListItemsByCompanyParams object with the ability to set a custom HTTPClient for a request.

func NewListItemsByCompanyParamsWithTimeout

func NewListItemsByCompanyParamsWithTimeout(timeout time.Duration) *ListItemsByCompanyParams

NewListItemsByCompanyParamsWithTimeout creates a new ListItemsByCompanyParams object with the ability to set a timeout on a request.

func (*ListItemsByCompanyParams) SetCompanyID

func (o *ListItemsByCompanyParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the list items by company params

func (*ListItemsByCompanyParams) SetContext

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

SetContext adds the context to the list items by company params

func (*ListItemsByCompanyParams) SetDefaults

func (o *ListItemsByCompanyParams) SetDefaults()

SetDefaults hydrates default values in the list items by company params (not the query body).

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

func (*ListItemsByCompanyParams) SetDollarFilter

func (o *ListItemsByCompanyParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the list items by company params

func (*ListItemsByCompanyParams) SetDollarInclude

func (o *ListItemsByCompanyParams) SetDollarInclude(dollarInclude *string)

SetDollarInclude adds the dollarInclude to the list items by company params

func (*ListItemsByCompanyParams) SetDollarOrderBy

func (o *ListItemsByCompanyParams) SetDollarOrderBy(dollarOrderBy *string)

SetDollarOrderBy adds the dollarOrderBy to the list items by company params

func (*ListItemsByCompanyParams) SetDollarSkip

func (o *ListItemsByCompanyParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the list items by company params

func (*ListItemsByCompanyParams) SetDollarTop

func (o *ListItemsByCompanyParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the list items by company params

func (*ListItemsByCompanyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list items by company params

func (*ListItemsByCompanyParams) SetTagName

func (o *ListItemsByCompanyParams) SetTagName(tagName *string)

SetTagName adds the tagName to the list items by company params

func (*ListItemsByCompanyParams) SetTimeout

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

SetTimeout adds the timeout to the list items by company params

func (*ListItemsByCompanyParams) SetXAvalaraClient

func (o *ListItemsByCompanyParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the list items by company params

func (*ListItemsByCompanyParams) WithCompanyID

func (o *ListItemsByCompanyParams) WithCompanyID(companyID int32) *ListItemsByCompanyParams

WithCompanyID adds the companyID to the list items by company params

func (*ListItemsByCompanyParams) WithContext

WithContext adds the context to the list items by company params

func (*ListItemsByCompanyParams) WithDefaults

WithDefaults hydrates default values in the list items by company params (not the query body).

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

func (*ListItemsByCompanyParams) WithDollarFilter

func (o *ListItemsByCompanyParams) WithDollarFilter(dollarFilter *string) *ListItemsByCompanyParams

WithDollarFilter adds the dollarFilter to the list items by company params

func (*ListItemsByCompanyParams) WithDollarInclude

func (o *ListItemsByCompanyParams) WithDollarInclude(dollarInclude *string) *ListItemsByCompanyParams

WithDollarInclude adds the dollarInclude to the list items by company params

func (*ListItemsByCompanyParams) WithDollarOrderBy

func (o *ListItemsByCompanyParams) WithDollarOrderBy(dollarOrderBy *string) *ListItemsByCompanyParams

WithDollarOrderBy adds the dollarOrderBy to the list items by company params

func (*ListItemsByCompanyParams) WithDollarSkip

func (o *ListItemsByCompanyParams) WithDollarSkip(dollarSkip *int32) *ListItemsByCompanyParams

WithDollarSkip adds the dollarSkip to the list items by company params

func (*ListItemsByCompanyParams) WithDollarTop

func (o *ListItemsByCompanyParams) WithDollarTop(dollarTop *int32) *ListItemsByCompanyParams

WithDollarTop adds the dollarTop to the list items by company params

func (*ListItemsByCompanyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list items by company params

func (*ListItemsByCompanyParams) WithTagName

func (o *ListItemsByCompanyParams) WithTagName(tagName *string) *ListItemsByCompanyParams

WithTagName adds the tagName to the list items by company params

func (*ListItemsByCompanyParams) WithTimeout

WithTimeout adds the timeout to the list items by company params

func (*ListItemsByCompanyParams) WithXAvalaraClient

func (o *ListItemsByCompanyParams) WithXAvalaraClient(xAvalaraClient *string) *ListItemsByCompanyParams

WithXAvalaraClient adds the xAvalaraClient to the list items by company params

func (*ListItemsByCompanyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListItemsByCompanyReader

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

ListItemsByCompanyReader is a Reader for the ListItemsByCompany structure.

func (*ListItemsByCompanyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListItemsByCompanyUnauthorized

type ListItemsByCompanyUnauthorized struct {
}
ListItemsByCompanyUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListItemsByCompanyUnauthorized

func NewListItemsByCompanyUnauthorized() *ListItemsByCompanyUnauthorized

NewListItemsByCompanyUnauthorized creates a ListItemsByCompanyUnauthorized with default headers values

func (*ListItemsByCompanyUnauthorized) Error

type QueryItemsBadRequest

type QueryItemsBadRequest struct {
}
QueryItemsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryItemsBadRequest

func NewQueryItemsBadRequest() *QueryItemsBadRequest

NewQueryItemsBadRequest creates a QueryItemsBadRequest with default headers values

func (*QueryItemsBadRequest) Error

func (o *QueryItemsBadRequest) Error() string

type QueryItemsByTagBadRequest

type QueryItemsByTagBadRequest struct {
}
QueryItemsByTagBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewQueryItemsByTagBadRequest

func NewQueryItemsByTagBadRequest() *QueryItemsByTagBadRequest

NewQueryItemsByTagBadRequest creates a QueryItemsByTagBadRequest with default headers values

func (*QueryItemsByTagBadRequest) Error

func (o *QueryItemsByTagBadRequest) Error() string

type QueryItemsByTagOK

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

Success

func NewQueryItemsByTagOK

func NewQueryItemsByTagOK() *QueryItemsByTagOK

NewQueryItemsByTagOK creates a QueryItemsByTagOK with default headers values

func (*QueryItemsByTagOK) Error

func (o *QueryItemsByTagOK) Error() string

func (*QueryItemsByTagOK) GetPayload

type QueryItemsByTagParams

type QueryItemsByTagParams struct {

	/* DollarFilter.

	   A filter statement to identify specific records to retrieve.  For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* taxCode, classifications, parameters, tags
	*/
	DollarFilter *string

	/* DollarInclude.

	   A comma separated list of additional data to retrieve.
	*/
	DollarInclude *string

	/* DollarOrderBy.

	   A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
	*/
	DollarOrderBy *string

	/* DollarSkip.

	   If nonzero, skip this number of results before returning data.  Used with `$top` to provide pagination for large datasets.

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   If nonzero, return no more than this number of results.  Used with `$skip` to provide pagination for large datasets.  Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* CompanyID.

	   The ID of the company that defined these items.

	   Format: int32
	*/
	CompanyID int32

	/* Tag.

	   The master tag to be associated with item.
	*/
	Tag string

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

QueryItemsByTagParams contains all the parameters to send to the API endpoint

for the query items by tag operation.

Typically these are written to a http.Request.

func NewQueryItemsByTagParams

func NewQueryItemsByTagParams() *QueryItemsByTagParams

NewQueryItemsByTagParams creates a new QueryItemsByTagParams 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 NewQueryItemsByTagParamsWithContext

func NewQueryItemsByTagParamsWithContext(ctx context.Context) *QueryItemsByTagParams

NewQueryItemsByTagParamsWithContext creates a new QueryItemsByTagParams object with the ability to set a context for a request.

func NewQueryItemsByTagParamsWithHTTPClient

func NewQueryItemsByTagParamsWithHTTPClient(client *http.Client) *QueryItemsByTagParams

NewQueryItemsByTagParamsWithHTTPClient creates a new QueryItemsByTagParams object with the ability to set a custom HTTPClient for a request.

func NewQueryItemsByTagParamsWithTimeout

func NewQueryItemsByTagParamsWithTimeout(timeout time.Duration) *QueryItemsByTagParams

NewQueryItemsByTagParamsWithTimeout creates a new QueryItemsByTagParams object with the ability to set a timeout on a request.

func (*QueryItemsByTagParams) SetCompanyID

func (o *QueryItemsByTagParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the query items by tag params

func (*QueryItemsByTagParams) SetContext

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

SetContext adds the context to the query items by tag params

func (*QueryItemsByTagParams) SetDefaults

func (o *QueryItemsByTagParams) SetDefaults()

SetDefaults hydrates default values in the query items by tag params (not the query body).

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

func (*QueryItemsByTagParams) SetDollarFilter

func (o *QueryItemsByTagParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the query items by tag params

func (*QueryItemsByTagParams) SetDollarInclude

func (o *QueryItemsByTagParams) SetDollarInclude(dollarInclude *string)

SetDollarInclude adds the dollarInclude to the query items by tag params

func (*QueryItemsByTagParams) SetDollarOrderBy

func (o *QueryItemsByTagParams) SetDollarOrderBy(dollarOrderBy *string)

SetDollarOrderBy adds the dollarOrderBy to the query items by tag params

func (*QueryItemsByTagParams) SetDollarSkip

func (o *QueryItemsByTagParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the query items by tag params

func (*QueryItemsByTagParams) SetDollarTop

func (o *QueryItemsByTagParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the query items by tag params

func (*QueryItemsByTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query items by tag params

func (*QueryItemsByTagParams) SetTag

func (o *QueryItemsByTagParams) SetTag(tag string)

SetTag adds the tag to the query items by tag params

func (*QueryItemsByTagParams) SetTimeout

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

SetTimeout adds the timeout to the query items by tag params

func (*QueryItemsByTagParams) SetXAvalaraClient

func (o *QueryItemsByTagParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the query items by tag params

func (*QueryItemsByTagParams) WithCompanyID

func (o *QueryItemsByTagParams) WithCompanyID(companyID int32) *QueryItemsByTagParams

WithCompanyID adds the companyID to the query items by tag params

func (*QueryItemsByTagParams) WithContext

WithContext adds the context to the query items by tag params

func (*QueryItemsByTagParams) WithDefaults

func (o *QueryItemsByTagParams) WithDefaults() *QueryItemsByTagParams

WithDefaults hydrates default values in the query items by tag params (not the query body).

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

func (*QueryItemsByTagParams) WithDollarFilter

func (o *QueryItemsByTagParams) WithDollarFilter(dollarFilter *string) *QueryItemsByTagParams

WithDollarFilter adds the dollarFilter to the query items by tag params

func (*QueryItemsByTagParams) WithDollarInclude

func (o *QueryItemsByTagParams) WithDollarInclude(dollarInclude *string) *QueryItemsByTagParams

WithDollarInclude adds the dollarInclude to the query items by tag params

func (*QueryItemsByTagParams) WithDollarOrderBy

func (o *QueryItemsByTagParams) WithDollarOrderBy(dollarOrderBy *string) *QueryItemsByTagParams

WithDollarOrderBy adds the dollarOrderBy to the query items by tag params

func (*QueryItemsByTagParams) WithDollarSkip

func (o *QueryItemsByTagParams) WithDollarSkip(dollarSkip *int32) *QueryItemsByTagParams

WithDollarSkip adds the dollarSkip to the query items by tag params

func (*QueryItemsByTagParams) WithDollarTop

func (o *QueryItemsByTagParams) WithDollarTop(dollarTop *int32) *QueryItemsByTagParams

WithDollarTop adds the dollarTop to the query items by tag params

func (*QueryItemsByTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query items by tag params

func (*QueryItemsByTagParams) WithTag

WithTag adds the tag to the query items by tag params

func (*QueryItemsByTagParams) WithTimeout

func (o *QueryItemsByTagParams) WithTimeout(timeout time.Duration) *QueryItemsByTagParams

WithTimeout adds the timeout to the query items by tag params

func (*QueryItemsByTagParams) WithXAvalaraClient

func (o *QueryItemsByTagParams) WithXAvalaraClient(xAvalaraClient *string) *QueryItemsByTagParams

WithXAvalaraClient adds the xAvalaraClient to the query items by tag params

func (*QueryItemsByTagParams) WriteToRequest

func (o *QueryItemsByTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QueryItemsByTagReader

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

QueryItemsByTagReader is a Reader for the QueryItemsByTag structure.

func (*QueryItemsByTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryItemsByTagUnauthorized

type QueryItemsByTagUnauthorized struct {
}
QueryItemsByTagUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewQueryItemsByTagUnauthorized

func NewQueryItemsByTagUnauthorized() *QueryItemsByTagUnauthorized

NewQueryItemsByTagUnauthorized creates a QueryItemsByTagUnauthorized with default headers values

func (*QueryItemsByTagUnauthorized) Error

type QueryItemsOK

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

Success

func NewQueryItemsOK

func NewQueryItemsOK() *QueryItemsOK

NewQueryItemsOK creates a QueryItemsOK with default headers values

func (*QueryItemsOK) Error

func (o *QueryItemsOK) Error() string

func (*QueryItemsOK) GetPayload

func (o *QueryItemsOK) GetPayload() *models.ItemModelFetchResult

type QueryItemsParams

type QueryItemsParams struct {

	/* DollarFilter.

	   A filter statement to identify specific records to retrieve.  For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* taxCode, classifications, parameters, tags
	*/
	DollarFilter *string

	/* DollarInclude.

	   A comma separated list of additional data to retrieve.
	*/
	DollarInclude *string

	/* DollarOrderBy.

	   A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
	*/
	DollarOrderBy *string

	/* DollarSkip.

	   If nonzero, skip this number of results before returning data.  Used with `$top` to provide pagination for large datasets.

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

	   If nonzero, return no more than this number of results.  Used with `$skip` to provide pagination for large datasets.  Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

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

QueryItemsParams contains all the parameters to send to the API endpoint

for the query items operation.

Typically these are written to a http.Request.

func NewQueryItemsParams

func NewQueryItemsParams() *QueryItemsParams

NewQueryItemsParams creates a new QueryItemsParams 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 NewQueryItemsParamsWithContext

func NewQueryItemsParamsWithContext(ctx context.Context) *QueryItemsParams

NewQueryItemsParamsWithContext creates a new QueryItemsParams object with the ability to set a context for a request.

func NewQueryItemsParamsWithHTTPClient

func NewQueryItemsParamsWithHTTPClient(client *http.Client) *QueryItemsParams

NewQueryItemsParamsWithHTTPClient creates a new QueryItemsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryItemsParamsWithTimeout

func NewQueryItemsParamsWithTimeout(timeout time.Duration) *QueryItemsParams

NewQueryItemsParamsWithTimeout creates a new QueryItemsParams object with the ability to set a timeout on a request.

func (*QueryItemsParams) SetContext

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

SetContext adds the context to the query items params

func (*QueryItemsParams) SetDefaults

func (o *QueryItemsParams) SetDefaults()

SetDefaults hydrates default values in the query items params (not the query body).

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

func (*QueryItemsParams) SetDollarFilter

func (o *QueryItemsParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the query items params

func (*QueryItemsParams) SetDollarInclude

func (o *QueryItemsParams) SetDollarInclude(dollarInclude *string)

SetDollarInclude adds the dollarInclude to the query items params

func (*QueryItemsParams) SetDollarOrderBy

func (o *QueryItemsParams) SetDollarOrderBy(dollarOrderBy *string)

SetDollarOrderBy adds the dollarOrderBy to the query items params

func (*QueryItemsParams) SetDollarSkip

func (o *QueryItemsParams) SetDollarSkip(dollarSkip *int32)

SetDollarSkip adds the dollarSkip to the query items params

func (*QueryItemsParams) SetDollarTop

func (o *QueryItemsParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the query items params

func (*QueryItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query items params

func (*QueryItemsParams) SetTimeout

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

SetTimeout adds the timeout to the query items params

func (*QueryItemsParams) SetXAvalaraClient

func (o *QueryItemsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the query items params

func (*QueryItemsParams) WithContext

func (o *QueryItemsParams) WithContext(ctx context.Context) *QueryItemsParams

WithContext adds the context to the query items params

func (*QueryItemsParams) WithDefaults

func (o *QueryItemsParams) WithDefaults() *QueryItemsParams

WithDefaults hydrates default values in the query items params (not the query body).

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

func (*QueryItemsParams) WithDollarFilter

func (o *QueryItemsParams) WithDollarFilter(dollarFilter *string) *QueryItemsParams

WithDollarFilter adds the dollarFilter to the query items params

func (*QueryItemsParams) WithDollarInclude

func (o *QueryItemsParams) WithDollarInclude(dollarInclude *string) *QueryItemsParams

WithDollarInclude adds the dollarInclude to the query items params

func (*QueryItemsParams) WithDollarOrderBy

func (o *QueryItemsParams) WithDollarOrderBy(dollarOrderBy *string) *QueryItemsParams

WithDollarOrderBy adds the dollarOrderBy to the query items params

func (*QueryItemsParams) WithDollarSkip

func (o *QueryItemsParams) WithDollarSkip(dollarSkip *int32) *QueryItemsParams

WithDollarSkip adds the dollarSkip to the query items params

func (*QueryItemsParams) WithDollarTop

func (o *QueryItemsParams) WithDollarTop(dollarTop *int32) *QueryItemsParams

WithDollarTop adds the dollarTop to the query items params

func (*QueryItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query items params

func (*QueryItemsParams) WithTimeout

func (o *QueryItemsParams) WithTimeout(timeout time.Duration) *QueryItemsParams

WithTimeout adds the timeout to the query items params

func (*QueryItemsParams) WithXAvalaraClient

func (o *QueryItemsParams) WithXAvalaraClient(xAvalaraClient *string) *QueryItemsParams

WithXAvalaraClient adds the xAvalaraClient to the query items params

func (*QueryItemsParams) WriteToRequest

func (o *QueryItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QueryItemsReader

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

QueryItemsReader is a Reader for the QueryItems structure.

func (*QueryItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryItemsUnauthorized

type QueryItemsUnauthorized struct {
}
QueryItemsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewQueryItemsUnauthorized

func NewQueryItemsUnauthorized() *QueryItemsUnauthorized

NewQueryItemsUnauthorized creates a QueryItemsUnauthorized with default headers values

func (*QueryItemsUnauthorized) Error

func (o *QueryItemsUnauthorized) Error() string

type SyncItemsAccepted

type SyncItemsAccepted struct {
	Payload *models.SyncItemsResponseModel
}
SyncItemsAccepted describes a response with status code 202, with default header values.

Success

func NewSyncItemsAccepted

func NewSyncItemsAccepted() *SyncItemsAccepted

NewSyncItemsAccepted creates a SyncItemsAccepted with default headers values

func (*SyncItemsAccepted) Error

func (o *SyncItemsAccepted) Error() string

func (*SyncItemsAccepted) GetPayload

type SyncItemsBadRequest

type SyncItemsBadRequest struct {
}
SyncItemsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewSyncItemsBadRequest

func NewSyncItemsBadRequest() *SyncItemsBadRequest

NewSyncItemsBadRequest creates a SyncItemsBadRequest with default headers values

func (*SyncItemsBadRequest) Error

func (o *SyncItemsBadRequest) Error() string

type SyncItemsParams

type SyncItemsParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* Body.

	   The request object.
	*/
	Body *models.SyncItemsRequestModel

	/* CompanyID.

	   The ID of the company that owns this item.

	   Format: int32
	*/
	CompanyID int32

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

SyncItemsParams contains all the parameters to send to the API endpoint

for the sync items operation.

Typically these are written to a http.Request.

func NewSyncItemsParams

func NewSyncItemsParams() *SyncItemsParams

NewSyncItemsParams creates a new SyncItemsParams 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 NewSyncItemsParamsWithContext

func NewSyncItemsParamsWithContext(ctx context.Context) *SyncItemsParams

NewSyncItemsParamsWithContext creates a new SyncItemsParams object with the ability to set a context for a request.

func NewSyncItemsParamsWithHTTPClient

func NewSyncItemsParamsWithHTTPClient(client *http.Client) *SyncItemsParams

NewSyncItemsParamsWithHTTPClient creates a new SyncItemsParams object with the ability to set a custom HTTPClient for a request.

func NewSyncItemsParamsWithTimeout

func NewSyncItemsParamsWithTimeout(timeout time.Duration) *SyncItemsParams

NewSyncItemsParamsWithTimeout creates a new SyncItemsParams object with the ability to set a timeout on a request.

func (*SyncItemsParams) SetBody

func (o *SyncItemsParams) SetBody(body *models.SyncItemsRequestModel)

SetBody adds the body to the sync items params

func (*SyncItemsParams) SetCompanyID

func (o *SyncItemsParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the sync items params

func (*SyncItemsParams) SetContext

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

SetContext adds the context to the sync items params

func (*SyncItemsParams) SetDefaults

func (o *SyncItemsParams) SetDefaults()

SetDefaults hydrates default values in the sync items params (not the query body).

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

func (*SyncItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the sync items params

func (*SyncItemsParams) SetTimeout

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

SetTimeout adds the timeout to the sync items params

func (*SyncItemsParams) SetXAvalaraClient

func (o *SyncItemsParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the sync items params

func (*SyncItemsParams) WithBody

WithBody adds the body to the sync items params

func (*SyncItemsParams) WithCompanyID

func (o *SyncItemsParams) WithCompanyID(companyID int32) *SyncItemsParams

WithCompanyID adds the companyID to the sync items params

func (*SyncItemsParams) WithContext

func (o *SyncItemsParams) WithContext(ctx context.Context) *SyncItemsParams

WithContext adds the context to the sync items params

func (*SyncItemsParams) WithDefaults

func (o *SyncItemsParams) WithDefaults() *SyncItemsParams

WithDefaults hydrates default values in the sync items params (not the query body).

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

func (*SyncItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the sync items params

func (*SyncItemsParams) WithTimeout

func (o *SyncItemsParams) WithTimeout(timeout time.Duration) *SyncItemsParams

WithTimeout adds the timeout to the sync items params

func (*SyncItemsParams) WithXAvalaraClient

func (o *SyncItemsParams) WithXAvalaraClient(xAvalaraClient *string) *SyncItemsParams

WithXAvalaraClient adds the xAvalaraClient to the sync items params

func (*SyncItemsParams) WriteToRequest

func (o *SyncItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SyncItemsReader

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

SyncItemsReader is a Reader for the SyncItems structure.

func (*SyncItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SyncItemsUnauthorized

type SyncItemsUnauthorized struct {
}
SyncItemsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewSyncItemsUnauthorized

func NewSyncItemsUnauthorized() *SyncItemsUnauthorized

NewSyncItemsUnauthorized creates a SyncItemsUnauthorized with default headers values

func (*SyncItemsUnauthorized) Error

func (o *SyncItemsUnauthorized) Error() string

type UpdateItemBadRequest

type UpdateItemBadRequest struct {
}
UpdateItemBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateItemBadRequest

func NewUpdateItemBadRequest() *UpdateItemBadRequest

NewUpdateItemBadRequest creates a UpdateItemBadRequest with default headers values

func (*UpdateItemBadRequest) Error

func (o *UpdateItemBadRequest) Error() string

type UpdateItemClassificationBadRequest

type UpdateItemClassificationBadRequest struct {
}
UpdateItemClassificationBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateItemClassificationBadRequest

func NewUpdateItemClassificationBadRequest() *UpdateItemClassificationBadRequest

NewUpdateItemClassificationBadRequest creates a UpdateItemClassificationBadRequest with default headers values

func (*UpdateItemClassificationBadRequest) Error

type UpdateItemClassificationNotFound

type UpdateItemClassificationNotFound struct {
}
UpdateItemClassificationNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateItemClassificationNotFound

func NewUpdateItemClassificationNotFound() *UpdateItemClassificationNotFound

NewUpdateItemClassificationNotFound creates a UpdateItemClassificationNotFound with default headers values

func (*UpdateItemClassificationNotFound) Error

type UpdateItemClassificationOK

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

Success

func NewUpdateItemClassificationOK

func NewUpdateItemClassificationOK() *UpdateItemClassificationOK

NewUpdateItemClassificationOK creates a UpdateItemClassificationOK with default headers values

func (*UpdateItemClassificationOK) Error

func (*UpdateItemClassificationOK) GetPayload

type UpdateItemClassificationParams

type UpdateItemClassificationParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* Body.

	   The item object you wish to update.
	*/
	Body *models.ItemClassificationInputModel

	/* CompanyID.

	   The company id.

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The item classification id.

	   Format: int64
	*/
	ID int64

	/* ItemID.

	   The item id.

	   Format: int64
	*/
	ItemID int64

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

UpdateItemClassificationParams contains all the parameters to send to the API endpoint

for the update item classification operation.

Typically these are written to a http.Request.

func NewUpdateItemClassificationParams

func NewUpdateItemClassificationParams() *UpdateItemClassificationParams

NewUpdateItemClassificationParams creates a new UpdateItemClassificationParams 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 NewUpdateItemClassificationParamsWithContext

func NewUpdateItemClassificationParamsWithContext(ctx context.Context) *UpdateItemClassificationParams

NewUpdateItemClassificationParamsWithContext creates a new UpdateItemClassificationParams object with the ability to set a context for a request.

func NewUpdateItemClassificationParamsWithHTTPClient

func NewUpdateItemClassificationParamsWithHTTPClient(client *http.Client) *UpdateItemClassificationParams

NewUpdateItemClassificationParamsWithHTTPClient creates a new UpdateItemClassificationParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateItemClassificationParamsWithTimeout

func NewUpdateItemClassificationParamsWithTimeout(timeout time.Duration) *UpdateItemClassificationParams

NewUpdateItemClassificationParamsWithTimeout creates a new UpdateItemClassificationParams object with the ability to set a timeout on a request.

func (*UpdateItemClassificationParams) SetBody

SetBody adds the body to the update item classification params

func (*UpdateItemClassificationParams) SetCompanyID

func (o *UpdateItemClassificationParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the update item classification params

func (*UpdateItemClassificationParams) SetContext

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

SetContext adds the context to the update item classification params

func (*UpdateItemClassificationParams) SetDefaults

func (o *UpdateItemClassificationParams) SetDefaults()

SetDefaults hydrates default values in the update item classification params (not the query body).

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

func (*UpdateItemClassificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update item classification params

func (*UpdateItemClassificationParams) SetID

SetID adds the id to the update item classification params

func (*UpdateItemClassificationParams) SetItemID

func (o *UpdateItemClassificationParams) SetItemID(itemID int64)

SetItemID adds the itemId to the update item classification params

func (*UpdateItemClassificationParams) SetTimeout

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

SetTimeout adds the timeout to the update item classification params

func (*UpdateItemClassificationParams) SetXAvalaraClient

func (o *UpdateItemClassificationParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the update item classification params

func (*UpdateItemClassificationParams) WithBody

WithBody adds the body to the update item classification params

func (*UpdateItemClassificationParams) WithCompanyID

WithCompanyID adds the companyID to the update item classification params

func (*UpdateItemClassificationParams) WithContext

WithContext adds the context to the update item classification params

func (*UpdateItemClassificationParams) WithDefaults

WithDefaults hydrates default values in the update item classification params (not the query body).

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

func (*UpdateItemClassificationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update item classification params

func (*UpdateItemClassificationParams) WithID

WithID adds the id to the update item classification params

func (*UpdateItemClassificationParams) WithItemID

WithItemID adds the itemID to the update item classification params

func (*UpdateItemClassificationParams) WithTimeout

WithTimeout adds the timeout to the update item classification params

func (*UpdateItemClassificationParams) WithXAvalaraClient

func (o *UpdateItemClassificationParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateItemClassificationParams

WithXAvalaraClient adds the xAvalaraClient to the update item classification params

func (*UpdateItemClassificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateItemClassificationReader

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

UpdateItemClassificationReader is a Reader for the UpdateItemClassification structure.

func (*UpdateItemClassificationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateItemClassificationUnauthorized

type UpdateItemClassificationUnauthorized struct {
}
UpdateItemClassificationUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateItemClassificationUnauthorized

func NewUpdateItemClassificationUnauthorized() *UpdateItemClassificationUnauthorized

NewUpdateItemClassificationUnauthorized creates a UpdateItemClassificationUnauthorized with default headers values

func (*UpdateItemClassificationUnauthorized) Error

type UpdateItemNotFound

type UpdateItemNotFound struct {
}
UpdateItemNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateItemNotFound

func NewUpdateItemNotFound() *UpdateItemNotFound

NewUpdateItemNotFound creates a UpdateItemNotFound with default headers values

func (*UpdateItemNotFound) Error

func (o *UpdateItemNotFound) Error() string

type UpdateItemOK

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

Success

func NewUpdateItemOK

func NewUpdateItemOK() *UpdateItemOK

NewUpdateItemOK creates a UpdateItemOK with default headers values

func (*UpdateItemOK) Error

func (o *UpdateItemOK) Error() string

func (*UpdateItemOK) GetPayload

func (o *UpdateItemOK) GetPayload() *models.ItemModel

type UpdateItemParameterBadRequest

type UpdateItemParameterBadRequest struct {
}
UpdateItemParameterBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateItemParameterBadRequest

func NewUpdateItemParameterBadRequest() *UpdateItemParameterBadRequest

NewUpdateItemParameterBadRequest creates a UpdateItemParameterBadRequest with default headers values

func (*UpdateItemParameterBadRequest) Error

type UpdateItemParameterNotFound

type UpdateItemParameterNotFound struct {
}
UpdateItemParameterNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateItemParameterNotFound

func NewUpdateItemParameterNotFound() *UpdateItemParameterNotFound

NewUpdateItemParameterNotFound creates a UpdateItemParameterNotFound with default headers values

func (*UpdateItemParameterNotFound) Error

type UpdateItemParameterOK

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

Success

func NewUpdateItemParameterOK

func NewUpdateItemParameterOK() *UpdateItemParameterOK

NewUpdateItemParameterOK creates a UpdateItemParameterOK with default headers values

func (*UpdateItemParameterOK) Error

func (o *UpdateItemParameterOK) Error() string

func (*UpdateItemParameterOK) GetPayload

type UpdateItemParameterParams

type UpdateItemParameterParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* Body.

	   The item object you wish to update.
	*/
	Body *models.ItemParameterModel

	/* CompanyID.

	   The company id.

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The item parameter id

	   Format: int64
	*/
	ID int64

	/* ItemID.

	   The item id

	   Format: int64
	*/
	ItemID int64

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

UpdateItemParameterParams contains all the parameters to send to the API endpoint

for the update item parameter operation.

Typically these are written to a http.Request.

func NewUpdateItemParameterParams

func NewUpdateItemParameterParams() *UpdateItemParameterParams

NewUpdateItemParameterParams creates a new UpdateItemParameterParams 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 NewUpdateItemParameterParamsWithContext

func NewUpdateItemParameterParamsWithContext(ctx context.Context) *UpdateItemParameterParams

NewUpdateItemParameterParamsWithContext creates a new UpdateItemParameterParams object with the ability to set a context for a request.

func NewUpdateItemParameterParamsWithHTTPClient

func NewUpdateItemParameterParamsWithHTTPClient(client *http.Client) *UpdateItemParameterParams

NewUpdateItemParameterParamsWithHTTPClient creates a new UpdateItemParameterParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateItemParameterParamsWithTimeout

func NewUpdateItemParameterParamsWithTimeout(timeout time.Duration) *UpdateItemParameterParams

NewUpdateItemParameterParamsWithTimeout creates a new UpdateItemParameterParams object with the ability to set a timeout on a request.

func (*UpdateItemParameterParams) SetBody

SetBody adds the body to the update item parameter params

func (*UpdateItemParameterParams) SetCompanyID

func (o *UpdateItemParameterParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the update item parameter params

func (*UpdateItemParameterParams) SetContext

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

SetContext adds the context to the update item parameter params

func (*UpdateItemParameterParams) SetDefaults

func (o *UpdateItemParameterParams) SetDefaults()

SetDefaults hydrates default values in the update item parameter params (not the query body).

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

func (*UpdateItemParameterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update item parameter params

func (*UpdateItemParameterParams) SetID

func (o *UpdateItemParameterParams) SetID(id int64)

SetID adds the id to the update item parameter params

func (*UpdateItemParameterParams) SetItemID

func (o *UpdateItemParameterParams) SetItemID(itemID int64)

SetItemID adds the itemId to the update item parameter params

func (*UpdateItemParameterParams) SetTimeout

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

SetTimeout adds the timeout to the update item parameter params

func (*UpdateItemParameterParams) SetXAvalaraClient

func (o *UpdateItemParameterParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the update item parameter params

func (*UpdateItemParameterParams) WithBody

WithBody adds the body to the update item parameter params

func (*UpdateItemParameterParams) WithCompanyID

func (o *UpdateItemParameterParams) WithCompanyID(companyID int32) *UpdateItemParameterParams

WithCompanyID adds the companyID to the update item parameter params

func (*UpdateItemParameterParams) WithContext

WithContext adds the context to the update item parameter params

func (*UpdateItemParameterParams) WithDefaults

WithDefaults hydrates default values in the update item parameter params (not the query body).

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

func (*UpdateItemParameterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update item parameter params

func (*UpdateItemParameterParams) WithID

WithID adds the id to the update item parameter params

func (*UpdateItemParameterParams) WithItemID

WithItemID adds the itemID to the update item parameter params

func (*UpdateItemParameterParams) WithTimeout

WithTimeout adds the timeout to the update item parameter params

func (*UpdateItemParameterParams) WithXAvalaraClient

func (o *UpdateItemParameterParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateItemParameterParams

WithXAvalaraClient adds the xAvalaraClient to the update item parameter params

func (*UpdateItemParameterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateItemParameterReader

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

UpdateItemParameterReader is a Reader for the UpdateItemParameter structure.

func (*UpdateItemParameterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateItemParameterUnauthorized

type UpdateItemParameterUnauthorized struct {
}
UpdateItemParameterUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateItemParameterUnauthorized

func NewUpdateItemParameterUnauthorized() *UpdateItemParameterUnauthorized

NewUpdateItemParameterUnauthorized creates a UpdateItemParameterUnauthorized with default headers values

func (*UpdateItemParameterUnauthorized) Error

type UpdateItemParams

type UpdateItemParams struct {

	/* XAvalaraClient.

	   Identifies the software you are using to call this API.  For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .

	   Default: "Swagger UI; 21.12.0; Custom; 1.0"
	*/
	XAvalaraClient *string

	/* Body.

	   The item object you wish to update.
	*/
	Body *models.ItemModel

	/* CompanyID.

	   The ID of the company that this item belongs to.

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The ID of the item you wish to update

	   Format: int64
	*/
	ID int64

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

UpdateItemParams contains all the parameters to send to the API endpoint

for the update item operation.

Typically these are written to a http.Request.

func NewUpdateItemParams

func NewUpdateItemParams() *UpdateItemParams

NewUpdateItemParams creates a new UpdateItemParams 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 NewUpdateItemParamsWithContext

func NewUpdateItemParamsWithContext(ctx context.Context) *UpdateItemParams

NewUpdateItemParamsWithContext creates a new UpdateItemParams object with the ability to set a context for a request.

func NewUpdateItemParamsWithHTTPClient

func NewUpdateItemParamsWithHTTPClient(client *http.Client) *UpdateItemParams

NewUpdateItemParamsWithHTTPClient creates a new UpdateItemParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateItemParamsWithTimeout

func NewUpdateItemParamsWithTimeout(timeout time.Duration) *UpdateItemParams

NewUpdateItemParamsWithTimeout creates a new UpdateItemParams object with the ability to set a timeout on a request.

func (*UpdateItemParams) SetBody

func (o *UpdateItemParams) SetBody(body *models.ItemModel)

SetBody adds the body to the update item params

func (*UpdateItemParams) SetCompanyID

func (o *UpdateItemParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the update item params

func (*UpdateItemParams) SetContext

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

SetContext adds the context to the update item params

func (*UpdateItemParams) SetDefaults

func (o *UpdateItemParams) SetDefaults()

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

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

func (*UpdateItemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update item params

func (*UpdateItemParams) SetID

func (o *UpdateItemParams) SetID(id int64)

SetID adds the id to the update item params

func (*UpdateItemParams) SetTimeout

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

SetTimeout adds the timeout to the update item params

func (*UpdateItemParams) SetXAvalaraClient

func (o *UpdateItemParams) SetXAvalaraClient(xAvalaraClient *string)

SetXAvalaraClient adds the xAvalaraClient to the update item params

func (*UpdateItemParams) WithBody

func (o *UpdateItemParams) WithBody(body *models.ItemModel) *UpdateItemParams

WithBody adds the body to the update item params

func (*UpdateItemParams) WithCompanyID

func (o *UpdateItemParams) WithCompanyID(companyID int32) *UpdateItemParams

WithCompanyID adds the companyID to the update item params

func (*UpdateItemParams) WithContext

func (o *UpdateItemParams) WithContext(ctx context.Context) *UpdateItemParams

WithContext adds the context to the update item params

func (*UpdateItemParams) WithDefaults

func (o *UpdateItemParams) WithDefaults() *UpdateItemParams

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

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

func (*UpdateItemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update item params

func (*UpdateItemParams) WithID

func (o *UpdateItemParams) WithID(id int64) *UpdateItemParams

WithID adds the id to the update item params

func (*UpdateItemParams) WithTimeout

func (o *UpdateItemParams) WithTimeout(timeout time.Duration) *UpdateItemParams

WithTimeout adds the timeout to the update item params

func (*UpdateItemParams) WithXAvalaraClient

func (o *UpdateItemParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateItemParams

WithXAvalaraClient adds the xAvalaraClient to the update item params

func (*UpdateItemParams) WriteToRequest

func (o *UpdateItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateItemReader

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

UpdateItemReader is a Reader for the UpdateItem structure.

func (*UpdateItemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateItemUnauthorized

type UpdateItemUnauthorized struct {
}
UpdateItemUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateItemUnauthorized

func NewUpdateItemUnauthorized() *UpdateItemUnauthorized

NewUpdateItemUnauthorized creates a UpdateItemUnauthorized with default headers values

func (*UpdateItemUnauthorized) Error

func (o *UpdateItemUnauthorized) Error() string

Source Files

Jump to

Keyboard shortcuts

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