nexus

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 Client

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

Client for nexus API

func (*Client) CreateNexus

func (a *Client) CreateNexus(params *CreateNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNexusOK, error)
CreateNexus creates a new nexus

Creates one or more new nexus declarations attached to this company.

The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.

To create a nexus declaration for your company, you must first call the Definitions API `ListNexus` to obtain a list of Avalara-defined nexus. Once you have determined which nexus you wish to declare, you should customize only the user-selectable fields in this object.

The user selectable fields for the nexus object are `companyId`, `effectiveDate`, `endDate`, `localNexusTypeId`, `taxId`, `nexusTypeId`, `hasPermanentEstablishment`, and `isSellerImporterOfRecord`.

When calling `CreateNexus` or `UpdateNexus`, all values in your nexus object except for the user-selectable fields must match an Avalara-defined system nexus object. You can retrieve a list of Avalara-defined system nexus objects by calling `ListNexus`. If any data does not match, AvaTax may not recognize your nexus declaration.

Please note that nexus changes may not take effect immediately and you should plan to update your nexus settings in advance of calculating tax for a location.

### Security Policies

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

func (*Client) CreateNexusParameters

func (a *Client) CreateNexusParameters(params *CreateNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNexusParametersCreated, error)
CreateNexusParameters adds parameters to a nexus

Add parameters to the nexus.

Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".

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

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

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

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

### Security Policies

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

func (*Client) DeclareNexusByAddress

func (a *Client) DeclareNexusByAddress(params *DeclareNexusByAddressParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeclareNexusByAddressOK, error)
DeclareNexusByAddress creates nexus for a list of addresses

This call is intended to simplify adding all applicable nexus to a company, for an address or addresses. Calling this

API declares nexus for this company, for the list of addresses provided, for the date range provided. You may also use this API to extend effective date on an already-declared nexus.

The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.

Note that not all fields within a nexus can be updated; Avalara publishes a list of all defined nexus at the '/api/v2/definitions/nexus' endpoint.

You may only define nexus matching the official list of declared nexus.

Please note that nexus changes may not take effect immediately and you should plan to update your nexus settings in advance of calculating tax for a location.

### Security Policies

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

func (*Client) DeleteNexus

func (a *Client) DeleteNexus(params *DeleteNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNexusOK, error)
DeleteNexus deletes a single nexus

Marks the existing nexus object at this URL as deleted.

The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.

Please note that nexus changes may not take effect immediately and you should plan to update your nexus settings in advance of calculating tax for a location.

### Security Policies

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

func (*Client) DeleteNexusParameter

func (a *Client) DeleteNexusParameter(params *DeleteNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNexusParameterOK, error)
DeleteNexusParameter deletes a single nexus parameter

Delete a single nexus parameter.

Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".

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

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

### Security Policies

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

func (*Client) DeleteNexusParameters

func (a *Client) DeleteNexusParameters(params *DeleteNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNexusParametersOK, error)
DeleteNexusParameters deletes all parameters for an nexus

Delete all the parameters for a given nexus.

Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".

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

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

### Security Policies

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

func (*Client) GetNexus

func (a *Client) GetNexus(params *GetNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNexusOK, error)
GetNexus retrieves a single nexus

Get the nexus object identified by this URL.

The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus. You may specify one or more of the following values in the '$include' parameter to fetch additional nested data, using commas to separate multiple values:

  • Parameters

### Security Policies

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

func (*Client) GetNexusByFormCode

func (a *Client) GetNexusByFormCode(params *GetNexusByFormCodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNexusByFormCodeOK, error)
GetNexusByFormCode lists company nexus related to a tax form

Retrieves a list of nexus related to a tax form.

The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.

This API is intended to provide useful information when examining a tax form. If you are about to begin filing a tax form, you may want to know whether you have declared nexus in all the jurisdictions related to that tax form in order to better understand how the form will be filled out. You may specify one or more of the following values in the '$include' parameter to fetch additional nested data, using commas to separate multiple values:

  • Parameters

### Security Policies

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

func (*Client) GetNexusParameter

func (a *Client) GetNexusParameter(params *GetNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNexusParameterOK, error)
GetNexusParameter retrieves a single nexus parameter

Retrieve a single nexus parameter.

Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller.In AvaTax, these tax-affecting properties are called "parameters".

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

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

### Security Policies

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

func (*Client) ListNexusByCompany

func (a *Client) ListNexusByCompany(params *ListNexusByCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNexusByCompanyOK, error)
ListNexusByCompany retrieves nexus for this company

List all nexus objects defined for this company.

The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.

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:

  • Parameters

### Security Policies

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

func (*Client) ListNexusByCompanyAndTaxTypeGroup

func (a *Client) ListNexusByCompanyAndTaxTypeGroup(params *ListNexusByCompanyAndTaxTypeGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNexusByCompanyAndTaxTypeGroupOK, error)
ListNexusByCompanyAndTaxTypeGroup retrieves nexus for this company by tax type group

List all nexus objects defined for this company filtered by TaxTypeGroup.

The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.

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:

  • Parameters

### Security Policies

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

func (*Client) ListNexusParameters

func (a *Client) ListNexusParameters(params *ListNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNexusParametersOK, error)
ListNexusParameters retrieves parameters for a nexus

List parameters for a nexus.

Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".

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

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

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

### Security Policies

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

func (*Client) QueryNexus

func (a *Client) QueryNexus(params *QueryNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryNexusOK, error)
QueryNexus retrieves all nexus

Get multiple nexus objects across all companies.

The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.

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:

  • Parameters

### Security Policies

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNexus

func (a *Client) UpdateNexus(params *UpdateNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNexusOK, error)
UpdateNexus updates a single nexus

Replace the existing nexus declaration object at this URL with an updated object.

The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.

To create a nexus declaration for your company, you must first call the Definitions API `ListNexus` to obtain a list of Avalara-defined nexus. Once you have determined which nexus you wish to declare, you should customize only the user-selectable fields in this object.

The user selectable fields for the nexus object are `companyId`, `effectiveDate`, `endDate`, `localNexusTypeId`, `taxId`, `nexusTypeId`, `hasPermanentEstablishment`, and `isSellerImporterOfRecord`.

When calling `CreateNexus` or `UpdateNexus`, all values in your nexus object except for the user-selectable fields must match an Avalara-defined system nexus object. You can retrieve a list of Avalara-defined system nexus objects by calling `ListNexus`. If any data does not match, AvaTax may not recognize your nexus declaration.

Please note that nexus changes may not take effect immediately and you should plan to update your nexus settings in advance of calculating tax for a location.

### Security Policies

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

func (*Client) UpdateNexusParameter

func (a *Client) UpdateNexusParameter(params *UpdateNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNexusParameterOK, error)
UpdateNexusParameter updates an nexus parameter

Update an nexus parameter.

Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".

A parameter added to a nexus will be used in tax calculation based on the locationcode and parameter value the transaction state line might have lines added.

A parameter specified on a transaction line will override an item parameter if they share the same parameter name.????? I dont know about this?

