jurisdiction_overrides

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 jurisdiction overrides API

func (*Client) CreateJurisdictionOverrides

func (a *Client) CreateJurisdictionOverrides(params *CreateJurisdictionOverridesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateJurisdictionOverridesOK, error)
CreateJurisdictionOverrides creates one or more overrides

Creates one or more jurisdiction override objects for this account.

A Jurisdiction Override is a configuration setting that allows you to select the taxing jurisdiction for a specific address. If you encounter an address that is on the boundary between two different jurisdictions, you can choose to set up a jurisdiction override to switch this address to use different taxing jurisdictions.

### Security Policies

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

func (*Client) DeleteJurisdictionOverride

func (a *Client) DeleteJurisdictionOverride(params *DeleteJurisdictionOverrideParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteJurisdictionOverrideOK, error)
DeleteJurisdictionOverride deletes a single override

Marks the item object at this URL as deleted.

### Security Policies

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

func (*Client) GetJurisdictionOverride

func (a *Client) GetJurisdictionOverride(params *GetJurisdictionOverrideParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJurisdictionOverrideOK, error)
GetJurisdictionOverride retrieves a single override

Get the item object identified by this URL.

A Jurisdiction Override is a configuration setting that allows you to select the taxing jurisdiction for a specific address. If you encounter an address that is on the boundary between two different jurisdictions, you can choose to set up a jurisdiction override to switch this address to use different taxing jurisdictions.

### Security Policies

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

func (*Client) ListJurisdictionOverridesByAccount

func (a *Client) ListJurisdictionOverridesByAccount(params *ListJurisdictionOverridesByAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListJurisdictionOverridesByAccountOK, error)
ListJurisdictionOverridesByAccount retrieves overrides for this account

List all jurisdiction override objects defined for this account.

A Jurisdiction Override is a configuration setting that allows you to select the taxing jurisdiction for a specific address. If you encounter an address that is on the boundary between two different jurisdictions, you can choose to set up a jurisdiction override to switch this address to use different taxing jurisdictions.

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

### Security Policies

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

func (*Client) QueryJurisdictionOverrides

func (a *Client) QueryJurisdictionOverrides(params *QueryJurisdictionOverridesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryJurisdictionOverridesOK, error)
QueryJurisdictionOverrides retrieves all overrides

Get multiple jurisdiction override objects across all companies.

A Jurisdiction Override is a configuration setting that allows you to select the taxing jurisdiction for a specific address. If you encounter an address that is on the boundary between two different jurisdictions, you can choose to set up a jurisdiction override to switch this address to use different taxing jurisdictions.

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

### Security Policies

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateJurisdictionOverride

func (a *Client) UpdateJurisdictionOverride(params *UpdateJurisdictionOverrideParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateJurisdictionOverrideOK, error)
UpdateJurisdictionOverride updates a single jurisdictionoverride

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

