Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateJurisdictionOverrides(params *CreateJurisdictionOverridesParams, ...) (*CreateJurisdictionOverridesOK, error)
- func (a *Client) DeleteJurisdictionOverride(params *DeleteJurisdictionOverrideParams, ...) (*DeleteJurisdictionOverrideOK, error)
- func (a *Client) GetJurisdictionOverride(params *GetJurisdictionOverrideParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetJurisdictionOverrideOK, error)
- func (a *Client) ListJurisdictionOverridesByAccount(params *ListJurisdictionOverridesByAccountParams, ...) (*ListJurisdictionOverridesByAccountOK, error)
- func (a *Client) QueryJurisdictionOverrides(params *QueryJurisdictionOverridesParams, ...) (*QueryJurisdictionOverridesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateJurisdictionOverride(params *UpdateJurisdictionOverrideParams, ...) (*UpdateJurisdictionOverrideOK, error)
- type ClientOption
- type ClientService
- type CreateJurisdictionOverridesBadRequest
- type CreateJurisdictionOverridesNotFound
- type CreateJurisdictionOverridesOK
- type CreateJurisdictionOverridesParams
- func NewCreateJurisdictionOverridesParams() *CreateJurisdictionOverridesParams
- func NewCreateJurisdictionOverridesParamsWithContext(ctx context.Context) *CreateJurisdictionOverridesParams
- func NewCreateJurisdictionOverridesParamsWithHTTPClient(client *http.Client) *CreateJurisdictionOverridesParams
- func NewCreateJurisdictionOverridesParamsWithTimeout(timeout time.Duration) *CreateJurisdictionOverridesParams
- func (o *CreateJurisdictionOverridesParams) SetAccountID(accountID int32)
- func (o *CreateJurisdictionOverridesParams) SetBody(body []*models.JurisdictionOverrideModel)
- func (o *CreateJurisdictionOverridesParams) SetContext(ctx context.Context)
- func (o *CreateJurisdictionOverridesParams) SetDefaults()
- func (o *CreateJurisdictionOverridesParams) SetHTTPClient(client *http.Client)
- func (o *CreateJurisdictionOverridesParams) SetTimeout(timeout time.Duration)
- func (o *CreateJurisdictionOverridesParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateJurisdictionOverridesParams) WithAccountID(accountID int32) *CreateJurisdictionOverridesParams
- func (o *CreateJurisdictionOverridesParams) WithBody(body []*models.JurisdictionOverrideModel) *CreateJurisdictionOverridesParams
- func (o *CreateJurisdictionOverridesParams) WithContext(ctx context.Context) *CreateJurisdictionOverridesParams
- func (o *CreateJurisdictionOverridesParams) WithDefaults() *CreateJurisdictionOverridesParams
- func (o *CreateJurisdictionOverridesParams) WithHTTPClient(client *http.Client) *CreateJurisdictionOverridesParams
- func (o *CreateJurisdictionOverridesParams) WithTimeout(timeout time.Duration) *CreateJurisdictionOverridesParams
- func (o *CreateJurisdictionOverridesParams) WithXAvalaraClient(xAvalaraClient *string) *CreateJurisdictionOverridesParams
- func (o *CreateJurisdictionOverridesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateJurisdictionOverridesReader
- type CreateJurisdictionOverridesUnauthorized
- type DeleteJurisdictionOverrideBadRequest
- type DeleteJurisdictionOverrideNotFound
- type DeleteJurisdictionOverrideOK
- type DeleteJurisdictionOverrideParams
- func NewDeleteJurisdictionOverrideParams() *DeleteJurisdictionOverrideParams
- func NewDeleteJurisdictionOverrideParamsWithContext(ctx context.Context) *DeleteJurisdictionOverrideParams
- func NewDeleteJurisdictionOverrideParamsWithHTTPClient(client *http.Client) *DeleteJurisdictionOverrideParams
- func NewDeleteJurisdictionOverrideParamsWithTimeout(timeout time.Duration) *DeleteJurisdictionOverrideParams
- func (o *DeleteJurisdictionOverrideParams) SetAccountID(accountID int32)
- func (o *DeleteJurisdictionOverrideParams) SetContext(ctx context.Context)
- func (o *DeleteJurisdictionOverrideParams) SetDefaults()
- func (o *DeleteJurisdictionOverrideParams) SetHTTPClient(client *http.Client)
- func (o *DeleteJurisdictionOverrideParams) SetID(id int32)
- func (o *DeleteJurisdictionOverrideParams) SetTimeout(timeout time.Duration)
- func (o *DeleteJurisdictionOverrideParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteJurisdictionOverrideParams) WithAccountID(accountID int32) *DeleteJurisdictionOverrideParams
- func (o *DeleteJurisdictionOverrideParams) WithContext(ctx context.Context) *DeleteJurisdictionOverrideParams
- func (o *DeleteJurisdictionOverrideParams) WithDefaults() *DeleteJurisdictionOverrideParams
- func (o *DeleteJurisdictionOverrideParams) WithHTTPClient(client *http.Client) *DeleteJurisdictionOverrideParams
- func (o *DeleteJurisdictionOverrideParams) WithID(id int32) *DeleteJurisdictionOverrideParams
- func (o *DeleteJurisdictionOverrideParams) WithTimeout(timeout time.Duration) *DeleteJurisdictionOverrideParams
- func (o *DeleteJurisdictionOverrideParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteJurisdictionOverrideParams
- func (o *DeleteJurisdictionOverrideParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteJurisdictionOverrideReader
- type DeleteJurisdictionOverrideUnauthorized
- type GetJurisdictionOverrideBadRequest
- type GetJurisdictionOverrideNotFound
- type GetJurisdictionOverrideOK
- type GetJurisdictionOverrideParams
- func NewGetJurisdictionOverrideParams() *GetJurisdictionOverrideParams
- func NewGetJurisdictionOverrideParamsWithContext(ctx context.Context) *GetJurisdictionOverrideParams
- func NewGetJurisdictionOverrideParamsWithHTTPClient(client *http.Client) *GetJurisdictionOverrideParams
- func NewGetJurisdictionOverrideParamsWithTimeout(timeout time.Duration) *GetJurisdictionOverrideParams
- func (o *GetJurisdictionOverrideParams) SetAccountID(accountID int32)
- func (o *GetJurisdictionOverrideParams) SetContext(ctx context.Context)
- func (o *GetJurisdictionOverrideParams) SetDefaults()
- func (o *GetJurisdictionOverrideParams) SetHTTPClient(client *http.Client)
- func (o *GetJurisdictionOverrideParams) SetID(id int32)
- func (o *GetJurisdictionOverrideParams) SetTimeout(timeout time.Duration)
- func (o *GetJurisdictionOverrideParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetJurisdictionOverrideParams) WithAccountID(accountID int32) *GetJurisdictionOverrideParams
- func (o *GetJurisdictionOverrideParams) WithContext(ctx context.Context) *GetJurisdictionOverrideParams
- func (o *GetJurisdictionOverrideParams) WithDefaults() *GetJurisdictionOverrideParams
- func (o *GetJurisdictionOverrideParams) WithHTTPClient(client *http.Client) *GetJurisdictionOverrideParams
- func (o *GetJurisdictionOverrideParams) WithID(id int32) *GetJurisdictionOverrideParams
- func (o *GetJurisdictionOverrideParams) WithTimeout(timeout time.Duration) *GetJurisdictionOverrideParams
- func (o *GetJurisdictionOverrideParams) WithXAvalaraClient(xAvalaraClient *string) *GetJurisdictionOverrideParams
- func (o *GetJurisdictionOverrideParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJurisdictionOverrideReader
- type GetJurisdictionOverrideUnauthorized
- type ListJurisdictionOverridesByAccountBadRequest
- type ListJurisdictionOverridesByAccountNotFound
- type ListJurisdictionOverridesByAccountOK
- type ListJurisdictionOverridesByAccountParams
- func NewListJurisdictionOverridesByAccountParams() *ListJurisdictionOverridesByAccountParams
- func NewListJurisdictionOverridesByAccountParamsWithContext(ctx context.Context) *ListJurisdictionOverridesByAccountParams
- func NewListJurisdictionOverridesByAccountParamsWithHTTPClient(client *http.Client) *ListJurisdictionOverridesByAccountParams
- func NewListJurisdictionOverridesByAccountParamsWithTimeout(timeout time.Duration) *ListJurisdictionOverridesByAccountParams
- func (o *ListJurisdictionOverridesByAccountParams) SetAccountID(accountID int32)
- func (o *ListJurisdictionOverridesByAccountParams) SetContext(ctx context.Context)
- func (o *ListJurisdictionOverridesByAccountParams) SetDefaults()
- func (o *ListJurisdictionOverridesByAccountParams) SetDollarFilter(dollarFilter *string)
- func (o *ListJurisdictionOverridesByAccountParams) SetDollarInclude(dollarInclude *string)
- func (o *ListJurisdictionOverridesByAccountParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *ListJurisdictionOverridesByAccountParams) SetDollarSkip(dollarSkip *int32)
- func (o *ListJurisdictionOverridesByAccountParams) SetDollarTop(dollarTop *int32)
- func (o *ListJurisdictionOverridesByAccountParams) SetHTTPClient(client *http.Client)
- func (o *ListJurisdictionOverridesByAccountParams) SetTimeout(timeout time.Duration)
- func (o *ListJurisdictionOverridesByAccountParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ListJurisdictionOverridesByAccountParams) WithAccountID(accountID int32) *ListJurisdictionOverridesByAccountParams
- func (o *ListJurisdictionOverridesByAccountParams) WithContext(ctx context.Context) *ListJurisdictionOverridesByAccountParams
- func (o *ListJurisdictionOverridesByAccountParams) WithDefaults() *ListJurisdictionOverridesByAccountParams
- func (o *ListJurisdictionOverridesByAccountParams) WithDollarFilter(dollarFilter *string) *ListJurisdictionOverridesByAccountParams
- func (o *ListJurisdictionOverridesByAccountParams) WithDollarInclude(dollarInclude *string) *ListJurisdictionOverridesByAccountParams
- func (o *ListJurisdictionOverridesByAccountParams) WithDollarOrderBy(dollarOrderBy *string) *ListJurisdictionOverridesByAccountParams
- func (o *ListJurisdictionOverridesByAccountParams) WithDollarSkip(dollarSkip *int32) *ListJurisdictionOverridesByAccountParams
- func (o *ListJurisdictionOverridesByAccountParams) WithDollarTop(dollarTop *int32) *ListJurisdictionOverridesByAccountParams
- func (o *ListJurisdictionOverridesByAccountParams) WithHTTPClient(client *http.Client) *ListJurisdictionOverridesByAccountParams
- func (o *ListJurisdictionOverridesByAccountParams) WithTimeout(timeout time.Duration) *ListJurisdictionOverridesByAccountParams
- func (o *ListJurisdictionOverridesByAccountParams) WithXAvalaraClient(xAvalaraClient *string) *ListJurisdictionOverridesByAccountParams
- func (o *ListJurisdictionOverridesByAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListJurisdictionOverridesByAccountReader
- type ListJurisdictionOverridesByAccountUnauthorized
- type QueryJurisdictionOverridesBadRequest
- type QueryJurisdictionOverridesNotFound
- type QueryJurisdictionOverridesOK
- type QueryJurisdictionOverridesParams
- func NewQueryJurisdictionOverridesParams() *QueryJurisdictionOverridesParams
- func NewQueryJurisdictionOverridesParamsWithContext(ctx context.Context) *QueryJurisdictionOverridesParams
- func NewQueryJurisdictionOverridesParamsWithHTTPClient(client *http.Client) *QueryJurisdictionOverridesParams
- func NewQueryJurisdictionOverridesParamsWithTimeout(timeout time.Duration) *QueryJurisdictionOverridesParams
- func (o *QueryJurisdictionOverridesParams) SetContext(ctx context.Context)
- func (o *QueryJurisdictionOverridesParams) SetDefaults()
- func (o *QueryJurisdictionOverridesParams) SetDollarFilter(dollarFilter *string)
- func (o *QueryJurisdictionOverridesParams) SetDollarInclude(dollarInclude *string)
- func (o *QueryJurisdictionOverridesParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *QueryJurisdictionOverridesParams) SetDollarSkip(dollarSkip *int32)
- func (o *QueryJurisdictionOverridesParams) SetDollarTop(dollarTop *int32)
- func (o *QueryJurisdictionOverridesParams) SetHTTPClient(client *http.Client)
- func (o *QueryJurisdictionOverridesParams) SetTimeout(timeout time.Duration)
- func (o *QueryJurisdictionOverridesParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *QueryJurisdictionOverridesParams) WithContext(ctx context.Context) *QueryJurisdictionOverridesParams
- func (o *QueryJurisdictionOverridesParams) WithDefaults() *QueryJurisdictionOverridesParams
- func (o *QueryJurisdictionOverridesParams) WithDollarFilter(dollarFilter *string) *QueryJurisdictionOverridesParams
- func (o *QueryJurisdictionOverridesParams) WithDollarInclude(dollarInclude *string) *QueryJurisdictionOverridesParams
- func (o *QueryJurisdictionOverridesParams) WithDollarOrderBy(dollarOrderBy *string) *QueryJurisdictionOverridesParams
- func (o *QueryJurisdictionOverridesParams) WithDollarSkip(dollarSkip *int32) *QueryJurisdictionOverridesParams
- func (o *QueryJurisdictionOverridesParams) WithDollarTop(dollarTop *int32) *QueryJurisdictionOverridesParams
- func (o *QueryJurisdictionOverridesParams) WithHTTPClient(client *http.Client) *QueryJurisdictionOverridesParams
- func (o *QueryJurisdictionOverridesParams) WithTimeout(timeout time.Duration) *QueryJurisdictionOverridesParams
- func (o *QueryJurisdictionOverridesParams) WithXAvalaraClient(xAvalaraClient *string) *QueryJurisdictionOverridesParams
- func (o *QueryJurisdictionOverridesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryJurisdictionOverridesReader
- type QueryJurisdictionOverridesUnauthorized
- type UpdateJurisdictionOverrideBadRequest
- type UpdateJurisdictionOverrideNotFound
- type UpdateJurisdictionOverrideOK
- type UpdateJurisdictionOverrideParams
- func NewUpdateJurisdictionOverrideParams() *UpdateJurisdictionOverrideParams
- func NewUpdateJurisdictionOverrideParamsWithContext(ctx context.Context) *UpdateJurisdictionOverrideParams
- func NewUpdateJurisdictionOverrideParamsWithHTTPClient(client *http.Client) *UpdateJurisdictionOverrideParams
- func NewUpdateJurisdictionOverrideParamsWithTimeout(timeout time.Duration) *UpdateJurisdictionOverrideParams
- func (o *UpdateJurisdictionOverrideParams) SetAccountID(accountID int32)
- func (o *UpdateJurisdictionOverrideParams) SetBody(body *models.JurisdictionOverrideModel)
- func (o *UpdateJurisdictionOverrideParams) SetContext(ctx context.Context)
- func (o *UpdateJurisdictionOverrideParams) SetDefaults()
- func (o *UpdateJurisdictionOverrideParams) SetHTTPClient(client *http.Client)
- func (o *UpdateJurisdictionOverrideParams) SetID(id int32)
- func (o *UpdateJurisdictionOverrideParams) SetTimeout(timeout time.Duration)
- func (o *UpdateJurisdictionOverrideParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UpdateJurisdictionOverrideParams) WithAccountID(accountID int32) *UpdateJurisdictionOverrideParams
- func (o *UpdateJurisdictionOverrideParams) WithBody(body *models.JurisdictionOverrideModel) *UpdateJurisdictionOverrideParams
- func (o *UpdateJurisdictionOverrideParams) WithContext(ctx context.Context) *UpdateJurisdictionOverrideParams
- func (o *UpdateJurisdictionOverrideParams) WithDefaults() *UpdateJurisdictionOverrideParams
- func (o *UpdateJurisdictionOverrideParams) WithHTTPClient(client *http.Client) *UpdateJurisdictionOverrideParams
- func (o *UpdateJurisdictionOverrideParams) WithID(id int32) *UpdateJurisdictionOverrideParams
- func (o *UpdateJurisdictionOverrideParams) WithTimeout(timeout time.Duration) *UpdateJurisdictionOverrideParams
- func (o *UpdateJurisdictionOverrideParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateJurisdictionOverrideParams
- func (o *UpdateJurisdictionOverrideParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateJurisdictionOverrideReader
- type UpdateJurisdictionOverrideUnauthorized
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 ¶
func (o *CreateJurisdictionOverridesBadRequest) Error() string
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 ¶
func (o *CreateJurisdictionOverridesNotFound) Error() string
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 (o *CreateJurisdictionOverridesOK) Error() string
func (*CreateJurisdictionOverridesOK) GetPayload ¶
func (o *CreateJurisdictionOverridesOK) GetPayload() []*models.JurisdictionOverrideModel
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 ¶
func (o *CreateJurisdictionOverridesParams) SetBody(body []*models.JurisdictionOverrideModel)
SetBody adds the body to the create jurisdiction overrides params
func (*CreateJurisdictionOverridesParams) SetContext ¶
func (o *CreateJurisdictionOverridesParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateJurisdictionOverridesParams) WithAccountID(accountID int32) *CreateJurisdictionOverridesParams
WithAccountID adds the accountID to the create jurisdiction overrides params
func (*CreateJurisdictionOverridesParams) WithBody ¶
func (o *CreateJurisdictionOverridesParams) WithBody(body []*models.JurisdictionOverrideModel) *CreateJurisdictionOverridesParams
WithBody adds the body to the create jurisdiction overrides params
func (*CreateJurisdictionOverridesParams) WithContext ¶
func (o *CreateJurisdictionOverridesParams) WithContext(ctx context.Context) *CreateJurisdictionOverridesParams
WithContext adds the context to the create jurisdiction overrides params
func (*CreateJurisdictionOverridesParams) WithDefaults ¶
func (o *CreateJurisdictionOverridesParams) WithDefaults() *CreateJurisdictionOverridesParams
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 ¶
func (o *CreateJurisdictionOverridesParams) WithHTTPClient(client *http.Client) *CreateJurisdictionOverridesParams
WithHTTPClient adds the HTTPClient to the create jurisdiction overrides params
func (*CreateJurisdictionOverridesParams) WithTimeout ¶
func (o *CreateJurisdictionOverridesParams) WithTimeout(timeout time.Duration) *CreateJurisdictionOverridesParams
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 ¶
func (o *CreateJurisdictionOverridesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateJurisdictionOverridesUnauthorized) Error() string
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 ¶
func (o *DeleteJurisdictionOverrideBadRequest) Error() string
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 ¶
func (o *DeleteJurisdictionOverrideNotFound) Error() string
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 (o *DeleteJurisdictionOverrideOK) Error() string
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 ¶
func (o *DeleteJurisdictionOverrideParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteJurisdictionOverrideParams) SetID(id int32)
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 ¶
func (o *DeleteJurisdictionOverrideParams) WithAccountID(accountID int32) *DeleteJurisdictionOverrideParams
WithAccountID adds the accountID to the delete jurisdiction override params
func (*DeleteJurisdictionOverrideParams) WithContext ¶
func (o *DeleteJurisdictionOverrideParams) WithContext(ctx context.Context) *DeleteJurisdictionOverrideParams
WithContext adds the context to the delete jurisdiction override params
func (*DeleteJurisdictionOverrideParams) WithDefaults ¶
func (o *DeleteJurisdictionOverrideParams) WithDefaults() *DeleteJurisdictionOverrideParams
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 ¶
func (o *DeleteJurisdictionOverrideParams) WithHTTPClient(client *http.Client) *DeleteJurisdictionOverrideParams
WithHTTPClient adds the HTTPClient to the delete jurisdiction override params
func (*DeleteJurisdictionOverrideParams) WithID ¶
func (o *DeleteJurisdictionOverrideParams) WithID(id int32) *DeleteJurisdictionOverrideParams
WithID adds the id to the delete jurisdiction override params
func (*DeleteJurisdictionOverrideParams) WithTimeout ¶
func (o *DeleteJurisdictionOverrideParams) WithTimeout(timeout time.Duration) *DeleteJurisdictionOverrideParams
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 ¶
func (o *DeleteJurisdictionOverrideParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteJurisdictionOverrideUnauthorized) Error() string
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 ¶
func (o *GetJurisdictionOverrideBadRequest) Error() string
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 ¶
func (o *GetJurisdictionOverrideNotFound) Error() string
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 ¶
func (o *GetJurisdictionOverrideOK) GetPayload() *models.JurisdictionOverrideModel
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 ¶
func (o *GetJurisdictionOverrideParams) WithAccountID(accountID int32) *GetJurisdictionOverrideParams
WithAccountID adds the accountID to the get jurisdiction override params
func (*GetJurisdictionOverrideParams) WithContext ¶
func (o *GetJurisdictionOverrideParams) WithContext(ctx context.Context) *GetJurisdictionOverrideParams
WithContext adds the context to the get jurisdiction override params
func (*GetJurisdictionOverrideParams) WithDefaults ¶
func (o *GetJurisdictionOverrideParams) WithDefaults() *GetJurisdictionOverrideParams
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 ¶
func (o *GetJurisdictionOverrideParams) WithHTTPClient(client *http.Client) *GetJurisdictionOverrideParams
WithHTTPClient adds the HTTPClient to the get jurisdiction override params
func (*GetJurisdictionOverrideParams) WithID ¶
func (o *GetJurisdictionOverrideParams) WithID(id int32) *GetJurisdictionOverrideParams
WithID adds the id to the get jurisdiction override params
func (*GetJurisdictionOverrideParams) WithTimeout ¶
func (o *GetJurisdictionOverrideParams) WithTimeout(timeout time.Duration) *GetJurisdictionOverrideParams
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 ¶
func (o *GetJurisdictionOverrideParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetJurisdictionOverrideUnauthorized) Error() string
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 ¶
func (o *ListJurisdictionOverridesByAccountBadRequest) Error() string
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 ¶
func (o *ListJurisdictionOverridesByAccountNotFound) Error() string
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 (o *ListJurisdictionOverridesByAccountOK) Error() string
func (*ListJurisdictionOverridesByAccountOK) GetPayload ¶
func (o *ListJurisdictionOverridesByAccountOK) GetPayload() *models.JurisdictionOverrideModelFetchResult
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 ¶
func (o *ListJurisdictionOverridesByAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the list jurisdiction overrides by account params
func (*ListJurisdictionOverridesByAccountParams) SetDefaults ¶
func (o *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 ¶
func (o *ListJurisdictionOverridesByAccountParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *ListJurisdictionOverridesByAccountParams) WithAccountID(accountID int32) *ListJurisdictionOverridesByAccountParams
WithAccountID adds the accountID to the list jurisdiction overrides by account params
func (*ListJurisdictionOverridesByAccountParams) WithContext ¶
func (o *ListJurisdictionOverridesByAccountParams) WithContext(ctx context.Context) *ListJurisdictionOverridesByAccountParams
WithContext adds the context to the list jurisdiction overrides by account params
func (*ListJurisdictionOverridesByAccountParams) WithDefaults ¶
func (o *ListJurisdictionOverridesByAccountParams) WithDefaults() *ListJurisdictionOverridesByAccountParams
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 ¶
func (o *ListJurisdictionOverridesByAccountParams) WithDollarFilter(dollarFilter *string) *ListJurisdictionOverridesByAccountParams
WithDollarFilter adds the dollarFilter to the list jurisdiction overrides by account params
func (*ListJurisdictionOverridesByAccountParams) WithDollarInclude ¶
func (o *ListJurisdictionOverridesByAccountParams) WithDollarInclude(dollarInclude *string) *ListJurisdictionOverridesByAccountParams
WithDollarInclude adds the dollarInclude to the list jurisdiction overrides by account params
func (*ListJurisdictionOverridesByAccountParams) WithDollarOrderBy ¶
func (o *ListJurisdictionOverridesByAccountParams) WithDollarOrderBy(dollarOrderBy *string) *ListJurisdictionOverridesByAccountParams
WithDollarOrderBy adds the dollarOrderBy to the list jurisdiction overrides by account params
func (*ListJurisdictionOverridesByAccountParams) WithDollarSkip ¶
func (o *ListJurisdictionOverridesByAccountParams) WithDollarSkip(dollarSkip *int32) *ListJurisdictionOverridesByAccountParams
WithDollarSkip adds the dollarSkip to the list jurisdiction overrides by account params
func (*ListJurisdictionOverridesByAccountParams) WithDollarTop ¶
func (o *ListJurisdictionOverridesByAccountParams) WithDollarTop(dollarTop *int32) *ListJurisdictionOverridesByAccountParams
WithDollarTop adds the dollarTop to the list jurisdiction overrides by account params
func (*ListJurisdictionOverridesByAccountParams) WithHTTPClient ¶
func (o *ListJurisdictionOverridesByAccountParams) WithHTTPClient(client *http.Client) *ListJurisdictionOverridesByAccountParams
WithHTTPClient adds the HTTPClient to the list jurisdiction overrides by account params
func (*ListJurisdictionOverridesByAccountParams) WithTimeout ¶
func (o *ListJurisdictionOverridesByAccountParams) WithTimeout(timeout time.Duration) *ListJurisdictionOverridesByAccountParams
WithTimeout adds the timeout to the list jurisdiction overrides by account params
func (*ListJurisdictionOverridesByAccountParams) WithXAvalaraClient ¶
func (o *ListJurisdictionOverridesByAccountParams) WithXAvalaraClient(xAvalaraClient *string) *ListJurisdictionOverridesByAccountParams
WithXAvalaraClient adds the xAvalaraClient to the list jurisdiction overrides by account params
func (*ListJurisdictionOverridesByAccountParams) WriteToRequest ¶
func (o *ListJurisdictionOverridesByAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListJurisdictionOverridesByAccountUnauthorized) Error() string
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 ¶
func (o *QueryJurisdictionOverridesBadRequest) Error() string
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 ¶
func (o *QueryJurisdictionOverridesNotFound) Error() string
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 (o *QueryJurisdictionOverridesOK) Error() string
func (*QueryJurisdictionOverridesOK) GetPayload ¶
func (o *QueryJurisdictionOverridesOK) GetPayload() *models.JurisdictionOverrideModelFetchResult
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 ¶
func (o *QueryJurisdictionOverridesParams) SetContext(ctx context.Context)
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 ¶
func (o *QueryJurisdictionOverridesParams) WithContext(ctx context.Context) *QueryJurisdictionOverridesParams
WithContext adds the context to the query jurisdiction overrides params
func (*QueryJurisdictionOverridesParams) WithDefaults ¶
func (o *QueryJurisdictionOverridesParams) WithDefaults() *QueryJurisdictionOverridesParams
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 ¶
func (o *QueryJurisdictionOverridesParams) WithDollarSkip(dollarSkip *int32) *QueryJurisdictionOverridesParams
WithDollarSkip adds the dollarSkip to the query jurisdiction overrides params
func (*QueryJurisdictionOverridesParams) WithDollarTop ¶
func (o *QueryJurisdictionOverridesParams) WithDollarTop(dollarTop *int32) *QueryJurisdictionOverridesParams
WithDollarTop adds the dollarTop to the query jurisdiction overrides params
func (*QueryJurisdictionOverridesParams) WithHTTPClient ¶
func (o *QueryJurisdictionOverridesParams) WithHTTPClient(client *http.Client) *QueryJurisdictionOverridesParams
WithHTTPClient adds the HTTPClient to the query jurisdiction overrides params
func (*QueryJurisdictionOverridesParams) WithTimeout ¶
func (o *QueryJurisdictionOverridesParams) WithTimeout(timeout time.Duration) *QueryJurisdictionOverridesParams
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 ¶
func (o *QueryJurisdictionOverridesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *QueryJurisdictionOverridesUnauthorized) Error() string
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 ¶
func (o *UpdateJurisdictionOverrideBadRequest) Error() string
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 ¶
func (o *UpdateJurisdictionOverrideNotFound) Error() string
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 (o *UpdateJurisdictionOverrideOK) Error() string
func (*UpdateJurisdictionOverrideOK) GetPayload ¶
func (o *UpdateJurisdictionOverrideOK) GetPayload() *models.JurisdictionOverrideModel
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 ¶
func (o *UpdateJurisdictionOverrideParams) SetBody(body *models.JurisdictionOverrideModel)
SetBody adds the body to the update jurisdiction override params
func (*UpdateJurisdictionOverrideParams) SetContext ¶
func (o *UpdateJurisdictionOverrideParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateJurisdictionOverrideParams) SetID(id int32)
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 ¶
func (o *UpdateJurisdictionOverrideParams) WithAccountID(accountID int32) *UpdateJurisdictionOverrideParams
WithAccountID adds the accountID to the update jurisdiction override params
func (*UpdateJurisdictionOverrideParams) WithBody ¶
func (o *UpdateJurisdictionOverrideParams) WithBody(body *models.JurisdictionOverrideModel) *UpdateJurisdictionOverrideParams
WithBody adds the body to the update jurisdiction override params
func (*UpdateJurisdictionOverrideParams) WithContext ¶
func (o *UpdateJurisdictionOverrideParams) WithContext(ctx context.Context) *UpdateJurisdictionOverrideParams
WithContext adds the context to the update jurisdiction override params
func (*UpdateJurisdictionOverrideParams) WithDefaults ¶
func (o *UpdateJurisdictionOverrideParams) WithDefaults() *UpdateJurisdictionOverrideParams
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 ¶
func (o *UpdateJurisdictionOverrideParams) WithHTTPClient(client *http.Client) *UpdateJurisdictionOverrideParams
WithHTTPClient adds the HTTPClient to the update jurisdiction override params
func (*UpdateJurisdictionOverrideParams) WithID ¶
func (o *UpdateJurisdictionOverrideParams) WithID(id int32) *UpdateJurisdictionOverrideParams
WithID adds the id to the update jurisdiction override params
func (*UpdateJurisdictionOverrideParams) WithTimeout ¶
func (o *UpdateJurisdictionOverrideParams) WithTimeout(timeout time.Duration) *UpdateJurisdictionOverrideParams
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 ¶
func (o *UpdateJurisdictionOverrideParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateJurisdictionOverrideUnauthorized) Error() string
Source Files
¶
- create_jurisdiction_overrides_parameters.go
- create_jurisdiction_overrides_responses.go
- delete_jurisdiction_override_parameters.go
- delete_jurisdiction_override_responses.go
- get_jurisdiction_override_parameters.go
- get_jurisdiction_override_responses.go
- jurisdiction_overrides_client.go
- list_jurisdiction_overrides_by_account_parameters.go
- list_jurisdiction_overrides_by_account_responses.go
- query_jurisdiction_overrides_parameters.go
- query_jurisdiction_overrides_responses.go
- update_jurisdiction_override_parameters.go
- update_jurisdiction_override_responses.go