Documentation ¶
Index ¶
- type BatchDeleteItemClassificationsBadRequest
- type BatchDeleteItemClassificationsNotFound
- type BatchDeleteItemClassificationsOK
- type BatchDeleteItemClassificationsParams
- func NewBatchDeleteItemClassificationsParams() *BatchDeleteItemClassificationsParams
- func NewBatchDeleteItemClassificationsParamsWithContext(ctx context.Context) *BatchDeleteItemClassificationsParams
- func NewBatchDeleteItemClassificationsParamsWithHTTPClient(client *http.Client) *BatchDeleteItemClassificationsParams
- func NewBatchDeleteItemClassificationsParamsWithTimeout(timeout time.Duration) *BatchDeleteItemClassificationsParams
- func (o *BatchDeleteItemClassificationsParams) SetCompanyID(companyID int32)
- func (o *BatchDeleteItemClassificationsParams) SetContext(ctx context.Context)
- func (o *BatchDeleteItemClassificationsParams) SetDefaults()
- func (o *BatchDeleteItemClassificationsParams) SetHTTPClient(client *http.Client)
- func (o *BatchDeleteItemClassificationsParams) SetItemID(itemID int64)
- func (o *BatchDeleteItemClassificationsParams) SetTimeout(timeout time.Duration)
- func (o *BatchDeleteItemClassificationsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *BatchDeleteItemClassificationsParams) WithCompanyID(companyID int32) *BatchDeleteItemClassificationsParams
- func (o *BatchDeleteItemClassificationsParams) WithContext(ctx context.Context) *BatchDeleteItemClassificationsParams
- func (o *BatchDeleteItemClassificationsParams) WithDefaults() *BatchDeleteItemClassificationsParams
- func (o *BatchDeleteItemClassificationsParams) WithHTTPClient(client *http.Client) *BatchDeleteItemClassificationsParams
- func (o *BatchDeleteItemClassificationsParams) WithItemID(itemID int64) *BatchDeleteItemClassificationsParams
- func (o *BatchDeleteItemClassificationsParams) WithTimeout(timeout time.Duration) *BatchDeleteItemClassificationsParams
- func (o *BatchDeleteItemClassificationsParams) WithXAvalaraClient(xAvalaraClient *string) *BatchDeleteItemClassificationsParams
- func (o *BatchDeleteItemClassificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BatchDeleteItemClassificationsReader
- type BatchDeleteItemClassificationsUnauthorized
- type BatchDeleteItemParametersOK
- type BatchDeleteItemParametersParams
- func NewBatchDeleteItemParametersParams() *BatchDeleteItemParametersParams
- func NewBatchDeleteItemParametersParamsWithContext(ctx context.Context) *BatchDeleteItemParametersParams
- func NewBatchDeleteItemParametersParamsWithHTTPClient(client *http.Client) *BatchDeleteItemParametersParams
- func NewBatchDeleteItemParametersParamsWithTimeout(timeout time.Duration) *BatchDeleteItemParametersParams
- func (o *BatchDeleteItemParametersParams) SetCompanyID(companyID int32)
- func (o *BatchDeleteItemParametersParams) SetContext(ctx context.Context)
- func (o *BatchDeleteItemParametersParams) SetDefaults()
- func (o *BatchDeleteItemParametersParams) SetHTTPClient(client *http.Client)
- func (o *BatchDeleteItemParametersParams) SetItemID(itemID int64)
- func (o *BatchDeleteItemParametersParams) SetTimeout(timeout time.Duration)
- func (o *BatchDeleteItemParametersParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *BatchDeleteItemParametersParams) WithCompanyID(companyID int32) *BatchDeleteItemParametersParams
- func (o *BatchDeleteItemParametersParams) WithContext(ctx context.Context) *BatchDeleteItemParametersParams
- func (o *BatchDeleteItemParametersParams) WithDefaults() *BatchDeleteItemParametersParams
- func (o *BatchDeleteItemParametersParams) WithHTTPClient(client *http.Client) *BatchDeleteItemParametersParams
- func (o *BatchDeleteItemParametersParams) WithItemID(itemID int64) *BatchDeleteItemParametersParams
- func (o *BatchDeleteItemParametersParams) WithTimeout(timeout time.Duration) *BatchDeleteItemParametersParams
- func (o *BatchDeleteItemParametersParams) WithXAvalaraClient(xAvalaraClient *string) *BatchDeleteItemParametersParams
- func (o *BatchDeleteItemParametersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BatchDeleteItemParametersReader
- type BulkUploadItemsBadRequest
- type BulkUploadItemsNotFound
- type BulkUploadItemsOK
- type BulkUploadItemsParams
- func NewBulkUploadItemsParams() *BulkUploadItemsParams
- func NewBulkUploadItemsParamsWithContext(ctx context.Context) *BulkUploadItemsParams
- func NewBulkUploadItemsParamsWithHTTPClient(client *http.Client) *BulkUploadItemsParams
- func NewBulkUploadItemsParamsWithTimeout(timeout time.Duration) *BulkUploadItemsParams
- func (o *BulkUploadItemsParams) SetBody(body *models.ItemBulkUploadInputModel)
- func (o *BulkUploadItemsParams) SetCompanyID(companyID int32)
- func (o *BulkUploadItemsParams) SetContext(ctx context.Context)
- func (o *BulkUploadItemsParams) SetDefaults()
- func (o *BulkUploadItemsParams) SetHTTPClient(client *http.Client)
- func (o *BulkUploadItemsParams) SetTimeout(timeout time.Duration)
- func (o *BulkUploadItemsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *BulkUploadItemsParams) WithBody(body *models.ItemBulkUploadInputModel) *BulkUploadItemsParams
- func (o *BulkUploadItemsParams) WithCompanyID(companyID int32) *BulkUploadItemsParams
- func (o *BulkUploadItemsParams) WithContext(ctx context.Context) *BulkUploadItemsParams
- func (o *BulkUploadItemsParams) WithDefaults() *BulkUploadItemsParams
- func (o *BulkUploadItemsParams) WithHTTPClient(client *http.Client) *BulkUploadItemsParams
- func (o *BulkUploadItemsParams) WithTimeout(timeout time.Duration) *BulkUploadItemsParams
- func (o *BulkUploadItemsParams) WithXAvalaraClient(xAvalaraClient *string) *BulkUploadItemsParams
- func (o *BulkUploadItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkUploadItemsReader
- type BulkUploadItemsUnauthorized
- type Client
- func (a *Client) BatchDeleteItemClassifications(params *BatchDeleteItemClassificationsParams, ...) (*BatchDeleteItemClassificationsOK, error)
- func (a *Client) BatchDeleteItemParameters(params *BatchDeleteItemParametersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BatchDeleteItemParametersOK, error)
- func (a *Client) BulkUploadItems(params *BulkUploadItemsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BulkUploadItemsOK, error)
- func (a *Client) CreateItemClassifications(params *CreateItemClassificationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateItemClassificationsCreated, error)
- func (a *Client) CreateItemParameters(params *CreateItemParametersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateItemParametersCreated, error)
- func (a *Client) CreateItemTags(params *CreateItemTagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateItemTagsCreated, error)
- func (a *Client) CreateItems(params *CreateItemsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateItemsOK, error)
- func (a *Client) DeleteItem(params *DeleteItemParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteItemOK, error)
- func (a *Client) DeleteItemClassification(params *DeleteItemClassificationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteItemClassificationOK, error)
- func (a *Client) DeleteItemParameter(params *DeleteItemParameterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteItemParameterOK, error)
- func (a *Client) DeleteItemTag(params *DeleteItemTagParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteItemTagOK, error)
- func (a *Client) DeleteItemTags(params *DeleteItemTagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteItemTagsOK, error)
- func (a *Client) GetItem(params *GetItemParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetItemOK, error)
- func (a *Client) GetItemClassification(params *GetItemClassificationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetItemClassificationOK, error)
- func (a *Client) GetItemParameter(params *GetItemParameterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetItemParameterOK, error)
- func (a *Client) GetItemTags(params *GetItemTagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetItemTagsOK, error)
- func (a *Client) ListItemClassifications(params *ListItemClassificationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListItemClassificationsOK, error)
- func (a *Client) ListItemParameters(params *ListItemParametersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListItemParametersOK, error)
- func (a *Client) ListItemsByCompany(params *ListItemsByCompanyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListItemsByCompanyOK, error)
- func (a *Client) QueryItems(params *QueryItemsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryItemsOK, error)
- func (a *Client) QueryItemsByTag(params *QueryItemsByTagParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryItemsByTagOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SyncItems(params *SyncItemsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SyncItemsAccepted, error)
- func (a *Client) UpdateItem(params *UpdateItemParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateItemOK, error)
- func (a *Client) UpdateItemClassification(params *UpdateItemClassificationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateItemClassificationOK, error)
- func (a *Client) UpdateItemParameter(params *UpdateItemParameterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateItemParameterOK, error)
- type ClientOption
- type ClientService
- type CreateItemClassificationsBadRequest
- type CreateItemClassificationsCreated
- type CreateItemClassificationsNotFound
- type CreateItemClassificationsParams
- func NewCreateItemClassificationsParams() *CreateItemClassificationsParams
- func NewCreateItemClassificationsParamsWithContext(ctx context.Context) *CreateItemClassificationsParams
- func NewCreateItemClassificationsParamsWithHTTPClient(client *http.Client) *CreateItemClassificationsParams
- func NewCreateItemClassificationsParamsWithTimeout(timeout time.Duration) *CreateItemClassificationsParams
- func (o *CreateItemClassificationsParams) SetBody(body []*models.ItemClassificationInputModel)
- func (o *CreateItemClassificationsParams) SetCompanyID(companyID int32)
- func (o *CreateItemClassificationsParams) SetContext(ctx context.Context)
- func (o *CreateItemClassificationsParams) SetDefaults()
- func (o *CreateItemClassificationsParams) SetHTTPClient(client *http.Client)
- func (o *CreateItemClassificationsParams) SetItemID(itemID int64)
- func (o *CreateItemClassificationsParams) SetTimeout(timeout time.Duration)
- func (o *CreateItemClassificationsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateItemClassificationsParams) WithBody(body []*models.ItemClassificationInputModel) *CreateItemClassificationsParams
- func (o *CreateItemClassificationsParams) WithCompanyID(companyID int32) *CreateItemClassificationsParams
- func (o *CreateItemClassificationsParams) WithContext(ctx context.Context) *CreateItemClassificationsParams
- func (o *CreateItemClassificationsParams) WithDefaults() *CreateItemClassificationsParams
- func (o *CreateItemClassificationsParams) WithHTTPClient(client *http.Client) *CreateItemClassificationsParams
- func (o *CreateItemClassificationsParams) WithItemID(itemID int64) *CreateItemClassificationsParams
- func (o *CreateItemClassificationsParams) WithTimeout(timeout time.Duration) *CreateItemClassificationsParams
- func (o *CreateItemClassificationsParams) WithXAvalaraClient(xAvalaraClient *string) *CreateItemClassificationsParams
- func (o *CreateItemClassificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateItemClassificationsReader
- type CreateItemClassificationsUnauthorized
- type CreateItemParametersBadRequest
- type CreateItemParametersCreated
- type CreateItemParametersNotFound
- type CreateItemParametersParams
- func NewCreateItemParametersParams() *CreateItemParametersParams
- func NewCreateItemParametersParamsWithContext(ctx context.Context) *CreateItemParametersParams
- func NewCreateItemParametersParamsWithHTTPClient(client *http.Client) *CreateItemParametersParams
- func NewCreateItemParametersParamsWithTimeout(timeout time.Duration) *CreateItemParametersParams
- func (o *CreateItemParametersParams) SetBody(body []*models.ItemParameterModel)
- func (o *CreateItemParametersParams) SetCompanyID(companyID int32)
- func (o *CreateItemParametersParams) SetContext(ctx context.Context)
- func (o *CreateItemParametersParams) SetDefaults()
- func (o *CreateItemParametersParams) SetHTTPClient(client *http.Client)
- func (o *CreateItemParametersParams) SetItemID(itemID int64)
- func (o *CreateItemParametersParams) SetTimeout(timeout time.Duration)
- func (o *CreateItemParametersParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateItemParametersParams) WithBody(body []*models.ItemParameterModel) *CreateItemParametersParams
- func (o *CreateItemParametersParams) WithCompanyID(companyID int32) *CreateItemParametersParams
- func (o *CreateItemParametersParams) WithContext(ctx context.Context) *CreateItemParametersParams
- func (o *CreateItemParametersParams) WithDefaults() *CreateItemParametersParams
- func (o *CreateItemParametersParams) WithHTTPClient(client *http.Client) *CreateItemParametersParams
- func (o *CreateItemParametersParams) WithItemID(itemID int64) *CreateItemParametersParams
- func (o *CreateItemParametersParams) WithTimeout(timeout time.Duration) *CreateItemParametersParams
- func (o *CreateItemParametersParams) WithXAvalaraClient(xAvalaraClient *string) *CreateItemParametersParams
- func (o *CreateItemParametersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateItemParametersReader
- type CreateItemParametersUnauthorized
- type CreateItemTagsBadRequest
- type CreateItemTagsCreated
- type CreateItemTagsNotFound
- type CreateItemTagsParams
- func NewCreateItemTagsParams() *CreateItemTagsParams
- func NewCreateItemTagsParamsWithContext(ctx context.Context) *CreateItemTagsParams
- func NewCreateItemTagsParamsWithHTTPClient(client *http.Client) *CreateItemTagsParams
- func NewCreateItemTagsParamsWithTimeout(timeout time.Duration) *CreateItemTagsParams
- func (o *CreateItemTagsParams) SetBody(body []*models.ItemTagDetailModel)
- func (o *CreateItemTagsParams) SetCompanyID(companyID int32)
- func (o *CreateItemTagsParams) SetContext(ctx context.Context)
- func (o *CreateItemTagsParams) SetDefaults()
- func (o *CreateItemTagsParams) SetHTTPClient(client *http.Client)
- func (o *CreateItemTagsParams) SetItemID(itemID int32)
- func (o *CreateItemTagsParams) SetTimeout(timeout time.Duration)
- func (o *CreateItemTagsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateItemTagsParams) WithBody(body []*models.ItemTagDetailModel) *CreateItemTagsParams
- func (o *CreateItemTagsParams) WithCompanyID(companyID int32) *CreateItemTagsParams
- func (o *CreateItemTagsParams) WithContext(ctx context.Context) *CreateItemTagsParams
- func (o *CreateItemTagsParams) WithDefaults() *CreateItemTagsParams
- func (o *CreateItemTagsParams) WithHTTPClient(client *http.Client) *CreateItemTagsParams
- func (o *CreateItemTagsParams) WithItemID(itemID int32) *CreateItemTagsParams
- func (o *CreateItemTagsParams) WithTimeout(timeout time.Duration) *CreateItemTagsParams
- func (o *CreateItemTagsParams) WithXAvalaraClient(xAvalaraClient *string) *CreateItemTagsParams
- func (o *CreateItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateItemTagsReader
- type CreateItemTagsUnauthorized
- type CreateItemsBadRequest
- type CreateItemsNotFound
- type CreateItemsOK
- type CreateItemsParams
- func (o *CreateItemsParams) SetBody(body []*models.ItemModel)
- func (o *CreateItemsParams) SetCompanyID(companyID int32)
- func (o *CreateItemsParams) SetContext(ctx context.Context)
- func (o *CreateItemsParams) SetDefaults()
- func (o *CreateItemsParams) SetHTTPClient(client *http.Client)
- func (o *CreateItemsParams) SetTimeout(timeout time.Duration)
- func (o *CreateItemsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateItemsParams) WithBody(body []*models.ItemModel) *CreateItemsParams
- func (o *CreateItemsParams) WithCompanyID(companyID int32) *CreateItemsParams
- func (o *CreateItemsParams) WithContext(ctx context.Context) *CreateItemsParams
- func (o *CreateItemsParams) WithDefaults() *CreateItemsParams
- func (o *CreateItemsParams) WithHTTPClient(client *http.Client) *CreateItemsParams
- func (o *CreateItemsParams) WithTimeout(timeout time.Duration) *CreateItemsParams
- func (o *CreateItemsParams) WithXAvalaraClient(xAvalaraClient *string) *CreateItemsParams
- func (o *CreateItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateItemsReader
- type CreateItemsUnauthorized
- type DeleteItemBadRequest
- type DeleteItemClassificationBadRequest
- type DeleteItemClassificationNotFound
- type DeleteItemClassificationOK
- type DeleteItemClassificationParams
- func NewDeleteItemClassificationParams() *DeleteItemClassificationParams
- func NewDeleteItemClassificationParamsWithContext(ctx context.Context) *DeleteItemClassificationParams
- func NewDeleteItemClassificationParamsWithHTTPClient(client *http.Client) *DeleteItemClassificationParams
- func NewDeleteItemClassificationParamsWithTimeout(timeout time.Duration) *DeleteItemClassificationParams
- func (o *DeleteItemClassificationParams) SetCompanyID(companyID int32)
- func (o *DeleteItemClassificationParams) SetContext(ctx context.Context)
- func (o *DeleteItemClassificationParams) SetDefaults()
- func (o *DeleteItemClassificationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteItemClassificationParams) SetID(id int64)
- func (o *DeleteItemClassificationParams) SetItemID(itemID int64)
- func (o *DeleteItemClassificationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteItemClassificationParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteItemClassificationParams) WithCompanyID(companyID int32) *DeleteItemClassificationParams
- func (o *DeleteItemClassificationParams) WithContext(ctx context.Context) *DeleteItemClassificationParams
- func (o *DeleteItemClassificationParams) WithDefaults() *DeleteItemClassificationParams
- func (o *DeleteItemClassificationParams) WithHTTPClient(client *http.Client) *DeleteItemClassificationParams
- func (o *DeleteItemClassificationParams) WithID(id int64) *DeleteItemClassificationParams
- func (o *DeleteItemClassificationParams) WithItemID(itemID int64) *DeleteItemClassificationParams
- func (o *DeleteItemClassificationParams) WithTimeout(timeout time.Duration) *DeleteItemClassificationParams
- func (o *DeleteItemClassificationParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteItemClassificationParams
- func (o *DeleteItemClassificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteItemClassificationReader
- type DeleteItemClassificationUnauthorized
- type DeleteItemNotFound
- type DeleteItemOK
- type DeleteItemParameterBadRequest
- type DeleteItemParameterNotFound
- type DeleteItemParameterOK
- type DeleteItemParameterParams
- func NewDeleteItemParameterParams() *DeleteItemParameterParams
- func NewDeleteItemParameterParamsWithContext(ctx context.Context) *DeleteItemParameterParams
- func NewDeleteItemParameterParamsWithHTTPClient(client *http.Client) *DeleteItemParameterParams
- func NewDeleteItemParameterParamsWithTimeout(timeout time.Duration) *DeleteItemParameterParams
- func (o *DeleteItemParameterParams) SetCompanyID(companyID int32)
- func (o *DeleteItemParameterParams) SetContext(ctx context.Context)
- func (o *DeleteItemParameterParams) SetDefaults()
- func (o *DeleteItemParameterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteItemParameterParams) SetID(id int64)
- func (o *DeleteItemParameterParams) SetItemID(itemID int64)
- func (o *DeleteItemParameterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteItemParameterParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteItemParameterParams) WithCompanyID(companyID int32) *DeleteItemParameterParams
- func (o *DeleteItemParameterParams) WithContext(ctx context.Context) *DeleteItemParameterParams
- func (o *DeleteItemParameterParams) WithDefaults() *DeleteItemParameterParams
- func (o *DeleteItemParameterParams) WithHTTPClient(client *http.Client) *DeleteItemParameterParams
- func (o *DeleteItemParameterParams) WithID(id int64) *DeleteItemParameterParams
- func (o *DeleteItemParameterParams) WithItemID(itemID int64) *DeleteItemParameterParams
- func (o *DeleteItemParameterParams) WithTimeout(timeout time.Duration) *DeleteItemParameterParams
- func (o *DeleteItemParameterParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteItemParameterParams
- func (o *DeleteItemParameterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteItemParameterReader
- type DeleteItemParameterUnauthorized
- type DeleteItemParams
- func (o *DeleteItemParams) SetCompanyID(companyID int32)
- func (o *DeleteItemParams) SetContext(ctx context.Context)
- func (o *DeleteItemParams) SetDefaults()
- func (o *DeleteItemParams) SetHTTPClient(client *http.Client)
- func (o *DeleteItemParams) SetID(id int64)
- func (o *DeleteItemParams) SetTimeout(timeout time.Duration)
- func (o *DeleteItemParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteItemParams) WithCompanyID(companyID int32) *DeleteItemParams
- func (o *DeleteItemParams) WithContext(ctx context.Context) *DeleteItemParams
- func (o *DeleteItemParams) WithDefaults() *DeleteItemParams
- func (o *DeleteItemParams) WithHTTPClient(client *http.Client) *DeleteItemParams
- func (o *DeleteItemParams) WithID(id int64) *DeleteItemParams
- func (o *DeleteItemParams) WithTimeout(timeout time.Duration) *DeleteItemParams
- func (o *DeleteItemParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteItemParams
- func (o *DeleteItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteItemReader
- type DeleteItemTagBadRequest
- type DeleteItemTagNotFound
- type DeleteItemTagOK
- type DeleteItemTagParams
- func (o *DeleteItemTagParams) SetCompanyID(companyID int32)
- func (o *DeleteItemTagParams) SetContext(ctx context.Context)
- func (o *DeleteItemTagParams) SetDefaults()
- func (o *DeleteItemTagParams) SetHTTPClient(client *http.Client)
- func (o *DeleteItemTagParams) SetItemID(itemID int64)
- func (o *DeleteItemTagParams) SetItemTagDetailID(itemTagDetailID int32)
- func (o *DeleteItemTagParams) SetTimeout(timeout time.Duration)
- func (o *DeleteItemTagParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteItemTagParams) WithCompanyID(companyID int32) *DeleteItemTagParams
- func (o *DeleteItemTagParams) WithContext(ctx context.Context) *DeleteItemTagParams
- func (o *DeleteItemTagParams) WithDefaults() *DeleteItemTagParams
- func (o *DeleteItemTagParams) WithHTTPClient(client *http.Client) *DeleteItemTagParams
- func (o *DeleteItemTagParams) WithItemID(itemID int64) *DeleteItemTagParams
- func (o *DeleteItemTagParams) WithItemTagDetailID(itemTagDetailID int32) *DeleteItemTagParams
- func (o *DeleteItemTagParams) WithTimeout(timeout time.Duration) *DeleteItemTagParams
- func (o *DeleteItemTagParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteItemTagParams
- func (o *DeleteItemTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteItemTagReader
- type DeleteItemTagUnauthorized
- type DeleteItemTagsBadRequest
- type DeleteItemTagsNotFound
- type DeleteItemTagsOK
- type DeleteItemTagsParams
- func NewDeleteItemTagsParams() *DeleteItemTagsParams
- func NewDeleteItemTagsParamsWithContext(ctx context.Context) *DeleteItemTagsParams
- func NewDeleteItemTagsParamsWithHTTPClient(client *http.Client) *DeleteItemTagsParams
- func NewDeleteItemTagsParamsWithTimeout(timeout time.Duration) *DeleteItemTagsParams
- func (o *DeleteItemTagsParams) SetCompanyID(companyID int32)
- func (o *DeleteItemTagsParams) SetContext(ctx context.Context)
- func (o *DeleteItemTagsParams) SetDefaults()
- func (o *DeleteItemTagsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteItemTagsParams) SetItemID(itemID int64)
- func (o *DeleteItemTagsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteItemTagsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteItemTagsParams) WithCompanyID(companyID int32) *DeleteItemTagsParams
- func (o *DeleteItemTagsParams) WithContext(ctx context.Context) *DeleteItemTagsParams
- func (o *DeleteItemTagsParams) WithDefaults() *DeleteItemTagsParams
- func (o *DeleteItemTagsParams) WithHTTPClient(client *http.Client) *DeleteItemTagsParams
- func (o *DeleteItemTagsParams) WithItemID(itemID int64) *DeleteItemTagsParams
- func (o *DeleteItemTagsParams) WithTimeout(timeout time.Duration) *DeleteItemTagsParams
- func (o *DeleteItemTagsParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteItemTagsParams
- func (o *DeleteItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteItemTagsReader
- type DeleteItemTagsUnauthorized
- type DeleteItemUnauthorized
- type GetItemBadRequest
- type GetItemClassificationBadRequest
- type GetItemClassificationNotFound
- type GetItemClassificationOK
- type GetItemClassificationParams
- func NewGetItemClassificationParams() *GetItemClassificationParams
- func NewGetItemClassificationParamsWithContext(ctx context.Context) *GetItemClassificationParams
- func NewGetItemClassificationParamsWithHTTPClient(client *http.Client) *GetItemClassificationParams
- func NewGetItemClassificationParamsWithTimeout(timeout time.Duration) *GetItemClassificationParams
- func (o *GetItemClassificationParams) SetCompanyID(companyID int32)
- func (o *GetItemClassificationParams) SetContext(ctx context.Context)
- func (o *GetItemClassificationParams) SetDefaults()
- func (o *GetItemClassificationParams) SetHTTPClient(client *http.Client)
- func (o *GetItemClassificationParams) SetID(id int64)
- func (o *GetItemClassificationParams) SetItemID(itemID int64)
- func (o *GetItemClassificationParams) SetTimeout(timeout time.Duration)
- func (o *GetItemClassificationParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetItemClassificationParams) WithCompanyID(companyID int32) *GetItemClassificationParams
- func (o *GetItemClassificationParams) WithContext(ctx context.Context) *GetItemClassificationParams
- func (o *GetItemClassificationParams) WithDefaults() *GetItemClassificationParams
- func (o *GetItemClassificationParams) WithHTTPClient(client *http.Client) *GetItemClassificationParams
- func (o *GetItemClassificationParams) WithID(id int64) *GetItemClassificationParams
- func (o *GetItemClassificationParams) WithItemID(itemID int64) *GetItemClassificationParams
- func (o *GetItemClassificationParams) WithTimeout(timeout time.Duration) *GetItemClassificationParams
- func (o *GetItemClassificationParams) WithXAvalaraClient(xAvalaraClient *string) *GetItemClassificationParams
- func (o *GetItemClassificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetItemClassificationReader
- type GetItemClassificationUnauthorized
- type GetItemNotFound
- type GetItemOK
- type GetItemParameterBadRequest
- type GetItemParameterNotFound
- type GetItemParameterOK
- type GetItemParameterParams
- func NewGetItemParameterParams() *GetItemParameterParams
- func NewGetItemParameterParamsWithContext(ctx context.Context) *GetItemParameterParams
- func NewGetItemParameterParamsWithHTTPClient(client *http.Client) *GetItemParameterParams
- func NewGetItemParameterParamsWithTimeout(timeout time.Duration) *GetItemParameterParams
- func (o *GetItemParameterParams) SetCompanyID(companyID int32)
- func (o *GetItemParameterParams) SetContext(ctx context.Context)
- func (o *GetItemParameterParams) SetDefaults()
- func (o *GetItemParameterParams) SetHTTPClient(client *http.Client)
- func (o *GetItemParameterParams) SetID(id int64)
- func (o *GetItemParameterParams) SetItemID(itemID int64)
- func (o *GetItemParameterParams) SetTimeout(timeout time.Duration)
- func (o *GetItemParameterParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetItemParameterParams) WithCompanyID(companyID int32) *GetItemParameterParams
- func (o *GetItemParameterParams) WithContext(ctx context.Context) *GetItemParameterParams
- func (o *GetItemParameterParams) WithDefaults() *GetItemParameterParams
- func (o *GetItemParameterParams) WithHTTPClient(client *http.Client) *GetItemParameterParams
- func (o *GetItemParameterParams) WithID(id int64) *GetItemParameterParams
- func (o *GetItemParameterParams) WithItemID(itemID int64) *GetItemParameterParams
- func (o *GetItemParameterParams) WithTimeout(timeout time.Duration) *GetItemParameterParams
- func (o *GetItemParameterParams) WithXAvalaraClient(xAvalaraClient *string) *GetItemParameterParams
- func (o *GetItemParameterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetItemParameterReader
- type GetItemParameterUnauthorized
- type GetItemParams
- func (o *GetItemParams) SetCompanyID(companyID int32)
- func (o *GetItemParams) SetContext(ctx context.Context)
- func (o *GetItemParams) SetDefaults()
- func (o *GetItemParams) SetDollarInclude(dollarInclude *string)
- func (o *GetItemParams) SetHTTPClient(client *http.Client)
- func (o *GetItemParams) SetID(id int64)
- func (o *GetItemParams) SetTimeout(timeout time.Duration)
- func (o *GetItemParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetItemParams) WithCompanyID(companyID int32) *GetItemParams
- func (o *GetItemParams) WithContext(ctx context.Context) *GetItemParams
- func (o *GetItemParams) WithDefaults() *GetItemParams
- func (o *GetItemParams) WithDollarInclude(dollarInclude *string) *GetItemParams
- func (o *GetItemParams) WithHTTPClient(client *http.Client) *GetItemParams
- func (o *GetItemParams) WithID(id int64) *GetItemParams
- func (o *GetItemParams) WithTimeout(timeout time.Duration) *GetItemParams
- func (o *GetItemParams) WithXAvalaraClient(xAvalaraClient *string) *GetItemParams
- func (o *GetItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetItemReader
- type GetItemTagsBadRequest
- type GetItemTagsNotFound
- type GetItemTagsOK
- type GetItemTagsParams
- func (o *GetItemTagsParams) SetCompanyID(companyID int32)
- func (o *GetItemTagsParams) SetContext(ctx context.Context)
- func (o *GetItemTagsParams) SetDefaults()
- func (o *GetItemTagsParams) SetDollarFilter(dollarFilter *string)
- func (o *GetItemTagsParams) SetDollarSkip(dollarSkip *int32)
- func (o *GetItemTagsParams) SetDollarTop(dollarTop *int32)
- func (o *GetItemTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetItemTagsParams) SetItemID(itemID int64)
- func (o *GetItemTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetItemTagsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetItemTagsParams) WithCompanyID(companyID int32) *GetItemTagsParams
- func (o *GetItemTagsParams) WithContext(ctx context.Context) *GetItemTagsParams
- func (o *GetItemTagsParams) WithDefaults() *GetItemTagsParams
- func (o *GetItemTagsParams) WithDollarFilter(dollarFilter *string) *GetItemTagsParams
- func (o *GetItemTagsParams) WithDollarSkip(dollarSkip *int32) *GetItemTagsParams
- func (o *GetItemTagsParams) WithDollarTop(dollarTop *int32) *GetItemTagsParams
- func (o *GetItemTagsParams) WithHTTPClient(client *http.Client) *GetItemTagsParams
- func (o *GetItemTagsParams) WithItemID(itemID int64) *GetItemTagsParams
- func (o *GetItemTagsParams) WithTimeout(timeout time.Duration) *GetItemTagsParams
- func (o *GetItemTagsParams) WithXAvalaraClient(xAvalaraClient *string) *GetItemTagsParams
- func (o *GetItemTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetItemTagsReader
- type GetItemTagsUnauthorized
- type GetItemUnauthorized
- type ListItemClassificationsBadRequest
- type ListItemClassificationsNotFound
- type ListItemClassificationsOK
- type ListItemClassificationsParams
- func NewListItemClassificationsParams() *ListItemClassificationsParams
- func NewListItemClassificationsParamsWithContext(ctx context.Context) *ListItemClassificationsParams
- func NewListItemClassificationsParamsWithHTTPClient(client *http.Client) *ListItemClassificationsParams
- func NewListItemClassificationsParamsWithTimeout(timeout time.Duration) *ListItemClassificationsParams
- func (o *ListItemClassificationsParams) SetCompanyID(companyID int32)
- func (o *ListItemClassificationsParams) SetContext(ctx context.Context)
- func (o *ListItemClassificationsParams) SetDefaults()
- func (o *ListItemClassificationsParams) SetDollarFilter(dollarFilter *string)
- func (o *ListItemClassificationsParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *ListItemClassificationsParams) SetDollarSkip(dollarSkip *int32)
- func (o *ListItemClassificationsParams) SetDollarTop(dollarTop *int32)
- func (o *ListItemClassificationsParams) SetHTTPClient(client *http.Client)
- func (o *ListItemClassificationsParams) SetItemID(itemID int64)
- func (o *ListItemClassificationsParams) SetTimeout(timeout time.Duration)
- func (o *ListItemClassificationsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ListItemClassificationsParams) WithCompanyID(companyID int32) *ListItemClassificationsParams
- func (o *ListItemClassificationsParams) WithContext(ctx context.Context) *ListItemClassificationsParams
- func (o *ListItemClassificationsParams) WithDefaults() *ListItemClassificationsParams
- func (o *ListItemClassificationsParams) WithDollarFilter(dollarFilter *string) *ListItemClassificationsParams
- func (o *ListItemClassificationsParams) WithDollarOrderBy(dollarOrderBy *string) *ListItemClassificationsParams
- func (o *ListItemClassificationsParams) WithDollarSkip(dollarSkip *int32) *ListItemClassificationsParams
- func (o *ListItemClassificationsParams) WithDollarTop(dollarTop *int32) *ListItemClassificationsParams
- func (o *ListItemClassificationsParams) WithHTTPClient(client *http.Client) *ListItemClassificationsParams
- func (o *ListItemClassificationsParams) WithItemID(itemID int64) *ListItemClassificationsParams
- func (o *ListItemClassificationsParams) WithTimeout(timeout time.Duration) *ListItemClassificationsParams
- func (o *ListItemClassificationsParams) WithXAvalaraClient(xAvalaraClient *string) *ListItemClassificationsParams
- func (o *ListItemClassificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListItemClassificationsReader
- type ListItemClassificationsUnauthorized
- type ListItemParametersBadRequest
- type ListItemParametersNotFound
- type ListItemParametersOK
- type ListItemParametersParams
- func NewListItemParametersParams() *ListItemParametersParams
- func NewListItemParametersParamsWithContext(ctx context.Context) *ListItemParametersParams
- func NewListItemParametersParamsWithHTTPClient(client *http.Client) *ListItemParametersParams
- func NewListItemParametersParamsWithTimeout(timeout time.Duration) *ListItemParametersParams
- func (o *ListItemParametersParams) SetCompanyID(companyID int32)
- func (o *ListItemParametersParams) SetContext(ctx context.Context)
- func (o *ListItemParametersParams) SetDefaults()
- func (o *ListItemParametersParams) SetDollarFilter(dollarFilter *string)
- func (o *ListItemParametersParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *ListItemParametersParams) SetDollarSkip(dollarSkip *int32)
- func (o *ListItemParametersParams) SetDollarTop(dollarTop *int32)
- func (o *ListItemParametersParams) SetHTTPClient(client *http.Client)
- func (o *ListItemParametersParams) SetItemID(itemID int64)
- func (o *ListItemParametersParams) SetTimeout(timeout time.Duration)
- func (o *ListItemParametersParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ListItemParametersParams) WithCompanyID(companyID int32) *ListItemParametersParams
- func (o *ListItemParametersParams) WithContext(ctx context.Context) *ListItemParametersParams
- func (o *ListItemParametersParams) WithDefaults() *ListItemParametersParams
- func (o *ListItemParametersParams) WithDollarFilter(dollarFilter *string) *ListItemParametersParams
- func (o *ListItemParametersParams) WithDollarOrderBy(dollarOrderBy *string) *ListItemParametersParams
- func (o *ListItemParametersParams) WithDollarSkip(dollarSkip *int32) *ListItemParametersParams
- func (o *ListItemParametersParams) WithDollarTop(dollarTop *int32) *ListItemParametersParams
- func (o *ListItemParametersParams) WithHTTPClient(client *http.Client) *ListItemParametersParams
- func (o *ListItemParametersParams) WithItemID(itemID int64) *ListItemParametersParams
- func (o *ListItemParametersParams) WithTimeout(timeout time.Duration) *ListItemParametersParams
- func (o *ListItemParametersParams) WithXAvalaraClient(xAvalaraClient *string) *ListItemParametersParams
- func (o *ListItemParametersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListItemParametersReader
- type ListItemParametersUnauthorized
- type ListItemsByCompanyBadRequest
- type ListItemsByCompanyNotFound
- type ListItemsByCompanyOK
- type ListItemsByCompanyParams
- func NewListItemsByCompanyParams() *ListItemsByCompanyParams
- func NewListItemsByCompanyParamsWithContext(ctx context.Context) *ListItemsByCompanyParams
- func NewListItemsByCompanyParamsWithHTTPClient(client *http.Client) *ListItemsByCompanyParams
- func NewListItemsByCompanyParamsWithTimeout(timeout time.Duration) *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) SetCompanyID(companyID int32)
- func (o *ListItemsByCompanyParams) SetContext(ctx context.Context)
- func (o *ListItemsByCompanyParams) SetDefaults()
- func (o *ListItemsByCompanyParams) SetDollarFilter(dollarFilter *string)
- func (o *ListItemsByCompanyParams) SetDollarInclude(dollarInclude *string)
- func (o *ListItemsByCompanyParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *ListItemsByCompanyParams) SetDollarSkip(dollarSkip *int32)
- func (o *ListItemsByCompanyParams) SetDollarTop(dollarTop *int32)
- func (o *ListItemsByCompanyParams) SetHTTPClient(client *http.Client)
- func (o *ListItemsByCompanyParams) SetTagName(tagName *string)
- func (o *ListItemsByCompanyParams) SetTimeout(timeout time.Duration)
- func (o *ListItemsByCompanyParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ListItemsByCompanyParams) WithCompanyID(companyID int32) *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) WithContext(ctx context.Context) *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) WithDefaults() *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) WithDollarFilter(dollarFilter *string) *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) WithDollarInclude(dollarInclude *string) *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) WithDollarOrderBy(dollarOrderBy *string) *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) WithDollarSkip(dollarSkip *int32) *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) WithDollarTop(dollarTop *int32) *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) WithHTTPClient(client *http.Client) *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) WithTagName(tagName *string) *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) WithTimeout(timeout time.Duration) *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) WithXAvalaraClient(xAvalaraClient *string) *ListItemsByCompanyParams
- func (o *ListItemsByCompanyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListItemsByCompanyReader
- type ListItemsByCompanyUnauthorized
- type QueryItemsBadRequest
- type QueryItemsByTagBadRequest
- type QueryItemsByTagOK
- type QueryItemsByTagParams
- func NewQueryItemsByTagParams() *QueryItemsByTagParams
- func NewQueryItemsByTagParamsWithContext(ctx context.Context) *QueryItemsByTagParams
- func NewQueryItemsByTagParamsWithHTTPClient(client *http.Client) *QueryItemsByTagParams
- func NewQueryItemsByTagParamsWithTimeout(timeout time.Duration) *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) SetCompanyID(companyID int32)
- func (o *QueryItemsByTagParams) SetContext(ctx context.Context)
- func (o *QueryItemsByTagParams) SetDefaults()
- func (o *QueryItemsByTagParams) SetDollarFilter(dollarFilter *string)
- func (o *QueryItemsByTagParams) SetDollarInclude(dollarInclude *string)
- func (o *QueryItemsByTagParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *QueryItemsByTagParams) SetDollarSkip(dollarSkip *int32)
- func (o *QueryItemsByTagParams) SetDollarTop(dollarTop *int32)
- func (o *QueryItemsByTagParams) SetHTTPClient(client *http.Client)
- func (o *QueryItemsByTagParams) SetTag(tag string)
- func (o *QueryItemsByTagParams) SetTimeout(timeout time.Duration)
- func (o *QueryItemsByTagParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *QueryItemsByTagParams) WithCompanyID(companyID int32) *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) WithContext(ctx context.Context) *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) WithDefaults() *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) WithDollarFilter(dollarFilter *string) *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) WithDollarInclude(dollarInclude *string) *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) WithDollarOrderBy(dollarOrderBy *string) *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) WithDollarSkip(dollarSkip *int32) *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) WithDollarTop(dollarTop *int32) *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) WithHTTPClient(client *http.Client) *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) WithTag(tag string) *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) WithTimeout(timeout time.Duration) *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) WithXAvalaraClient(xAvalaraClient *string) *QueryItemsByTagParams
- func (o *QueryItemsByTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryItemsByTagReader
- type QueryItemsByTagUnauthorized
- type QueryItemsOK
- type QueryItemsParams
- func (o *QueryItemsParams) SetContext(ctx context.Context)
- func (o *QueryItemsParams) SetDefaults()
- func (o *QueryItemsParams) SetDollarFilter(dollarFilter *string)
- func (o *QueryItemsParams) SetDollarInclude(dollarInclude *string)
- func (o *QueryItemsParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *QueryItemsParams) SetDollarSkip(dollarSkip *int32)
- func (o *QueryItemsParams) SetDollarTop(dollarTop *int32)
- func (o *QueryItemsParams) SetHTTPClient(client *http.Client)
- func (o *QueryItemsParams) SetTimeout(timeout time.Duration)
- func (o *QueryItemsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *QueryItemsParams) WithContext(ctx context.Context) *QueryItemsParams
- func (o *QueryItemsParams) WithDefaults() *QueryItemsParams
- func (o *QueryItemsParams) WithDollarFilter(dollarFilter *string) *QueryItemsParams
- func (o *QueryItemsParams) WithDollarInclude(dollarInclude *string) *QueryItemsParams
- func (o *QueryItemsParams) WithDollarOrderBy(dollarOrderBy *string) *QueryItemsParams
- func (o *QueryItemsParams) WithDollarSkip(dollarSkip *int32) *QueryItemsParams
- func (o *QueryItemsParams) WithDollarTop(dollarTop *int32) *QueryItemsParams
- func (o *QueryItemsParams) WithHTTPClient(client *http.Client) *QueryItemsParams
- func (o *QueryItemsParams) WithTimeout(timeout time.Duration) *QueryItemsParams
- func (o *QueryItemsParams) WithXAvalaraClient(xAvalaraClient *string) *QueryItemsParams
- func (o *QueryItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryItemsReader
- type QueryItemsUnauthorized
- type SyncItemsAccepted
- type SyncItemsBadRequest
- type SyncItemsParams
- func (o *SyncItemsParams) SetBody(body *models.SyncItemsRequestModel)
- func (o *SyncItemsParams) SetCompanyID(companyID int32)
- func (o *SyncItemsParams) SetContext(ctx context.Context)
- func (o *SyncItemsParams) SetDefaults()
- func (o *SyncItemsParams) SetHTTPClient(client *http.Client)
- func (o *SyncItemsParams) SetTimeout(timeout time.Duration)
- func (o *SyncItemsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *SyncItemsParams) WithBody(body *models.SyncItemsRequestModel) *SyncItemsParams
- func (o *SyncItemsParams) WithCompanyID(companyID int32) *SyncItemsParams
- func (o *SyncItemsParams) WithContext(ctx context.Context) *SyncItemsParams
- func (o *SyncItemsParams) WithDefaults() *SyncItemsParams
- func (o *SyncItemsParams) WithHTTPClient(client *http.Client) *SyncItemsParams
- func (o *SyncItemsParams) WithTimeout(timeout time.Duration) *SyncItemsParams
- func (o *SyncItemsParams) WithXAvalaraClient(xAvalaraClient *string) *SyncItemsParams
- func (o *SyncItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SyncItemsReader
- type SyncItemsUnauthorized
- type UpdateItemBadRequest
- type UpdateItemClassificationBadRequest
- type UpdateItemClassificationNotFound
- type UpdateItemClassificationOK
- type UpdateItemClassificationParams
- func NewUpdateItemClassificationParams() *UpdateItemClassificationParams
- func NewUpdateItemClassificationParamsWithContext(ctx context.Context) *UpdateItemClassificationParams
- func NewUpdateItemClassificationParamsWithHTTPClient(client *http.Client) *UpdateItemClassificationParams
- func NewUpdateItemClassificationParamsWithTimeout(timeout time.Duration) *UpdateItemClassificationParams
- func (o *UpdateItemClassificationParams) SetBody(body *models.ItemClassificationInputModel)
- func (o *UpdateItemClassificationParams) SetCompanyID(companyID int32)
- func (o *UpdateItemClassificationParams) SetContext(ctx context.Context)
- func (o *UpdateItemClassificationParams) SetDefaults()
- func (o *UpdateItemClassificationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateItemClassificationParams) SetID(id int64)
- func (o *UpdateItemClassificationParams) SetItemID(itemID int64)
- func (o *UpdateItemClassificationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateItemClassificationParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UpdateItemClassificationParams) WithBody(body *models.ItemClassificationInputModel) *UpdateItemClassificationParams
- func (o *UpdateItemClassificationParams) WithCompanyID(companyID int32) *UpdateItemClassificationParams
- func (o *UpdateItemClassificationParams) WithContext(ctx context.Context) *UpdateItemClassificationParams
- func (o *UpdateItemClassificationParams) WithDefaults() *UpdateItemClassificationParams
- func (o *UpdateItemClassificationParams) WithHTTPClient(client *http.Client) *UpdateItemClassificationParams
- func (o *UpdateItemClassificationParams) WithID(id int64) *UpdateItemClassificationParams
- func (o *UpdateItemClassificationParams) WithItemID(itemID int64) *UpdateItemClassificationParams
- func (o *UpdateItemClassificationParams) WithTimeout(timeout time.Duration) *UpdateItemClassificationParams
- func (o *UpdateItemClassificationParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateItemClassificationParams
- func (o *UpdateItemClassificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateItemClassificationReader
- type UpdateItemClassificationUnauthorized
- type UpdateItemNotFound
- type UpdateItemOK
- type UpdateItemParameterBadRequest
- type UpdateItemParameterNotFound
- type UpdateItemParameterOK
- type UpdateItemParameterParams
- func NewUpdateItemParameterParams() *UpdateItemParameterParams
- func NewUpdateItemParameterParamsWithContext(ctx context.Context) *UpdateItemParameterParams
- func NewUpdateItemParameterParamsWithHTTPClient(client *http.Client) *UpdateItemParameterParams
- func NewUpdateItemParameterParamsWithTimeout(timeout time.Duration) *UpdateItemParameterParams
- func (o *UpdateItemParameterParams) SetBody(body *models.ItemParameterModel)
- func (o *UpdateItemParameterParams) SetCompanyID(companyID int32)
- func (o *UpdateItemParameterParams) SetContext(ctx context.Context)
- func (o *UpdateItemParameterParams) SetDefaults()
- func (o *UpdateItemParameterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateItemParameterParams) SetID(id int64)
- func (o *UpdateItemParameterParams) SetItemID(itemID int64)
- func (o *UpdateItemParameterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateItemParameterParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UpdateItemParameterParams) WithBody(body *models.ItemParameterModel) *UpdateItemParameterParams
- func (o *UpdateItemParameterParams) WithCompanyID(companyID int32) *UpdateItemParameterParams
- func (o *UpdateItemParameterParams) WithContext(ctx context.Context) *UpdateItemParameterParams
- func (o *UpdateItemParameterParams) WithDefaults() *UpdateItemParameterParams
- func (o *UpdateItemParameterParams) WithHTTPClient(client *http.Client) *UpdateItemParameterParams
- func (o *UpdateItemParameterParams) WithID(id int64) *UpdateItemParameterParams
- func (o *UpdateItemParameterParams) WithItemID(itemID int64) *UpdateItemParameterParams
- func (o *UpdateItemParameterParams) WithTimeout(timeout time.Duration) *UpdateItemParameterParams
- func (o *UpdateItemParameterParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateItemParameterParams
- func (o *UpdateItemParameterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateItemParameterReader
- type UpdateItemParameterUnauthorized
- type UpdateItemParams
- func (o *UpdateItemParams) SetBody(body *models.ItemModel)
- func (o *UpdateItemParams) SetCompanyID(companyID int32)
- func (o *UpdateItemParams) SetContext(ctx context.Context)
- func (o *UpdateItemParams) SetDefaults()
- func (o *UpdateItemParams) SetHTTPClient(client *http.Client)
- func (o *UpdateItemParams) SetID(id int64)
- func (o *UpdateItemParams) SetTimeout(timeout time.Duration)
- func (o *UpdateItemParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UpdateItemParams) WithBody(body *models.ItemModel) *UpdateItemParams
- func (o *UpdateItemParams) WithCompanyID(companyID int32) *UpdateItemParams
- func (o *UpdateItemParams) WithContext(ctx context.Context) *UpdateItemParams
- func (o *UpdateItemParams) WithDefaults() *UpdateItemParams
- func (o *UpdateItemParams) WithHTTPClient(client *http.Client) *UpdateItemParams
- func (o *UpdateItemParams) WithID(id int64) *UpdateItemParams
- func (o *UpdateItemParams) WithTimeout(timeout time.Duration) *UpdateItemParams
- func (o *UpdateItemParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateItemParams
- func (o *UpdateItemParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateItemReader
- type UpdateItemUnauthorized
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 ¶
func (o *BatchDeleteItemClassificationsBadRequest) Error() string
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 ¶
func (o *BatchDeleteItemClassificationsNotFound) Error() string
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 (o *BatchDeleteItemClassificationsOK) Error() string
func (*BatchDeleteItemClassificationsOK) GetPayload ¶
func (o *BatchDeleteItemClassificationsOK) GetPayload() []*models.ErrorDetail
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 ¶
func (o *BatchDeleteItemClassificationsParams) SetContext(ctx context.Context)
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 ¶
func (o *BatchDeleteItemClassificationsParams) WithCompanyID(companyID int32) *BatchDeleteItemClassificationsParams
WithCompanyID adds the companyID to the batch delete item classifications params
func (*BatchDeleteItemClassificationsParams) WithContext ¶
func (o *BatchDeleteItemClassificationsParams) WithContext(ctx context.Context) *BatchDeleteItemClassificationsParams
WithContext adds the context to the batch delete item classifications params
func (*BatchDeleteItemClassificationsParams) WithDefaults ¶
func (o *BatchDeleteItemClassificationsParams) WithDefaults() *BatchDeleteItemClassificationsParams
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 ¶
func (o *BatchDeleteItemClassificationsParams) WithHTTPClient(client *http.Client) *BatchDeleteItemClassificationsParams
WithHTTPClient adds the HTTPClient to the batch delete item classifications params
func (*BatchDeleteItemClassificationsParams) WithItemID ¶
func (o *BatchDeleteItemClassificationsParams) WithItemID(itemID int64) *BatchDeleteItemClassificationsParams
WithItemID adds the itemID to the batch delete item classifications params
func (*BatchDeleteItemClassificationsParams) WithTimeout ¶
func (o *BatchDeleteItemClassificationsParams) WithTimeout(timeout time.Duration) *BatchDeleteItemClassificationsParams
WithTimeout adds the timeout to the batch delete item classifications params
func (*BatchDeleteItemClassificationsParams) WithXAvalaraClient ¶
func (o *BatchDeleteItemClassificationsParams) WithXAvalaraClient(xAvalaraClient *string) *BatchDeleteItemClassificationsParams
WithXAvalaraClient adds the xAvalaraClient to the batch delete item classifications params
func (*BatchDeleteItemClassificationsParams) WriteToRequest ¶
func (o *BatchDeleteItemClassificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *BatchDeleteItemClassificationsUnauthorized) Error() string
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 (o *BatchDeleteItemParametersOK) Error() string
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 ¶
func (o *BatchDeleteItemParametersParams) WithCompanyID(companyID int32) *BatchDeleteItemParametersParams
WithCompanyID adds the companyID to the batch delete item parameters params
func (*BatchDeleteItemParametersParams) WithContext ¶
func (o *BatchDeleteItemParametersParams) WithContext(ctx context.Context) *BatchDeleteItemParametersParams
WithContext adds the context to the batch delete item parameters params
func (*BatchDeleteItemParametersParams) WithDefaults ¶
func (o *BatchDeleteItemParametersParams) WithDefaults() *BatchDeleteItemParametersParams
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 ¶
func (o *BatchDeleteItemParametersParams) WithHTTPClient(client *http.Client) *BatchDeleteItemParametersParams
WithHTTPClient adds the HTTPClient to the batch delete item parameters params
func (*BatchDeleteItemParametersParams) WithItemID ¶
func (o *BatchDeleteItemParametersParams) WithItemID(itemID int64) *BatchDeleteItemParametersParams
WithItemID adds the itemID to the batch delete item parameters params
func (*BatchDeleteItemParametersParams) WithTimeout ¶
func (o *BatchDeleteItemParametersParams) WithTimeout(timeout time.Duration) *BatchDeleteItemParametersParams
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 ¶
func (o *BatchDeleteItemParametersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *BulkUploadItemsOK) GetPayload() *models.ItemBulkUploadOutputModel
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 ¶
func (o *BulkUploadItemsParams) SetBody(body *models.ItemBulkUploadInputModel)
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 ¶
func (o *BulkUploadItemsParams) WithBody(body *models.ItemBulkUploadInputModel) *BulkUploadItemsParams
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 ¶
func (o *BulkUploadItemsParams) WithContext(ctx context.Context) *BulkUploadItemsParams
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 ¶
func (o *BulkUploadItemsUnauthorized) Error() string
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 ¶
func (o *CreateItemClassificationsBadRequest) Error() string
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 (o *CreateItemClassificationsCreated) Error() string
func (*CreateItemClassificationsCreated) GetPayload ¶
func (o *CreateItemClassificationsCreated) GetPayload() []*models.ItemClassificationOutputModel
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 ¶
func (o *CreateItemClassificationsNotFound) Error() string
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 ¶
func (o *CreateItemClassificationsParams) SetBody(body []*models.ItemClassificationInputModel)
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 ¶
func (o *CreateItemClassificationsParams) WithBody(body []*models.ItemClassificationInputModel) *CreateItemClassificationsParams
WithBody adds the body to the create item classifications params
func (*CreateItemClassificationsParams) WithCompanyID ¶
func (o *CreateItemClassificationsParams) WithCompanyID(companyID int32) *CreateItemClassificationsParams
WithCompanyID adds the companyID to the create item classifications params
func (*CreateItemClassificationsParams) WithContext ¶
func (o *CreateItemClassificationsParams) WithContext(ctx context.Context) *CreateItemClassificationsParams
WithContext adds the context to the create item classifications params
func (*CreateItemClassificationsParams) WithDefaults ¶
func (o *CreateItemClassificationsParams) WithDefaults() *CreateItemClassificationsParams
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 ¶
func (o *CreateItemClassificationsParams) WithHTTPClient(client *http.Client) *CreateItemClassificationsParams
WithHTTPClient adds the HTTPClient to the create item classifications params
func (*CreateItemClassificationsParams) WithItemID ¶
func (o *CreateItemClassificationsParams) WithItemID(itemID int64) *CreateItemClassificationsParams
WithItemID adds the itemID to the create item classifications params
func (*CreateItemClassificationsParams) WithTimeout ¶
func (o *CreateItemClassificationsParams) WithTimeout(timeout time.Duration) *CreateItemClassificationsParams
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 ¶
func (o *CreateItemClassificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateItemClassificationsUnauthorized) Error() string
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 ¶
func (o *CreateItemParametersBadRequest) Error() string
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 (o *CreateItemParametersCreated) Error() string
func (*CreateItemParametersCreated) GetPayload ¶
func (o *CreateItemParametersCreated) GetPayload() []*models.ItemParameterModel
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 ¶
func (o *CreateItemParametersNotFound) Error() string
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 ¶
func (o *CreateItemParametersParams) SetBody(body []*models.ItemParameterModel)
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 ¶
func (o *CreateItemParametersParams) WithBody(body []*models.ItemParameterModel) *CreateItemParametersParams
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 ¶
func (o *CreateItemParametersParams) WithContext(ctx context.Context) *CreateItemParametersParams
WithContext adds the context to the create item parameters params
func (*CreateItemParametersParams) WithDefaults ¶
func (o *CreateItemParametersParams) WithDefaults() *CreateItemParametersParams
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 ¶
func (o *CreateItemParametersParams) WithHTTPClient(client *http.Client) *CreateItemParametersParams
WithHTTPClient adds the HTTPClient to the create item parameters params
func (*CreateItemParametersParams) WithItemID ¶
func (o *CreateItemParametersParams) WithItemID(itemID int64) *CreateItemParametersParams
WithItemID adds the itemID to the create item parameters params
func (*CreateItemParametersParams) WithTimeout ¶
func (o *CreateItemParametersParams) WithTimeout(timeout time.Duration) *CreateItemParametersParams
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 ¶
func (o *CreateItemParametersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateItemParametersUnauthorized) Error() string
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 ¶
func (o *CreateItemTagsParams) WithBody(body []*models.ItemTagDetailModel) *CreateItemTagsParams
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 ¶
func (o *CreateItemTagsParams) WithContext(ctx context.Context) *CreateItemTagsParams
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 ¶
func (o *CreateItemTagsUnauthorized) Error() string
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 ¶
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 ¶
func (o *DeleteItemClassificationBadRequest) Error() string
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 ¶
func (o *DeleteItemClassificationNotFound) Error() string
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 (o *DeleteItemClassificationOK) Error() string
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 ¶
func (o *DeleteItemClassificationParams) SetID(id int64)
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 ¶
func (o *DeleteItemClassificationParams) WithCompanyID(companyID int32) *DeleteItemClassificationParams
WithCompanyID adds the companyID to the delete item classification params
func (*DeleteItemClassificationParams) WithContext ¶
func (o *DeleteItemClassificationParams) WithContext(ctx context.Context) *DeleteItemClassificationParams
WithContext adds the context to the delete item classification params
func (*DeleteItemClassificationParams) WithDefaults ¶
func (o *DeleteItemClassificationParams) WithDefaults() *DeleteItemClassificationParams
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 ¶
func (o *DeleteItemClassificationParams) WithHTTPClient(client *http.Client) *DeleteItemClassificationParams
WithHTTPClient adds the HTTPClient to the delete item classification params
func (*DeleteItemClassificationParams) WithID ¶
func (o *DeleteItemClassificationParams) WithID(id int64) *DeleteItemClassificationParams
WithID adds the id to the delete item classification params
func (*DeleteItemClassificationParams) WithItemID ¶
func (o *DeleteItemClassificationParams) WithItemID(itemID int64) *DeleteItemClassificationParams
WithItemID adds the itemID to the delete item classification params
func (*DeleteItemClassificationParams) WithTimeout ¶
func (o *DeleteItemClassificationParams) WithTimeout(timeout time.Duration) *DeleteItemClassificationParams
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 ¶
func (o *DeleteItemClassificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteItemClassificationUnauthorized) Error() string
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 ¶
func (o *DeleteItemParameterBadRequest) Error() string
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 ¶
func (o *DeleteItemParameterNotFound) Error() string
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 ¶
func (o *DeleteItemParameterParams) WithContext(ctx context.Context) *DeleteItemParameterParams
WithContext adds the context to the delete item parameter params
func (*DeleteItemParameterParams) WithDefaults ¶
func (o *DeleteItemParameterParams) WithDefaults() *DeleteItemParameterParams
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 ¶
func (o *DeleteItemParameterParams) WithID(id int64) *DeleteItemParameterParams
WithID adds the id to the delete item parameter params
func (*DeleteItemParameterParams) WithItemID ¶
func (o *DeleteItemParameterParams) WithItemID(itemID int64) *DeleteItemParameterParams
WithItemID adds the itemID to the delete item parameter params
func (*DeleteItemParameterParams) WithTimeout ¶
func (o *DeleteItemParameterParams) WithTimeout(timeout time.Duration) *DeleteItemParameterParams
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 ¶
func (o *DeleteItemParameterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteItemParameterUnauthorized) Error() string
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 ¶
func (o *DeleteItemTagParams) WithContext(ctx context.Context) *DeleteItemTagParams
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 ¶
func (o *DeleteItemTagsParams) WithContext(ctx context.Context) *DeleteItemTagsParams
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 ¶
func (o *DeleteItemTagsUnauthorized) Error() string
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 ¶
func (o *GetItemClassificationBadRequest) Error() string
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 ¶
func (o *GetItemClassificationNotFound) Error() string
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 ¶
func (o *GetItemClassificationOK) GetPayload() *models.ItemClassificationOutputModel
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 ¶
func (o *GetItemClassificationParams) WithContext(ctx context.Context) *GetItemClassificationParams
WithContext adds the context to the get item classification params
func (*GetItemClassificationParams) WithDefaults ¶
func (o *GetItemClassificationParams) WithDefaults() *GetItemClassificationParams
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 ¶
func (o *GetItemClassificationParams) WithHTTPClient(client *http.Client) *GetItemClassificationParams
WithHTTPClient adds the HTTPClient to the get item classification params
func (*GetItemClassificationParams) WithID ¶
func (o *GetItemClassificationParams) WithID(id int64) *GetItemClassificationParams
WithID adds the id to the get item classification params
func (*GetItemClassificationParams) WithItemID ¶
func (o *GetItemClassificationParams) WithItemID(itemID int64) *GetItemClassificationParams
WithItemID adds the itemID to the get item classification params
func (*GetItemClassificationParams) WithTimeout ¶
func (o *GetItemClassificationParams) WithTimeout(timeout time.Duration) *GetItemClassificationParams
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 ¶
func (o *GetItemClassificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetItemClassificationUnauthorized) Error() string
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 ¶
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) GetPayload ¶
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 ¶
func (o *GetItemParameterBadRequest) Error() string
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 ¶
func (o *GetItemParameterParams) WithContext(ctx context.Context) *GetItemParameterParams
WithContext adds the context to the get item parameter params
func (*GetItemParameterParams) WithDefaults ¶
func (o *GetItemParameterParams) WithDefaults() *GetItemParameterParams
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 ¶
func (o *GetItemParameterParams) WithID(id int64) *GetItemParameterParams
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 ¶
func (o *GetItemParameterParams) WithTimeout(timeout time.Duration) *GetItemParameterParams
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 ¶
func (o *GetItemParameterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetItemParameterUnauthorized) Error() string
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 ¶
func (o *GetItemTagsOK) GetPayload() *models.ItemTagDetailModelFetchResult
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 ¶
func (o *ListItemClassificationsBadRequest) Error() string
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 ¶
func (o *ListItemClassificationsNotFound) Error() string
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 ¶
func (o *ListItemClassificationsOK) GetPayload() *models.ItemClassificationOutputModelFetchResult
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 ¶
func (o *ListItemClassificationsParams) WithCompanyID(companyID int32) *ListItemClassificationsParams
WithCompanyID adds the companyID to the list item classifications params
func (*ListItemClassificationsParams) WithContext ¶
func (o *ListItemClassificationsParams) WithContext(ctx context.Context) *ListItemClassificationsParams
WithContext adds the context to the list item classifications params
func (*ListItemClassificationsParams) WithDefaults ¶
func (o *ListItemClassificationsParams) WithDefaults() *ListItemClassificationsParams
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 ¶
func (o *ListItemClassificationsParams) WithDollarTop(dollarTop *int32) *ListItemClassificationsParams
WithDollarTop adds the dollarTop to the list item classifications params
func (*ListItemClassificationsParams) WithHTTPClient ¶
func (o *ListItemClassificationsParams) WithHTTPClient(client *http.Client) *ListItemClassificationsParams
WithHTTPClient adds the HTTPClient to the list item classifications params
func (*ListItemClassificationsParams) WithItemID ¶
func (o *ListItemClassificationsParams) WithItemID(itemID int64) *ListItemClassificationsParams
WithItemID adds the itemID to the list item classifications params
func (*ListItemClassificationsParams) WithTimeout ¶
func (o *ListItemClassificationsParams) WithTimeout(timeout time.Duration) *ListItemClassificationsParams
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 ¶
func (o *ListItemClassificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListItemClassificationsUnauthorized) Error() string
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 ¶
func (o *ListItemParametersBadRequest) Error() string
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 ¶
func (o *ListItemParametersNotFound) Error() string
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 ¶
func (o *ListItemParametersOK) GetPayload() *models.ItemParameterModelFetchResult
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 ¶
func (o *ListItemParametersParams) WithContext(ctx context.Context) *ListItemParametersParams
WithContext adds the context to the list item parameters params
func (*ListItemParametersParams) WithDefaults ¶
func (o *ListItemParametersParams) WithDefaults() *ListItemParametersParams
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 ¶
func (o *ListItemParametersParams) WithItemID(itemID int64) *ListItemParametersParams
WithItemID adds the itemID to the list item parameters params
func (*ListItemParametersParams) WithTimeout ¶
func (o *ListItemParametersParams) WithTimeout(timeout time.Duration) *ListItemParametersParams
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 ¶
func (o *ListItemParametersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListItemParametersUnauthorized) Error() string
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 ¶
func (o *ListItemsByCompanyBadRequest) Error() string
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 ¶
func (o *ListItemsByCompanyNotFound) Error() string
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 ¶
func (o *ListItemsByCompanyOK) GetPayload() *models.ItemModelFetchResult
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 ¶
func (o *ListItemsByCompanyParams) WithContext(ctx context.Context) *ListItemsByCompanyParams
WithContext adds the context to the list items by company params
func (*ListItemsByCompanyParams) WithDefaults ¶
func (o *ListItemsByCompanyParams) WithDefaults() *ListItemsByCompanyParams
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 ¶
func (o *ListItemsByCompanyParams) WithTimeout(timeout time.Duration) *ListItemsByCompanyParams
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 ¶
func (o *ListItemsByCompanyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListItemsByCompanyUnauthorized) Error() string
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 ¶
func (o *QueryItemsByTagOK) GetPayload() *models.ItemModelFetchResult
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 ¶
func (o *QueryItemsByTagParams) WithContext(ctx context.Context) *QueryItemsByTagParams
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 ¶
func (o *QueryItemsByTagParams) WithTag(tag string) *QueryItemsByTagParams
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 ¶
func (o *QueryItemsByTagUnauthorized) Error() string
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 ¶
func (o *SyncItemsAccepted) GetPayload() *models.SyncItemsResponseModel
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 ¶
func (o *SyncItemsParams) WithBody(body *models.SyncItemsRequestModel) *SyncItemsParams
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 ¶
func (o *UpdateItemClassificationBadRequest) Error() string
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 ¶
func (o *UpdateItemClassificationNotFound) Error() string
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 (o *UpdateItemClassificationOK) Error() string
func (*UpdateItemClassificationOK) GetPayload ¶
func (o *UpdateItemClassificationOK) GetPayload() *models.ItemClassificationOutputModel
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 ¶
func (o *UpdateItemClassificationParams) SetBody(body *models.ItemClassificationInputModel)
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 ¶
func (o *UpdateItemClassificationParams) SetID(id int64)
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 ¶
func (o *UpdateItemClassificationParams) WithBody(body *models.ItemClassificationInputModel) *UpdateItemClassificationParams
WithBody adds the body to the update item classification params
func (*UpdateItemClassificationParams) WithCompanyID ¶
func (o *UpdateItemClassificationParams) WithCompanyID(companyID int32) *UpdateItemClassificationParams
WithCompanyID adds the companyID to the update item classification params
func (*UpdateItemClassificationParams) WithContext ¶
func (o *UpdateItemClassificationParams) WithContext(ctx context.Context) *UpdateItemClassificationParams
WithContext adds the context to the update item classification params
func (*UpdateItemClassificationParams) WithDefaults ¶
func (o *UpdateItemClassificationParams) WithDefaults() *UpdateItemClassificationParams
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 ¶
func (o *UpdateItemClassificationParams) WithHTTPClient(client *http.Client) *UpdateItemClassificationParams
WithHTTPClient adds the HTTPClient to the update item classification params
func (*UpdateItemClassificationParams) WithID ¶
func (o *UpdateItemClassificationParams) WithID(id int64) *UpdateItemClassificationParams
WithID adds the id to the update item classification params
func (*UpdateItemClassificationParams) WithItemID ¶
func (o *UpdateItemClassificationParams) WithItemID(itemID int64) *UpdateItemClassificationParams
WithItemID adds the itemID to the update item classification params
func (*UpdateItemClassificationParams) WithTimeout ¶
func (o *UpdateItemClassificationParams) WithTimeout(timeout time.Duration) *UpdateItemClassificationParams
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 ¶
func (o *UpdateItemClassificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateItemClassificationUnauthorized) Error() string
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 ¶
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 ¶
func (o *UpdateItemParameterBadRequest) Error() string
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 ¶
func (o *UpdateItemParameterNotFound) Error() string
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 ¶
func (o *UpdateItemParameterOK) GetPayload() *models.ItemParameterModel
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 ¶
func (o *UpdateItemParameterParams) SetBody(body *models.ItemParameterModel)
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 ¶
func (o *UpdateItemParameterParams) WithBody(body *models.ItemParameterModel) *UpdateItemParameterParams
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 ¶
func (o *UpdateItemParameterParams) WithContext(ctx context.Context) *UpdateItemParameterParams
WithContext adds the context to the update item parameter params
func (*UpdateItemParameterParams) WithDefaults ¶
func (o *UpdateItemParameterParams) WithDefaults() *UpdateItemParameterParams
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 ¶
func (o *UpdateItemParameterParams) WithID(id int64) *UpdateItemParameterParams
WithID adds the id to the update item parameter params
func (*UpdateItemParameterParams) WithItemID ¶
func (o *UpdateItemParameterParams) WithItemID(itemID int64) *UpdateItemParameterParams
WithItemID adds the itemID to the update item parameter params
func (*UpdateItemParameterParams) WithTimeout ¶
func (o *UpdateItemParameterParams) WithTimeout(timeout time.Duration) *UpdateItemParameterParams
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 ¶
func (o *UpdateItemParameterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateItemParameterUnauthorized) Error() string
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 ¶
- batch_delete_item_classifications_parameters.go
- batch_delete_item_classifications_responses.go
- batch_delete_item_parameters_parameters.go
- batch_delete_item_parameters_responses.go
- bulk_upload_items_parameters.go
- bulk_upload_items_responses.go
- create_item_classifications_parameters.go
- create_item_classifications_responses.go
- create_item_parameters_parameters.go
- create_item_parameters_responses.go
- create_item_tags_parameters.go
- create_item_tags_responses.go
- create_items_parameters.go
- create_items_responses.go
- delete_item_classification_parameters.go
- delete_item_classification_responses.go
- delete_item_parameter_parameters.go
- delete_item_parameter_responses.go
- delete_item_parameters.go
- delete_item_responses.go
- delete_item_tag_parameters.go
- delete_item_tag_responses.go
- delete_item_tags_parameters.go
- delete_item_tags_responses.go
- get_item_classification_parameters.go
- get_item_classification_responses.go
- get_item_parameter_parameters.go
- get_item_parameter_responses.go
- get_item_parameters.go
- get_item_responses.go
- get_item_tags_parameters.go
- get_item_tags_responses.go
- items_client.go
- list_item_classifications_parameters.go
- list_item_classifications_responses.go
- list_item_parameters_parameters.go
- list_item_parameters_responses.go
- list_items_by_company_parameters.go
- list_items_by_company_responses.go
- query_items_by_tag_parameters.go
- query_items_by_tag_responses.go
- query_items_parameters.go
- query_items_responses.go
- sync_items_parameters.go
- sync_items_responses.go
- update_item_classification_parameters.go
- update_item_classification_responses.go
- update_item_parameter_parameters.go
- update_item_parameter_responses.go
- update_item_parameters.go
- update_item_responses.go