### Security Policies

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

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateJurisdictionOverrides(params *CreateJurisdictionOverridesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateJurisdictionOverridesOK, error)

	DeleteJurisdictionOverride(params *DeleteJurisdictionOverrideParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteJurisdictionOverrideOK, error)

	GetJurisdictionOverride(params *GetJurisdictionOverrideParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJurisdictionOverrideOK, error)

	ListJurisdictionOverridesByAccount(params *ListJurisdictionOverridesByAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListJurisdictionOverridesByAccountOK, error)

	QueryJurisdictionOverrides(params *QueryJurisdictionOverridesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryJurisdictionOverridesOK, error)

	UpdateJurisdictionOverride(params *UpdateJurisdictionOverrideParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateJurisdictionOverrideOK, 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 jurisdiction overrides API client.

type CreateJurisdictionOverridesBadRequest

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

Bad Request

func NewCreateJurisdictionOverridesBadRequest

func NewCreateJurisdictionOverridesBadRequest() *CreateJurisdictionOverridesBadRequest

NewCreateJurisdictionOverridesBadRequest creates a CreateJurisdictionOverridesBadRequest with default headers values

func (*CreateJurisdictionOverridesBadRequest) Error

type CreateJurisdictionOverridesNotFound

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

Not Found

func NewCreateJurisdictionOverridesNotFound

func NewCreateJurisdictionOverridesNotFound() *CreateJurisdictionOverridesNotFound

NewCreateJurisdictionOverridesNotFound creates a CreateJurisdictionOverridesNotFound with default headers values

func (*CreateJurisdictionOverridesNotFound) Error

type CreateJurisdictionOverridesOK

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

Success

func NewCreateJurisdictionOverridesOK

func NewCreateJurisdictionOverridesOK() *CreateJurisdictionOverridesOK

NewCreateJurisdictionOverridesOK creates a CreateJurisdictionOverridesOK with default headers values

func (*CreateJurisdictionOverridesOK) Error

func (*CreateJurisdictionOverridesOK) GetPayload

type CreateJurisdictionOverridesParams

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

	/* AccountID.

	   The ID of the account that owns this override

	   Format: int32
	*/
	AccountID int32

	/* Body.

	   The jurisdiction override objects to create
	*/
	Body []*models.JurisdictionOverrideModel

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

CreateJurisdictionOverridesParams contains all the parameters to send to the API endpoint

for the create jurisdiction overrides operation.

Typically these are written to a http.Request.

func NewCreateJurisdictionOverridesParams

func NewCreateJurisdictionOverridesParams() *CreateJurisdictionOverridesParams

NewCreateJurisdictionOverridesParams creates a new CreateJurisdictionOverridesParams 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 NewCreateJurisdictionOverridesParamsWithContext

func NewCreateJurisdictionOverridesParamsWithContext(ctx context.Context) *CreateJurisdictionOverridesParams

NewCreateJurisdictionOverridesParamsWithContext creates a new CreateJurisdictionOverridesParams object with the ability to set a context for a request.

func NewCreateJurisdictionOverridesParamsWithHTTPClient

func NewCreateJurisdictionOverridesParamsWithHTTPClient(client *http.Client) *CreateJurisdictionOverridesParams

NewCreateJurisdictionOverridesParamsWithHTTPClient creates a new CreateJurisdictionOverridesParams object with the ability to set a custom HTTPClient for a request.

func NewCreateJurisdictionOverridesParamsWithTimeout

func NewCreateJurisdictionOverridesParamsWithTimeout(timeout time.Duration) *CreateJurisdictionOverridesParams

NewCreateJurisdictionOverridesParamsWithTimeout creates a new CreateJurisdictionOverridesParams object with the ability to set a timeout on a request.

func (*CreateJurisdictionOverridesParams) SetAccountID

func (o *CreateJurisdictionOverridesParams) SetAccountID(accountID int32)

SetAccountID adds the accountId to the create jurisdiction overrides params

func (*CreateJurisdictionOverridesParams) SetBody

SetBody adds the body to the create jurisdiction overrides params

func (*CreateJurisdictionOverridesParams) SetContext

SetContext adds the context to the create jurisdiction overrides params

func (*CreateJurisdictionOverridesParams) SetDefaults

func (o *CreateJurisdictionOverridesParams) SetDefaults()

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

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

func (*CreateJurisdictionOverridesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create jurisdiction overrides params

func (*CreateJurisdictionOverridesParams) SetTimeout

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

SetTimeout adds the timeout to the create jurisdiction overrides params

func (*CreateJurisdictionOverridesParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create jurisdiction overrides params

func (*CreateJurisdictionOverridesParams) WithAccountID

WithAccountID adds the accountID to the create jurisdiction overrides params

func (*CreateJurisdictionOverridesParams) WithBody

WithBody adds the body to the create jurisdiction overrides params

func (*CreateJurisdictionOverridesParams) WithContext

WithContext adds the context to the create jurisdiction overrides params

func (*CreateJurisdictionOverridesParams) WithDefaults

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

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

func (*CreateJurisdictionOverridesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create jurisdiction overrides params

func (*CreateJurisdictionOverridesParams) WithTimeout

WithTimeout adds the timeout to the create jurisdiction overrides params

func (*CreateJurisdictionOverridesParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the create jurisdiction overrides params

func (*CreateJurisdictionOverridesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateJurisdictionOverridesReader

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

CreateJurisdictionOverridesReader is a Reader for the CreateJurisdictionOverrides structure.

func (*CreateJurisdictionOverridesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateJurisdictionOverridesUnauthorized

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

Unauthorized

func NewCreateJurisdictionOverridesUnauthorized

func NewCreateJurisdictionOverridesUnauthorized() *CreateJurisdictionOverridesUnauthorized

NewCreateJurisdictionOverridesUnauthorized creates a CreateJurisdictionOverridesUnauthorized with default headers values

func (*CreateJurisdictionOverridesUnauthorized) Error

type DeleteJurisdictionOverrideBadRequest

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

Bad Request

func NewDeleteJurisdictionOverrideBadRequest

func NewDeleteJurisdictionOverrideBadRequest() *DeleteJurisdictionOverrideBadRequest

NewDeleteJurisdictionOverrideBadRequest creates a DeleteJurisdictionOverrideBadRequest with default headers values

func (*DeleteJurisdictionOverrideBadRequest) Error

type DeleteJurisdictionOverrideNotFound

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

Not Found

func NewDeleteJurisdictionOverrideNotFound

func NewDeleteJurisdictionOverrideNotFound() *DeleteJurisdictionOverrideNotFound

NewDeleteJurisdictionOverrideNotFound creates a DeleteJurisdictionOverrideNotFound with default headers values

func (*DeleteJurisdictionOverrideNotFound) Error

type DeleteJurisdictionOverrideOK

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

Success

func NewDeleteJurisdictionOverrideOK

func NewDeleteJurisdictionOverrideOK() *DeleteJurisdictionOverrideOK

NewDeleteJurisdictionOverrideOK creates a DeleteJurisdictionOverrideOK with default headers values

func (*DeleteJurisdictionOverrideOK) Error

func (*DeleteJurisdictionOverrideOK) GetPayload

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

type DeleteJurisdictionOverrideParams

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

	/* AccountID.

	   The ID of the account that owns this override

	   Format: int32
	*/
	AccountID int32

	/* ID.

	   The ID of the override you wish to delete

	   Format: int32
	*/
	ID int32

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

DeleteJurisdictionOverrideParams contains all the parameters to send to the API endpoint

for the delete jurisdiction override operation.

Typically these are written to a http.Request.

func NewDeleteJurisdictionOverrideParams

func NewDeleteJurisdictionOverrideParams() *DeleteJurisdictionOverrideParams

NewDeleteJurisdictionOverrideParams creates a new DeleteJurisdictionOverrideParams 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 NewDeleteJurisdictionOverrideParamsWithContext

func NewDeleteJurisdictionOverrideParamsWithContext(ctx context.Context) *DeleteJurisdictionOverrideParams

NewDeleteJurisdictionOverrideParamsWithContext creates a new DeleteJurisdictionOverrideParams object with the ability to set a context for a request.

func NewDeleteJurisdictionOverrideParamsWithHTTPClient

func NewDeleteJurisdictionOverrideParamsWithHTTPClient(client *http.Client) *DeleteJurisdictionOverrideParams

NewDeleteJurisdictionOverrideParamsWithHTTPClient creates a new DeleteJurisdictionOverrideParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteJurisdictionOverrideParamsWithTimeout

func NewDeleteJurisdictionOverrideParamsWithTimeout(timeout time.Duration) *DeleteJurisdictionOverrideParams

NewDeleteJurisdictionOverrideParamsWithTimeout creates a new DeleteJurisdictionOverrideParams object with the ability to set a timeout on a request.

func (*DeleteJurisdictionOverrideParams) SetAccountID

func (o *DeleteJurisdictionOverrideParams) SetAccountID(accountID int32)

SetAccountID adds the accountId to the delete jurisdiction override params

func (*DeleteJurisdictionOverrideParams) SetContext

SetContext adds the context to the delete jurisdiction override params

func (*DeleteJurisdictionOverrideParams) SetDefaults

func (o *DeleteJurisdictionOverrideParams) SetDefaults()

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

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

func (*DeleteJurisdictionOverrideParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete jurisdiction override params

func (*DeleteJurisdictionOverrideParams) SetID

SetID adds the id to the delete jurisdiction override params

func (*DeleteJurisdictionOverrideParams) SetTimeout

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

SetTimeout adds the timeout to the delete jurisdiction override params

func (*DeleteJurisdictionOverrideParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete jurisdiction override params

func (*DeleteJurisdictionOverrideParams) WithAccountID

WithAccountID adds the accountID to the delete jurisdiction override params

func (*DeleteJurisdictionOverrideParams) WithContext

WithContext adds the context to the delete jurisdiction override params

func (*DeleteJurisdictionOverrideParams) WithDefaults

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

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

func (*DeleteJurisdictionOverrideParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete jurisdiction override params

func (*DeleteJurisdictionOverrideParams) WithID

WithID adds the id to the delete jurisdiction override params

func (*DeleteJurisdictionOverrideParams) WithTimeout

WithTimeout adds the timeout to the delete jurisdiction override params

func (*DeleteJurisdictionOverrideParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the delete jurisdiction override params

func (*DeleteJurisdictionOverrideParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteJurisdictionOverrideReader

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

DeleteJurisdictionOverrideReader is a Reader for the DeleteJurisdictionOverride structure.

func (*DeleteJurisdictionOverrideReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteJurisdictionOverrideUnauthorized

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

Unauthorized

func NewDeleteJurisdictionOverrideUnauthorized

func NewDeleteJurisdictionOverrideUnauthorized() *DeleteJurisdictionOverrideUnauthorized

NewDeleteJurisdictionOverrideUnauthorized creates a DeleteJurisdictionOverrideUnauthorized with default headers values

func (*DeleteJurisdictionOverrideUnauthorized) Error

type GetJurisdictionOverrideBadRequest

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

Bad Request

func NewGetJurisdictionOverrideBadRequest

func NewGetJurisdictionOverrideBadRequest() *GetJurisdictionOverrideBadRequest

NewGetJurisdictionOverrideBadRequest creates a GetJurisdictionOverrideBadRequest with default headers values

func (*GetJurisdictionOverrideBadRequest) Error

type GetJurisdictionOverrideNotFound

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

Not Found

func NewGetJurisdictionOverrideNotFound

func NewGetJurisdictionOverrideNotFound() *GetJurisdictionOverrideNotFound

NewGetJurisdictionOverrideNotFound creates a GetJurisdictionOverrideNotFound with default headers values

func (*GetJurisdictionOverrideNotFound) Error

type GetJurisdictionOverrideOK

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

Success

func NewGetJurisdictionOverrideOK

func NewGetJurisdictionOverrideOK() *GetJurisdictionOverrideOK

NewGetJurisdictionOverrideOK creates a GetJurisdictionOverrideOK with default headers values

func (*GetJurisdictionOverrideOK) Error

func (o *GetJurisdictionOverrideOK) Error() string

func (*GetJurisdictionOverrideOK) GetPayload

type GetJurisdictionOverrideParams

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

	/* AccountID.

	   The ID of the account that owns this override

	   Format: int32
	*/
	AccountID int32

	/* ID.

	   The primary key of this override

	   Format: int32
	*/
	ID int32

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

GetJurisdictionOverrideParams contains all the parameters to send to the API endpoint

for the get jurisdiction override operation.

Typically these are written to a http.Request.

func NewGetJurisdictionOverrideParams

func NewGetJurisdictionOverrideParams() *GetJurisdictionOverrideParams

NewGetJurisdictionOverrideParams creates a new GetJurisdictionOverrideParams 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 NewGetJurisdictionOverrideParamsWithContext

func NewGetJurisdictionOverrideParamsWithContext(ctx context.Context) *GetJurisdictionOverrideParams

NewGetJurisdictionOverrideParamsWithContext creates a new GetJurisdictionOverrideParams object with the ability to set a context for a request.

func NewGetJurisdictionOverrideParamsWithHTTPClient

func NewGetJurisdictionOverrideParamsWithHTTPClient(client *http.Client) *GetJurisdictionOverrideParams

NewGetJurisdictionOverrideParamsWithHTTPClient creates a new GetJurisdictionOverrideParams object with the ability to set a custom HTTPClient for a request.

func NewGetJurisdictionOverrideParamsWithTimeout

func NewGetJurisdictionOverrideParamsWithTimeout(timeout time.Duration) *GetJurisdictionOverrideParams

NewGetJurisdictionOverrideParamsWithTimeout creates a new GetJurisdictionOverrideParams object with the ability to set a timeout on a request.

func (*GetJurisdictionOverrideParams) SetAccountID

func (o *GetJurisdictionOverrideParams) SetAccountID(accountID int32)

SetAccountID adds the accountId to the get jurisdiction override params

func (*GetJurisdictionOverrideParams) SetContext

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

SetContext adds the context to the get jurisdiction override params

func (*GetJurisdictionOverrideParams) SetDefaults

func (o *GetJurisdictionOverrideParams) SetDefaults()

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

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

func (*GetJurisdictionOverrideParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get jurisdiction override params

func (*GetJurisdictionOverrideParams) SetID

func (o *GetJurisdictionOverrideParams) SetID(id int32)

SetID adds the id to the get jurisdiction override params

func (*GetJurisdictionOverrideParams) SetTimeout

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

SetTimeout adds the timeout to the get jurisdiction override params

func (*GetJurisdictionOverrideParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get jurisdiction override params

func (*GetJurisdictionOverrideParams) WithAccountID

WithAccountID adds the accountID to the get jurisdiction override params

func (*GetJurisdictionOverrideParams) WithContext

WithContext adds the context to the get jurisdiction override params

func (*GetJurisdictionOverrideParams) WithDefaults

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

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

func (*GetJurisdictionOverrideParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get jurisdiction override params

func (*GetJurisdictionOverrideParams) WithID

WithID adds the id to the get jurisdiction override params

func (*GetJurisdictionOverrideParams) WithTimeout

WithTimeout adds the timeout to the get jurisdiction override params

func (*GetJurisdictionOverrideParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get jurisdiction override params

func (*GetJurisdictionOverrideParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetJurisdictionOverrideReader

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

GetJurisdictionOverrideReader is a Reader for the GetJurisdictionOverride structure.

func (*GetJurisdictionOverrideReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetJurisdictionOverrideUnauthorized

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

Unauthorized

func NewGetJurisdictionOverrideUnauthorized

func NewGetJurisdictionOverrideUnauthorized() *GetJurisdictionOverrideUnauthorized

NewGetJurisdictionOverrideUnauthorized creates a GetJurisdictionOverrideUnauthorized with default headers values

func (*GetJurisdictionOverrideUnauthorized) Error

type ListJurisdictionOverridesByAccountBadRequest

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

Bad Request

func NewListJurisdictionOverridesByAccountBadRequest

func NewListJurisdictionOverridesByAccountBadRequest() *ListJurisdictionOverridesByAccountBadRequest

NewListJurisdictionOverridesByAccountBadRequest creates a ListJurisdictionOverridesByAccountBadRequest with default headers values

func (*ListJurisdictionOverridesByAccountBadRequest) Error

type ListJurisdictionOverridesByAccountNotFound

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

Not Found

func NewListJurisdictionOverridesByAccountNotFound

func NewListJurisdictionOverridesByAccountNotFound() *ListJurisdictionOverridesByAccountNotFound

NewListJurisdictionOverridesByAccountNotFound creates a ListJurisdictionOverridesByAccountNotFound with default headers values

func (*ListJurisdictionOverridesByAccountNotFound) Error

type ListJurisdictionOverridesByAccountOK

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

Success

func NewListJurisdictionOverridesByAccountOK

func NewListJurisdictionOverridesByAccountOK() *ListJurisdictionOverridesByAccountOK

NewListJurisdictionOverridesByAccountOK creates a ListJurisdictionOverridesByAccountOK with default headers values

func (*ListJurisdictionOverridesByAccountOK) Error

func (*ListJurisdictionOverridesByAccountOK) GetPayload

type ListJurisdictionOverridesByAccountParams

type ListJurisdictionOverridesByAccountParams 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:* country, Jurisdictions
	*/
	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

	/* AccountID.

	   The ID of the account that owns this override

	   Format: int32
	*/
	AccountID int32

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

ListJurisdictionOverridesByAccountParams contains all the parameters to send to the API endpoint

for the list jurisdiction overrides by account operation.

Typically these are written to a http.Request.

func NewListJurisdictionOverridesByAccountParams

func NewListJurisdictionOverridesByAccountParams() *ListJurisdictionOverridesByAccountParams

NewListJurisdictionOverridesByAccountParams creates a new ListJurisdictionOverridesByAccountParams 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 NewListJurisdictionOverridesByAccountParamsWithContext

func NewListJurisdictionOverridesByAccountParamsWithContext(ctx context.Context) *ListJurisdictionOverridesByAccountParams

NewListJurisdictionOverridesByAccountParamsWithContext creates a new ListJurisdictionOverridesByAccountParams object with the ability to set a context for a request.

func NewListJurisdictionOverridesByAccountParamsWithHTTPClient

func NewListJurisdictionOverridesByAccountParamsWithHTTPClient(client *http.Client) *ListJurisdictionOverridesByAccountParams

NewListJurisdictionOverridesByAccountParamsWithHTTPClient creates a new ListJurisdictionOverridesByAccountParams object with the ability to set a custom HTTPClient for a request.

func NewListJurisdictionOverridesByAccountParamsWithTimeout

func NewListJurisdictionOverridesByAccountParamsWithTimeout(timeout time.Duration) *ListJurisdictionOverridesByAccountParams

NewListJurisdictionOverridesByAccountParamsWithTimeout creates a new ListJurisdictionOverridesByAccountParams object with the ability to set a timeout on a request.

func (*ListJurisdictionOverridesByAccountParams) SetAccountID

func (o *ListJurisdictionOverridesByAccountParams) SetAccountID(accountID int32)

SetAccountID adds the accountId to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) SetContext

SetContext adds the context to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) SetDefaults

SetDefaults hydrates default values in the list jurisdiction overrides by account params (not the query body).

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

func (*ListJurisdictionOverridesByAccountParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) SetDollarOrderBy

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

SetDollarOrderBy adds the dollarOrderBy to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) SetTimeout

SetTimeout adds the timeout to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) WithAccountID

WithAccountID adds the accountID to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) WithContext

WithContext adds the context to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) WithDefaults

WithDefaults hydrates default values in the list jurisdiction overrides by account params (not the query body).

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

func (*ListJurisdictionOverridesByAccountParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) WithDollarInclude

WithDollarInclude adds the dollarInclude to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) WithDollarOrderBy

WithDollarOrderBy adds the dollarOrderBy to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) WithDollarTop

WithDollarTop adds the dollarTop to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) WithTimeout

WithTimeout adds the timeout to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) WithXAvalaraClient

WithXAvalaraClient adds the xAvalaraClient to the list jurisdiction overrides by account params

func (*ListJurisdictionOverridesByAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListJurisdictionOverridesByAccountReader

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

ListJurisdictionOverridesByAccountReader is a Reader for the ListJurisdictionOverridesByAccount structure.

func (*ListJurisdictionOverridesByAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListJurisdictionOverridesByAccountUnauthorized

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

Unauthorized

func NewListJurisdictionOverridesByAccountUnauthorized

func NewListJurisdictionOverridesByAccountUnauthorized() *ListJurisdictionOverridesByAccountUnauthorized

NewListJurisdictionOverridesByAccountUnauthorized creates a ListJurisdictionOverridesByAccountUnauthorized with default headers values

func (*ListJurisdictionOverridesByAccountUnauthorized) Error

type QueryJurisdictionOverridesBadRequest

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

Bad Request

func NewQueryJurisdictionOverridesBadRequest

func NewQueryJurisdictionOverridesBadRequest() *QueryJurisdictionOverridesBadRequest

NewQueryJurisdictionOverridesBadRequest creates a QueryJurisdictionOverridesBadRequest with default headers values

func (*QueryJurisdictionOverridesBadRequest) Error

type QueryJurisdictionOverridesNotFound

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

Not Found

func NewQueryJurisdictionOverridesNotFound

func NewQueryJurisdictionOverridesNotFound() *QueryJurisdictionOverridesNotFound

NewQueryJurisdictionOverridesNotFound creates a QueryJurisdictionOverridesNotFound with default headers values

func (*QueryJurisdictionOverridesNotFound) Error

type QueryJurisdictionOverridesOK

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

Success

func NewQueryJurisdictionOverridesOK

func NewQueryJurisdictionOverridesOK() *QueryJurisdictionOverridesOK

NewQueryJurisdictionOverridesOK creates a QueryJurisdictionOverridesOK with default headers values

func (*QueryJurisdictionOverridesOK) Error

func (*QueryJurisdictionOverridesOK) GetPayload

type QueryJurisdictionOverridesParams

type QueryJurisdictionOverridesParams 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:* country, Jurisdictions
	*/
	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
}

QueryJurisdictionOverridesParams contains all the parameters to send to the API endpoint

for the query jurisdiction overrides operation.

Typically these are written to a http.Request.

func NewQueryJurisdictionOverridesParams

func NewQueryJurisdictionOverridesParams() *QueryJurisdictionOverridesParams

NewQueryJurisdictionOverridesParams creates a new QueryJurisdictionOverridesParams 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 NewQueryJurisdictionOverridesParamsWithContext

func NewQueryJurisdictionOverridesParamsWithContext(ctx context.Context) *QueryJurisdictionOverridesParams

NewQueryJurisdictionOverridesParamsWithContext creates a new QueryJurisdictionOverridesParams object with the ability to set a context for a request.

func NewQueryJurisdictionOverridesParamsWithHTTPClient

func NewQueryJurisdictionOverridesParamsWithHTTPClient(client *http.Client) *QueryJurisdictionOverridesParams

NewQueryJurisdictionOverridesParamsWithHTTPClient creates a new QueryJurisdictionOverridesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryJurisdictionOverridesParamsWithTimeout

func NewQueryJurisdictionOverridesParamsWithTimeout(timeout time.Duration) *QueryJurisdictionOverridesParams

NewQueryJurisdictionOverridesParamsWithTimeout creates a new QueryJurisdictionOverridesParams object with the ability to set a timeout on a request.

func (*QueryJurisdictionOverridesParams) SetContext

SetContext adds the context to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) SetDefaults

func (o *QueryJurisdictionOverridesParams) SetDefaults()

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

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

func (*QueryJurisdictionOverridesParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) SetDollarOrderBy

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

SetDollarOrderBy adds the dollarOrderBy to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) SetTimeout

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

SetTimeout adds the timeout to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) WithContext

WithContext adds the context to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) WithDefaults

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

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

func (*QueryJurisdictionOverridesParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) WithDollarInclude

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

WithDollarInclude adds the dollarInclude to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) WithDollarOrderBy

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

WithDollarOrderBy adds the dollarOrderBy to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) WithDollarTop

WithDollarTop adds the dollarTop to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) WithTimeout

WithTimeout adds the timeout to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the query jurisdiction overrides params

func (*QueryJurisdictionOverridesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryJurisdictionOverridesReader

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

QueryJurisdictionOverridesReader is a Reader for the QueryJurisdictionOverrides structure.

func (*QueryJurisdictionOverridesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryJurisdictionOverridesUnauthorized

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

Unauthorized

func NewQueryJurisdictionOverridesUnauthorized

func NewQueryJurisdictionOverridesUnauthorized() *QueryJurisdictionOverridesUnauthorized

NewQueryJurisdictionOverridesUnauthorized creates a QueryJurisdictionOverridesUnauthorized with default headers values

func (*QueryJurisdictionOverridesUnauthorized) Error

type UpdateJurisdictionOverrideBadRequest

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

Bad Request

func NewUpdateJurisdictionOverrideBadRequest

func NewUpdateJurisdictionOverrideBadRequest() *UpdateJurisdictionOverrideBadRequest

NewUpdateJurisdictionOverrideBadRequest creates a UpdateJurisdictionOverrideBadRequest with default headers values

func (*UpdateJurisdictionOverrideBadRequest) Error

type UpdateJurisdictionOverrideNotFound

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

Not Found

func NewUpdateJurisdictionOverrideNotFound

func NewUpdateJurisdictionOverrideNotFound() *UpdateJurisdictionOverrideNotFound

NewUpdateJurisdictionOverrideNotFound creates a UpdateJurisdictionOverrideNotFound with default headers values

func (*UpdateJurisdictionOverrideNotFound) Error

type UpdateJurisdictionOverrideOK

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

Success

func NewUpdateJurisdictionOverrideOK

func NewUpdateJurisdictionOverrideOK() *UpdateJurisdictionOverrideOK

NewUpdateJurisdictionOverrideOK creates a UpdateJurisdictionOverrideOK with default headers values

func (*UpdateJurisdictionOverrideOK) Error

func (*UpdateJurisdictionOverrideOK) GetPayload

type UpdateJurisdictionOverrideParams

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

	/* AccountID.

	   The ID of the account that this jurisdictionoverride belongs to.

	   Format: int32
	*/
	AccountID int32

	/* Body.

	   The jurisdictionoverride object you wish to update.
	*/
	Body *models.JurisdictionOverrideModel

	/* ID.

	   The ID of the jurisdictionoverride you wish to update

	   Format: int32
	*/
	ID int32

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

UpdateJurisdictionOverrideParams contains all the parameters to send to the API endpoint

for the update jurisdiction override operation.

Typically these are written to a http.Request.

func NewUpdateJurisdictionOverrideParams

func NewUpdateJurisdictionOverrideParams() *UpdateJurisdictionOverrideParams

NewUpdateJurisdictionOverrideParams creates a new UpdateJurisdictionOverrideParams 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 NewUpdateJurisdictionOverrideParamsWithContext

func NewUpdateJurisdictionOverrideParamsWithContext(ctx context.Context) *UpdateJurisdictionOverrideParams

NewUpdateJurisdictionOverrideParamsWithContext creates a new UpdateJurisdictionOverrideParams object with the ability to set a context for a request.

func NewUpdateJurisdictionOverrideParamsWithHTTPClient

func NewUpdateJurisdictionOverrideParamsWithHTTPClient(client *http.Client) *UpdateJurisdictionOverrideParams

NewUpdateJurisdictionOverrideParamsWithHTTPClient creates a new UpdateJurisdictionOverrideParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateJurisdictionOverrideParamsWithTimeout

func NewUpdateJurisdictionOverrideParamsWithTimeout(timeout time.Duration) *UpdateJurisdictionOverrideParams

NewUpdateJurisdictionOverrideParamsWithTimeout creates a new UpdateJurisdictionOverrideParams object with the ability to set a timeout on a request.

func (*UpdateJurisdictionOverrideParams) SetAccountID

func (o *UpdateJurisdictionOverrideParams) SetAccountID(accountID int32)

SetAccountID adds the accountId to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) SetBody

SetBody adds the body to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) SetContext

SetContext adds the context to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) SetDefaults

func (o *UpdateJurisdictionOverrideParams) SetDefaults()

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

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

func (*UpdateJurisdictionOverrideParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) SetID

SetID adds the id to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) SetTimeout

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

SetTimeout adds the timeout to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) WithAccountID

WithAccountID adds the accountID to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) WithBody

WithBody adds the body to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) WithContext

WithContext adds the context to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) WithDefaults

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

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

func (*UpdateJurisdictionOverrideParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) WithID

WithID adds the id to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) WithTimeout

WithTimeout adds the timeout to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the update jurisdiction override params

func (*UpdateJurisdictionOverrideParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateJurisdictionOverrideReader

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

UpdateJurisdictionOverrideReader is a Reader for the UpdateJurisdictionOverride structure.

func (*UpdateJurisdictionOverrideReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateJurisdictionOverrideUnauthorized

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

Unauthorized

func NewUpdateJurisdictionOverrideUnauthorized

func NewUpdateJurisdictionOverrideUnauthorized() *UpdateJurisdictionOverrideUnauthorized

NewUpdateJurisdictionOverrideUnauthorized creates a UpdateJurisdictionOverrideUnauthorized with default headers values

func (*UpdateJurisdictionOverrideUnauthorized) Error

Jump to

Keyboard shortcuts

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