### Security Policies

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

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateNexus(params *CreateNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNexusOK, error)

	CreateNexusParameters(params *CreateNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNexusParametersCreated, error)

	DeclareNexusByAddress(params *DeclareNexusByAddressParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeclareNexusByAddressOK, error)

	DeleteNexus(params *DeleteNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNexusOK, error)

	DeleteNexusParameter(params *DeleteNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNexusParameterOK, error)

	DeleteNexusParameters(params *DeleteNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNexusParametersOK, error)

	GetNexus(params *GetNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNexusOK, error)

	GetNexusByFormCode(params *GetNexusByFormCodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNexusByFormCodeOK, error)

	GetNexusParameter(params *GetNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNexusParameterOK, error)

	ListNexusByCompany(params *ListNexusByCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNexusByCompanyOK, error)

	ListNexusByCompanyAndTaxTypeGroup(params *ListNexusByCompanyAndTaxTypeGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNexusByCompanyAndTaxTypeGroupOK, error)

	ListNexusParameters(params *ListNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNexusParametersOK, error)

	QueryNexus(params *QueryNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryNexusOK, error)

	UpdateNexus(params *UpdateNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNexusOK, error)

	UpdateNexusParameter(params *UpdateNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNexusParameterOK, 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 nexus API client.

type CreateNexusBadRequest

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

Bad Request

func NewCreateNexusBadRequest

func NewCreateNexusBadRequest() *CreateNexusBadRequest

NewCreateNexusBadRequest creates a CreateNexusBadRequest with default headers values

func (*CreateNexusBadRequest) Error

func (o *CreateNexusBadRequest) Error() string

type CreateNexusNotFound

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

Not Found

func NewCreateNexusNotFound

func NewCreateNexusNotFound() *CreateNexusNotFound

NewCreateNexusNotFound creates a CreateNexusNotFound with default headers values

func (*CreateNexusNotFound) Error

func (o *CreateNexusNotFound) Error() string

type CreateNexusOK

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

Success

func NewCreateNexusOK

func NewCreateNexusOK() *CreateNexusOK

NewCreateNexusOK creates a CreateNexusOK with default headers values

func (*CreateNexusOK) Error

func (o *CreateNexusOK) Error() string

func (*CreateNexusOK) GetPayload

func (o *CreateNexusOK) GetPayload() []*models.NexusModel

type CreateNexusParametersBadRequest

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

Bad Request

func NewCreateNexusParametersBadRequest

func NewCreateNexusParametersBadRequest() *CreateNexusParametersBadRequest

NewCreateNexusParametersBadRequest creates a CreateNexusParametersBadRequest with default headers values

func (*CreateNexusParametersBadRequest) Error

type CreateNexusParametersCreated

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

Success

func NewCreateNexusParametersCreated

func NewCreateNexusParametersCreated() *CreateNexusParametersCreated

NewCreateNexusParametersCreated creates a CreateNexusParametersCreated with default headers values

func (*CreateNexusParametersCreated) Error

func (*CreateNexusParametersCreated) GetPayload

type CreateNexusParametersNotFound

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

Not Found

func NewCreateNexusParametersNotFound

func NewCreateNexusParametersNotFound() *CreateNexusParametersNotFound

NewCreateNexusParametersNotFound creates a CreateNexusParametersNotFound with default headers values

func (*CreateNexusParametersNotFound) Error

type CreateNexusParametersParams

type CreateNexusParametersParams 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 nexus parameters you wish to create.
	*/
	Body []*models.NexusParameterDetailModel

	/* CompanyID.

	   The ID of the company that owns this nexus parameter.

	   Format: int32
	*/
	CompanyID int32

	/* NexusID.

	   The nexus id.

	   Format: int32
	*/
	NexusID int32

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

CreateNexusParametersParams contains all the parameters to send to the API endpoint

for the create nexus parameters operation.

Typically these are written to a http.Request.

func NewCreateNexusParametersParams

func NewCreateNexusParametersParams() *CreateNexusParametersParams

NewCreateNexusParametersParams creates a new CreateNexusParametersParams 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 NewCreateNexusParametersParamsWithContext

func NewCreateNexusParametersParamsWithContext(ctx context.Context) *CreateNexusParametersParams

NewCreateNexusParametersParamsWithContext creates a new CreateNexusParametersParams object with the ability to set a context for a request.

func NewCreateNexusParametersParamsWithHTTPClient

func NewCreateNexusParametersParamsWithHTTPClient(client *http.Client) *CreateNexusParametersParams

NewCreateNexusParametersParamsWithHTTPClient creates a new CreateNexusParametersParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNexusParametersParamsWithTimeout

func NewCreateNexusParametersParamsWithTimeout(timeout time.Duration) *CreateNexusParametersParams

NewCreateNexusParametersParamsWithTimeout creates a new CreateNexusParametersParams object with the ability to set a timeout on a request.

func (*CreateNexusParametersParams) SetBody

SetBody adds the body to the create nexus parameters params

func (*CreateNexusParametersParams) SetCompanyID

func (o *CreateNexusParametersParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the create nexus parameters params

func (*CreateNexusParametersParams) SetContext

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

SetContext adds the context to the create nexus parameters params

func (*CreateNexusParametersParams) SetDefaults

func (o *CreateNexusParametersParams) SetDefaults()

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

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

func (*CreateNexusParametersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create nexus parameters params

func (*CreateNexusParametersParams) SetNexusID

func (o *CreateNexusParametersParams) SetNexusID(nexusID int32)

SetNexusID adds the nexusId to the create nexus parameters params

func (*CreateNexusParametersParams) SetTimeout

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

SetTimeout adds the timeout to the create nexus parameters params

func (*CreateNexusParametersParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create nexus parameters params

func (*CreateNexusParametersParams) WithBody

WithBody adds the body to the create nexus parameters params

func (*CreateNexusParametersParams) WithCompanyID

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

WithCompanyID adds the companyID to the create nexus parameters params

func (*CreateNexusParametersParams) WithContext

WithContext adds the context to the create nexus parameters params

func (*CreateNexusParametersParams) WithDefaults

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

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

func (*CreateNexusParametersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create nexus parameters params

func (*CreateNexusParametersParams) WithNexusID

WithNexusID adds the nexusID to the create nexus parameters params

func (*CreateNexusParametersParams) WithTimeout

WithTimeout adds the timeout to the create nexus parameters params

func (*CreateNexusParametersParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the create nexus parameters params

func (*CreateNexusParametersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNexusParametersReader

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

CreateNexusParametersReader is a Reader for the CreateNexusParameters structure.

func (*CreateNexusParametersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNexusParametersUnauthorized

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

Unauthorized

func NewCreateNexusParametersUnauthorized

func NewCreateNexusParametersUnauthorized() *CreateNexusParametersUnauthorized

NewCreateNexusParametersUnauthorized creates a CreateNexusParametersUnauthorized with default headers values

func (*CreateNexusParametersUnauthorized) Error

type CreateNexusParams

type CreateNexusParams 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 nexus you wish to create.
	*/
	Body []*models.NexusModel

	/* CompanyID.

	   The ID of the company that owns this nexus.

	   Format: int32
	*/
	CompanyID int32

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

CreateNexusParams contains all the parameters to send to the API endpoint

for the create nexus operation.

Typically these are written to a http.Request.

func NewCreateNexusParams

func NewCreateNexusParams() *CreateNexusParams

NewCreateNexusParams creates a new CreateNexusParams 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 NewCreateNexusParamsWithContext

func NewCreateNexusParamsWithContext(ctx context.Context) *CreateNexusParams

NewCreateNexusParamsWithContext creates a new CreateNexusParams object with the ability to set a context for a request.

func NewCreateNexusParamsWithHTTPClient

func NewCreateNexusParamsWithHTTPClient(client *http.Client) *CreateNexusParams

NewCreateNexusParamsWithHTTPClient creates a new CreateNexusParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNexusParamsWithTimeout

func NewCreateNexusParamsWithTimeout(timeout time.Duration) *CreateNexusParams

NewCreateNexusParamsWithTimeout creates a new CreateNexusParams object with the ability to set a timeout on a request.

func (*CreateNexusParams) SetBody

func (o *CreateNexusParams) SetBody(body []*models.NexusModel)

SetBody adds the body to the create nexus params

func (*CreateNexusParams) SetCompanyID

func (o *CreateNexusParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the create nexus params

func (*CreateNexusParams) SetContext

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

SetContext adds the context to the create nexus params

func (*CreateNexusParams) SetDefaults

func (o *CreateNexusParams) SetDefaults()

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

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

func (*CreateNexusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create nexus params

func (*CreateNexusParams) SetTimeout

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

SetTimeout adds the timeout to the create nexus params

func (*CreateNexusParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create nexus params

func (*CreateNexusParams) WithBody

func (o *CreateNexusParams) WithBody(body []*models.NexusModel) *CreateNexusParams

WithBody adds the body to the create nexus params

func (*CreateNexusParams) WithCompanyID

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

WithCompanyID adds the companyID to the create nexus params

func (*CreateNexusParams) WithContext

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

WithContext adds the context to the create nexus params

func (*CreateNexusParams) WithDefaults

func (o *CreateNexusParams) WithDefaults() *CreateNexusParams

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

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

func (*CreateNexusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create nexus params

func (*CreateNexusParams) WithTimeout

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

WithTimeout adds the timeout to the create nexus params

func (*CreateNexusParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the create nexus params

func (*CreateNexusParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateNexusReader

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

CreateNexusReader is a Reader for the CreateNexus structure.

func (*CreateNexusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNexusUnauthorized

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

Unauthorized

func NewCreateNexusUnauthorized

func NewCreateNexusUnauthorized() *CreateNexusUnauthorized

NewCreateNexusUnauthorized creates a CreateNexusUnauthorized with default headers values

func (*CreateNexusUnauthorized) Error

func (o *CreateNexusUnauthorized) Error() string

type DeclareNexusByAddressBadRequest

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

Bad Request

func NewDeclareNexusByAddressBadRequest

func NewDeclareNexusByAddressBadRequest() *DeclareNexusByAddressBadRequest

NewDeclareNexusByAddressBadRequest creates a DeclareNexusByAddressBadRequest with default headers values

func (*DeclareNexusByAddressBadRequest) Error

type DeclareNexusByAddressNotFound

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

Not Found

func NewDeclareNexusByAddressNotFound

func NewDeclareNexusByAddressNotFound() *DeclareNexusByAddressNotFound

NewDeclareNexusByAddressNotFound creates a DeclareNexusByAddressNotFound with default headers values

func (*DeclareNexusByAddressNotFound) Error

type DeclareNexusByAddressOK

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

Success

func NewDeclareNexusByAddressOK

func NewDeclareNexusByAddressOK() *DeclareNexusByAddressOK

NewDeclareNexusByAddressOK creates a DeclareNexusByAddressOK with default headers values

func (*DeclareNexusByAddressOK) Error

func (o *DeclareNexusByAddressOK) Error() string

func (*DeclareNexusByAddressOK) GetPayload

type DeclareNexusByAddressParams

type DeclareNexusByAddressParams 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 nexus you wish to create.
	*/
	Body []*models.DeclareNexusByAddressModel

	/* CompanyID.

	   The ID of the company that will own this nexus.

	   Format: int32
	*/
	CompanyID int32

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

DeclareNexusByAddressParams contains all the parameters to send to the API endpoint

for the declare nexus by address operation.

Typically these are written to a http.Request.

func NewDeclareNexusByAddressParams

func NewDeclareNexusByAddressParams() *DeclareNexusByAddressParams

NewDeclareNexusByAddressParams creates a new DeclareNexusByAddressParams 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 NewDeclareNexusByAddressParamsWithContext

func NewDeclareNexusByAddressParamsWithContext(ctx context.Context) *DeclareNexusByAddressParams

NewDeclareNexusByAddressParamsWithContext creates a new DeclareNexusByAddressParams object with the ability to set a context for a request.

func NewDeclareNexusByAddressParamsWithHTTPClient

func NewDeclareNexusByAddressParamsWithHTTPClient(client *http.Client) *DeclareNexusByAddressParams

NewDeclareNexusByAddressParamsWithHTTPClient creates a new DeclareNexusByAddressParams object with the ability to set a custom HTTPClient for a request.

func NewDeclareNexusByAddressParamsWithTimeout

func NewDeclareNexusByAddressParamsWithTimeout(timeout time.Duration) *DeclareNexusByAddressParams

NewDeclareNexusByAddressParamsWithTimeout creates a new DeclareNexusByAddressParams object with the ability to set a timeout on a request.

func (*DeclareNexusByAddressParams) SetBody

SetBody adds the body to the declare nexus by address params

func (*DeclareNexusByAddressParams) SetCompanyID

func (o *DeclareNexusByAddressParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the declare nexus by address params

func (*DeclareNexusByAddressParams) SetContext

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

SetContext adds the context to the declare nexus by address params

func (*DeclareNexusByAddressParams) SetDefaults

func (o *DeclareNexusByAddressParams) SetDefaults()

SetDefaults hydrates default values in the declare nexus by address params (not the query body).

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

func (*DeclareNexusByAddressParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the declare nexus by address params

func (*DeclareNexusByAddressParams) SetTimeout

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

SetTimeout adds the timeout to the declare nexus by address params

func (*DeclareNexusByAddressParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the declare nexus by address params

func (*DeclareNexusByAddressParams) WithBody

WithBody adds the body to the declare nexus by address params

func (*DeclareNexusByAddressParams) WithCompanyID

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

WithCompanyID adds the companyID to the declare nexus by address params

func (*DeclareNexusByAddressParams) WithContext

WithContext adds the context to the declare nexus by address params

func (*DeclareNexusByAddressParams) WithDefaults

WithDefaults hydrates default values in the declare nexus by address params (not the query body).

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

func (*DeclareNexusByAddressParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the declare nexus by address params

func (*DeclareNexusByAddressParams) WithTimeout

WithTimeout adds the timeout to the declare nexus by address params

func (*DeclareNexusByAddressParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the declare nexus by address params

func (*DeclareNexusByAddressParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeclareNexusByAddressReader

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

DeclareNexusByAddressReader is a Reader for the DeclareNexusByAddress structure.

func (*DeclareNexusByAddressReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeclareNexusByAddressUnauthorized

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

Unauthorized

func NewDeclareNexusByAddressUnauthorized

func NewDeclareNexusByAddressUnauthorized() *DeclareNexusByAddressUnauthorized

NewDeclareNexusByAddressUnauthorized creates a DeclareNexusByAddressUnauthorized with default headers values

func (*DeclareNexusByAddressUnauthorized) Error

type DeleteNexusBadRequest

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

Bad Request

func NewDeleteNexusBadRequest

func NewDeleteNexusBadRequest() *DeleteNexusBadRequest

NewDeleteNexusBadRequest creates a DeleteNexusBadRequest with default headers values

func (*DeleteNexusBadRequest) Error

func (o *DeleteNexusBadRequest) Error() string

type DeleteNexusNotFound

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

Not Found

func NewDeleteNexusNotFound

func NewDeleteNexusNotFound() *DeleteNexusNotFound

NewDeleteNexusNotFound creates a DeleteNexusNotFound with default headers values

func (*DeleteNexusNotFound) Error

func (o *DeleteNexusNotFound) Error() string

type DeleteNexusOK

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

Success

func NewDeleteNexusOK

func NewDeleteNexusOK() *DeleteNexusOK

NewDeleteNexusOK creates a DeleteNexusOK with default headers values

func (*DeleteNexusOK) Error

func (o *DeleteNexusOK) Error() string

func (*DeleteNexusOK) GetPayload

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

type DeleteNexusParameterBadRequest

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

Bad Request

func NewDeleteNexusParameterBadRequest

func NewDeleteNexusParameterBadRequest() *DeleteNexusParameterBadRequest

NewDeleteNexusParameterBadRequest creates a DeleteNexusParameterBadRequest with default headers values

func (*DeleteNexusParameterBadRequest) Error

type DeleteNexusParameterNotFound

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

Not Found

func NewDeleteNexusParameterNotFound

func NewDeleteNexusParameterNotFound() *DeleteNexusParameterNotFound

NewDeleteNexusParameterNotFound creates a DeleteNexusParameterNotFound with default headers values

func (*DeleteNexusParameterNotFound) Error

type DeleteNexusParameterOK

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

Success

func NewDeleteNexusParameterOK

func NewDeleteNexusParameterOK() *DeleteNexusParameterOK

NewDeleteNexusParameterOK creates a DeleteNexusParameterOK with default headers values

func (*DeleteNexusParameterOK) Error

func (o *DeleteNexusParameterOK) Error() string

func (*DeleteNexusParameterOK) GetPayload

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

type DeleteNexusParameterParams

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

	/* NexusID.

	   The nexus id

	   Format: int32
	*/
	NexusID int32

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

DeleteNexusParameterParams contains all the parameters to send to the API endpoint

for the delete nexus parameter operation.

Typically these are written to a http.Request.

func NewDeleteNexusParameterParams

func NewDeleteNexusParameterParams() *DeleteNexusParameterParams

NewDeleteNexusParameterParams creates a new DeleteNexusParameterParams 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 NewDeleteNexusParameterParamsWithContext

func NewDeleteNexusParameterParamsWithContext(ctx context.Context) *DeleteNexusParameterParams

NewDeleteNexusParameterParamsWithContext creates a new DeleteNexusParameterParams object with the ability to set a context for a request.

func NewDeleteNexusParameterParamsWithHTTPClient

func NewDeleteNexusParameterParamsWithHTTPClient(client *http.Client) *DeleteNexusParameterParams

NewDeleteNexusParameterParamsWithHTTPClient creates a new DeleteNexusParameterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNexusParameterParamsWithTimeout

func NewDeleteNexusParameterParamsWithTimeout(timeout time.Duration) *DeleteNexusParameterParams

NewDeleteNexusParameterParamsWithTimeout creates a new DeleteNexusParameterParams object with the ability to set a timeout on a request.

func (*DeleteNexusParameterParams) SetCompanyID

func (o *DeleteNexusParameterParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the delete nexus parameter params

func (*DeleteNexusParameterParams) SetContext

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

SetContext adds the context to the delete nexus parameter params

func (*DeleteNexusParameterParams) SetDefaults

func (o *DeleteNexusParameterParams) SetDefaults()

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

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

func (*DeleteNexusParameterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete nexus parameter params

func (*DeleteNexusParameterParams) SetID

func (o *DeleteNexusParameterParams) SetID(id int64)

SetID adds the id to the delete nexus parameter params

func (*DeleteNexusParameterParams) SetNexusID

func (o *DeleteNexusParameterParams) SetNexusID(nexusID int32)

SetNexusID adds the nexusId to the delete nexus parameter params

func (*DeleteNexusParameterParams) SetTimeout

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

SetTimeout adds the timeout to the delete nexus parameter params

func (*DeleteNexusParameterParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete nexus parameter params

func (*DeleteNexusParameterParams) WithCompanyID

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

WithCompanyID adds the companyID to the delete nexus parameter params

func (*DeleteNexusParameterParams) WithContext

WithContext adds the context to the delete nexus parameter params

func (*DeleteNexusParameterParams) WithDefaults

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

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

func (*DeleteNexusParameterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete nexus parameter params

func (*DeleteNexusParameterParams) WithID

WithID adds the id to the delete nexus parameter params

func (*DeleteNexusParameterParams) WithNexusID

WithNexusID adds the nexusID to the delete nexus parameter params

func (*DeleteNexusParameterParams) WithTimeout

WithTimeout adds the timeout to the delete nexus parameter params

func (*DeleteNexusParameterParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the delete nexus parameter params

func (*DeleteNexusParameterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNexusParameterReader

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

DeleteNexusParameterReader is a Reader for the DeleteNexusParameter structure.

func (*DeleteNexusParameterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNexusParameterUnauthorized

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

Unauthorized

func NewDeleteNexusParameterUnauthorized

func NewDeleteNexusParameterUnauthorized() *DeleteNexusParameterUnauthorized

NewDeleteNexusParameterUnauthorized creates a DeleteNexusParameterUnauthorized with default headers values

func (*DeleteNexusParameterUnauthorized) Error

type DeleteNexusParametersOK

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

Success

func NewDeleteNexusParametersOK

func NewDeleteNexusParametersOK() *DeleteNexusParametersOK

NewDeleteNexusParametersOK creates a DeleteNexusParametersOK with default headers values

func (*DeleteNexusParametersOK) Error

func (o *DeleteNexusParametersOK) Error() string

func (*DeleteNexusParametersOK) GetPayload

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

type DeleteNexusParametersParams

type DeleteNexusParametersParams struct {

	/* XAvalaraClient.

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

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

	/* CompanyID.

	   The ID of the company that owns this nexus.

	   Format: int32
	*/
	CompanyID int32

	/* NexusID.

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

	   Format: int32
	*/
	NexusID int32

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

DeleteNexusParametersParams contains all the parameters to send to the API endpoint

for the delete nexus parameters operation.

Typically these are written to a http.Request.

func NewDeleteNexusParametersParams

func NewDeleteNexusParametersParams() *DeleteNexusParametersParams

NewDeleteNexusParametersParams creates a new DeleteNexusParametersParams 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 NewDeleteNexusParametersParamsWithContext

func NewDeleteNexusParametersParamsWithContext(ctx context.Context) *DeleteNexusParametersParams

NewDeleteNexusParametersParamsWithContext creates a new DeleteNexusParametersParams object with the ability to set a context for a request.

func NewDeleteNexusParametersParamsWithHTTPClient

func NewDeleteNexusParametersParamsWithHTTPClient(client *http.Client) *DeleteNexusParametersParams

NewDeleteNexusParametersParamsWithHTTPClient creates a new DeleteNexusParametersParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNexusParametersParamsWithTimeout

func NewDeleteNexusParametersParamsWithTimeout(timeout time.Duration) *DeleteNexusParametersParams

NewDeleteNexusParametersParamsWithTimeout creates a new DeleteNexusParametersParams object with the ability to set a timeout on a request.

func (*DeleteNexusParametersParams) SetCompanyID

func (o *DeleteNexusParametersParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the delete nexus parameters params

func (*DeleteNexusParametersParams) SetContext

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

SetContext adds the context to the delete nexus parameters params

func (*DeleteNexusParametersParams) SetDefaults

func (o *DeleteNexusParametersParams) SetDefaults()

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

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

func (*DeleteNexusParametersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete nexus parameters params

func (*DeleteNexusParametersParams) SetNexusID

func (o *DeleteNexusParametersParams) SetNexusID(nexusID int32)

SetNexusID adds the nexusId to the delete nexus parameters params

func (*DeleteNexusParametersParams) SetTimeout

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

SetTimeout adds the timeout to the delete nexus parameters params

func (*DeleteNexusParametersParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete nexus parameters params

func (*DeleteNexusParametersParams) WithCompanyID

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

WithCompanyID adds the companyID to the delete nexus parameters params

func (*DeleteNexusParametersParams) WithContext

WithContext adds the context to the delete nexus parameters params

func (*DeleteNexusParametersParams) WithDefaults

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

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

func (*DeleteNexusParametersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete nexus parameters params

func (*DeleteNexusParametersParams) WithNexusID

WithNexusID adds the nexusID to the delete nexus parameters params

func (*DeleteNexusParametersParams) WithTimeout

WithTimeout adds the timeout to the delete nexus parameters params

func (*DeleteNexusParametersParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the delete nexus parameters params

func (*DeleteNexusParametersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNexusParametersReader

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

DeleteNexusParametersReader is a Reader for the DeleteNexusParameters structure.

func (*DeleteNexusParametersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNexusParams

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

	/* CascadeDelete.

	   If true, deletes all the child nexus if they exist along with parent nexus
	*/
	CascadeDelete *bool

	/* CompanyID.

	   The ID of the company that owns this nexus.

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The ID of the nexus you wish to delete.

	   Format: int32
	*/
	ID int32

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

DeleteNexusParams contains all the parameters to send to the API endpoint

for the delete nexus operation.

Typically these are written to a http.Request.

func NewDeleteNexusParams

func NewDeleteNexusParams() *DeleteNexusParams

NewDeleteNexusParams creates a new DeleteNexusParams 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 NewDeleteNexusParamsWithContext

func NewDeleteNexusParamsWithContext(ctx context.Context) *DeleteNexusParams

NewDeleteNexusParamsWithContext creates a new DeleteNexusParams object with the ability to set a context for a request.

func NewDeleteNexusParamsWithHTTPClient

func NewDeleteNexusParamsWithHTTPClient(client *http.Client) *DeleteNexusParams

NewDeleteNexusParamsWithHTTPClient creates a new DeleteNexusParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNexusParamsWithTimeout

func NewDeleteNexusParamsWithTimeout(timeout time.Duration) *DeleteNexusParams

NewDeleteNexusParamsWithTimeout creates a new DeleteNexusParams object with the ability to set a timeout on a request.

func (*DeleteNexusParams) SetCascadeDelete

func (o *DeleteNexusParams) SetCascadeDelete(cascadeDelete *bool)

SetCascadeDelete adds the cascadeDelete to the delete nexus params

func (*DeleteNexusParams) SetCompanyID

func (o *DeleteNexusParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the delete nexus params

func (*DeleteNexusParams) SetContext

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

SetContext adds the context to the delete nexus params

func (*DeleteNexusParams) SetDefaults

func (o *DeleteNexusParams) SetDefaults()

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

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

func (*DeleteNexusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete nexus params

func (*DeleteNexusParams) SetID

func (o *DeleteNexusParams) SetID(id int32)

SetID adds the id to the delete nexus params

func (*DeleteNexusParams) SetTimeout

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

SetTimeout adds the timeout to the delete nexus params

func (*DeleteNexusParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete nexus params

func (*DeleteNexusParams) WithCascadeDelete

func (o *DeleteNexusParams) WithCascadeDelete(cascadeDelete *bool) *DeleteNexusParams

WithCascadeDelete adds the cascadeDelete to the delete nexus params

func (*DeleteNexusParams) WithCompanyID

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

WithCompanyID adds the companyID to the delete nexus params

func (*DeleteNexusParams) WithContext

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

WithContext adds the context to the delete nexus params

func (*DeleteNexusParams) WithDefaults

func (o *DeleteNexusParams) WithDefaults() *DeleteNexusParams

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

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

func (*DeleteNexusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete nexus params

func (*DeleteNexusParams) WithID

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

WithID adds the id to the delete nexus params

func (*DeleteNexusParams) WithTimeout

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

WithTimeout adds the timeout to the delete nexus params

func (*DeleteNexusParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the delete nexus params

func (*DeleteNexusParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteNexusReader

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

DeleteNexusReader is a Reader for the DeleteNexus structure.

func (*DeleteNexusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNexusUnauthorized

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

Unauthorized

func NewDeleteNexusUnauthorized

func NewDeleteNexusUnauthorized() *DeleteNexusUnauthorized

NewDeleteNexusUnauthorized creates a DeleteNexusUnauthorized with default headers values

func (*DeleteNexusUnauthorized) Error

func (o *DeleteNexusUnauthorized) Error() string

type GetNexusBadRequest

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

Bad Request

func NewGetNexusBadRequest

func NewGetNexusBadRequest() *GetNexusBadRequest

NewGetNexusBadRequest creates a GetNexusBadRequest with default headers values

func (*GetNexusBadRequest) Error

func (o *GetNexusBadRequest) Error() string

type GetNexusByFormCodeBadRequest

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

Bad Request

func NewGetNexusByFormCodeBadRequest

func NewGetNexusByFormCodeBadRequest() *GetNexusByFormCodeBadRequest

NewGetNexusByFormCodeBadRequest creates a GetNexusByFormCodeBadRequest with default headers values

func (*GetNexusByFormCodeBadRequest) Error

type GetNexusByFormCodeNotFound

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

Not Found

func NewGetNexusByFormCodeNotFound

func NewGetNexusByFormCodeNotFound() *GetNexusByFormCodeNotFound

NewGetNexusByFormCodeNotFound creates a GetNexusByFormCodeNotFound with default headers values

func (*GetNexusByFormCodeNotFound) Error

type GetNexusByFormCodeOK

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

Success

func NewGetNexusByFormCodeOK

func NewGetNexusByFormCodeOK() *GetNexusByFormCodeOK

NewGetNexusByFormCodeOK creates a GetNexusByFormCodeOK with default headers values

func (*GetNexusByFormCodeOK) Error

func (o *GetNexusByFormCodeOK) Error() string

func (*GetNexusByFormCodeOK) GetPayload

type GetNexusByFormCodeParams

type GetNexusByFormCodeParams struct {

	// DollarInclude.
	DollarInclude *string

	/* XAvalaraClient.

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

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

	/* CompanyID.

	   The ID of the company that owns this nexus object

	   Format: int32
	*/
	CompanyID int32

	/* FormCode.

	   The form code that we are looking up the nexus for
	*/
	FormCode string

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

GetNexusByFormCodeParams contains all the parameters to send to the API endpoint

for the get nexus by form code operation.

Typically these are written to a http.Request.

func NewGetNexusByFormCodeParams

func NewGetNexusByFormCodeParams() *GetNexusByFormCodeParams

NewGetNexusByFormCodeParams creates a new GetNexusByFormCodeParams 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 NewGetNexusByFormCodeParamsWithContext

func NewGetNexusByFormCodeParamsWithContext(ctx context.Context) *GetNexusByFormCodeParams

NewGetNexusByFormCodeParamsWithContext creates a new GetNexusByFormCodeParams object with the ability to set a context for a request.

func NewGetNexusByFormCodeParamsWithHTTPClient

func NewGetNexusByFormCodeParamsWithHTTPClient(client *http.Client) *GetNexusByFormCodeParams

NewGetNexusByFormCodeParamsWithHTTPClient creates a new GetNexusByFormCodeParams object with the ability to set a custom HTTPClient for a request.

func NewGetNexusByFormCodeParamsWithTimeout

func NewGetNexusByFormCodeParamsWithTimeout(timeout time.Duration) *GetNexusByFormCodeParams

NewGetNexusByFormCodeParamsWithTimeout creates a new GetNexusByFormCodeParams object with the ability to set a timeout on a request.

func (*GetNexusByFormCodeParams) SetCompanyID

func (o *GetNexusByFormCodeParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the get nexus by form code params

func (*GetNexusByFormCodeParams) SetContext

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

SetContext adds the context to the get nexus by form code params

func (*GetNexusByFormCodeParams) SetDefaults

func (o *GetNexusByFormCodeParams) SetDefaults()

SetDefaults hydrates default values in the get nexus by form code params (not the query body).

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

func (*GetNexusByFormCodeParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the get nexus by form code params

func (*GetNexusByFormCodeParams) SetFormCode

func (o *GetNexusByFormCodeParams) SetFormCode(formCode string)

SetFormCode adds the formCode to the get nexus by form code params

func (*GetNexusByFormCodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get nexus by form code params

func (*GetNexusByFormCodeParams) SetTimeout

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

SetTimeout adds the timeout to the get nexus by form code params

func (*GetNexusByFormCodeParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get nexus by form code params

func (*GetNexusByFormCodeParams) WithCompanyID

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

WithCompanyID adds the companyID to the get nexus by form code params

func (*GetNexusByFormCodeParams) WithContext

WithContext adds the context to the get nexus by form code params

func (*GetNexusByFormCodeParams) WithDefaults

WithDefaults hydrates default values in the get nexus by form code params (not the query body).

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

func (*GetNexusByFormCodeParams) WithDollarInclude

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

WithDollarInclude adds the dollarInclude to the get nexus by form code params

func (*GetNexusByFormCodeParams) WithFormCode

func (o *GetNexusByFormCodeParams) WithFormCode(formCode string) *GetNexusByFormCodeParams

WithFormCode adds the formCode to the get nexus by form code params

func (*GetNexusByFormCodeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get nexus by form code params

func (*GetNexusByFormCodeParams) WithTimeout

WithTimeout adds the timeout to the get nexus by form code params

func (*GetNexusByFormCodeParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get nexus by form code params

func (*GetNexusByFormCodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNexusByFormCodeReader

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

GetNexusByFormCodeReader is a Reader for the GetNexusByFormCode structure.

func (*GetNexusByFormCodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNexusByFormCodeUnauthorized

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

Unauthorized

func NewGetNexusByFormCodeUnauthorized

func NewGetNexusByFormCodeUnauthorized() *GetNexusByFormCodeUnauthorized

NewGetNexusByFormCodeUnauthorized creates a GetNexusByFormCodeUnauthorized with default headers values

func (*GetNexusByFormCodeUnauthorized) Error

type GetNexusNotFound

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

Not Found

func NewGetNexusNotFound

func NewGetNexusNotFound() *GetNexusNotFound

NewGetNexusNotFound creates a GetNexusNotFound with default headers values

func (*GetNexusNotFound) Error

func (o *GetNexusNotFound) Error() string

type GetNexusOK

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

Success

func NewGetNexusOK

func NewGetNexusOK() *GetNexusOK

NewGetNexusOK creates a GetNexusOK with default headers values

func (*GetNexusOK) Error

func (o *GetNexusOK) Error() string

func (*GetNexusOK) GetPayload

func (o *GetNexusOK) GetPayload() *models.NexusModel

type GetNexusParameterBadRequest

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

Bad Request

func NewGetNexusParameterBadRequest

func NewGetNexusParameterBadRequest() *GetNexusParameterBadRequest

NewGetNexusParameterBadRequest creates a GetNexusParameterBadRequest with default headers values

func (*GetNexusParameterBadRequest) Error

type GetNexusParameterNotFound

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

Not Found

func NewGetNexusParameterNotFound

func NewGetNexusParameterNotFound() *GetNexusParameterNotFound

NewGetNexusParameterNotFound creates a GetNexusParameterNotFound with default headers values

func (*GetNexusParameterNotFound) Error

func (o *GetNexusParameterNotFound) Error() string

type GetNexusParameterOK

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

Success

func NewGetNexusParameterOK

func NewGetNexusParameterOK() *GetNexusParameterOK

NewGetNexusParameterOK creates a GetNexusParameterOK with default headers values

func (*GetNexusParameterOK) Error

func (o *GetNexusParameterOK) Error() string

func (*GetNexusParameterOK) GetPayload

type GetNexusParameterParams

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

	/* NexusID.

	   The nexus id

	   Format: int32
	*/
	NexusID int32

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

GetNexusParameterParams contains all the parameters to send to the API endpoint

for the get nexus parameter operation.

Typically these are written to a http.Request.

func NewGetNexusParameterParams

func NewGetNexusParameterParams() *GetNexusParameterParams

NewGetNexusParameterParams creates a new GetNexusParameterParams 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 NewGetNexusParameterParamsWithContext

func NewGetNexusParameterParamsWithContext(ctx context.Context) *GetNexusParameterParams

NewGetNexusParameterParamsWithContext creates a new GetNexusParameterParams object with the ability to set a context for a request.

func NewGetNexusParameterParamsWithHTTPClient

func NewGetNexusParameterParamsWithHTTPClient(client *http.Client) *GetNexusParameterParams

NewGetNexusParameterParamsWithHTTPClient creates a new GetNexusParameterParams object with the ability to set a custom HTTPClient for a request.

func NewGetNexusParameterParamsWithTimeout

func NewGetNexusParameterParamsWithTimeout(timeout time.Duration) *GetNexusParameterParams

NewGetNexusParameterParamsWithTimeout creates a new GetNexusParameterParams object with the ability to set a timeout on a request.

func (*GetNexusParameterParams) SetCompanyID

func (o *GetNexusParameterParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the get nexus parameter params

func (*GetNexusParameterParams) SetContext

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

SetContext adds the context to the get nexus parameter params

func (*GetNexusParameterParams) SetDefaults

func (o *GetNexusParameterParams) SetDefaults()

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

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

func (*GetNexusParameterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get nexus parameter params

func (*GetNexusParameterParams) SetID

func (o *GetNexusParameterParams) SetID(id int64)

SetID adds the id to the get nexus parameter params

func (*GetNexusParameterParams) SetNexusID

func (o *GetNexusParameterParams) SetNexusID(nexusID int32)

SetNexusID adds the nexusId to the get nexus parameter params

func (*GetNexusParameterParams) SetTimeout

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

SetTimeout adds the timeout to the get nexus parameter params

func (*GetNexusParameterParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get nexus parameter params

func (*GetNexusParameterParams) WithCompanyID

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

WithCompanyID adds the companyID to the get nexus parameter params

func (*GetNexusParameterParams) WithContext

WithContext adds the context to the get nexus parameter params

func (*GetNexusParameterParams) WithDefaults

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

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

func (*GetNexusParameterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get nexus parameter params

func (*GetNexusParameterParams) WithID

WithID adds the id to the get nexus parameter params

func (*GetNexusParameterParams) WithNexusID

func (o *GetNexusParameterParams) WithNexusID(nexusID int32) *GetNexusParameterParams

WithNexusID adds the nexusID to the get nexus parameter params

func (*GetNexusParameterParams) WithTimeout

WithTimeout adds the timeout to the get nexus parameter params

func (*GetNexusParameterParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get nexus parameter params

func (*GetNexusParameterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNexusParameterReader

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

GetNexusParameterReader is a Reader for the GetNexusParameter structure.

func (*GetNexusParameterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNexusParameterUnauthorized

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

Unauthorized

func NewGetNexusParameterUnauthorized

func NewGetNexusParameterUnauthorized() *GetNexusParameterUnauthorized

NewGetNexusParameterUnauthorized creates a GetNexusParameterUnauthorized with default headers values

func (*GetNexusParameterUnauthorized) Error

type GetNexusParams

type GetNexusParams struct {

	// DollarInclude.
	DollarInclude *string

	/* XAvalaraClient.

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

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

	/* CompanyID.

	   The ID of the company that owns this nexus object

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The primary key of this nexus

	   Format: int32
	*/
	ID int32

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

GetNexusParams contains all the parameters to send to the API endpoint

for the get nexus operation.

Typically these are written to a http.Request.

func NewGetNexusParams

func NewGetNexusParams() *GetNexusParams

NewGetNexusParams creates a new GetNexusParams 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 NewGetNexusParamsWithContext

func NewGetNexusParamsWithContext(ctx context.Context) *GetNexusParams

NewGetNexusParamsWithContext creates a new GetNexusParams object with the ability to set a context for a request.

func NewGetNexusParamsWithHTTPClient

func NewGetNexusParamsWithHTTPClient(client *http.Client) *GetNexusParams

NewGetNexusParamsWithHTTPClient creates a new GetNexusParams object with the ability to set a custom HTTPClient for a request.

func NewGetNexusParamsWithTimeout

func NewGetNexusParamsWithTimeout(timeout time.Duration) *GetNexusParams

NewGetNexusParamsWithTimeout creates a new GetNexusParams object with the ability to set a timeout on a request.

func (*GetNexusParams) SetCompanyID

func (o *GetNexusParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the get nexus params

func (*GetNexusParams) SetContext

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

SetContext adds the context to the get nexus params

func (*GetNexusParams) SetDefaults

func (o *GetNexusParams) SetDefaults()

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

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

func (*GetNexusParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the get nexus params

func (*GetNexusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get nexus params

func (*GetNexusParams) SetID

func (o *GetNexusParams) SetID(id int32)

SetID adds the id to the get nexus params

func (*GetNexusParams) SetTimeout

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

SetTimeout adds the timeout to the get nexus params

func (*GetNexusParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get nexus params

func (*GetNexusParams) WithCompanyID

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

WithCompanyID adds the companyID to the get nexus params

func (*GetNexusParams) WithContext

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

WithContext adds the context to the get nexus params

func (*GetNexusParams) WithDefaults

func (o *GetNexusParams) WithDefaults() *GetNexusParams

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

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

func (*GetNexusParams) WithDollarInclude

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

WithDollarInclude adds the dollarInclude to the get nexus params

func (*GetNexusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get nexus params

func (*GetNexusParams) WithID

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

WithID adds the id to the get nexus params

func (*GetNexusParams) WithTimeout

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

WithTimeout adds the timeout to the get nexus params

func (*GetNexusParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get nexus params

func (*GetNexusParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNexusReader

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

GetNexusReader is a Reader for the GetNexus structure.

func (*GetNexusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNexusUnauthorized

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

Unauthorized

func NewGetNexusUnauthorized

func NewGetNexusUnauthorized() *GetNexusUnauthorized

NewGetNexusUnauthorized creates a GetNexusUnauthorized with default headers values

func (*GetNexusUnauthorized) Error

func (o *GetNexusUnauthorized) Error() string

type ListNexusByCompanyAndTaxTypeGroupBadRequest

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

Bad Request

func NewListNexusByCompanyAndTaxTypeGroupBadRequest

func NewListNexusByCompanyAndTaxTypeGroupBadRequest() *ListNexusByCompanyAndTaxTypeGroupBadRequest

NewListNexusByCompanyAndTaxTypeGroupBadRequest creates a ListNexusByCompanyAndTaxTypeGroupBadRequest with default headers values

func (*ListNexusByCompanyAndTaxTypeGroupBadRequest) Error

type ListNexusByCompanyAndTaxTypeGroupNotFound

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

Not Found

func NewListNexusByCompanyAndTaxTypeGroupNotFound

func NewListNexusByCompanyAndTaxTypeGroupNotFound() *ListNexusByCompanyAndTaxTypeGroupNotFound

NewListNexusByCompanyAndTaxTypeGroupNotFound creates a ListNexusByCompanyAndTaxTypeGroupNotFound with default headers values

func (*ListNexusByCompanyAndTaxTypeGroupNotFound) Error

type ListNexusByCompanyAndTaxTypeGroupOK

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

Success

func NewListNexusByCompanyAndTaxTypeGroupOK

func NewListNexusByCompanyAndTaxTypeGroupOK() *ListNexusByCompanyAndTaxTypeGroupOK

NewListNexusByCompanyAndTaxTypeGroupOK creates a ListNexusByCompanyAndTaxTypeGroupOK with default headers values

func (*ListNexusByCompanyAndTaxTypeGroupOK) Error

func (*ListNexusByCompanyAndTaxTypeGroupOK) GetPayload

type ListNexusByCompanyAndTaxTypeGroupParams

type ListNexusByCompanyAndTaxTypeGroupParams 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
	*/
	DollarFilter *string

	/* DollarInclude.

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

	/* DollarOrderBy.

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

	/* DollarSkip.

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

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

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

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

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

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

	/* CompanyID.

	   The ID of the company that owns these nexus objects

	   Format: int32
	*/
	CompanyID int32

	/* TaxTypeGroup.

	   Name of TaxTypeGroup to filter by
	*/
	TaxTypeGroup string

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

ListNexusByCompanyAndTaxTypeGroupParams contains all the parameters to send to the API endpoint

for the list nexus by company and tax type group operation.

Typically these are written to a http.Request.

func NewListNexusByCompanyAndTaxTypeGroupParams

func NewListNexusByCompanyAndTaxTypeGroupParams() *ListNexusByCompanyAndTaxTypeGroupParams

NewListNexusByCompanyAndTaxTypeGroupParams creates a new ListNexusByCompanyAndTaxTypeGroupParams 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 NewListNexusByCompanyAndTaxTypeGroupParamsWithContext

func NewListNexusByCompanyAndTaxTypeGroupParamsWithContext(ctx context.Context) *ListNexusByCompanyAndTaxTypeGroupParams

NewListNexusByCompanyAndTaxTypeGroupParamsWithContext creates a new ListNexusByCompanyAndTaxTypeGroupParams object with the ability to set a context for a request.

func NewListNexusByCompanyAndTaxTypeGroupParamsWithHTTPClient

func NewListNexusByCompanyAndTaxTypeGroupParamsWithHTTPClient(client *http.Client) *ListNexusByCompanyAndTaxTypeGroupParams

NewListNexusByCompanyAndTaxTypeGroupParamsWithHTTPClient creates a new ListNexusByCompanyAndTaxTypeGroupParams object with the ability to set a custom HTTPClient for a request.

func NewListNexusByCompanyAndTaxTypeGroupParamsWithTimeout

func NewListNexusByCompanyAndTaxTypeGroupParamsWithTimeout(timeout time.Duration) *ListNexusByCompanyAndTaxTypeGroupParams

NewListNexusByCompanyAndTaxTypeGroupParamsWithTimeout creates a new ListNexusByCompanyAndTaxTypeGroupParams object with the ability to set a timeout on a request.

func (*ListNexusByCompanyAndTaxTypeGroupParams) SetCompanyID

func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) SetContext

SetContext adds the context to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) SetDefaults

func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDefaults()

SetDefaults hydrates default values in the list nexus by company and tax type group params (not the query body).

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

func (*ListNexusByCompanyAndTaxTypeGroupParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) SetDollarOrderBy

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

SetDollarOrderBy adds the dollarOrderBy to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) SetTaxTypeGroup

func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetTaxTypeGroup(taxTypeGroup string)

SetTaxTypeGroup adds the taxTypeGroup to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) SetTimeout

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

SetTimeout adds the timeout to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) WithCompanyID

WithCompanyID adds the companyID to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) WithContext

WithContext adds the context to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) WithDefaults

WithDefaults hydrates default values in the list nexus by company and tax type group params (not the query body).

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

func (*ListNexusByCompanyAndTaxTypeGroupParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) WithDollarInclude

WithDollarInclude adds the dollarInclude to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) WithDollarOrderBy

WithDollarOrderBy adds the dollarOrderBy to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) WithDollarTop

WithDollarTop adds the dollarTop to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) WithTaxTypeGroup

WithTaxTypeGroup adds the taxTypeGroup to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) WithTimeout

WithTimeout adds the timeout to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) WithXAvalaraClient

WithXAvalaraClient adds the xAvalaraClient to the list nexus by company and tax type group params

func (*ListNexusByCompanyAndTaxTypeGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNexusByCompanyAndTaxTypeGroupReader

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

ListNexusByCompanyAndTaxTypeGroupReader is a Reader for the ListNexusByCompanyAndTaxTypeGroup structure.

func (*ListNexusByCompanyAndTaxTypeGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNexusByCompanyAndTaxTypeGroupUnauthorized

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

Unauthorized

func NewListNexusByCompanyAndTaxTypeGroupUnauthorized

func NewListNexusByCompanyAndTaxTypeGroupUnauthorized() *ListNexusByCompanyAndTaxTypeGroupUnauthorized

NewListNexusByCompanyAndTaxTypeGroupUnauthorized creates a ListNexusByCompanyAndTaxTypeGroupUnauthorized with default headers values

func (*ListNexusByCompanyAndTaxTypeGroupUnauthorized) Error

type ListNexusByCompanyBadRequest

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

Bad Request

func NewListNexusByCompanyBadRequest

func NewListNexusByCompanyBadRequest() *ListNexusByCompanyBadRequest

NewListNexusByCompanyBadRequest creates a ListNexusByCompanyBadRequest with default headers values

func (*ListNexusByCompanyBadRequest) Error

type ListNexusByCompanyNotFound

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

Not Found

func NewListNexusByCompanyNotFound

func NewListNexusByCompanyNotFound() *ListNexusByCompanyNotFound

NewListNexusByCompanyNotFound creates a ListNexusByCompanyNotFound with default headers values

func (*ListNexusByCompanyNotFound) Error

type ListNexusByCompanyOK

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

Success

func NewListNexusByCompanyOK

func NewListNexusByCompanyOK() *ListNexusByCompanyOK

NewListNexusByCompanyOK creates a ListNexusByCompanyOK with default headers values

func (*ListNexusByCompanyOK) Error

func (o *ListNexusByCompanyOK) Error() string

func (*ListNexusByCompanyOK) GetPayload

type ListNexusByCompanyParams

type ListNexusByCompanyParams 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
	*/
	DollarFilter *string

	/* DollarInclude.

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

	/* DollarOrderBy.

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

	/* DollarSkip.

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

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

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

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

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

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

	/* CompanyID.

	   The ID of the company that owns these nexus objects

	   Format: int32
	*/
	CompanyID int32

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

ListNexusByCompanyParams contains all the parameters to send to the API endpoint

for the list nexus by company operation.

Typically these are written to a http.Request.

func NewListNexusByCompanyParams

func NewListNexusByCompanyParams() *ListNexusByCompanyParams

NewListNexusByCompanyParams creates a new ListNexusByCompanyParams 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 NewListNexusByCompanyParamsWithContext

func NewListNexusByCompanyParamsWithContext(ctx context.Context) *ListNexusByCompanyParams

NewListNexusByCompanyParamsWithContext creates a new ListNexusByCompanyParams object with the ability to set a context for a request.

func NewListNexusByCompanyParamsWithHTTPClient

func NewListNexusByCompanyParamsWithHTTPClient(client *http.Client) *ListNexusByCompanyParams

NewListNexusByCompanyParamsWithHTTPClient creates a new ListNexusByCompanyParams object with the ability to set a custom HTTPClient for a request.

func NewListNexusByCompanyParamsWithTimeout

func NewListNexusByCompanyParamsWithTimeout(timeout time.Duration) *ListNexusByCompanyParams

NewListNexusByCompanyParamsWithTimeout creates a new ListNexusByCompanyParams object with the ability to set a timeout on a request.

func (*ListNexusByCompanyParams) SetCompanyID

func (o *ListNexusByCompanyParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the list nexus by company params

func (*ListNexusByCompanyParams) SetContext

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

SetContext adds the context to the list nexus by company params

func (*ListNexusByCompanyParams) SetDefaults

func (o *ListNexusByCompanyParams) SetDefaults()

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

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

func (*ListNexusByCompanyParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the list nexus by company params

func (*ListNexusByCompanyParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the list nexus by company params

func (*ListNexusByCompanyParams) SetDollarOrderBy

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

SetDollarOrderBy adds the dollarOrderBy to the list nexus by company params

func (*ListNexusByCompanyParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the list nexus by company params

func (*ListNexusByCompanyParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the list nexus by company params

func (*ListNexusByCompanyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list nexus by company params

func (*ListNexusByCompanyParams) SetTimeout

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

SetTimeout adds the timeout to the list nexus by company params

func (*ListNexusByCompanyParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the list nexus by company params

func (*ListNexusByCompanyParams) WithCompanyID

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

WithCompanyID adds the companyID to the list nexus by company params

func (*ListNexusByCompanyParams) WithContext

WithContext adds the context to the list nexus by company params

func (*ListNexusByCompanyParams) WithDefaults

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

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

func (*ListNexusByCompanyParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the list nexus by company params

func (*ListNexusByCompanyParams) WithDollarInclude

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

WithDollarInclude adds the dollarInclude to the list nexus by company params

func (*ListNexusByCompanyParams) WithDollarOrderBy

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

WithDollarOrderBy adds the dollarOrderBy to the list nexus by company params

func (*ListNexusByCompanyParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the list nexus by company params

func (*ListNexusByCompanyParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the list nexus by company params

func (*ListNexusByCompanyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list nexus by company params

func (*ListNexusByCompanyParams) WithTimeout

WithTimeout adds the timeout to the list nexus by company params

func (*ListNexusByCompanyParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the list nexus by company params

func (*ListNexusByCompanyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNexusByCompanyReader

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

ListNexusByCompanyReader is a Reader for the ListNexusByCompany structure.

func (*ListNexusByCompanyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNexusByCompanyUnauthorized

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

Unauthorized

func NewListNexusByCompanyUnauthorized

func NewListNexusByCompanyUnauthorized() *ListNexusByCompanyUnauthorized

NewListNexusByCompanyUnauthorized creates a ListNexusByCompanyUnauthorized with default headers values

func (*ListNexusByCompanyUnauthorized) Error

type ListNexusParametersBadRequest

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

Bad Request

func NewListNexusParametersBadRequest

func NewListNexusParametersBadRequest() *ListNexusParametersBadRequest

NewListNexusParametersBadRequest creates a ListNexusParametersBadRequest with default headers values

func (*ListNexusParametersBadRequest) Error

type ListNexusParametersNotFound

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

Not Found

func NewListNexusParametersNotFound

func NewListNexusParametersNotFound() *ListNexusParametersNotFound

NewListNexusParametersNotFound creates a ListNexusParametersNotFound with default headers values

func (*ListNexusParametersNotFound) Error

type ListNexusParametersOK

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

Success

func NewListNexusParametersOK

func NewListNexusParametersOK() *ListNexusParametersOK

NewListNexusParametersOK creates a ListNexusParametersOK with default headers values

func (*ListNexusParametersOK) Error

func (o *ListNexusParametersOK) Error() string

func (*ListNexusParametersOK) GetPayload

type ListNexusParametersParams

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

	/* NexusID.

	   The nexus id

	   Format: int32
	*/
	NexusID int32

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

ListNexusParametersParams contains all the parameters to send to the API endpoint

for the list nexus parameters operation.

Typically these are written to a http.Request.

func NewListNexusParametersParams

func NewListNexusParametersParams() *ListNexusParametersParams

NewListNexusParametersParams creates a new ListNexusParametersParams 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 NewListNexusParametersParamsWithContext

func NewListNexusParametersParamsWithContext(ctx context.Context) *ListNexusParametersParams

NewListNexusParametersParamsWithContext creates a new ListNexusParametersParams object with the ability to set a context for a request.

func NewListNexusParametersParamsWithHTTPClient

func NewListNexusParametersParamsWithHTTPClient(client *http.Client) *ListNexusParametersParams

NewListNexusParametersParamsWithHTTPClient creates a new ListNexusParametersParams object with the ability to set a custom HTTPClient for a request.

func NewListNexusParametersParamsWithTimeout

func NewListNexusParametersParamsWithTimeout(timeout time.Duration) *ListNexusParametersParams

NewListNexusParametersParamsWithTimeout creates a new ListNexusParametersParams object with the ability to set a timeout on a request.

func (*ListNexusParametersParams) SetCompanyID

func (o *ListNexusParametersParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the list nexus parameters params

func (*ListNexusParametersParams) SetContext

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

SetContext adds the context to the list nexus parameters params

func (*ListNexusParametersParams) SetDefaults

func (o *ListNexusParametersParams) SetDefaults()

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

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

func (*ListNexusParametersParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the list nexus parameters params

func (*ListNexusParametersParams) SetDollarOrderBy

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

SetDollarOrderBy adds the dollarOrderBy to the list nexus parameters params

func (*ListNexusParametersParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the list nexus parameters params

func (*ListNexusParametersParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the list nexus parameters params

func (*ListNexusParametersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list nexus parameters params

func (*ListNexusParametersParams) SetNexusID

func (o *ListNexusParametersParams) SetNexusID(nexusID int32)

SetNexusID adds the nexusId to the list nexus parameters params

func (*ListNexusParametersParams) SetTimeout

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

SetTimeout adds the timeout to the list nexus parameters params

func (*ListNexusParametersParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the list nexus parameters params

func (*ListNexusParametersParams) WithCompanyID

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

WithCompanyID adds the companyID to the list nexus parameters params

func (*ListNexusParametersParams) WithContext

WithContext adds the context to the list nexus parameters params

func (*ListNexusParametersParams) WithDefaults

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

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

func (*ListNexusParametersParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the list nexus parameters params

func (*ListNexusParametersParams) WithDollarOrderBy

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

WithDollarOrderBy adds the dollarOrderBy to the list nexus parameters params

func (*ListNexusParametersParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the list nexus parameters params

func (*ListNexusParametersParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the list nexus parameters params

func (*ListNexusParametersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list nexus parameters params

func (*ListNexusParametersParams) WithNexusID

WithNexusID adds the nexusID to the list nexus parameters params

func (*ListNexusParametersParams) WithTimeout

WithTimeout adds the timeout to the list nexus parameters params

func (*ListNexusParametersParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the list nexus parameters params

func (*ListNexusParametersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListNexusParametersReader

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

ListNexusParametersReader is a Reader for the ListNexusParameters structure.

func (*ListNexusParametersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNexusParametersUnauthorized

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

Unauthorized

func NewListNexusParametersUnauthorized

func NewListNexusParametersUnauthorized() *ListNexusParametersUnauthorized

NewListNexusParametersUnauthorized creates a ListNexusParametersUnauthorized with default headers values

func (*ListNexusParametersUnauthorized) Error

type QueryNexusBadRequest

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

Bad Request

func NewQueryNexusBadRequest

func NewQueryNexusBadRequest() *QueryNexusBadRequest

NewQueryNexusBadRequest creates a QueryNexusBadRequest with default headers values

func (*QueryNexusBadRequest) Error

func (o *QueryNexusBadRequest) Error() string

type QueryNexusOK

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

Success

func NewQueryNexusOK

func NewQueryNexusOK() *QueryNexusOK

NewQueryNexusOK creates a QueryNexusOK with default headers values

func (*QueryNexusOK) Error

func (o *QueryNexusOK) Error() string

func (*QueryNexusOK) GetPayload

func (o *QueryNexusOK) GetPayload() *models.NexusModelFetchResult

type QueryNexusParams

type QueryNexusParams 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
	*/
	DollarFilter *string

	/* DollarInclude.

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

	/* DollarOrderBy.

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

	/* DollarSkip.

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

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

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

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

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

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

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

QueryNexusParams contains all the parameters to send to the API endpoint

for the query nexus operation.

Typically these are written to a http.Request.

func NewQueryNexusParams

func NewQueryNexusParams() *QueryNexusParams

NewQueryNexusParams creates a new QueryNexusParams 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 NewQueryNexusParamsWithContext

func NewQueryNexusParamsWithContext(ctx context.Context) *QueryNexusParams

NewQueryNexusParamsWithContext creates a new QueryNexusParams object with the ability to set a context for a request.

func NewQueryNexusParamsWithHTTPClient

func NewQueryNexusParamsWithHTTPClient(client *http.Client) *QueryNexusParams

NewQueryNexusParamsWithHTTPClient creates a new QueryNexusParams object with the ability to set a custom HTTPClient for a request.

func NewQueryNexusParamsWithTimeout

func NewQueryNexusParamsWithTimeout(timeout time.Duration) *QueryNexusParams

NewQueryNexusParamsWithTimeout creates a new QueryNexusParams object with the ability to set a timeout on a request.

func (*QueryNexusParams) SetContext

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

SetContext adds the context to the query nexus params

func (*QueryNexusParams) SetDefaults

func (o *QueryNexusParams) SetDefaults()

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

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

func (*QueryNexusParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the query nexus params

func (*QueryNexusParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the query nexus params

func (*QueryNexusParams) SetDollarOrderBy

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

SetDollarOrderBy adds the dollarOrderBy to the query nexus params

func (*QueryNexusParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the query nexus params

func (*QueryNexusParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the query nexus params

func (*QueryNexusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query nexus params

func (*QueryNexusParams) SetTimeout

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

SetTimeout adds the timeout to the query nexus params

func (*QueryNexusParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the query nexus params

func (*QueryNexusParams) WithContext

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

WithContext adds the context to the query nexus params

func (*QueryNexusParams) WithDefaults

func (o *QueryNexusParams) WithDefaults() *QueryNexusParams

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

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

func (*QueryNexusParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the query nexus params

func (*QueryNexusParams) WithDollarInclude

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

WithDollarInclude adds the dollarInclude to the query nexus params

func (*QueryNexusParams) WithDollarOrderBy

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

WithDollarOrderBy adds the dollarOrderBy to the query nexus params

func (*QueryNexusParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the query nexus params

func (*QueryNexusParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the query nexus params

func (*QueryNexusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query nexus params

func (*QueryNexusParams) WithTimeout

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

WithTimeout adds the timeout to the query nexus params

func (*QueryNexusParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the query nexus params

func (*QueryNexusParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryNexusReader

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

QueryNexusReader is a Reader for the QueryNexus structure.

func (*QueryNexusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryNexusUnauthorized

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

Unauthorized

func NewQueryNexusUnauthorized

func NewQueryNexusUnauthorized() *QueryNexusUnauthorized

NewQueryNexusUnauthorized creates a QueryNexusUnauthorized with default headers values

func (*QueryNexusUnauthorized) Error

func (o *QueryNexusUnauthorized) Error() string

type UpdateNexusBadRequest

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

Bad Request

func NewUpdateNexusBadRequest

func NewUpdateNexusBadRequest() *UpdateNexusBadRequest

NewUpdateNexusBadRequest creates a UpdateNexusBadRequest with default headers values

func (*UpdateNexusBadRequest) Error

func (o *UpdateNexusBadRequest) Error() string

type UpdateNexusNotFound

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

Not Found

func NewUpdateNexusNotFound

func NewUpdateNexusNotFound() *UpdateNexusNotFound

NewUpdateNexusNotFound creates a UpdateNexusNotFound with default headers values

func (*UpdateNexusNotFound) Error

func (o *UpdateNexusNotFound) Error() string

type UpdateNexusOK

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

Success

func NewUpdateNexusOK

func NewUpdateNexusOK() *UpdateNexusOK

NewUpdateNexusOK creates a UpdateNexusOK with default headers values

func (*UpdateNexusOK) Error

func (o *UpdateNexusOK) Error() string

func (*UpdateNexusOK) GetPayload

func (o *UpdateNexusOK) GetPayload() *models.NexusModel

type UpdateNexusParameterBadRequest

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

Bad Request

func NewUpdateNexusParameterBadRequest

func NewUpdateNexusParameterBadRequest() *UpdateNexusParameterBadRequest

NewUpdateNexusParameterBadRequest creates a UpdateNexusParameterBadRequest with default headers values

func (*UpdateNexusParameterBadRequest) Error

type UpdateNexusParameterNotFound

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

Not Found

func NewUpdateNexusParameterNotFound

func NewUpdateNexusParameterNotFound() *UpdateNexusParameterNotFound

NewUpdateNexusParameterNotFound creates a UpdateNexusParameterNotFound with default headers values

func (*UpdateNexusParameterNotFound) Error

type UpdateNexusParameterOK

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

Success

func NewUpdateNexusParameterOK

func NewUpdateNexusParameterOK() *UpdateNexusParameterOK

NewUpdateNexusParameterOK creates a UpdateNexusParameterOK with default headers values

func (*UpdateNexusParameterOK) Error

func (o *UpdateNexusParameterOK) Error() string

func (*UpdateNexusParameterOK) GetPayload

type UpdateNexusParameterParams

type UpdateNexusParameterParams 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 nexus object you wish to update.
	*/
	Body *models.NexusParameterDetailModel

	/* CompanyID.

	   The company id.

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The nexus parameter id

	   Format: int64
	*/
	ID int64

	/* NexusID.

	   The nexus id

	   Format: int32
	*/
	NexusID int32

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

UpdateNexusParameterParams contains all the parameters to send to the API endpoint

for the update nexus parameter operation.

Typically these are written to a http.Request.

func NewUpdateNexusParameterParams

func NewUpdateNexusParameterParams() *UpdateNexusParameterParams

NewUpdateNexusParameterParams creates a new UpdateNexusParameterParams 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 NewUpdateNexusParameterParamsWithContext

func NewUpdateNexusParameterParamsWithContext(ctx context.Context) *UpdateNexusParameterParams

NewUpdateNexusParameterParamsWithContext creates a new UpdateNexusParameterParams object with the ability to set a context for a request.

func NewUpdateNexusParameterParamsWithHTTPClient

func NewUpdateNexusParameterParamsWithHTTPClient(client *http.Client) *UpdateNexusParameterParams

NewUpdateNexusParameterParamsWithHTTPClient creates a new UpdateNexusParameterParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNexusParameterParamsWithTimeout

func NewUpdateNexusParameterParamsWithTimeout(timeout time.Duration) *UpdateNexusParameterParams

NewUpdateNexusParameterParamsWithTimeout creates a new UpdateNexusParameterParams object with the ability to set a timeout on a request.

func (*UpdateNexusParameterParams) SetBody

SetBody adds the body to the update nexus parameter params

func (*UpdateNexusParameterParams) SetCompanyID

func (o *UpdateNexusParameterParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the update nexus parameter params

func (*UpdateNexusParameterParams) SetContext

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

SetContext adds the context to the update nexus parameter params

func (*UpdateNexusParameterParams) SetDefaults

func (o *UpdateNexusParameterParams) SetDefaults()

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

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

func (*UpdateNexusParameterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update nexus parameter params

func (*UpdateNexusParameterParams) SetID

func (o *UpdateNexusParameterParams) SetID(id int64)

SetID adds the id to the update nexus parameter params

func (*UpdateNexusParameterParams) SetNexusID

func (o *UpdateNexusParameterParams) SetNexusID(nexusID int32)

SetNexusID adds the nexusId to the update nexus parameter params

func (*UpdateNexusParameterParams) SetTimeout

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

SetTimeout adds the timeout to the update nexus parameter params

func (*UpdateNexusParameterParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the update nexus parameter params

func (*UpdateNexusParameterParams) WithBody

WithBody adds the body to the update nexus parameter params

func (*UpdateNexusParameterParams) WithCompanyID

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

WithCompanyID adds the companyID to the update nexus parameter params

func (*UpdateNexusParameterParams) WithContext

WithContext adds the context to the update nexus parameter params

func (*UpdateNexusParameterParams) WithDefaults

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

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

func (*UpdateNexusParameterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update nexus parameter params

func (*UpdateNexusParameterParams) WithID

WithID adds the id to the update nexus parameter params

func (*UpdateNexusParameterParams) WithNexusID

WithNexusID adds the nexusID to the update nexus parameter params

func (*UpdateNexusParameterParams) WithTimeout

WithTimeout adds the timeout to the update nexus parameter params

func (*UpdateNexusParameterParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the update nexus parameter params

func (*UpdateNexusParameterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNexusParameterReader

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

UpdateNexusParameterReader is a Reader for the UpdateNexusParameter structure.

func (*UpdateNexusParameterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNexusParameterUnauthorized

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

Unauthorized

func NewUpdateNexusParameterUnauthorized

func NewUpdateNexusParameterUnauthorized() *UpdateNexusParameterUnauthorized

NewUpdateNexusParameterUnauthorized creates a UpdateNexusParameterUnauthorized with default headers values

func (*UpdateNexusParameterUnauthorized) Error

type UpdateNexusParams

type UpdateNexusParams 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 nexus object you wish to update.
	*/
	Body *models.NexusModel

	/* CompanyID.

	   The ID of the company that this nexus belongs to.

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The ID of the nexus you wish to update

	   Format: int32
	*/
	ID int32

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

UpdateNexusParams contains all the parameters to send to the API endpoint

for the update nexus operation.

Typically these are written to a http.Request.

func NewUpdateNexusParams

func NewUpdateNexusParams() *UpdateNexusParams

NewUpdateNexusParams creates a new UpdateNexusParams 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 NewUpdateNexusParamsWithContext

func NewUpdateNexusParamsWithContext(ctx context.Context) *UpdateNexusParams

NewUpdateNexusParamsWithContext creates a new UpdateNexusParams object with the ability to set a context for a request.

func NewUpdateNexusParamsWithHTTPClient

func NewUpdateNexusParamsWithHTTPClient(client *http.Client) *UpdateNexusParams

NewUpdateNexusParamsWithHTTPClient creates a new UpdateNexusParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNexusParamsWithTimeout

func NewUpdateNexusParamsWithTimeout(timeout time.Duration) *UpdateNexusParams

NewUpdateNexusParamsWithTimeout creates a new UpdateNexusParams object with the ability to set a timeout on a request.

func (*UpdateNexusParams) SetBody

func (o *UpdateNexusParams) SetBody(body *models.NexusModel)

SetBody adds the body to the update nexus params

func (*UpdateNexusParams) SetCompanyID

func (o *UpdateNexusParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the update nexus params

func (*UpdateNexusParams) SetContext

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

SetContext adds the context to the update nexus params

func (*UpdateNexusParams) SetDefaults

func (o *UpdateNexusParams) SetDefaults()

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

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

func (*UpdateNexusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update nexus params

func (*UpdateNexusParams) SetID

func (o *UpdateNexusParams) SetID(id int32)

SetID adds the id to the update nexus params

func (*UpdateNexusParams) SetTimeout

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

SetTimeout adds the timeout to the update nexus params

func (*UpdateNexusParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the update nexus params

func (*UpdateNexusParams) WithBody

WithBody adds the body to the update nexus params

func (*UpdateNexusParams) WithCompanyID

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

WithCompanyID adds the companyID to the update nexus params

func (*UpdateNexusParams) WithContext

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

WithContext adds the context to the update nexus params

func (*UpdateNexusParams) WithDefaults

func (o *UpdateNexusParams) WithDefaults() *UpdateNexusParams

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

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

func (*UpdateNexusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update nexus params

func (*UpdateNexusParams) WithID

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

WithID adds the id to the update nexus params

func (*UpdateNexusParams) WithTimeout

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

WithTimeout adds the timeout to the update nexus params

func (*UpdateNexusParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the update nexus params

func (*UpdateNexusParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateNexusReader

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

UpdateNexusReader is a Reader for the UpdateNexus structure.

func (*UpdateNexusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNexusUnauthorized

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

Unauthorized

func NewUpdateNexusUnauthorized

func NewUpdateNexusUnauthorized() *UpdateNexusUnauthorized

NewUpdateNexusUnauthorized creates a UpdateNexusUnauthorized with default headers values

func (*UpdateNexusUnauthorized) Error

func (o *UpdateNexusUnauthorized) Error() string

Jump to

Keyboard shortcuts

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