companies

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertifyIntegrationBadRequest

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

Bad Request

func NewCertifyIntegrationBadRequest

func NewCertifyIntegrationBadRequest() *CertifyIntegrationBadRequest

NewCertifyIntegrationBadRequest creates a CertifyIntegrationBadRequest with default headers values

func (*CertifyIntegrationBadRequest) Error

type CertifyIntegrationNotFound

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

Not Found

func NewCertifyIntegrationNotFound

func NewCertifyIntegrationNotFound() *CertifyIntegrationNotFound

NewCertifyIntegrationNotFound creates a CertifyIntegrationNotFound with default headers values

func (*CertifyIntegrationNotFound) Error

type CertifyIntegrationOK

type CertifyIntegrationOK struct {
	Payload string
}
CertifyIntegrationOK describes a response with status code 200, with default header values.

Success

func NewCertifyIntegrationOK

func NewCertifyIntegrationOK() *CertifyIntegrationOK

NewCertifyIntegrationOK creates a CertifyIntegrationOK with default headers values

func (*CertifyIntegrationOK) Error

func (o *CertifyIntegrationOK) Error() string

func (*CertifyIntegrationOK) GetPayload

func (o *CertifyIntegrationOK) GetPayload() string

type CertifyIntegrationParams

type CertifyIntegrationParams 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

	/* ID.

	   The ID of the company to check if its integration is certified.

	   Format: int32
	*/
	ID int32

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

CertifyIntegrationParams contains all the parameters to send to the API endpoint

for the certify integration operation.

Typically these are written to a http.Request.

func NewCertifyIntegrationParams

func NewCertifyIntegrationParams() *CertifyIntegrationParams

NewCertifyIntegrationParams creates a new CertifyIntegrationParams 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 NewCertifyIntegrationParamsWithContext

func NewCertifyIntegrationParamsWithContext(ctx context.Context) *CertifyIntegrationParams

NewCertifyIntegrationParamsWithContext creates a new CertifyIntegrationParams object with the ability to set a context for a request.

func NewCertifyIntegrationParamsWithHTTPClient

func NewCertifyIntegrationParamsWithHTTPClient(client *http.Client) *CertifyIntegrationParams

NewCertifyIntegrationParamsWithHTTPClient creates a new CertifyIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewCertifyIntegrationParamsWithTimeout

func NewCertifyIntegrationParamsWithTimeout(timeout time.Duration) *CertifyIntegrationParams

NewCertifyIntegrationParamsWithTimeout creates a new CertifyIntegrationParams object with the ability to set a timeout on a request.

func (*CertifyIntegrationParams) SetContext

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

SetContext adds the context to the certify integration params

func (*CertifyIntegrationParams) SetDefaults

func (o *CertifyIntegrationParams) SetDefaults()

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

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

func (*CertifyIntegrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the certify integration params

func (*CertifyIntegrationParams) SetID

func (o *CertifyIntegrationParams) SetID(id int32)

SetID adds the id to the certify integration params

func (*CertifyIntegrationParams) SetTimeout

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

SetTimeout adds the timeout to the certify integration params

func (*CertifyIntegrationParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the certify integration params

func (*CertifyIntegrationParams) WithContext

WithContext adds the context to the certify integration params

func (*CertifyIntegrationParams) WithDefaults

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

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

func (*CertifyIntegrationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the certify integration params

func (*CertifyIntegrationParams) WithID

WithID adds the id to the certify integration params

func (*CertifyIntegrationParams) WithTimeout

WithTimeout adds the timeout to the certify integration params

func (*CertifyIntegrationParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the certify integration params

func (*CertifyIntegrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CertifyIntegrationReader

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

CertifyIntegrationReader is a Reader for the CertifyIntegration structure.

func (*CertifyIntegrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CertifyIntegrationUnauthorized

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

Unauthorized

func NewCertifyIntegrationUnauthorized

func NewCertifyIntegrationUnauthorized() *CertifyIntegrationUnauthorized

NewCertifyIntegrationUnauthorized creates a CertifyIntegrationUnauthorized with default headers values

func (*CertifyIntegrationUnauthorized) Error

type ChangeFilingStatusBadRequest

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

Bad Request

func NewChangeFilingStatusBadRequest

func NewChangeFilingStatusBadRequest() *ChangeFilingStatusBadRequest

NewChangeFilingStatusBadRequest creates a ChangeFilingStatusBadRequest with default headers values

func (*ChangeFilingStatusBadRequest) Error

type ChangeFilingStatusNotFound

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

Not Found

func NewChangeFilingStatusNotFound

func NewChangeFilingStatusNotFound() *ChangeFilingStatusNotFound

NewChangeFilingStatusNotFound creates a ChangeFilingStatusNotFound with default headers values

func (*ChangeFilingStatusNotFound) Error

type ChangeFilingStatusOK

type ChangeFilingStatusOK struct {
	Payload string
}
ChangeFilingStatusOK describes a response with status code 200, with default header values.

Success

func NewChangeFilingStatusOK

func NewChangeFilingStatusOK() *ChangeFilingStatusOK

NewChangeFilingStatusOK creates a ChangeFilingStatusOK with default headers values

func (*ChangeFilingStatusOK) Error

func (o *ChangeFilingStatusOK) Error() string

func (*ChangeFilingStatusOK) GetPayload

func (o *ChangeFilingStatusOK) GetPayload() string

type ChangeFilingStatusParams

type ChangeFilingStatusParams 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.
	Body *models.FilingStatusChangeModel

	// ID.
	//
	// Format: int32
	ID int32

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

ChangeFilingStatusParams contains all the parameters to send to the API endpoint

for the change filing status operation.

Typically these are written to a http.Request.

func NewChangeFilingStatusParams

func NewChangeFilingStatusParams() *ChangeFilingStatusParams

NewChangeFilingStatusParams creates a new ChangeFilingStatusParams 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 NewChangeFilingStatusParamsWithContext

func NewChangeFilingStatusParamsWithContext(ctx context.Context) *ChangeFilingStatusParams

NewChangeFilingStatusParamsWithContext creates a new ChangeFilingStatusParams object with the ability to set a context for a request.

func NewChangeFilingStatusParamsWithHTTPClient

func NewChangeFilingStatusParamsWithHTTPClient(client *http.Client) *ChangeFilingStatusParams

NewChangeFilingStatusParamsWithHTTPClient creates a new ChangeFilingStatusParams object with the ability to set a custom HTTPClient for a request.

func NewChangeFilingStatusParamsWithTimeout

func NewChangeFilingStatusParamsWithTimeout(timeout time.Duration) *ChangeFilingStatusParams

NewChangeFilingStatusParamsWithTimeout creates a new ChangeFilingStatusParams object with the ability to set a timeout on a request.

func (*ChangeFilingStatusParams) SetBody

SetBody adds the body to the change filing status params

func (*ChangeFilingStatusParams) SetContext

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

SetContext adds the context to the change filing status params

func (*ChangeFilingStatusParams) SetDefaults

func (o *ChangeFilingStatusParams) SetDefaults()

SetDefaults hydrates default values in the change filing status params (not the query body).

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

func (*ChangeFilingStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change filing status params

func (*ChangeFilingStatusParams) SetID

func (o *ChangeFilingStatusParams) SetID(id int32)

SetID adds the id to the change filing status params

func (*ChangeFilingStatusParams) SetTimeout

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

SetTimeout adds the timeout to the change filing status params

func (*ChangeFilingStatusParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the change filing status params

func (*ChangeFilingStatusParams) WithBody

WithBody adds the body to the change filing status params

func (*ChangeFilingStatusParams) WithContext

WithContext adds the context to the change filing status params

func (*ChangeFilingStatusParams) WithDefaults

WithDefaults hydrates default values in the change filing status params (not the query body).

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

func (*ChangeFilingStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the change filing status params

func (*ChangeFilingStatusParams) WithID

WithID adds the id to the change filing status params

func (*ChangeFilingStatusParams) WithTimeout

WithTimeout adds the timeout to the change filing status params

func (*ChangeFilingStatusParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the change filing status params

func (*ChangeFilingStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeFilingStatusReader

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

ChangeFilingStatusReader is a Reader for the ChangeFilingStatus structure.

func (*ChangeFilingStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeFilingStatusUnauthorized

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

Unauthorized

func NewChangeFilingStatusUnauthorized

func NewChangeFilingStatusUnauthorized() *ChangeFilingStatusUnauthorized

NewChangeFilingStatusUnauthorized creates a ChangeFilingStatusUnauthorized with default headers values

func (*ChangeFilingStatusUnauthorized) Error

type Client

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

Client for companies API

func (*Client) CertifyIntegration

func (a *Client) CertifyIntegration(params *CertifyIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CertifyIntegrationOK, error)
CertifyIntegration checks whether the integration being used to set up this company and run transactions onto this company is compliant to all requirements

Examines the most recent 100 transactions or data from the last month when verifying transaction-related integrations.

For partners who write integrations against AvaTax for many clients, this API is a way to do a quick self testing to verify whether the written integrations for a company are sufficient enough to be delivered to the respective customers to start using it.

This API provides messages specific enough (through predefined checks) to guide the partner on what integrations are still missing from the company to get fully certified. The API makes the following checks to conclude if the company is NOT fully certified: 1. Any past month items contains generic tax code of P0000000. 2. All the companies on the requesting account are test companies. 3. No Voided/Cancelled documents in the past 30 days. 4. There are less than 2 committed documents. 5. Any documentCode is a generic GUID string. 6. Any customerCode on document is a generic GUID string. 7. No document has more than 1 documentLine. 8. All of the documents have missing exemptionNo, customerUsageType, taxDateOverride or negative amount. 9. Any document quantity is a negative number. 10. Any document have repeated lines. 11. No document has shipping charge. 12. All documents have same ItemCodes, descriptions and taxCodes. 13. Less than 2 addresses used across all documents. 14. Whether locationCode was used in documents. 15. Account with AvaGlobal subscription and no documents have VATBuyerId. 16. Any document has currencyCode not being USD for accounts with AvaGlobal subscription. 17. All documents have countryCode used for accounts with AvaGlobal subscription.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) ChangeFilingStatus

func (a *Client) ChangeFilingStatus(params *ChangeFilingStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangeFilingStatusOK, error)
ChangeFilingStatus changes the filing status of this company

Changes the current filing status of this company.

For customers using Avalara's Managed Returns Service, each company within their account can request for Avalara to file tax returns on their behalf. Avalara compliance team members will review all requested filing calendars prior to beginning filing tax returns on behalf of this company.

The following changes may be requested through this API:

* If a company is in `NotYetFiling` status, the customer may request this be changed to `FilingRequested`. * Avalara compliance team members may change a company from `FilingRequested` to `FirstFiling`. * Avalara compliance team members may change a company from `FirstFiling` to `Active`.

All other status changes must be requested through the Avalara customer support team.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) CompanyInitialize

func (a *Client) CompanyInitialize(params *CompanyInitializeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CompanyInitializeOK, error)
CompanyInitialize quicks setup for a company with a single physical address

Shortcut to quickly setup a single-physical-location company with critical information and activate it.

This API provides quick and simple company setup functionality and does the following things:

* Create a company object with its own tax profile * Add a key contact person for the company * Set up one physical location for the main office * Declare nexus in all taxing jurisdictions for that main office address * Activate the company

This API only provides a limited subset of functionality compared to the 'Create Company' API call. If you need additional features or options not present in this 'Quick Setup' API call, please use the full 'Create Company' call instead. Please allow 1 minute before making transactions using the company.

### Security Policies

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

func (*Client) CreateCompanies

func (a *Client) CreateCompanies(params *CreateCompaniesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCompaniesOK, error)
CreateCompanies creates new companies

Create one or more new company objects.

A 'company' represents a single corporation or individual that is registered to handle transactional taxes. You may attach nested data objects such as contacts, locations, and nexus with this CREATE call, and those objects will be created with the company.

NOTE: Please do not use these blacklisted characters in company name and code: ';', '\', '|'.

### Security Policies

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

func (*Client) CreateCompanyParameters

func (a *Client) CreateCompanyParameters(params *CreateCompanyParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCompanyParametersCreated, error)
CreateCompanyParameters adds parameters to a company

Add parameters to a company.

Some companies can be taxed and reported differently depending on the properties of the company, such as IsPrimaryAddress. In AvaTax, these tax-affecting properties are called "parameters".

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

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

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

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, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.

func (*Client) CreateFundingRequest

func (a *Client) CreateFundingRequest(params *CreateFundingRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFundingRequestOK, error)
CreateFundingRequest requests managed returns funding setup for a company

This API is available by invitation only.

Companies that use the Avalara Managed Returns or the SST Certified Service Provider services are required to setup their funding configuration before Avalara can begin filing tax returns on their behalf. Funding configuration for each company is set up by submitting a funding setup request, which can be sent either via email or via an embedded HTML widget. When the funding configuration is submitted to Avalara, it will be reviewed by treasury team members before approval. This API records that an ambedded HTML funding setup widget was activated. This API requires a subscription to Avalara Managed Returns or SST Certified Service Provider.

### Security Policies

* This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp. * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) DeleteCompany

func (a *Client) DeleteCompany(params *DeleteCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCompanyOK, error)
DeleteCompany deletes a single company

Deleting a company will delete all child companies, and all users attached to this company.

### Security Policies

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

func (*Client) DeleteCompanyParameter

func (a *Client) DeleteCompanyParameter(params *DeleteCompanyParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCompanyParameterOK, error)
DeleteCompanyParameter deletes a single company parameter

Delete a parameter of a company.

Some companies can be taxed and reported differently depending on the properties of the company, such as IsPrimaryAddress. In AvaTax, these tax-affecting properties are called "parameters".

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

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

### Security Policies

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

func (*Client) FundingConfigurationByCompany

func (a *Client) FundingConfigurationByCompany(params *FundingConfigurationByCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FundingConfigurationByCompanyOK, error)
FundingConfigurationByCompany checks the funding configuration of a company

This API is available by invitation only.

Requires a subscription to Avalara Managed Returns or SST Certified Service Provider. Returns the funding configuration of the requested company. .

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.

func (*Client) FundingConfigurationsByCompanyAndCurrency

FundingConfigurationsByCompanyAndCurrency checks the funding configuration of a company

This API is available by invitation only.

Requires a subscription to Avalara Managed Returns or SST Certified Service Provider. Returns the funding configuration of the requested company. .

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.

func (*Client) GetCompany

func (a *Client) GetCompany(params *GetCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCompanyOK, error)
GetCompany retrieves a single company

Get the company object identified by this URL.

A 'company' represents a single corporation or individual that is registered to handle transactional taxes. 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:

  • Contacts
  • Items
  • Locations
  • Nexus
  • Settings
  • TaxCodes
  • TaxRules
  • UPC
  • Parameters

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) GetCompanyConfiguration

func (a *Client) GetCompanyConfiguration(params *GetCompanyConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCompanyConfigurationOK, error)
GetCompanyConfiguration gets configuration settings for this company

Retrieve a list of all configuration settings tied to this company.

Configuration settings provide you with the ability to control features of your account and of your tax software. The category name `AvaCertServiceConfig` is reserved for Avalara internal software configuration values; to store your own company-level settings, please create a new category name that begins with `X-`, for example, `X-MyCustomCategory`.

Company settings are permanent settings that cannot be deleted. You can set the value of a company setting to null if desired and if the particular setting supports it.

Avalara-based company settings for `AvaCertServiceConfig` affect your company's exemption certificate processing, and should be changed with care.

### Security Policies

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

func (*Client) GetCompanyParameterDetail

func (a *Client) GetCompanyParameterDetail(params *GetCompanyParameterDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCompanyParameterDetailOK, error)
GetCompanyParameterDetail retrieves a single company parameter

Retrieves a single parameter of a company.

Some companies can be taxed and reported differently depending on the properties of the company, such as IsPrimaryAddress. In AvaTax, these tax-affecting properties are called "parameters".

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

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

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) GetFilingStatus

func (a *Client) GetFilingStatus(params *GetFilingStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFilingStatusOK, error)
GetFilingStatus gets this company s filing status

Retrieve the current filing status of this company.

For customers using Avalara's Managed Returns Service, each company within their account can request for Avalara to file tax returns on their behalf. Avalara compliance team members will review all requested filing calendars prior to beginning filing tax returns on behalf of this company.

A company's filing status can be one of the following values:

* `NoReporting` - This company is not configured to report tax returns; instead, it reports through a parent company. * `NotYetFiling` - This company has not yet begun filing tax returns through Avalara's Managed Returns Service. * `FilingRequested` - The company has requested to begin filing tax returns, but Avalara's compliance team has not yet begun filing. * `FirstFiling` - The company has recently filing tax returns and is in a new status. * `Active` - The company is currently active and is filing tax returns via Avalara Managed Returns. * `Inactive` - The company is currently inactive.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) ListCompanyParameterDetails

func (a *Client) ListCompanyParameterDetails(params *ListCompanyParameterDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCompanyParameterDetailsOK, error)
ListCompanyParameterDetails retrieves parameters for a company

Retrieve all parameters of a company.

Some companies can be taxed and reported differently depending on the properties of the company, such as IsPrimaryAddress. In AvaTax, these tax-affecting properties are called "parameters".

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

A company location parameter specified on a transaction line will override a company 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, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) ListFundingRequestsByCompany

func (a *Client) ListFundingRequestsByCompany(params *ListFundingRequestsByCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFundingRequestsByCompanyOK, error)
ListFundingRequestsByCompany checks managed returns funding status for a company

This API is available by invitation only.

Requires a subscription to Avalara Managed Returns or SST Certified Service Provider. Returns a list of funding setup requests and their current status. Each object in the result is a request that was made to setup or adjust funding status for this company.

### Security Policies

* This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp. * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) ListMrsCompanies

func (a *Client) ListMrsCompanies(params *ListMrsCompaniesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMrsCompaniesOK, error)
ListMrsCompanies retrieves a list of m r s companies with account

This API is available by invitation only.

Get a list of companies with an active MRS service.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) QueryCompanies

func (a *Client) QueryCompanies(params *QueryCompaniesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryCompaniesOK, error)
QueryCompanies retrieves all companies

Get multiple company objects.

A `company` represents a single corporation or individual that is registered to handle transactional taxes.

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 one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:

* Contacts * Items * Locations * Nexus * Settings * TaxCodes * TaxRules * UPC * Parameters

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.

func (*Client) SetCompanyConfiguration

func (a *Client) SetCompanyConfiguration(params *SetCompanyConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetCompanyConfigurationOK, error)
SetCompanyConfiguration changes configuration settings for this company

Update configuration settings tied to this company.

Configuration settings provide you with the ability to control features of your account and of your tax software. The category names `AvaCertServiceConfig` is reserved for Avalara internal software configuration values; to store your own company-level settings, please create a new category name that begins with `X-`, for example, `X-MyCustomCategory`.

Company settings are permanent settings that cannot be deleted. You can set the value of a company setting to null if desired and if the particular setting supports it.

Avalara-based company settings for `AvaCertServiceConfig` affect your company's exemption certificate processing, and should be changed with care.

### Security Policies

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateCompany

func (a *Client) UpdateCompany(params *UpdateCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCompanyOK, error)
UpdateCompany updates a single company

Replace the existing company object at this URL with an updated object.

A `CompanyModel` represents a single corporation or individual that is registered to handle transactional taxes. All data from the existing object will be replaced with data in the object you PUT.

When calling `UpdateCompany`, you are permitted to update the company itself. Updates to the nested objects such as contacts, locations, or settings are not permitted. To update the nested objects

To set a field's value to `null`, you may either set its value to `null` or omit that field from the object you PUT.

NOTE: Please do not use these blacklisted characters in company name and code: ';', '\', '|'.

### Security Policies

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

func (*Client) UpdateCompanyParameterDetail

func (a *Client) UpdateCompanyParameterDetail(params *UpdateCompanyParameterDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCompanyParameterDetailOK, error)
UpdateCompanyParameterDetail updates a company parameter

Update a parameter of a company.

Some companies can be taxed and reported differently depending on the properties of the company, such as IsPrimaryAddress. In AvaTax, these tax-affecting properties are called "parameters".

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

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

### Security Policies

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

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CertifyIntegration(params *CertifyIntegrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CertifyIntegrationOK, error)

	ChangeFilingStatus(params *ChangeFilingStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ChangeFilingStatusOK, error)

	CompanyInitialize(params *CompanyInitializeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CompanyInitializeOK, error)

	CreateCompanies(params *CreateCompaniesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCompaniesOK, error)

	CreateCompanyParameters(params *CreateCompanyParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCompanyParametersCreated, error)

	CreateFundingRequest(params *CreateFundingRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFundingRequestOK, error)

	DeleteCompany(params *DeleteCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCompanyOK, error)

	DeleteCompanyParameter(params *DeleteCompanyParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCompanyParameterOK, error)

	FundingConfigurationByCompany(params *FundingConfigurationByCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FundingConfigurationByCompanyOK, error)

	FundingConfigurationsByCompanyAndCurrency(params *FundingConfigurationsByCompanyAndCurrencyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FundingConfigurationsByCompanyAndCurrencyOK, error)

	GetCompany(params *GetCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCompanyOK, error)

	GetCompanyConfiguration(params *GetCompanyConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCompanyConfigurationOK, error)

	GetCompanyParameterDetail(params *GetCompanyParameterDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCompanyParameterDetailOK, error)

	GetFilingStatus(params *GetFilingStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFilingStatusOK, error)

	ListCompanyParameterDetails(params *ListCompanyParameterDetailsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCompanyParameterDetailsOK, error)

	ListFundingRequestsByCompany(params *ListFundingRequestsByCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFundingRequestsByCompanyOK, error)

	ListMrsCompanies(params *ListMrsCompaniesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMrsCompaniesOK, error)

	QueryCompanies(params *QueryCompaniesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryCompaniesOK, error)

	SetCompanyConfiguration(params *SetCompanyConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetCompanyConfigurationOK, error)

	UpdateCompany(params *UpdateCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCompanyOK, error)

	UpdateCompanyParameterDetail(params *UpdateCompanyParameterDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCompanyParameterDetailOK, 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 companies API client.

type CompanyInitializeBadRequest

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

Bad Request

func NewCompanyInitializeBadRequest

func NewCompanyInitializeBadRequest() *CompanyInitializeBadRequest

NewCompanyInitializeBadRequest creates a CompanyInitializeBadRequest with default headers values

func (*CompanyInitializeBadRequest) Error

type CompanyInitializeOK

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

Success

func NewCompanyInitializeOK

func NewCompanyInitializeOK() *CompanyInitializeOK

NewCompanyInitializeOK creates a CompanyInitializeOK with default headers values

func (*CompanyInitializeOK) Error

func (o *CompanyInitializeOK) Error() string

func (*CompanyInitializeOK) GetPayload

func (o *CompanyInitializeOK) GetPayload() *models.CompanyModel

type CompanyInitializeParams

type CompanyInitializeParams 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.

	   Information about the company you wish to create.
	*/
	Body *models.CompanyInitializationModel

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

CompanyInitializeParams contains all the parameters to send to the API endpoint

for the company initialize operation.

Typically these are written to a http.Request.

func NewCompanyInitializeParams

func NewCompanyInitializeParams() *CompanyInitializeParams

NewCompanyInitializeParams creates a new CompanyInitializeParams 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 NewCompanyInitializeParamsWithContext

func NewCompanyInitializeParamsWithContext(ctx context.Context) *CompanyInitializeParams

NewCompanyInitializeParamsWithContext creates a new CompanyInitializeParams object with the ability to set a context for a request.

func NewCompanyInitializeParamsWithHTTPClient

func NewCompanyInitializeParamsWithHTTPClient(client *http.Client) *CompanyInitializeParams

NewCompanyInitializeParamsWithHTTPClient creates a new CompanyInitializeParams object with the ability to set a custom HTTPClient for a request.

func NewCompanyInitializeParamsWithTimeout

func NewCompanyInitializeParamsWithTimeout(timeout time.Duration) *CompanyInitializeParams

NewCompanyInitializeParamsWithTimeout creates a new CompanyInitializeParams object with the ability to set a timeout on a request.

func (*CompanyInitializeParams) SetBody

SetBody adds the body to the company initialize params

func (*CompanyInitializeParams) SetContext

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

SetContext adds the context to the company initialize params

func (*CompanyInitializeParams) SetDefaults

func (o *CompanyInitializeParams) SetDefaults()

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

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

func (*CompanyInitializeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the company initialize params

func (*CompanyInitializeParams) SetTimeout

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

SetTimeout adds the timeout to the company initialize params

func (*CompanyInitializeParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the company initialize params

func (*CompanyInitializeParams) WithBody

WithBody adds the body to the company initialize params

func (*CompanyInitializeParams) WithContext

WithContext adds the context to the company initialize params

func (*CompanyInitializeParams) WithDefaults

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

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

func (*CompanyInitializeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the company initialize params

func (*CompanyInitializeParams) WithTimeout

WithTimeout adds the timeout to the company initialize params

func (*CompanyInitializeParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the company initialize params

func (*CompanyInitializeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CompanyInitializeReader

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

CompanyInitializeReader is a Reader for the CompanyInitialize structure.

func (*CompanyInitializeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CompanyInitializeUnauthorized

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

Unauthorized

func NewCompanyInitializeUnauthorized

func NewCompanyInitializeUnauthorized() *CompanyInitializeUnauthorized

NewCompanyInitializeUnauthorized creates a CompanyInitializeUnauthorized with default headers values

func (*CompanyInitializeUnauthorized) Error

type CreateCompaniesBadRequest

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

Bad Request

func NewCreateCompaniesBadRequest

func NewCreateCompaniesBadRequest() *CreateCompaniesBadRequest

NewCreateCompaniesBadRequest creates a CreateCompaniesBadRequest with default headers values

func (*CreateCompaniesBadRequest) Error

func (o *CreateCompaniesBadRequest) Error() string

type CreateCompaniesOK

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

Success

func NewCreateCompaniesOK

func NewCreateCompaniesOK() *CreateCompaniesOK

NewCreateCompaniesOK creates a CreateCompaniesOK with default headers values

func (*CreateCompaniesOK) Error

func (o *CreateCompaniesOK) Error() string

func (*CreateCompaniesOK) GetPayload

func (o *CreateCompaniesOK) GetPayload() []*models.CompanyModel

type CreateCompaniesParams

type CreateCompaniesParams 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.

	   Either a single company object or an array of companies to create
	*/
	Body []*models.CompanyModel

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

CreateCompaniesParams contains all the parameters to send to the API endpoint

for the create companies operation.

Typically these are written to a http.Request.

func NewCreateCompaniesParams

func NewCreateCompaniesParams() *CreateCompaniesParams

NewCreateCompaniesParams creates a new CreateCompaniesParams 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 NewCreateCompaniesParamsWithContext

func NewCreateCompaniesParamsWithContext(ctx context.Context) *CreateCompaniesParams

NewCreateCompaniesParamsWithContext creates a new CreateCompaniesParams object with the ability to set a context for a request.

func NewCreateCompaniesParamsWithHTTPClient

func NewCreateCompaniesParamsWithHTTPClient(client *http.Client) *CreateCompaniesParams

NewCreateCompaniesParamsWithHTTPClient creates a new CreateCompaniesParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCompaniesParamsWithTimeout

func NewCreateCompaniesParamsWithTimeout(timeout time.Duration) *CreateCompaniesParams

NewCreateCompaniesParamsWithTimeout creates a new CreateCompaniesParams object with the ability to set a timeout on a request.

func (*CreateCompaniesParams) SetBody

func (o *CreateCompaniesParams) SetBody(body []*models.CompanyModel)

SetBody adds the body to the create companies params

func (*CreateCompaniesParams) SetContext

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

SetContext adds the context to the create companies params

func (*CreateCompaniesParams) SetDefaults

func (o *CreateCompaniesParams) SetDefaults()

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

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

func (*CreateCompaniesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create companies params

func (*CreateCompaniesParams) SetTimeout

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

SetTimeout adds the timeout to the create companies params

func (*CreateCompaniesParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create companies params

func (*CreateCompaniesParams) WithBody

WithBody adds the body to the create companies params

func (*CreateCompaniesParams) WithContext

WithContext adds the context to the create companies params

func (*CreateCompaniesParams) WithDefaults

func (o *CreateCompaniesParams) WithDefaults() *CreateCompaniesParams

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

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

func (*CreateCompaniesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create companies params

func (*CreateCompaniesParams) WithTimeout

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

WithTimeout adds the timeout to the create companies params

func (*CreateCompaniesParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the create companies params

func (*CreateCompaniesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateCompaniesReader

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

CreateCompaniesReader is a Reader for the CreateCompanies structure.

func (*CreateCompaniesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCompaniesUnauthorized

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

Unauthorized

func NewCreateCompaniesUnauthorized

func NewCreateCompaniesUnauthorized() *CreateCompaniesUnauthorized

NewCreateCompaniesUnauthorized creates a CreateCompaniesUnauthorized with default headers values

func (*CreateCompaniesUnauthorized) Error

type CreateCompanyParametersBadRequest

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

Bad Request

func NewCreateCompanyParametersBadRequest

func NewCreateCompanyParametersBadRequest() *CreateCompanyParametersBadRequest

NewCreateCompanyParametersBadRequest creates a CreateCompanyParametersBadRequest with default headers values

func (*CreateCompanyParametersBadRequest) Error

type CreateCompanyParametersCreated

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

Success

func NewCreateCompanyParametersCreated

func NewCreateCompanyParametersCreated() *CreateCompanyParametersCreated

NewCreateCompanyParametersCreated creates a CreateCompanyParametersCreated with default headers values

func (*CreateCompanyParametersCreated) Error

func (*CreateCompanyParametersCreated) GetPayload

type CreateCompanyParametersNotFound

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

Not Found

func NewCreateCompanyParametersNotFound

func NewCreateCompanyParametersNotFound() *CreateCompanyParametersNotFound

NewCreateCompanyParametersNotFound creates a CreateCompanyParametersNotFound with default headers values

func (*CreateCompanyParametersNotFound) Error

type CreateCompanyParametersParams

type CreateCompanyParametersParams 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 company parameters you wish to create.
	*/
	Body []*models.CompanyParameterDetailModel

	/* CompanyID.

	   The ID of the company that owns this company parameter.

	   Format: int32
	*/
	CompanyID int32

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

CreateCompanyParametersParams contains all the parameters to send to the API endpoint

for the create company parameters operation.

Typically these are written to a http.Request.

func NewCreateCompanyParametersParams

func NewCreateCompanyParametersParams() *CreateCompanyParametersParams

NewCreateCompanyParametersParams creates a new CreateCompanyParametersParams 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 NewCreateCompanyParametersParamsWithContext

func NewCreateCompanyParametersParamsWithContext(ctx context.Context) *CreateCompanyParametersParams

NewCreateCompanyParametersParamsWithContext creates a new CreateCompanyParametersParams object with the ability to set a context for a request.

func NewCreateCompanyParametersParamsWithHTTPClient

func NewCreateCompanyParametersParamsWithHTTPClient(client *http.Client) *CreateCompanyParametersParams

NewCreateCompanyParametersParamsWithHTTPClient creates a new CreateCompanyParametersParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCompanyParametersParamsWithTimeout

func NewCreateCompanyParametersParamsWithTimeout(timeout time.Duration) *CreateCompanyParametersParams

NewCreateCompanyParametersParamsWithTimeout creates a new CreateCompanyParametersParams object with the ability to set a timeout on a request.

func (*CreateCompanyParametersParams) SetBody

SetBody adds the body to the create company parameters params

func (*CreateCompanyParametersParams) SetCompanyID

func (o *CreateCompanyParametersParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the create company parameters params

func (*CreateCompanyParametersParams) SetContext

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

SetContext adds the context to the create company parameters params

func (*CreateCompanyParametersParams) SetDefaults

func (o *CreateCompanyParametersParams) SetDefaults()

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

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

func (*CreateCompanyParametersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create company parameters params

func (*CreateCompanyParametersParams) SetTimeout

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

SetTimeout adds the timeout to the create company parameters params

func (*CreateCompanyParametersParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create company parameters params

func (*CreateCompanyParametersParams) WithBody

WithBody adds the body to the create company parameters params

func (*CreateCompanyParametersParams) WithCompanyID

WithCompanyID adds the companyID to the create company parameters params

func (*CreateCompanyParametersParams) WithContext

WithContext adds the context to the create company parameters params

func (*CreateCompanyParametersParams) WithDefaults

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

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

func (*CreateCompanyParametersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create company parameters params

func (*CreateCompanyParametersParams) WithTimeout

WithTimeout adds the timeout to the create company parameters params

func (*CreateCompanyParametersParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the create company parameters params

func (*CreateCompanyParametersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCompanyParametersReader

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

CreateCompanyParametersReader is a Reader for the CreateCompanyParameters structure.

func (*CreateCompanyParametersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCompanyParametersUnauthorized

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

Unauthorized

func NewCreateCompanyParametersUnauthorized

func NewCreateCompanyParametersUnauthorized() *CreateCompanyParametersUnauthorized

NewCreateCompanyParametersUnauthorized creates a CreateCompanyParametersUnauthorized with default headers values

func (*CreateCompanyParametersUnauthorized) Error

type CreateFundingRequestBadRequest

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

Bad Request

func NewCreateFundingRequestBadRequest

func NewCreateFundingRequestBadRequest() *CreateFundingRequestBadRequest

NewCreateFundingRequestBadRequest creates a CreateFundingRequestBadRequest with default headers values

func (*CreateFundingRequestBadRequest) Error

type CreateFundingRequestNotFound

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

Not Found

func NewCreateFundingRequestNotFound

func NewCreateFundingRequestNotFound() *CreateFundingRequestNotFound

NewCreateFundingRequestNotFound creates a CreateFundingRequestNotFound with default headers values

func (*CreateFundingRequestNotFound) Error

type CreateFundingRequestOK

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

Success

func NewCreateFundingRequestOK

func NewCreateFundingRequestOK() *CreateFundingRequestOK

NewCreateFundingRequestOK creates a CreateFundingRequestOK with default headers values

func (*CreateFundingRequestOK) Error

func (o *CreateFundingRequestOK) Error() string

func (*CreateFundingRequestOK) GetPayload

type CreateFundingRequestParams

type CreateFundingRequestParams 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 funding initialization request
	*/
	Body *models.FundingInitiateModel

	/* ID.

	   The unique identifier of the company

	   Format: int32
	*/
	ID int32

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

CreateFundingRequestParams contains all the parameters to send to the API endpoint

for the create funding request operation.

Typically these are written to a http.Request.

func NewCreateFundingRequestParams

func NewCreateFundingRequestParams() *CreateFundingRequestParams

NewCreateFundingRequestParams creates a new CreateFundingRequestParams 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 NewCreateFundingRequestParamsWithContext

func NewCreateFundingRequestParamsWithContext(ctx context.Context) *CreateFundingRequestParams

NewCreateFundingRequestParamsWithContext creates a new CreateFundingRequestParams object with the ability to set a context for a request.

func NewCreateFundingRequestParamsWithHTTPClient

func NewCreateFundingRequestParamsWithHTTPClient(client *http.Client) *CreateFundingRequestParams

NewCreateFundingRequestParamsWithHTTPClient creates a new CreateFundingRequestParams object with the ability to set a custom HTTPClient for a request.

func NewCreateFundingRequestParamsWithTimeout

func NewCreateFundingRequestParamsWithTimeout(timeout time.Duration) *CreateFundingRequestParams

NewCreateFundingRequestParamsWithTimeout creates a new CreateFundingRequestParams object with the ability to set a timeout on a request.

func (*CreateFundingRequestParams) SetBody

SetBody adds the body to the create funding request params

func (*CreateFundingRequestParams) SetContext

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

SetContext adds the context to the create funding request params

func (*CreateFundingRequestParams) SetDefaults

func (o *CreateFundingRequestParams) SetDefaults()

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

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

func (*CreateFundingRequestParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create funding request params

func (*CreateFundingRequestParams) SetID

func (o *CreateFundingRequestParams) SetID(id int32)

SetID adds the id to the create funding request params

func (*CreateFundingRequestParams) SetTimeout

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

SetTimeout adds the timeout to the create funding request params

func (*CreateFundingRequestParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create funding request params

func (*CreateFundingRequestParams) WithBody

WithBody adds the body to the create funding request params

func (*CreateFundingRequestParams) WithContext

WithContext adds the context to the create funding request params

func (*CreateFundingRequestParams) WithDefaults

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

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

func (*CreateFundingRequestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create funding request params

func (*CreateFundingRequestParams) WithID

WithID adds the id to the create funding request params

func (*CreateFundingRequestParams) WithTimeout

WithTimeout adds the timeout to the create funding request params

func (*CreateFundingRequestParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the create funding request params

func (*CreateFundingRequestParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateFundingRequestReader

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

CreateFundingRequestReader is a Reader for the CreateFundingRequest structure.

func (*CreateFundingRequestReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateFundingRequestUnauthorized

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

Unauthorized

func NewCreateFundingRequestUnauthorized

func NewCreateFundingRequestUnauthorized() *CreateFundingRequestUnauthorized

NewCreateFundingRequestUnauthorized creates a CreateFundingRequestUnauthorized with default headers values

func (*CreateFundingRequestUnauthorized) Error

type DeleteCompanyBadRequest

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

Bad Request

func NewDeleteCompanyBadRequest

func NewDeleteCompanyBadRequest() *DeleteCompanyBadRequest

NewDeleteCompanyBadRequest creates a DeleteCompanyBadRequest with default headers values

func (*DeleteCompanyBadRequest) Error

func (o *DeleteCompanyBadRequest) Error() string

type DeleteCompanyNotFound

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

Not Found

func NewDeleteCompanyNotFound

func NewDeleteCompanyNotFound() *DeleteCompanyNotFound

NewDeleteCompanyNotFound creates a DeleteCompanyNotFound with default headers values

func (*DeleteCompanyNotFound) Error

func (o *DeleteCompanyNotFound) Error() string

type DeleteCompanyOK

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

Success

func NewDeleteCompanyOK

func NewDeleteCompanyOK() *DeleteCompanyOK

NewDeleteCompanyOK creates a DeleteCompanyOK with default headers values

func (*DeleteCompanyOK) Error

func (o *DeleteCompanyOK) Error() string

func (*DeleteCompanyOK) GetPayload

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

type DeleteCompanyParameterBadRequest

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

Bad Request

func NewDeleteCompanyParameterBadRequest

func NewDeleteCompanyParameterBadRequest() *DeleteCompanyParameterBadRequest

NewDeleteCompanyParameterBadRequest creates a DeleteCompanyParameterBadRequest with default headers values

func (*DeleteCompanyParameterBadRequest) Error

type DeleteCompanyParameterNotFound

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

Not Found

func NewDeleteCompanyParameterNotFound

func NewDeleteCompanyParameterNotFound() *DeleteCompanyParameterNotFound

NewDeleteCompanyParameterNotFound creates a DeleteCompanyParameterNotFound with default headers values

func (*DeleteCompanyParameterNotFound) Error

type DeleteCompanyParameterOK

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

Success

func NewDeleteCompanyParameterOK

func NewDeleteCompanyParameterOK() *DeleteCompanyParameterOK

NewDeleteCompanyParameterOK creates a DeleteCompanyParameterOK with default headers values

func (*DeleteCompanyParameterOK) Error

func (o *DeleteCompanyParameterOK) Error() string

func (*DeleteCompanyParameterOK) GetPayload

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

type DeleteCompanyParameterParams

type DeleteCompanyParameterParams 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

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

DeleteCompanyParameterParams contains all the parameters to send to the API endpoint

for the delete company parameter operation.

Typically these are written to a http.Request.

func NewDeleteCompanyParameterParams

func NewDeleteCompanyParameterParams() *DeleteCompanyParameterParams

NewDeleteCompanyParameterParams creates a new DeleteCompanyParameterParams 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 NewDeleteCompanyParameterParamsWithContext

func NewDeleteCompanyParameterParamsWithContext(ctx context.Context) *DeleteCompanyParameterParams

NewDeleteCompanyParameterParamsWithContext creates a new DeleteCompanyParameterParams object with the ability to set a context for a request.

func NewDeleteCompanyParameterParamsWithHTTPClient

func NewDeleteCompanyParameterParamsWithHTTPClient(client *http.Client) *DeleteCompanyParameterParams

NewDeleteCompanyParameterParamsWithHTTPClient creates a new DeleteCompanyParameterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCompanyParameterParamsWithTimeout

func NewDeleteCompanyParameterParamsWithTimeout(timeout time.Duration) *DeleteCompanyParameterParams

NewDeleteCompanyParameterParamsWithTimeout creates a new DeleteCompanyParameterParams object with the ability to set a timeout on a request.

func (*DeleteCompanyParameterParams) SetCompanyID

func (o *DeleteCompanyParameterParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the delete company parameter params

func (*DeleteCompanyParameterParams) SetContext

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

SetContext adds the context to the delete company parameter params

func (*DeleteCompanyParameterParams) SetDefaults

func (o *DeleteCompanyParameterParams) SetDefaults()

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

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

func (*DeleteCompanyParameterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete company parameter params

func (*DeleteCompanyParameterParams) SetID

func (o *DeleteCompanyParameterParams) SetID(id int64)

SetID adds the id to the delete company parameter params

func (*DeleteCompanyParameterParams) SetTimeout

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

SetTimeout adds the timeout to the delete company parameter params

func (*DeleteCompanyParameterParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete company parameter params

func (*DeleteCompanyParameterParams) WithCompanyID

WithCompanyID adds the companyID to the delete company parameter params

func (*DeleteCompanyParameterParams) WithContext

WithContext adds the context to the delete company parameter params

func (*DeleteCompanyParameterParams) WithDefaults

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

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

func (*DeleteCompanyParameterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete company parameter params

func (*DeleteCompanyParameterParams) WithID

WithID adds the id to the delete company parameter params

func (*DeleteCompanyParameterParams) WithTimeout

WithTimeout adds the timeout to the delete company parameter params

func (*DeleteCompanyParameterParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the delete company parameter params

func (*DeleteCompanyParameterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCompanyParameterReader

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

DeleteCompanyParameterReader is a Reader for the DeleteCompanyParameter structure.

func (*DeleteCompanyParameterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCompanyParameterUnauthorized

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

Unauthorized

func NewDeleteCompanyParameterUnauthorized

func NewDeleteCompanyParameterUnauthorized() *DeleteCompanyParameterUnauthorized

NewDeleteCompanyParameterUnauthorized creates a DeleteCompanyParameterUnauthorized with default headers values

func (*DeleteCompanyParameterUnauthorized) Error

type DeleteCompanyParams

type DeleteCompanyParams 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

	/* ID.

	   The ID of the company you wish to delete.

	   Format: int32
	*/
	ID int32

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

DeleteCompanyParams contains all the parameters to send to the API endpoint

for the delete company operation.

Typically these are written to a http.Request.

func NewDeleteCompanyParams

func NewDeleteCompanyParams() *DeleteCompanyParams

NewDeleteCompanyParams creates a new DeleteCompanyParams 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 NewDeleteCompanyParamsWithContext

func NewDeleteCompanyParamsWithContext(ctx context.Context) *DeleteCompanyParams

NewDeleteCompanyParamsWithContext creates a new DeleteCompanyParams object with the ability to set a context for a request.

func NewDeleteCompanyParamsWithHTTPClient

func NewDeleteCompanyParamsWithHTTPClient(client *http.Client) *DeleteCompanyParams

NewDeleteCompanyParamsWithHTTPClient creates a new DeleteCompanyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCompanyParamsWithTimeout

func NewDeleteCompanyParamsWithTimeout(timeout time.Duration) *DeleteCompanyParams

NewDeleteCompanyParamsWithTimeout creates a new DeleteCompanyParams object with the ability to set a timeout on a request.

func (*DeleteCompanyParams) SetContext

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

SetContext adds the context to the delete company params

func (*DeleteCompanyParams) SetDefaults

func (o *DeleteCompanyParams) SetDefaults()

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

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

func (*DeleteCompanyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete company params

func (*DeleteCompanyParams) SetID

func (o *DeleteCompanyParams) SetID(id int32)

SetID adds the id to the delete company params

func (*DeleteCompanyParams) SetTimeout

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

SetTimeout adds the timeout to the delete company params

func (*DeleteCompanyParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete company params

func (*DeleteCompanyParams) WithContext

WithContext adds the context to the delete company params

func (*DeleteCompanyParams) WithDefaults

func (o *DeleteCompanyParams) WithDefaults() *DeleteCompanyParams

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

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

func (*DeleteCompanyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete company params

func (*DeleteCompanyParams) WithID

WithID adds the id to the delete company params

func (*DeleteCompanyParams) WithTimeout

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

WithTimeout adds the timeout to the delete company params

func (*DeleteCompanyParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the delete company params

func (*DeleteCompanyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteCompanyReader

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

DeleteCompanyReader is a Reader for the DeleteCompany structure.

func (*DeleteCompanyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCompanyUnauthorized

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

Unauthorized

func NewDeleteCompanyUnauthorized

func NewDeleteCompanyUnauthorized() *DeleteCompanyUnauthorized

NewDeleteCompanyUnauthorized creates a DeleteCompanyUnauthorized with default headers values

func (*DeleteCompanyUnauthorized) Error

func (o *DeleteCompanyUnauthorized) Error() string

type FundingConfigurationByCompanyBadRequest

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

Bad Request

func NewFundingConfigurationByCompanyBadRequest

func NewFundingConfigurationByCompanyBadRequest() *FundingConfigurationByCompanyBadRequest

NewFundingConfigurationByCompanyBadRequest creates a FundingConfigurationByCompanyBadRequest with default headers values

func (*FundingConfigurationByCompanyBadRequest) Error

type FundingConfigurationByCompanyNotFound

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

Not Found

func NewFundingConfigurationByCompanyNotFound

func NewFundingConfigurationByCompanyNotFound() *FundingConfigurationByCompanyNotFound

NewFundingConfigurationByCompanyNotFound creates a FundingConfigurationByCompanyNotFound with default headers values

func (*FundingConfigurationByCompanyNotFound) Error

type FundingConfigurationByCompanyOK

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

Success

func NewFundingConfigurationByCompanyOK

func NewFundingConfigurationByCompanyOK() *FundingConfigurationByCompanyOK

NewFundingConfigurationByCompanyOK creates a FundingConfigurationByCompanyOK with default headers values

func (*FundingConfigurationByCompanyOK) Error

func (*FundingConfigurationByCompanyOK) GetPayload

type FundingConfigurationByCompanyParams

type FundingConfigurationByCompanyParams 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 unique identifier of the company

	   Format: int32
	*/
	CompanyID int32

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

FundingConfigurationByCompanyParams contains all the parameters to send to the API endpoint

for the funding configuration by company operation.

Typically these are written to a http.Request.

func NewFundingConfigurationByCompanyParams

func NewFundingConfigurationByCompanyParams() *FundingConfigurationByCompanyParams

NewFundingConfigurationByCompanyParams creates a new FundingConfigurationByCompanyParams 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 NewFundingConfigurationByCompanyParamsWithContext

func NewFundingConfigurationByCompanyParamsWithContext(ctx context.Context) *FundingConfigurationByCompanyParams

NewFundingConfigurationByCompanyParamsWithContext creates a new FundingConfigurationByCompanyParams object with the ability to set a context for a request.

func NewFundingConfigurationByCompanyParamsWithHTTPClient

func NewFundingConfigurationByCompanyParamsWithHTTPClient(client *http.Client) *FundingConfigurationByCompanyParams

NewFundingConfigurationByCompanyParamsWithHTTPClient creates a new FundingConfigurationByCompanyParams object with the ability to set a custom HTTPClient for a request.

func NewFundingConfigurationByCompanyParamsWithTimeout

func NewFundingConfigurationByCompanyParamsWithTimeout(timeout time.Duration) *FundingConfigurationByCompanyParams

NewFundingConfigurationByCompanyParamsWithTimeout creates a new FundingConfigurationByCompanyParams object with the ability to set a timeout on a request.

func (*FundingConfigurationByCompanyParams) SetCompanyID

func (o *FundingConfigurationByCompanyParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the funding configuration by company params

func (*FundingConfigurationByCompanyParams) SetContext

SetContext adds the context to the funding configuration by company params

func (*FundingConfigurationByCompanyParams) SetDefaults

func (o *FundingConfigurationByCompanyParams) SetDefaults()

SetDefaults hydrates default values in the funding configuration by company params (not the query body).

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

func (*FundingConfigurationByCompanyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the funding configuration by company params

func (*FundingConfigurationByCompanyParams) SetTimeout

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

SetTimeout adds the timeout to the funding configuration by company params

func (*FundingConfigurationByCompanyParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the funding configuration by company params

func (*FundingConfigurationByCompanyParams) WithCompanyID

WithCompanyID adds the companyID to the funding configuration by company params

func (*FundingConfigurationByCompanyParams) WithContext

WithContext adds the context to the funding configuration by company params

func (*FundingConfigurationByCompanyParams) WithDefaults

WithDefaults hydrates default values in the funding configuration by company params (not the query body).

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

func (*FundingConfigurationByCompanyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the funding configuration by company params

func (*FundingConfigurationByCompanyParams) WithTimeout

WithTimeout adds the timeout to the funding configuration by company params

func (*FundingConfigurationByCompanyParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the funding configuration by company params

func (*FundingConfigurationByCompanyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FundingConfigurationByCompanyReader

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

FundingConfigurationByCompanyReader is a Reader for the FundingConfigurationByCompany structure.

func (*FundingConfigurationByCompanyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FundingConfigurationByCompanyUnauthorized

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

Unauthorized

func NewFundingConfigurationByCompanyUnauthorized

func NewFundingConfigurationByCompanyUnauthorized() *FundingConfigurationByCompanyUnauthorized

NewFundingConfigurationByCompanyUnauthorized creates a FundingConfigurationByCompanyUnauthorized with default headers values

func (*FundingConfigurationByCompanyUnauthorized) Error

type FundingConfigurationsByCompanyAndCurrencyBadRequest

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

Bad Request

func NewFundingConfigurationsByCompanyAndCurrencyBadRequest

func NewFundingConfigurationsByCompanyAndCurrencyBadRequest() *FundingConfigurationsByCompanyAndCurrencyBadRequest

NewFundingConfigurationsByCompanyAndCurrencyBadRequest creates a FundingConfigurationsByCompanyAndCurrencyBadRequest with default headers values

func (*FundingConfigurationsByCompanyAndCurrencyBadRequest) Error

type FundingConfigurationsByCompanyAndCurrencyNotFound

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

Not Found

func NewFundingConfigurationsByCompanyAndCurrencyNotFound

func NewFundingConfigurationsByCompanyAndCurrencyNotFound() *FundingConfigurationsByCompanyAndCurrencyNotFound

NewFundingConfigurationsByCompanyAndCurrencyNotFound creates a FundingConfigurationsByCompanyAndCurrencyNotFound with default headers values

func (*FundingConfigurationsByCompanyAndCurrencyNotFound) Error

type FundingConfigurationsByCompanyAndCurrencyOK

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

Success

func NewFundingConfigurationsByCompanyAndCurrencyOK

func NewFundingConfigurationsByCompanyAndCurrencyOK() *FundingConfigurationsByCompanyAndCurrencyOK

NewFundingConfigurationsByCompanyAndCurrencyOK creates a FundingConfigurationsByCompanyAndCurrencyOK with default headers values

func (*FundingConfigurationsByCompanyAndCurrencyOK) Error

func (*FundingConfigurationsByCompanyAndCurrencyOK) GetPayload

type FundingConfigurationsByCompanyAndCurrencyParams

type FundingConfigurationsByCompanyAndCurrencyParams 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 unique identifier of the company

	   Format: int32
	*/
	CompanyID int32

	/* Currency.

	   The currency of the funding.  USD and CAD are the only valid currencies
	*/
	Currency *string

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

FundingConfigurationsByCompanyAndCurrencyParams contains all the parameters to send to the API endpoint

for the funding configurations by company and currency operation.

Typically these are written to a http.Request.

func NewFundingConfigurationsByCompanyAndCurrencyParams

func NewFundingConfigurationsByCompanyAndCurrencyParams() *FundingConfigurationsByCompanyAndCurrencyParams

NewFundingConfigurationsByCompanyAndCurrencyParams creates a new FundingConfigurationsByCompanyAndCurrencyParams 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 NewFundingConfigurationsByCompanyAndCurrencyParamsWithContext

func NewFundingConfigurationsByCompanyAndCurrencyParamsWithContext(ctx context.Context) *FundingConfigurationsByCompanyAndCurrencyParams

NewFundingConfigurationsByCompanyAndCurrencyParamsWithContext creates a new FundingConfigurationsByCompanyAndCurrencyParams object with the ability to set a context for a request.

func NewFundingConfigurationsByCompanyAndCurrencyParamsWithHTTPClient

func NewFundingConfigurationsByCompanyAndCurrencyParamsWithHTTPClient(client *http.Client) *FundingConfigurationsByCompanyAndCurrencyParams

NewFundingConfigurationsByCompanyAndCurrencyParamsWithHTTPClient creates a new FundingConfigurationsByCompanyAndCurrencyParams object with the ability to set a custom HTTPClient for a request.

func NewFundingConfigurationsByCompanyAndCurrencyParamsWithTimeout

func NewFundingConfigurationsByCompanyAndCurrencyParamsWithTimeout(timeout time.Duration) *FundingConfigurationsByCompanyAndCurrencyParams

NewFundingConfigurationsByCompanyAndCurrencyParamsWithTimeout creates a new FundingConfigurationsByCompanyAndCurrencyParams object with the ability to set a timeout on a request.

func (*FundingConfigurationsByCompanyAndCurrencyParams) SetCompanyID

func (o *FundingConfigurationsByCompanyAndCurrencyParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the funding configurations by company and currency params

func (*FundingConfigurationsByCompanyAndCurrencyParams) SetContext

SetContext adds the context to the funding configurations by company and currency params

func (*FundingConfigurationsByCompanyAndCurrencyParams) SetCurrency

func (o *FundingConfigurationsByCompanyAndCurrencyParams) SetCurrency(currency *string)

SetCurrency adds the currency to the funding configurations by company and currency params

func (*FundingConfigurationsByCompanyAndCurrencyParams) SetDefaults

SetDefaults hydrates default values in the funding configurations by company and currency params (not the query body).

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

func (*FundingConfigurationsByCompanyAndCurrencyParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the funding configurations by company and currency params

func (*FundingConfigurationsByCompanyAndCurrencyParams) SetTimeout

SetTimeout adds the timeout to the funding configurations by company and currency params

func (*FundingConfigurationsByCompanyAndCurrencyParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the funding configurations by company and currency params

func (*FundingConfigurationsByCompanyAndCurrencyParams) WithCompanyID

WithCompanyID adds the companyID to the funding configurations by company and currency params

func (*FundingConfigurationsByCompanyAndCurrencyParams) WithContext

WithContext adds the context to the funding configurations by company and currency params

func (*FundingConfigurationsByCompanyAndCurrencyParams) WithCurrency

WithCurrency adds the currency to the funding configurations by company and currency params

func (*FundingConfigurationsByCompanyAndCurrencyParams) WithDefaults

WithDefaults hydrates default values in the funding configurations by company and currency params (not the query body).

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

func (*FundingConfigurationsByCompanyAndCurrencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the funding configurations by company and currency params

func (*FundingConfigurationsByCompanyAndCurrencyParams) WithTimeout

WithTimeout adds the timeout to the funding configurations by company and currency params

func (*FundingConfigurationsByCompanyAndCurrencyParams) WithXAvalaraClient

WithXAvalaraClient adds the xAvalaraClient to the funding configurations by company and currency params

func (*FundingConfigurationsByCompanyAndCurrencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FundingConfigurationsByCompanyAndCurrencyReader

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

FundingConfigurationsByCompanyAndCurrencyReader is a Reader for the FundingConfigurationsByCompanyAndCurrency structure.

func (*FundingConfigurationsByCompanyAndCurrencyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FundingConfigurationsByCompanyAndCurrencyUnauthorized

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

Unauthorized

func NewFundingConfigurationsByCompanyAndCurrencyUnauthorized

func NewFundingConfigurationsByCompanyAndCurrencyUnauthorized() *FundingConfigurationsByCompanyAndCurrencyUnauthorized

NewFundingConfigurationsByCompanyAndCurrencyUnauthorized creates a FundingConfigurationsByCompanyAndCurrencyUnauthorized with default headers values

func (*FundingConfigurationsByCompanyAndCurrencyUnauthorized) Error

type GetCompanyBadRequest

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

Bad Request

func NewGetCompanyBadRequest

func NewGetCompanyBadRequest() *GetCompanyBadRequest

NewGetCompanyBadRequest creates a GetCompanyBadRequest with default headers values

func (*GetCompanyBadRequest) Error

func (o *GetCompanyBadRequest) Error() string

type GetCompanyConfigurationBadRequest

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

Bad Request

func NewGetCompanyConfigurationBadRequest

func NewGetCompanyConfigurationBadRequest() *GetCompanyConfigurationBadRequest

NewGetCompanyConfigurationBadRequest creates a GetCompanyConfigurationBadRequest with default headers values

func (*GetCompanyConfigurationBadRequest) Error

type GetCompanyConfigurationNotFound

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

Not Found

func NewGetCompanyConfigurationNotFound

func NewGetCompanyConfigurationNotFound() *GetCompanyConfigurationNotFound

NewGetCompanyConfigurationNotFound creates a GetCompanyConfigurationNotFound with default headers values

func (*GetCompanyConfigurationNotFound) Error

type GetCompanyConfigurationOK

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

Success

func NewGetCompanyConfigurationOK

func NewGetCompanyConfigurationOK() *GetCompanyConfigurationOK

NewGetCompanyConfigurationOK creates a GetCompanyConfigurationOK with default headers values

func (*GetCompanyConfigurationOK) Error

func (o *GetCompanyConfigurationOK) Error() string

func (*GetCompanyConfigurationOK) GetPayload

type GetCompanyConfigurationParams

type GetCompanyConfigurationParams 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

	// ID.
	//
	// Format: int32
	ID int32

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

GetCompanyConfigurationParams contains all the parameters to send to the API endpoint

for the get company configuration operation.

Typically these are written to a http.Request.

func NewGetCompanyConfigurationParams

func NewGetCompanyConfigurationParams() *GetCompanyConfigurationParams

NewGetCompanyConfigurationParams creates a new GetCompanyConfigurationParams 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 NewGetCompanyConfigurationParamsWithContext

func NewGetCompanyConfigurationParamsWithContext(ctx context.Context) *GetCompanyConfigurationParams

NewGetCompanyConfigurationParamsWithContext creates a new GetCompanyConfigurationParams object with the ability to set a context for a request.

func NewGetCompanyConfigurationParamsWithHTTPClient

func NewGetCompanyConfigurationParamsWithHTTPClient(client *http.Client) *GetCompanyConfigurationParams

NewGetCompanyConfigurationParamsWithHTTPClient creates a new GetCompanyConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewGetCompanyConfigurationParamsWithTimeout

func NewGetCompanyConfigurationParamsWithTimeout(timeout time.Duration) *GetCompanyConfigurationParams

NewGetCompanyConfigurationParamsWithTimeout creates a new GetCompanyConfigurationParams object with the ability to set a timeout on a request.

func (*GetCompanyConfigurationParams) SetContext

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

SetContext adds the context to the get company configuration params

func (*GetCompanyConfigurationParams) SetDefaults

func (o *GetCompanyConfigurationParams) SetDefaults()

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

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

func (*GetCompanyConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get company configuration params

func (*GetCompanyConfigurationParams) SetID

func (o *GetCompanyConfigurationParams) SetID(id int32)

SetID adds the id to the get company configuration params

func (*GetCompanyConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the get company configuration params

func (*GetCompanyConfigurationParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get company configuration params

func (*GetCompanyConfigurationParams) WithContext

WithContext adds the context to the get company configuration params

func (*GetCompanyConfigurationParams) WithDefaults

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

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

func (*GetCompanyConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get company configuration params

func (*GetCompanyConfigurationParams) WithID

WithID adds the id to the get company configuration params

func (*GetCompanyConfigurationParams) WithTimeout

WithTimeout adds the timeout to the get company configuration params

func (*GetCompanyConfigurationParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get company configuration params

func (*GetCompanyConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCompanyConfigurationReader

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

GetCompanyConfigurationReader is a Reader for the GetCompanyConfiguration structure.

func (*GetCompanyConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCompanyConfigurationUnauthorized

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

Unauthorized

func NewGetCompanyConfigurationUnauthorized

func NewGetCompanyConfigurationUnauthorized() *GetCompanyConfigurationUnauthorized

NewGetCompanyConfigurationUnauthorized creates a GetCompanyConfigurationUnauthorized with default headers values

func (*GetCompanyConfigurationUnauthorized) Error

type GetCompanyNotFound

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

Not Found

func NewGetCompanyNotFound

func NewGetCompanyNotFound() *GetCompanyNotFound

NewGetCompanyNotFound creates a GetCompanyNotFound with default headers values

func (*GetCompanyNotFound) Error

func (o *GetCompanyNotFound) Error() string

type GetCompanyOK

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

Success

func NewGetCompanyOK

func NewGetCompanyOK() *GetCompanyOK

NewGetCompanyOK creates a GetCompanyOK with default headers values

func (*GetCompanyOK) Error

func (o *GetCompanyOK) Error() string

func (*GetCompanyOK) GetPayload

func (o *GetCompanyOK) GetPayload() *models.CompanyModel

type GetCompanyParameterDetailBadRequest

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

Bad Request

func NewGetCompanyParameterDetailBadRequest

func NewGetCompanyParameterDetailBadRequest() *GetCompanyParameterDetailBadRequest

NewGetCompanyParameterDetailBadRequest creates a GetCompanyParameterDetailBadRequest with default headers values

func (*GetCompanyParameterDetailBadRequest) Error

type GetCompanyParameterDetailNotFound

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

Not Found

func NewGetCompanyParameterDetailNotFound

func NewGetCompanyParameterDetailNotFound() *GetCompanyParameterDetailNotFound

NewGetCompanyParameterDetailNotFound creates a GetCompanyParameterDetailNotFound with default headers values

func (*GetCompanyParameterDetailNotFound) Error

type GetCompanyParameterDetailOK

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

Success

func NewGetCompanyParameterDetailOK

func NewGetCompanyParameterDetailOK() *GetCompanyParameterDetailOK

NewGetCompanyParameterDetailOK creates a GetCompanyParameterDetailOK with default headers values

func (*GetCompanyParameterDetailOK) Error

func (*GetCompanyParameterDetailOK) GetPayload

type GetCompanyParameterDetailParams

type GetCompanyParameterDetailParams 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.
	//
	// Format: int32
	CompanyID int32

	// ID.
	//
	// Format: int32
	ID int32

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

GetCompanyParameterDetailParams contains all the parameters to send to the API endpoint

for the get company parameter detail operation.

Typically these are written to a http.Request.

func NewGetCompanyParameterDetailParams

func NewGetCompanyParameterDetailParams() *GetCompanyParameterDetailParams

NewGetCompanyParameterDetailParams creates a new GetCompanyParameterDetailParams 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 NewGetCompanyParameterDetailParamsWithContext

func NewGetCompanyParameterDetailParamsWithContext(ctx context.Context) *GetCompanyParameterDetailParams

NewGetCompanyParameterDetailParamsWithContext creates a new GetCompanyParameterDetailParams object with the ability to set a context for a request.

func NewGetCompanyParameterDetailParamsWithHTTPClient

func NewGetCompanyParameterDetailParamsWithHTTPClient(client *http.Client) *GetCompanyParameterDetailParams

NewGetCompanyParameterDetailParamsWithHTTPClient creates a new GetCompanyParameterDetailParams object with the ability to set a custom HTTPClient for a request.

func NewGetCompanyParameterDetailParamsWithTimeout

func NewGetCompanyParameterDetailParamsWithTimeout(timeout time.Duration) *GetCompanyParameterDetailParams

NewGetCompanyParameterDetailParamsWithTimeout creates a new GetCompanyParameterDetailParams object with the ability to set a timeout on a request.

func (*GetCompanyParameterDetailParams) SetCompanyID

func (o *GetCompanyParameterDetailParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the get company parameter detail params

func (*GetCompanyParameterDetailParams) SetContext

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

SetContext adds the context to the get company parameter detail params

func (*GetCompanyParameterDetailParams) SetDefaults

func (o *GetCompanyParameterDetailParams) SetDefaults()

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

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

func (*GetCompanyParameterDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get company parameter detail params

func (*GetCompanyParameterDetailParams) SetID

SetID adds the id to the get company parameter detail params

func (*GetCompanyParameterDetailParams) SetTimeout

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

SetTimeout adds the timeout to the get company parameter detail params

func (*GetCompanyParameterDetailParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get company parameter detail params

func (*GetCompanyParameterDetailParams) WithCompanyID

WithCompanyID adds the companyID to the get company parameter detail params

func (*GetCompanyParameterDetailParams) WithContext

WithContext adds the context to the get company parameter detail params

func (*GetCompanyParameterDetailParams) WithDefaults

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

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

func (*GetCompanyParameterDetailParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get company parameter detail params

func (*GetCompanyParameterDetailParams) WithID

WithID adds the id to the get company parameter detail params

func (*GetCompanyParameterDetailParams) WithTimeout

WithTimeout adds the timeout to the get company parameter detail params

func (*GetCompanyParameterDetailParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get company parameter detail params

func (*GetCompanyParameterDetailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCompanyParameterDetailReader

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

GetCompanyParameterDetailReader is a Reader for the GetCompanyParameterDetail structure.

func (*GetCompanyParameterDetailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCompanyParameterDetailUnauthorized

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

Unauthorized

func NewGetCompanyParameterDetailUnauthorized

func NewGetCompanyParameterDetailUnauthorized() *GetCompanyParameterDetailUnauthorized

NewGetCompanyParameterDetailUnauthorized creates a GetCompanyParameterDetailUnauthorized with default headers values

func (*GetCompanyParameterDetailUnauthorized) Error

type GetCompanyParams

type GetCompanyParams struct {

	/* DollarInclude.

	   OPTIONAL: A comma separated list of special fetch options.

	            * Child objects - Specify one or more of the following to retrieve objects related to each company: "Contacts", "FilingCalendars", "Items", "Locations", "Nexus", "TaxCodes", "NonReportingChildren" or "TaxRules".
	            * Deleted objects - Specify "FetchDeleted" to retrieve information about previously deleted objects.
	*/
	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

	/* ID.

	   The ID of the company to retrieve.

	   Format: int32
	*/
	ID int32

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

GetCompanyParams contains all the parameters to send to the API endpoint

for the get company operation.

Typically these are written to a http.Request.

func NewGetCompanyParams

func NewGetCompanyParams() *GetCompanyParams

NewGetCompanyParams creates a new GetCompanyParams 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 NewGetCompanyParamsWithContext

func NewGetCompanyParamsWithContext(ctx context.Context) *GetCompanyParams

NewGetCompanyParamsWithContext creates a new GetCompanyParams object with the ability to set a context for a request.

func NewGetCompanyParamsWithHTTPClient

func NewGetCompanyParamsWithHTTPClient(client *http.Client) *GetCompanyParams

NewGetCompanyParamsWithHTTPClient creates a new GetCompanyParams object with the ability to set a custom HTTPClient for a request.

func NewGetCompanyParamsWithTimeout

func NewGetCompanyParamsWithTimeout(timeout time.Duration) *GetCompanyParams

NewGetCompanyParamsWithTimeout creates a new GetCompanyParams object with the ability to set a timeout on a request.

func (*GetCompanyParams) SetContext

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

SetContext adds the context to the get company params

func (*GetCompanyParams) SetDefaults

func (o *GetCompanyParams) SetDefaults()

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

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

func (*GetCompanyParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the get company params

func (*GetCompanyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get company params

func (*GetCompanyParams) SetID

func (o *GetCompanyParams) SetID(id int32)

SetID adds the id to the get company params

func (*GetCompanyParams) SetTimeout

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

SetTimeout adds the timeout to the get company params

func (*GetCompanyParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get company params

func (*GetCompanyParams) WithContext

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

WithContext adds the context to the get company params

func (*GetCompanyParams) WithDefaults

func (o *GetCompanyParams) WithDefaults() *GetCompanyParams

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

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

func (*GetCompanyParams) WithDollarInclude

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

WithDollarInclude adds the dollarInclude to the get company params

func (*GetCompanyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get company params

func (*GetCompanyParams) WithID

func (o *GetCompanyParams) WithID(id int32) *GetCompanyParams

WithID adds the id to the get company params

func (*GetCompanyParams) WithTimeout

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

WithTimeout adds the timeout to the get company params

func (*GetCompanyParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get company params

func (*GetCompanyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCompanyReader

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

GetCompanyReader is a Reader for the GetCompany structure.

func (*GetCompanyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCompanyUnauthorized

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

Unauthorized

func NewGetCompanyUnauthorized

func NewGetCompanyUnauthorized() *GetCompanyUnauthorized

NewGetCompanyUnauthorized creates a GetCompanyUnauthorized with default headers values

func (*GetCompanyUnauthorized) Error

func (o *GetCompanyUnauthorized) Error() string

type GetFilingStatusBadRequest

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

Bad Request

func NewGetFilingStatusBadRequest

func NewGetFilingStatusBadRequest() *GetFilingStatusBadRequest

NewGetFilingStatusBadRequest creates a GetFilingStatusBadRequest with default headers values

func (*GetFilingStatusBadRequest) Error

func (o *GetFilingStatusBadRequest) Error() string

type GetFilingStatusNotFound

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

Not Found

func NewGetFilingStatusNotFound

func NewGetFilingStatusNotFound() *GetFilingStatusNotFound

NewGetFilingStatusNotFound creates a GetFilingStatusNotFound with default headers values

func (*GetFilingStatusNotFound) Error

func (o *GetFilingStatusNotFound) Error() string

type GetFilingStatusOK

type GetFilingStatusOK struct {
	Payload string
}
GetFilingStatusOK describes a response with status code 200, with default header values.

Success

func NewGetFilingStatusOK

func NewGetFilingStatusOK() *GetFilingStatusOK

NewGetFilingStatusOK creates a GetFilingStatusOK with default headers values

func (*GetFilingStatusOK) Error

func (o *GetFilingStatusOK) Error() string

func (*GetFilingStatusOK) GetPayload

func (o *GetFilingStatusOK) GetPayload() string

type GetFilingStatusParams

type GetFilingStatusParams 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

	// ID.
	//
	// Format: int32
	ID int32

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

GetFilingStatusParams contains all the parameters to send to the API endpoint

for the get filing status operation.

Typically these are written to a http.Request.

func NewGetFilingStatusParams

func NewGetFilingStatusParams() *GetFilingStatusParams

NewGetFilingStatusParams creates a new GetFilingStatusParams 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 NewGetFilingStatusParamsWithContext

func NewGetFilingStatusParamsWithContext(ctx context.Context) *GetFilingStatusParams

NewGetFilingStatusParamsWithContext creates a new GetFilingStatusParams object with the ability to set a context for a request.

func NewGetFilingStatusParamsWithHTTPClient

func NewGetFilingStatusParamsWithHTTPClient(client *http.Client) *GetFilingStatusParams

NewGetFilingStatusParamsWithHTTPClient creates a new GetFilingStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetFilingStatusParamsWithTimeout

func NewGetFilingStatusParamsWithTimeout(timeout time.Duration) *GetFilingStatusParams

NewGetFilingStatusParamsWithTimeout creates a new GetFilingStatusParams object with the ability to set a timeout on a request.

func (*GetFilingStatusParams) SetContext

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

SetContext adds the context to the get filing status params

func (*GetFilingStatusParams) SetDefaults

func (o *GetFilingStatusParams) SetDefaults()

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

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

func (*GetFilingStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get filing status params

func (*GetFilingStatusParams) SetID

func (o *GetFilingStatusParams) SetID(id int32)

SetID adds the id to the get filing status params

func (*GetFilingStatusParams) SetTimeout

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

SetTimeout adds the timeout to the get filing status params

func (*GetFilingStatusParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get filing status params

func (*GetFilingStatusParams) WithContext

WithContext adds the context to the get filing status params

func (*GetFilingStatusParams) WithDefaults

func (o *GetFilingStatusParams) WithDefaults() *GetFilingStatusParams

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

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

func (*GetFilingStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get filing status params

func (*GetFilingStatusParams) WithID

WithID adds the id to the get filing status params

func (*GetFilingStatusParams) WithTimeout

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

WithTimeout adds the timeout to the get filing status params

func (*GetFilingStatusParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get filing status params

func (*GetFilingStatusParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetFilingStatusReader

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

GetFilingStatusReader is a Reader for the GetFilingStatus structure.

func (*GetFilingStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFilingStatusUnauthorized

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

Unauthorized

func NewGetFilingStatusUnauthorized

func NewGetFilingStatusUnauthorized() *GetFilingStatusUnauthorized

NewGetFilingStatusUnauthorized creates a GetFilingStatusUnauthorized with default headers values

func (*GetFilingStatusUnauthorized) Error

type ListCompanyParameterDetailsBadRequest

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

Bad Request

func NewListCompanyParameterDetailsBadRequest

func NewListCompanyParameterDetailsBadRequest() *ListCompanyParameterDetailsBadRequest

NewListCompanyParameterDetailsBadRequest creates a ListCompanyParameterDetailsBadRequest with default headers values

func (*ListCompanyParameterDetailsBadRequest) Error

type ListCompanyParameterDetailsNotFound

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

Not Found

func NewListCompanyParameterDetailsNotFound

func NewListCompanyParameterDetailsNotFound() *ListCompanyParameterDetailsNotFound

NewListCompanyParameterDetailsNotFound creates a ListCompanyParameterDetailsNotFound with default headers values

func (*ListCompanyParameterDetailsNotFound) Error

type ListCompanyParameterDetailsOK

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

Success

func NewListCompanyParameterDetailsOK

func NewListCompanyParameterDetailsOK() *ListCompanyParameterDetailsOK

NewListCompanyParameterDetailsOK creates a ListCompanyParameterDetailsOK with default headers values

func (*ListCompanyParameterDetailsOK) Error

func (*ListCompanyParameterDetailsOK) GetPayload

type ListCompanyParameterDetailsParams

type ListCompanyParameterDetailsParams 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
	*/
	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

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

ListCompanyParameterDetailsParams contains all the parameters to send to the API endpoint

for the list company parameter details operation.

Typically these are written to a http.Request.

func NewListCompanyParameterDetailsParams

func NewListCompanyParameterDetailsParams() *ListCompanyParameterDetailsParams

NewListCompanyParameterDetailsParams creates a new ListCompanyParameterDetailsParams 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 NewListCompanyParameterDetailsParamsWithContext

func NewListCompanyParameterDetailsParamsWithContext(ctx context.Context) *ListCompanyParameterDetailsParams

NewListCompanyParameterDetailsParamsWithContext creates a new ListCompanyParameterDetailsParams object with the ability to set a context for a request.

func NewListCompanyParameterDetailsParamsWithHTTPClient

func NewListCompanyParameterDetailsParamsWithHTTPClient(client *http.Client) *ListCompanyParameterDetailsParams

NewListCompanyParameterDetailsParamsWithHTTPClient creates a new ListCompanyParameterDetailsParams object with the ability to set a custom HTTPClient for a request.

func NewListCompanyParameterDetailsParamsWithTimeout

func NewListCompanyParameterDetailsParamsWithTimeout(timeout time.Duration) *ListCompanyParameterDetailsParams

NewListCompanyParameterDetailsParamsWithTimeout creates a new ListCompanyParameterDetailsParams object with the ability to set a timeout on a request.

func (*ListCompanyParameterDetailsParams) SetCompanyID

func (o *ListCompanyParameterDetailsParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the list company parameter details params

func (*ListCompanyParameterDetailsParams) SetContext

SetContext adds the context to the list company parameter details params

func (*ListCompanyParameterDetailsParams) SetDefaults

func (o *ListCompanyParameterDetailsParams) SetDefaults()

SetDefaults hydrates default values in the list company parameter details params (not the query body).

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

func (*ListCompanyParameterDetailsParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the list company parameter details params

func (*ListCompanyParameterDetailsParams) SetDollarOrderBy

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

SetDollarOrderBy adds the dollarOrderBy to the list company parameter details params

func (*ListCompanyParameterDetailsParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the list company parameter details params

func (*ListCompanyParameterDetailsParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the list company parameter details params

func (*ListCompanyParameterDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list company parameter details params

func (*ListCompanyParameterDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the list company parameter details params

func (*ListCompanyParameterDetailsParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the list company parameter details params

func (*ListCompanyParameterDetailsParams) WithCompanyID

WithCompanyID adds the companyID to the list company parameter details params

func (*ListCompanyParameterDetailsParams) WithContext

WithContext adds the context to the list company parameter details params

func (*ListCompanyParameterDetailsParams) WithDefaults

WithDefaults hydrates default values in the list company parameter details params (not the query body).

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

func (*ListCompanyParameterDetailsParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the list company parameter details params

func (*ListCompanyParameterDetailsParams) WithDollarOrderBy

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

WithDollarOrderBy adds the dollarOrderBy to the list company parameter details params

func (*ListCompanyParameterDetailsParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the list company parameter details params

func (*ListCompanyParameterDetailsParams) WithDollarTop

WithDollarTop adds the dollarTop to the list company parameter details params

func (*ListCompanyParameterDetailsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list company parameter details params

func (*ListCompanyParameterDetailsParams) WithTimeout

WithTimeout adds the timeout to the list company parameter details params

func (*ListCompanyParameterDetailsParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the list company parameter details params

func (*ListCompanyParameterDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListCompanyParameterDetailsReader

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

ListCompanyParameterDetailsReader is a Reader for the ListCompanyParameterDetails structure.

func (*ListCompanyParameterDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCompanyParameterDetailsUnauthorized

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

Unauthorized

func NewListCompanyParameterDetailsUnauthorized

func NewListCompanyParameterDetailsUnauthorized() *ListCompanyParameterDetailsUnauthorized

NewListCompanyParameterDetailsUnauthorized creates a ListCompanyParameterDetailsUnauthorized with default headers values

func (*ListCompanyParameterDetailsUnauthorized) Error

type ListFundingRequestsByCompanyBadRequest

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

Bad Request

func NewListFundingRequestsByCompanyBadRequest

func NewListFundingRequestsByCompanyBadRequest() *ListFundingRequestsByCompanyBadRequest

NewListFundingRequestsByCompanyBadRequest creates a ListFundingRequestsByCompanyBadRequest with default headers values

func (*ListFundingRequestsByCompanyBadRequest) Error

type ListFundingRequestsByCompanyNotFound

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

Not Found

func NewListFundingRequestsByCompanyNotFound

func NewListFundingRequestsByCompanyNotFound() *ListFundingRequestsByCompanyNotFound

NewListFundingRequestsByCompanyNotFound creates a ListFundingRequestsByCompanyNotFound with default headers values

func (*ListFundingRequestsByCompanyNotFound) Error

type ListFundingRequestsByCompanyOK

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

Success

func NewListFundingRequestsByCompanyOK

func NewListFundingRequestsByCompanyOK() *ListFundingRequestsByCompanyOK

NewListFundingRequestsByCompanyOK creates a ListFundingRequestsByCompanyOK with default headers values

func (*ListFundingRequestsByCompanyOK) Error

func (*ListFundingRequestsByCompanyOK) GetPayload

type ListFundingRequestsByCompanyParams

type ListFundingRequestsByCompanyParams 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

	/* ID.

	   The unique identifier of the company

	   Format: int32
	*/
	ID int32

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

ListFundingRequestsByCompanyParams contains all the parameters to send to the API endpoint

for the list funding requests by company operation.

Typically these are written to a http.Request.

func NewListFundingRequestsByCompanyParams

func NewListFundingRequestsByCompanyParams() *ListFundingRequestsByCompanyParams

NewListFundingRequestsByCompanyParams creates a new ListFundingRequestsByCompanyParams 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 NewListFundingRequestsByCompanyParamsWithContext

func NewListFundingRequestsByCompanyParamsWithContext(ctx context.Context) *ListFundingRequestsByCompanyParams

NewListFundingRequestsByCompanyParamsWithContext creates a new ListFundingRequestsByCompanyParams object with the ability to set a context for a request.

func NewListFundingRequestsByCompanyParamsWithHTTPClient

func NewListFundingRequestsByCompanyParamsWithHTTPClient(client *http.Client) *ListFundingRequestsByCompanyParams

NewListFundingRequestsByCompanyParamsWithHTTPClient creates a new ListFundingRequestsByCompanyParams object with the ability to set a custom HTTPClient for a request.

func NewListFundingRequestsByCompanyParamsWithTimeout

func NewListFundingRequestsByCompanyParamsWithTimeout(timeout time.Duration) *ListFundingRequestsByCompanyParams

NewListFundingRequestsByCompanyParamsWithTimeout creates a new ListFundingRequestsByCompanyParams object with the ability to set a timeout on a request.

func (*ListFundingRequestsByCompanyParams) SetContext

SetContext adds the context to the list funding requests by company params

func (*ListFundingRequestsByCompanyParams) SetDefaults

func (o *ListFundingRequestsByCompanyParams) SetDefaults()

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

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

func (*ListFundingRequestsByCompanyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list funding requests by company params

func (*ListFundingRequestsByCompanyParams) SetID

SetID adds the id to the list funding requests by company params

func (*ListFundingRequestsByCompanyParams) SetTimeout

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

SetTimeout adds the timeout to the list funding requests by company params

func (*ListFundingRequestsByCompanyParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the list funding requests by company params

func (*ListFundingRequestsByCompanyParams) WithContext

WithContext adds the context to the list funding requests by company params

func (*ListFundingRequestsByCompanyParams) WithDefaults

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

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

func (*ListFundingRequestsByCompanyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list funding requests by company params

func (*ListFundingRequestsByCompanyParams) WithID

WithID adds the id to the list funding requests by company params

func (*ListFundingRequestsByCompanyParams) WithTimeout

WithTimeout adds the timeout to the list funding requests by company params

func (*ListFundingRequestsByCompanyParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the list funding requests by company params

func (*ListFundingRequestsByCompanyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListFundingRequestsByCompanyReader

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

ListFundingRequestsByCompanyReader is a Reader for the ListFundingRequestsByCompany structure.

func (*ListFundingRequestsByCompanyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListFundingRequestsByCompanyUnauthorized

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

Unauthorized

func NewListFundingRequestsByCompanyUnauthorized

func NewListFundingRequestsByCompanyUnauthorized() *ListFundingRequestsByCompanyUnauthorized

NewListFundingRequestsByCompanyUnauthorized creates a ListFundingRequestsByCompanyUnauthorized with default headers values

func (*ListFundingRequestsByCompanyUnauthorized) Error

type ListMrsCompaniesBadRequest

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

Bad Request

func NewListMrsCompaniesBadRequest

func NewListMrsCompaniesBadRequest() *ListMrsCompaniesBadRequest

NewListMrsCompaniesBadRequest creates a ListMrsCompaniesBadRequest with default headers values

func (*ListMrsCompaniesBadRequest) Error

type ListMrsCompaniesOK

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

Success

func NewListMrsCompaniesOK

func NewListMrsCompaniesOK() *ListMrsCompaniesOK

NewListMrsCompaniesOK creates a ListMrsCompaniesOK with default headers values

func (*ListMrsCompaniesOK) Error

func (o *ListMrsCompaniesOK) Error() string

func (*ListMrsCompaniesOK) GetPayload

type ListMrsCompaniesParams

type ListMrsCompaniesParams 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

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

ListMrsCompaniesParams contains all the parameters to send to the API endpoint

for the list mrs companies operation.

Typically these are written to a http.Request.

func NewListMrsCompaniesParams

func NewListMrsCompaniesParams() *ListMrsCompaniesParams

NewListMrsCompaniesParams creates a new ListMrsCompaniesParams 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 NewListMrsCompaniesParamsWithContext

func NewListMrsCompaniesParamsWithContext(ctx context.Context) *ListMrsCompaniesParams

NewListMrsCompaniesParamsWithContext creates a new ListMrsCompaniesParams object with the ability to set a context for a request.

func NewListMrsCompaniesParamsWithHTTPClient

func NewListMrsCompaniesParamsWithHTTPClient(client *http.Client) *ListMrsCompaniesParams

NewListMrsCompaniesParamsWithHTTPClient creates a new ListMrsCompaniesParams object with the ability to set a custom HTTPClient for a request.

func NewListMrsCompaniesParamsWithTimeout

func NewListMrsCompaniesParamsWithTimeout(timeout time.Duration) *ListMrsCompaniesParams

NewListMrsCompaniesParamsWithTimeout creates a new ListMrsCompaniesParams object with the ability to set a timeout on a request.

func (*ListMrsCompaniesParams) SetContext

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

SetContext adds the context to the list mrs companies params

func (*ListMrsCompaniesParams) SetDefaults

func (o *ListMrsCompaniesParams) SetDefaults()

SetDefaults hydrates default values in the list mrs companies params (not the query body).

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

func (*ListMrsCompaniesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list mrs companies params

func (*ListMrsCompaniesParams) SetTimeout

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

SetTimeout adds the timeout to the list mrs companies params

func (*ListMrsCompaniesParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the list mrs companies params

func (*ListMrsCompaniesParams) WithContext

WithContext adds the context to the list mrs companies params

func (*ListMrsCompaniesParams) WithDefaults

WithDefaults hydrates default values in the list mrs companies params (not the query body).

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

func (*ListMrsCompaniesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list mrs companies params

func (*ListMrsCompaniesParams) WithTimeout

WithTimeout adds the timeout to the list mrs companies params

func (*ListMrsCompaniesParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the list mrs companies params

func (*ListMrsCompaniesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListMrsCompaniesReader

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

ListMrsCompaniesReader is a Reader for the ListMrsCompanies structure.

func (*ListMrsCompaniesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListMrsCompaniesUnauthorized

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

Unauthorized

func NewListMrsCompaniesUnauthorized

func NewListMrsCompaniesUnauthorized() *ListMrsCompaniesUnauthorized

NewListMrsCompaniesUnauthorized creates a ListMrsCompaniesUnauthorized with default headers values

func (*ListMrsCompaniesUnauthorized) Error

type QueryCompaniesBadRequest

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

Bad Request

func NewQueryCompaniesBadRequest

func NewQueryCompaniesBadRequest() *QueryCompaniesBadRequest

NewQueryCompaniesBadRequest creates a QueryCompaniesBadRequest with default headers values

func (*QueryCompaniesBadRequest) Error

func (o *QueryCompaniesBadRequest) Error() string

type QueryCompaniesNotFound

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

Not Found

func NewQueryCompaniesNotFound

func NewQueryCompaniesNotFound() *QueryCompaniesNotFound

NewQueryCompaniesNotFound creates a QueryCompaniesNotFound with default headers values

func (*QueryCompaniesNotFound) Error

func (o *QueryCompaniesNotFound) Error() string

type QueryCompaniesOK

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

Success

func NewQueryCompaniesOK

func NewQueryCompaniesOK() *QueryCompaniesOK

NewQueryCompaniesOK creates a QueryCompaniesOK with default headers values

func (*QueryCompaniesOK) Error

func (o *QueryCompaniesOK) Error() string

func (*QueryCompaniesOK) GetPayload

type QueryCompaniesParams

type QueryCompaniesParams 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:* IsFein, contacts, items, locations, nexus, settings, taxCodes, taxRules, upcs, nonReportingChildCompanies, exemptCerts, parameters, supplierandcustomers
	*/
	DollarFilter *string

	/* DollarInclude.

	   A comma separated list of objects to fetch underneath this company.  Any object with a URL path underneath this company can be fetched by specifying its name.
	*/
	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
}

QueryCompaniesParams contains all the parameters to send to the API endpoint

for the query companies operation.

Typically these are written to a http.Request.

func NewQueryCompaniesParams

func NewQueryCompaniesParams() *QueryCompaniesParams

NewQueryCompaniesParams creates a new QueryCompaniesParams 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 NewQueryCompaniesParamsWithContext

func NewQueryCompaniesParamsWithContext(ctx context.Context) *QueryCompaniesParams

NewQueryCompaniesParamsWithContext creates a new QueryCompaniesParams object with the ability to set a context for a request.

func NewQueryCompaniesParamsWithHTTPClient

func NewQueryCompaniesParamsWithHTTPClient(client *http.Client) *QueryCompaniesParams

NewQueryCompaniesParamsWithHTTPClient creates a new QueryCompaniesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryCompaniesParamsWithTimeout

func NewQueryCompaniesParamsWithTimeout(timeout time.Duration) *QueryCompaniesParams

NewQueryCompaniesParamsWithTimeout creates a new QueryCompaniesParams object with the ability to set a timeout on a request.

func (*QueryCompaniesParams) SetContext

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

SetContext adds the context to the query companies params

func (*QueryCompaniesParams) SetDefaults

func (o *QueryCompaniesParams) SetDefaults()

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

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

func (*QueryCompaniesParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the query companies params

func (*QueryCompaniesParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the query companies params

func (*QueryCompaniesParams) SetDollarOrderBy

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

SetDollarOrderBy adds the dollarOrderBy to the query companies params

func (*QueryCompaniesParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the query companies params

func (*QueryCompaniesParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the query companies params

func (*QueryCompaniesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query companies params

func (*QueryCompaniesParams) SetTimeout

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

SetTimeout adds the timeout to the query companies params

func (*QueryCompaniesParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the query companies params

func (*QueryCompaniesParams) WithContext

WithContext adds the context to the query companies params

func (*QueryCompaniesParams) WithDefaults

func (o *QueryCompaniesParams) WithDefaults() *QueryCompaniesParams

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

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

func (*QueryCompaniesParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the query companies params

func (*QueryCompaniesParams) WithDollarInclude

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

WithDollarInclude adds the dollarInclude to the query companies params

func (*QueryCompaniesParams) WithDollarOrderBy

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

WithDollarOrderBy adds the dollarOrderBy to the query companies params

func (*QueryCompaniesParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the query companies params

func (*QueryCompaniesParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the query companies params

func (*QueryCompaniesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query companies params

func (*QueryCompaniesParams) WithTimeout

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

WithTimeout adds the timeout to the query companies params

func (*QueryCompaniesParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the query companies params

func (*QueryCompaniesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryCompaniesReader

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

QueryCompaniesReader is a Reader for the QueryCompanies structure.

func (*QueryCompaniesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryCompaniesUnauthorized

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

Unauthorized

func NewQueryCompaniesUnauthorized

func NewQueryCompaniesUnauthorized() *QueryCompaniesUnauthorized

NewQueryCompaniesUnauthorized creates a QueryCompaniesUnauthorized with default headers values

func (*QueryCompaniesUnauthorized) Error

type SetCompanyConfigurationBadRequest

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

Bad Request

func NewSetCompanyConfigurationBadRequest

func NewSetCompanyConfigurationBadRequest() *SetCompanyConfigurationBadRequest

NewSetCompanyConfigurationBadRequest creates a SetCompanyConfigurationBadRequest with default headers values

func (*SetCompanyConfigurationBadRequest) Error

type SetCompanyConfigurationNotFound

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

Not Found

func NewSetCompanyConfigurationNotFound

func NewSetCompanyConfigurationNotFound() *SetCompanyConfigurationNotFound

NewSetCompanyConfigurationNotFound creates a SetCompanyConfigurationNotFound with default headers values

func (*SetCompanyConfigurationNotFound) Error

type SetCompanyConfigurationOK

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

Success

func NewSetCompanyConfigurationOK

func NewSetCompanyConfigurationOK() *SetCompanyConfigurationOK

NewSetCompanyConfigurationOK creates a SetCompanyConfigurationOK with default headers values

func (*SetCompanyConfigurationOK) Error

func (o *SetCompanyConfigurationOK) Error() string

func (*SetCompanyConfigurationOK) GetPayload

type SetCompanyConfigurationParams

type SetCompanyConfigurationParams 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.
	Body []*models.CompanyConfigurationModel

	// ID.
	//
	// Format: int32
	ID int32

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

SetCompanyConfigurationParams contains all the parameters to send to the API endpoint

for the set company configuration operation.

Typically these are written to a http.Request.

func NewSetCompanyConfigurationParams

func NewSetCompanyConfigurationParams() *SetCompanyConfigurationParams

NewSetCompanyConfigurationParams creates a new SetCompanyConfigurationParams 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 NewSetCompanyConfigurationParamsWithContext

func NewSetCompanyConfigurationParamsWithContext(ctx context.Context) *SetCompanyConfigurationParams

NewSetCompanyConfigurationParamsWithContext creates a new SetCompanyConfigurationParams object with the ability to set a context for a request.

func NewSetCompanyConfigurationParamsWithHTTPClient

func NewSetCompanyConfigurationParamsWithHTTPClient(client *http.Client) *SetCompanyConfigurationParams

NewSetCompanyConfigurationParamsWithHTTPClient creates a new SetCompanyConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewSetCompanyConfigurationParamsWithTimeout

func NewSetCompanyConfigurationParamsWithTimeout(timeout time.Duration) *SetCompanyConfigurationParams

NewSetCompanyConfigurationParamsWithTimeout creates a new SetCompanyConfigurationParams object with the ability to set a timeout on a request.

func (*SetCompanyConfigurationParams) SetBody

SetBody adds the body to the set company configuration params

func (*SetCompanyConfigurationParams) SetContext

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

SetContext adds the context to the set company configuration params

func (*SetCompanyConfigurationParams) SetDefaults

func (o *SetCompanyConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the set company configuration params (not the query body).

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

func (*SetCompanyConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set company configuration params

func (*SetCompanyConfigurationParams) SetID

func (o *SetCompanyConfigurationParams) SetID(id int32)

SetID adds the id to the set company configuration params

func (*SetCompanyConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the set company configuration params

func (*SetCompanyConfigurationParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the set company configuration params

func (*SetCompanyConfigurationParams) WithBody

WithBody adds the body to the set company configuration params

func (*SetCompanyConfigurationParams) WithContext

WithContext adds the context to the set company configuration params

func (*SetCompanyConfigurationParams) WithDefaults

WithDefaults hydrates default values in the set company configuration params (not the query body).

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

func (*SetCompanyConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set company configuration params

func (*SetCompanyConfigurationParams) WithID

WithID adds the id to the set company configuration params

func (*SetCompanyConfigurationParams) WithTimeout

WithTimeout adds the timeout to the set company configuration params

func (*SetCompanyConfigurationParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the set company configuration params

func (*SetCompanyConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetCompanyConfigurationReader

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

SetCompanyConfigurationReader is a Reader for the SetCompanyConfiguration structure.

func (*SetCompanyConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetCompanyConfigurationUnauthorized

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

Unauthorized

func NewSetCompanyConfigurationUnauthorized

func NewSetCompanyConfigurationUnauthorized() *SetCompanyConfigurationUnauthorized

NewSetCompanyConfigurationUnauthorized creates a SetCompanyConfigurationUnauthorized with default headers values

func (*SetCompanyConfigurationUnauthorized) Error

type UpdateCompanyBadRequest

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

Bad Request

func NewUpdateCompanyBadRequest

func NewUpdateCompanyBadRequest() *UpdateCompanyBadRequest

NewUpdateCompanyBadRequest creates a UpdateCompanyBadRequest with default headers values

func (*UpdateCompanyBadRequest) Error

func (o *UpdateCompanyBadRequest) Error() string

type UpdateCompanyNotFound

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

Not Found

func NewUpdateCompanyNotFound

func NewUpdateCompanyNotFound() *UpdateCompanyNotFound

NewUpdateCompanyNotFound creates a UpdateCompanyNotFound with default headers values

func (*UpdateCompanyNotFound) Error

func (o *UpdateCompanyNotFound) Error() string

type UpdateCompanyOK

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

Success

func NewUpdateCompanyOK

func NewUpdateCompanyOK() *UpdateCompanyOK

NewUpdateCompanyOK creates a UpdateCompanyOK with default headers values

func (*UpdateCompanyOK) Error

func (o *UpdateCompanyOK) Error() string

func (*UpdateCompanyOK) GetPayload

func (o *UpdateCompanyOK) GetPayload() *models.CompanyModel

type UpdateCompanyParameterDetailBadRequest

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

Bad Request

func NewUpdateCompanyParameterDetailBadRequest

func NewUpdateCompanyParameterDetailBadRequest() *UpdateCompanyParameterDetailBadRequest

NewUpdateCompanyParameterDetailBadRequest creates a UpdateCompanyParameterDetailBadRequest with default headers values

func (*UpdateCompanyParameterDetailBadRequest) Error

type UpdateCompanyParameterDetailNotFound

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

Not Found

func NewUpdateCompanyParameterDetailNotFound

func NewUpdateCompanyParameterDetailNotFound() *UpdateCompanyParameterDetailNotFound

NewUpdateCompanyParameterDetailNotFound creates a UpdateCompanyParameterDetailNotFound with default headers values

func (*UpdateCompanyParameterDetailNotFound) Error

type UpdateCompanyParameterDetailOK

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

Success

func NewUpdateCompanyParameterDetailOK

func NewUpdateCompanyParameterDetailOK() *UpdateCompanyParameterDetailOK

NewUpdateCompanyParameterDetailOK creates a UpdateCompanyParameterDetailOK with default headers values

func (*UpdateCompanyParameterDetailOK) Error

func (*UpdateCompanyParameterDetailOK) GetPayload

type UpdateCompanyParameterDetailParams

type UpdateCompanyParameterDetailParams 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 company parameter object you wish to update.
	*/
	Body *models.CompanyParameterDetailModel

	/* CompanyID.

	   The company id.

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The company parameter id

	   Format: int64
	*/
	ID int64

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

UpdateCompanyParameterDetailParams contains all the parameters to send to the API endpoint

for the update company parameter detail operation.

Typically these are written to a http.Request.

func NewUpdateCompanyParameterDetailParams

func NewUpdateCompanyParameterDetailParams() *UpdateCompanyParameterDetailParams

NewUpdateCompanyParameterDetailParams creates a new UpdateCompanyParameterDetailParams 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 NewUpdateCompanyParameterDetailParamsWithContext

func NewUpdateCompanyParameterDetailParamsWithContext(ctx context.Context) *UpdateCompanyParameterDetailParams

NewUpdateCompanyParameterDetailParamsWithContext creates a new UpdateCompanyParameterDetailParams object with the ability to set a context for a request.

func NewUpdateCompanyParameterDetailParamsWithHTTPClient

func NewUpdateCompanyParameterDetailParamsWithHTTPClient(client *http.Client) *UpdateCompanyParameterDetailParams

NewUpdateCompanyParameterDetailParamsWithHTTPClient creates a new UpdateCompanyParameterDetailParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCompanyParameterDetailParamsWithTimeout

func NewUpdateCompanyParameterDetailParamsWithTimeout(timeout time.Duration) *UpdateCompanyParameterDetailParams

NewUpdateCompanyParameterDetailParamsWithTimeout creates a new UpdateCompanyParameterDetailParams object with the ability to set a timeout on a request.

func (*UpdateCompanyParameterDetailParams) SetBody

SetBody adds the body to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) SetCompanyID

func (o *UpdateCompanyParameterDetailParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) SetContext

SetContext adds the context to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) SetDefaults

func (o *UpdateCompanyParameterDetailParams) SetDefaults()

SetDefaults hydrates default values in the update company parameter detail params (not the query body).

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

func (*UpdateCompanyParameterDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) SetID

SetID adds the id to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) SetTimeout

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

SetTimeout adds the timeout to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) WithBody

WithBody adds the body to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) WithCompanyID

WithCompanyID adds the companyID to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) WithContext

WithContext adds the context to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) WithDefaults

WithDefaults hydrates default values in the update company parameter detail params (not the query body).

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

func (*UpdateCompanyParameterDetailParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) WithID

WithID adds the id to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) WithTimeout

WithTimeout adds the timeout to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the update company parameter detail params

func (*UpdateCompanyParameterDetailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCompanyParameterDetailReader

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

UpdateCompanyParameterDetailReader is a Reader for the UpdateCompanyParameterDetail structure.

func (*UpdateCompanyParameterDetailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCompanyParameterDetailUnauthorized

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

Unauthorized

func NewUpdateCompanyParameterDetailUnauthorized

func NewUpdateCompanyParameterDetailUnauthorized() *UpdateCompanyParameterDetailUnauthorized

NewUpdateCompanyParameterDetailUnauthorized creates a UpdateCompanyParameterDetailUnauthorized with default headers values

func (*UpdateCompanyParameterDetailUnauthorized) Error

type UpdateCompanyParams

type UpdateCompanyParams 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 company object you wish to update.
	*/
	Body *models.CompanyModel

	/* ID.

	   The ID of the company you wish to update.

	   Format: int32
	*/
	ID int32

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

UpdateCompanyParams contains all the parameters to send to the API endpoint

for the update company operation.

Typically these are written to a http.Request.

func NewUpdateCompanyParams

func NewUpdateCompanyParams() *UpdateCompanyParams

NewUpdateCompanyParams creates a new UpdateCompanyParams 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 NewUpdateCompanyParamsWithContext

func NewUpdateCompanyParamsWithContext(ctx context.Context) *UpdateCompanyParams

NewUpdateCompanyParamsWithContext creates a new UpdateCompanyParams object with the ability to set a context for a request.

func NewUpdateCompanyParamsWithHTTPClient

func NewUpdateCompanyParamsWithHTTPClient(client *http.Client) *UpdateCompanyParams

NewUpdateCompanyParamsWithHTTPClient creates a new UpdateCompanyParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCompanyParamsWithTimeout

func NewUpdateCompanyParamsWithTimeout(timeout time.Duration) *UpdateCompanyParams

NewUpdateCompanyParamsWithTimeout creates a new UpdateCompanyParams object with the ability to set a timeout on a request.

func (*UpdateCompanyParams) SetBody

func (o *UpdateCompanyParams) SetBody(body *models.CompanyModel)

SetBody adds the body to the update company params

func (*UpdateCompanyParams) SetContext

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

SetContext adds the context to the update company params

func (*UpdateCompanyParams) SetDefaults

func (o *UpdateCompanyParams) SetDefaults()

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

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

func (*UpdateCompanyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update company params

func (*UpdateCompanyParams) SetID

func (o *UpdateCompanyParams) SetID(id int32)

SetID adds the id to the update company params

func (*UpdateCompanyParams) SetTimeout

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

SetTimeout adds the timeout to the update company params

func (*UpdateCompanyParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the update company params

func (*UpdateCompanyParams) WithBody

WithBody adds the body to the update company params

func (*UpdateCompanyParams) WithContext

WithContext adds the context to the update company params

func (*UpdateCompanyParams) WithDefaults

func (o *UpdateCompanyParams) WithDefaults() *UpdateCompanyParams

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

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

func (*UpdateCompanyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update company params

func (*UpdateCompanyParams) WithID

WithID adds the id to the update company params

func (*UpdateCompanyParams) WithTimeout

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

WithTimeout adds the timeout to the update company params

func (*UpdateCompanyParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the update company params

func (*UpdateCompanyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateCompanyReader

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

UpdateCompanyReader is a Reader for the UpdateCompany structure.

func (*UpdateCompanyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCompanyUnauthorized

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

Unauthorized

func NewUpdateCompanyUnauthorized

func NewUpdateCompanyUnauthorized() *UpdateCompanyUnauthorized

NewUpdateCompanyUnauthorized creates a UpdateCompanyUnauthorized with default headers values

func (*UpdateCompanyUnauthorized) Error

func (o *UpdateCompanyUnauthorized) Error() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL