accounts

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 AccountResetLicenseKeyBadRequest

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

Bad Request

func NewAccountResetLicenseKeyBadRequest

func NewAccountResetLicenseKeyBadRequest() *AccountResetLicenseKeyBadRequest

NewAccountResetLicenseKeyBadRequest creates a AccountResetLicenseKeyBadRequest with default headers values

func (*AccountResetLicenseKeyBadRequest) Error

type AccountResetLicenseKeyNotFound

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

Not Found

func NewAccountResetLicenseKeyNotFound

func NewAccountResetLicenseKeyNotFound() *AccountResetLicenseKeyNotFound

NewAccountResetLicenseKeyNotFound creates a AccountResetLicenseKeyNotFound with default headers values

func (*AccountResetLicenseKeyNotFound) Error

type AccountResetLicenseKeyOK

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

Success

func NewAccountResetLicenseKeyOK

func NewAccountResetLicenseKeyOK() *AccountResetLicenseKeyOK

NewAccountResetLicenseKeyOK creates a AccountResetLicenseKeyOK with default headers values

func (*AccountResetLicenseKeyOK) Error

func (o *AccountResetLicenseKeyOK) Error() string

func (*AccountResetLicenseKeyOK) GetPayload

type AccountResetLicenseKeyParams

type AccountResetLicenseKeyParams struct {

	/* XAvalaraClient.

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

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

	/* Body.

	   A request confirming that you wish to reset the license key of this account.
	*/
	Body *models.ResetLicenseKeyModel

	/* ID.

	   The ID of the account you wish to update.

	   Format: int32
	*/
	ID int32

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

AccountResetLicenseKeyParams contains all the parameters to send to the API endpoint

for the account reset license key operation.

Typically these are written to a http.Request.

func NewAccountResetLicenseKeyParams

func NewAccountResetLicenseKeyParams() *AccountResetLicenseKeyParams

NewAccountResetLicenseKeyParams creates a new AccountResetLicenseKeyParams 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 NewAccountResetLicenseKeyParamsWithContext

func NewAccountResetLicenseKeyParamsWithContext(ctx context.Context) *AccountResetLicenseKeyParams

NewAccountResetLicenseKeyParamsWithContext creates a new AccountResetLicenseKeyParams object with the ability to set a context for a request.

func NewAccountResetLicenseKeyParamsWithHTTPClient

func NewAccountResetLicenseKeyParamsWithHTTPClient(client *http.Client) *AccountResetLicenseKeyParams

NewAccountResetLicenseKeyParamsWithHTTPClient creates a new AccountResetLicenseKeyParams object with the ability to set a custom HTTPClient for a request.

func NewAccountResetLicenseKeyParamsWithTimeout

func NewAccountResetLicenseKeyParamsWithTimeout(timeout time.Duration) *AccountResetLicenseKeyParams

NewAccountResetLicenseKeyParamsWithTimeout creates a new AccountResetLicenseKeyParams object with the ability to set a timeout on a request.

func (*AccountResetLicenseKeyParams) SetBody

SetBody adds the body to the account reset license key params

func (*AccountResetLicenseKeyParams) SetContext

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

SetContext adds the context to the account reset license key params

func (*AccountResetLicenseKeyParams) SetDefaults

func (o *AccountResetLicenseKeyParams) SetDefaults()

SetDefaults hydrates default values in the account reset license key params (not the query body).

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

func (*AccountResetLicenseKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the account reset license key params

func (*AccountResetLicenseKeyParams) SetID

func (o *AccountResetLicenseKeyParams) SetID(id int32)

SetID adds the id to the account reset license key params

func (*AccountResetLicenseKeyParams) SetTimeout

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

SetTimeout adds the timeout to the account reset license key params

func (*AccountResetLicenseKeyParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the account reset license key params

func (*AccountResetLicenseKeyParams) WithBody

WithBody adds the body to the account reset license key params

func (*AccountResetLicenseKeyParams) WithContext

WithContext adds the context to the account reset license key params

func (*AccountResetLicenseKeyParams) WithDefaults

WithDefaults hydrates default values in the account reset license key params (not the query body).

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

func (*AccountResetLicenseKeyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the account reset license key params

func (*AccountResetLicenseKeyParams) WithID

WithID adds the id to the account reset license key params

func (*AccountResetLicenseKeyParams) WithTimeout

WithTimeout adds the timeout to the account reset license key params

func (*AccountResetLicenseKeyParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the account reset license key params

func (*AccountResetLicenseKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountResetLicenseKeyReader

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

AccountResetLicenseKeyReader is a Reader for the AccountResetLicenseKey structure.

func (*AccountResetLicenseKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AccountResetLicenseKeyUnauthorized

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

Unauthorized

func NewAccountResetLicenseKeyUnauthorized

func NewAccountResetLicenseKeyUnauthorized() *AccountResetLicenseKeyUnauthorized

NewAccountResetLicenseKeyUnauthorized creates a AccountResetLicenseKeyUnauthorized with default headers values

func (*AccountResetLicenseKeyUnauthorized) Error

type ActivateAccountBadRequest

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

Bad Request

func NewActivateAccountBadRequest

func NewActivateAccountBadRequest() *ActivateAccountBadRequest

NewActivateAccountBadRequest creates a ActivateAccountBadRequest with default headers values

func (*ActivateAccountBadRequest) Error

func (o *ActivateAccountBadRequest) Error() string

type ActivateAccountNotFound

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

Not Found

func NewActivateAccountNotFound

func NewActivateAccountNotFound() *ActivateAccountNotFound

NewActivateAccountNotFound creates a ActivateAccountNotFound with default headers values

func (*ActivateAccountNotFound) Error

func (o *ActivateAccountNotFound) Error() string

type ActivateAccountOK

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

Success

func NewActivateAccountOK

func NewActivateAccountOK() *ActivateAccountOK

NewActivateAccountOK creates a ActivateAccountOK with default headers values

func (*ActivateAccountOK) Error

func (o *ActivateAccountOK) Error() string

func (*ActivateAccountOK) GetPayload

func (o *ActivateAccountOK) GetPayload() *models.AccountModel

type ActivateAccountParams

type ActivateAccountParams struct {

	/* XAvalaraClient.

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

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

	/* Body.

	   The activation request
	*/
	Body *models.ActivateAccountModel

	/* ID.

	   The ID of the account to activate

	   Format: int32
	*/
	ID int32

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

ActivateAccountParams contains all the parameters to send to the API endpoint

for the activate account operation.

Typically these are written to a http.Request.

func NewActivateAccountParams

func NewActivateAccountParams() *ActivateAccountParams

NewActivateAccountParams creates a new ActivateAccountParams 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 NewActivateAccountParamsWithContext

func NewActivateAccountParamsWithContext(ctx context.Context) *ActivateAccountParams

NewActivateAccountParamsWithContext creates a new ActivateAccountParams object with the ability to set a context for a request.

func NewActivateAccountParamsWithHTTPClient

func NewActivateAccountParamsWithHTTPClient(client *http.Client) *ActivateAccountParams

NewActivateAccountParamsWithHTTPClient creates a new ActivateAccountParams object with the ability to set a custom HTTPClient for a request.

func NewActivateAccountParamsWithTimeout

func NewActivateAccountParamsWithTimeout(timeout time.Duration) *ActivateAccountParams

NewActivateAccountParamsWithTimeout creates a new ActivateAccountParams object with the ability to set a timeout on a request.

func (*ActivateAccountParams) SetBody

SetBody adds the body to the activate account params

func (*ActivateAccountParams) SetContext

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

SetContext adds the context to the activate account params

func (*ActivateAccountParams) SetDefaults

func (o *ActivateAccountParams) SetDefaults()

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

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

func (*ActivateAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the activate account params

func (*ActivateAccountParams) SetID

func (o *ActivateAccountParams) SetID(id int32)

SetID adds the id to the activate account params

func (*ActivateAccountParams) SetTimeout

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

SetTimeout adds the timeout to the activate account params

func (*ActivateAccountParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the activate account params

func (*ActivateAccountParams) WithBody

WithBody adds the body to the activate account params

func (*ActivateAccountParams) WithContext

WithContext adds the context to the activate account params

func (*ActivateAccountParams) WithDefaults

func (o *ActivateAccountParams) WithDefaults() *ActivateAccountParams

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

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

func (*ActivateAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the activate account params

func (*ActivateAccountParams) WithID

WithID adds the id to the activate account params

func (*ActivateAccountParams) WithTimeout

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

WithTimeout adds the timeout to the activate account params

func (*ActivateAccountParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the activate account params

func (*ActivateAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ActivateAccountReader

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

ActivateAccountReader is a Reader for the ActivateAccount structure.

func (*ActivateAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ActivateAccountUnauthorized

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

Unauthorized

func NewActivateAccountUnauthorized

func NewActivateAccountUnauthorized() *ActivateAccountUnauthorized

NewActivateAccountUnauthorized creates a ActivateAccountUnauthorized with default headers values

func (*ActivateAccountUnauthorized) Error

type AuditAccountBadRequest

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

Bad Request

func NewAuditAccountBadRequest

func NewAuditAccountBadRequest() *AuditAccountBadRequest

NewAuditAccountBadRequest creates a AuditAccountBadRequest with default headers values

func (*AuditAccountBadRequest) Error

func (o *AuditAccountBadRequest) Error() string

type AuditAccountNotFound

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

Not Found

func NewAuditAccountNotFound

func NewAuditAccountNotFound() *AuditAccountNotFound

NewAuditAccountNotFound creates a AuditAccountNotFound with default headers values

func (*AuditAccountNotFound) Error

func (o *AuditAccountNotFound) Error() string

type AuditAccountOK

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

Success

func NewAuditAccountOK

func NewAuditAccountOK() *AuditAccountOK

NewAuditAccountOK creates a AuditAccountOK with default headers values

func (*AuditAccountOK) Error

func (o *AuditAccountOK) Error() string

func (*AuditAccountOK) GetPayload

func (o *AuditAccountOK) GetPayload() *models.AuditModelFetchResult

type AuditAccountParams

type AuditAccountParams struct {

	/* 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
	   Default: 10
	*/
	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

	/* End.

	   The end datetime of audit history you with to retrieve, e.g. "2018-06-08T17:15:00Z. Defaults to the current time. Maximum of an hour after the start time.

	   Format: date-time
	*/
	End *strfmt.DateTime

	/* ID.

	   The ID of the account you wish to audit.

	   Format: int32
	*/
	ID int32

	/* Start.

	   The start datetime of audit history you with to retrieve, e.g. "2018-06-08T17:00:00Z". Defaults to the past 15 minutes.

	   Format: date-time
	*/
	Start *strfmt.DateTime

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

AuditAccountParams contains all the parameters to send to the API endpoint

for the audit account operation.

Typically these are written to a http.Request.

func NewAuditAccountParams

func NewAuditAccountParams() *AuditAccountParams

NewAuditAccountParams creates a new AuditAccountParams 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 NewAuditAccountParamsWithContext

func NewAuditAccountParamsWithContext(ctx context.Context) *AuditAccountParams

NewAuditAccountParamsWithContext creates a new AuditAccountParams object with the ability to set a context for a request.

func NewAuditAccountParamsWithHTTPClient

func NewAuditAccountParamsWithHTTPClient(client *http.Client) *AuditAccountParams

NewAuditAccountParamsWithHTTPClient creates a new AuditAccountParams object with the ability to set a custom HTTPClient for a request.

func NewAuditAccountParamsWithTimeout

func NewAuditAccountParamsWithTimeout(timeout time.Duration) *AuditAccountParams

NewAuditAccountParamsWithTimeout creates a new AuditAccountParams object with the ability to set a timeout on a request.

func (*AuditAccountParams) SetContext

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

SetContext adds the context to the audit account params

func (*AuditAccountParams) SetDefaults

func (o *AuditAccountParams) SetDefaults()

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

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

func (*AuditAccountParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the audit account params

func (*AuditAccountParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the audit account params

func (*AuditAccountParams) SetEnd

func (o *AuditAccountParams) SetEnd(end *strfmt.DateTime)

SetEnd adds the end to the audit account params

func (*AuditAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the audit account params

func (*AuditAccountParams) SetID

func (o *AuditAccountParams) SetID(id int32)

SetID adds the id to the audit account params

func (*AuditAccountParams) SetStart

func (o *AuditAccountParams) SetStart(start *strfmt.DateTime)

SetStart adds the start to the audit account params

func (*AuditAccountParams) SetTimeout

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

SetTimeout adds the timeout to the audit account params

func (*AuditAccountParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the audit account params

func (*AuditAccountParams) WithContext

WithContext adds the context to the audit account params

func (*AuditAccountParams) WithDefaults

func (o *AuditAccountParams) WithDefaults() *AuditAccountParams

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

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

func (*AuditAccountParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the audit account params

func (*AuditAccountParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the audit account params

func (*AuditAccountParams) WithEnd

WithEnd adds the end to the audit account params

func (*AuditAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the audit account params

func (*AuditAccountParams) WithID

WithID adds the id to the audit account params

func (*AuditAccountParams) WithStart

func (o *AuditAccountParams) WithStart(start *strfmt.DateTime) *AuditAccountParams

WithStart adds the start to the audit account params

func (*AuditAccountParams) WithTimeout

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

WithTimeout adds the timeout to the audit account params

func (*AuditAccountParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the audit account params

func (*AuditAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AuditAccountReader

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

AuditAccountReader is a Reader for the AuditAccount structure.

func (*AuditAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AuditAccountUnauthorized

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

Unauthorized

func NewAuditAccountUnauthorized

func NewAuditAccountUnauthorized() *AuditAccountUnauthorized

NewAuditAccountUnauthorized creates a AuditAccountUnauthorized with default headers values

func (*AuditAccountUnauthorized) Error

func (o *AuditAccountUnauthorized) Error() string

type Client

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

Client for accounts API

func (*Client) AccountResetLicenseKey

func (a *Client) AccountResetLicenseKey(params *AccountResetLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountResetLicenseKeyOK, error)
AccountResetLicenseKey resets this account s license key

Resets the existing license key for this account to a new key.

To reset your account, you must specify the ID of the account you wish to reset and confirm the action.

This API is only available to account administrators for the account in question, and may only be called after an account has been activated by reading and accepting Avalara's terms and conditions. To activate your account please log onto the AvaTax website or call the `ActivateAccount` API.

You can only reset license with 'Default' license key name. Resetting a license key cannot be undone. Any previous license keys will immediately cease to work when a new key is created.

When you call this API, all account administrators for this account will receive an email with the newly updated license key. The email will specify which user reset the license key and it will contain the new key to use to update your connectors. Note: The reset license key functionality will only be available for existing active license key i.e. when you reset license key for the account, the Default license key will be reset.The reset license key functionality is not available for newly created license keys i.e. license keys other than Default

### Security Policies

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

func (*Client) ActivateAccount

func (a *Client) ActivateAccount(params *ActivateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateAccountOK, error)
ActivateAccount activates an account by accepting terms and conditions

Activate the account specified by the unique accountId number.

This activation request can only be called by account administrators. You must indicate that you have read and accepted Avalara's terms and conditions to call this API.

Once you have activated your account, use the `AccountResetLicenseKey` API to generate a license key for your account.

If you have not read or accepted the terms and conditions, this API call will return the unchanged account model.

### Security Policies

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

func (*Client) AuditAccount

func (a *Client) AuditAccount(params *AuditAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuditAccountOK, error)
AuditAccount retrieves audit history for an account

Retrieve audit trace history for an account.

Your audit trace history contains a record of all API calls made against the AvaTax REST API that returned an error. You can use this API to investigate problems and see exactly what information was sent back and forth between your code and AvaTax.

When specifying a start and end datetime, please include a valid timezone indicator, such as the "Z" present in the examples for the start and end query parameters. You can learn more about valid time zone designators at https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators.

This API enforces limits to the amount of data retrieved. These limits are subject to change.

* You may request data from a maximum of a one-hour time period. * The amount of data and number of API calls returned by this API are limited and may be adjusted at any time. * Old records may be migrated out of immediately available storage. To request older data, please contact your account manager. * New records must migrate to available storage before they can be retrieved. You may need to wait a period of time before newly created records can be fetched.

### Security Policies

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

func (*Client) CreateLicenseKey

func (a *Client) CreateLicenseKey(params *CreateLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateLicenseKeyOK, error)
CreateLicenseKey creates license key for this account

Creates a new license key for this account.

To create a license key for your account, you must specify the ID of the account and license key name.

This API is only available to account administrators for the account in question, and may only be called after an account has been activated by reading and accepting Avalara's terms and conditions. To activate your account please log onto the AvaTax website or call the `ActivateAccount` API.

You will reference this key using license key name. The existing license key will be using 'Default' as license key name. Hence make sure that the license key name is unique per account considering the existing license key name 'Default'

### Security Policies

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

func (*Client) DeleteLicenseKey

func (a *Client) DeleteLicenseKey(params *DeleteLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteLicenseKeyOK, error)
DeleteLicenseKey deletes license key for this account by license key name

Deletes the license key for this account using license key name.

To delete a license key for your account, you must specify the accountID of the account and license key name.

This API is only available to account administrators for the account in question.

### Security Policies

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

func (*Client) GetAccount

func (a *Client) GetAccount(params *GetAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountOK, error)
GetAccount retrieves a single account

Get the account object identified by this URL.

You may use the '$include' parameter to fetch additional nested data:

* Subscriptions * Users

### Security Policies

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

func (*Client) GetAccountConfiguration

func (a *Client) GetAccountConfiguration(params *GetAccountConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountConfigurationOK, error)
GetAccountConfiguration gets configuration settings for this account

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

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

Account settings are permanent settings that cannot be deleted. You can set the value of an account setting to null if desired.

Avalara-based account settings for `TaxServiceConfig` and `AddressServiceConfig` affect your account's tax calculation and address resolution, and should only be changed with care.

### Security Policies

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

func (*Client) GetLicenseKey

func (a *Client) GetLicenseKey(params *GetLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLicenseKeyOK, error)
GetLicenseKey retrieves license key by license key name

### Security Policies

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

func (*Client) GetLicenseKeys

func (a *Client) GetLicenseKeys(params *GetLicenseKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLicenseKeysOK, error)
GetLicenseKeys retrieves all license keys for this account

Gets list of all the license keys used by the account.

### Security Policies

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

func (*Client) QueryAccounts

func (a *Client) QueryAccounts(params *QueryAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryAccountsOK, error)
QueryAccounts retrieves all accounts

List all account objects that can be seen by the current user.

This API lists all accounts you are allowed to see. In general, most users will only be able to see their own account.

Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . Paginate your results using the `$top`, `$skip`, and `$orderby` parameters. You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:

* Subscriptions * Users

For more information about filtering in REST, please see the documentation at http://developer.avalara.com/avatax/filtering-in-rest/ .

### Security Policies

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

func (*Client) SetAccountConfiguration

func (a *Client) SetAccountConfiguration(params *SetAccountConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAccountConfigurationOK, error)
SetAccountConfiguration changes configuration settings for this account

Update configuration settings tied to this account.

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

Account settings are permanent settings that cannot be deleted. You can set the value of an account setting to null if desired.

Avalara-based account settings for `TaxServiceConfig` and `AddressServiceConfig` affect your account's tax calculation and address resolution, and should only be changed with care.

### Security Policies

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AccountResetLicenseKey(params *AccountResetLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountResetLicenseKeyOK, error)

	ActivateAccount(params *ActivateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateAccountOK, error)

	AuditAccount(params *AuditAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuditAccountOK, error)

	CreateLicenseKey(params *CreateLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateLicenseKeyOK, error)

	DeleteLicenseKey(params *DeleteLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteLicenseKeyOK, error)

	GetAccount(params *GetAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountOK, error)

	GetAccountConfiguration(params *GetAccountConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAccountConfigurationOK, error)

	GetLicenseKey(params *GetLicenseKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLicenseKeyOK, error)

	GetLicenseKeys(params *GetLicenseKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLicenseKeysOK, error)

	QueryAccounts(params *QueryAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryAccountsOK, error)

	SetAccountConfiguration(params *SetAccountConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetAccountConfigurationOK, 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 accounts API client.

type CreateLicenseKeyBadRequest

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

Bad Request

func NewCreateLicenseKeyBadRequest

func NewCreateLicenseKeyBadRequest() *CreateLicenseKeyBadRequest

NewCreateLicenseKeyBadRequest creates a CreateLicenseKeyBadRequest with default headers values

func (*CreateLicenseKeyBadRequest) Error

type CreateLicenseKeyNotFound

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

Not Found

func NewCreateLicenseKeyNotFound

func NewCreateLicenseKeyNotFound() *CreateLicenseKeyNotFound

NewCreateLicenseKeyNotFound creates a CreateLicenseKeyNotFound with default headers values

func (*CreateLicenseKeyNotFound) Error

func (o *CreateLicenseKeyNotFound) Error() string

type CreateLicenseKeyOK

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

Success

func NewCreateLicenseKeyOK

func NewCreateLicenseKeyOK() *CreateLicenseKeyOK

NewCreateLicenseKeyOK creates a CreateLicenseKeyOK with default headers values

func (*CreateLicenseKeyOK) Error

func (o *CreateLicenseKeyOK) Error() string

func (*CreateLicenseKeyOK) GetPayload

func (o *CreateLicenseKeyOK) GetPayload() *models.LicenseKeyModel

type CreateLicenseKeyParams

type CreateLicenseKeyParams struct {

	/* XAvalaraClient.

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

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

	// Body.
	Body *models.AccountLicenseKeyModel

	/* ID.

	   The ID of the account you wish to update.

	   Format: int32
	*/
	ID int32

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

CreateLicenseKeyParams contains all the parameters to send to the API endpoint

for the create license key operation.

Typically these are written to a http.Request.

func NewCreateLicenseKeyParams

func NewCreateLicenseKeyParams() *CreateLicenseKeyParams

NewCreateLicenseKeyParams creates a new CreateLicenseKeyParams 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 NewCreateLicenseKeyParamsWithContext

func NewCreateLicenseKeyParamsWithContext(ctx context.Context) *CreateLicenseKeyParams

NewCreateLicenseKeyParamsWithContext creates a new CreateLicenseKeyParams object with the ability to set a context for a request.

func NewCreateLicenseKeyParamsWithHTTPClient

func NewCreateLicenseKeyParamsWithHTTPClient(client *http.Client) *CreateLicenseKeyParams

NewCreateLicenseKeyParamsWithHTTPClient creates a new CreateLicenseKeyParams object with the ability to set a custom HTTPClient for a request.

func NewCreateLicenseKeyParamsWithTimeout

func NewCreateLicenseKeyParamsWithTimeout(timeout time.Duration) *CreateLicenseKeyParams

NewCreateLicenseKeyParamsWithTimeout creates a new CreateLicenseKeyParams object with the ability to set a timeout on a request.

func (*CreateLicenseKeyParams) SetBody

SetBody adds the body to the create license key params

func (*CreateLicenseKeyParams) SetContext

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

SetContext adds the context to the create license key params

func (*CreateLicenseKeyParams) SetDefaults

func (o *CreateLicenseKeyParams) SetDefaults()

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

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

func (*CreateLicenseKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create license key params

func (*CreateLicenseKeyParams) SetID

func (o *CreateLicenseKeyParams) SetID(id int32)

SetID adds the id to the create license key params

func (*CreateLicenseKeyParams) SetTimeout

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

SetTimeout adds the timeout to the create license key params

func (*CreateLicenseKeyParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create license key params

func (*CreateLicenseKeyParams) WithBody

WithBody adds the body to the create license key params

func (*CreateLicenseKeyParams) WithContext

WithContext adds the context to the create license key params

func (*CreateLicenseKeyParams) WithDefaults

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

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

func (*CreateLicenseKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create license key params

func (*CreateLicenseKeyParams) WithID

WithID adds the id to the create license key params

func (*CreateLicenseKeyParams) WithTimeout

WithTimeout adds the timeout to the create license key params

func (*CreateLicenseKeyParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the create license key params

func (*CreateLicenseKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateLicenseKeyReader

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

CreateLicenseKeyReader is a Reader for the CreateLicenseKey structure.

func (*CreateLicenseKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateLicenseKeyUnauthorized

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

Unauthorized

func NewCreateLicenseKeyUnauthorized

func NewCreateLicenseKeyUnauthorized() *CreateLicenseKeyUnauthorized

NewCreateLicenseKeyUnauthorized creates a CreateLicenseKeyUnauthorized with default headers values

func (*CreateLicenseKeyUnauthorized) Error

type DeleteLicenseKeyBadRequest

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

Bad Request

func NewDeleteLicenseKeyBadRequest

func NewDeleteLicenseKeyBadRequest() *DeleteLicenseKeyBadRequest

NewDeleteLicenseKeyBadRequest creates a DeleteLicenseKeyBadRequest with default headers values

func (*DeleteLicenseKeyBadRequest) Error

type DeleteLicenseKeyNotFound

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

Not Found

func NewDeleteLicenseKeyNotFound

func NewDeleteLicenseKeyNotFound() *DeleteLicenseKeyNotFound

NewDeleteLicenseKeyNotFound creates a DeleteLicenseKeyNotFound with default headers values

func (*DeleteLicenseKeyNotFound) Error

func (o *DeleteLicenseKeyNotFound) Error() string

type DeleteLicenseKeyOK

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

Success

func NewDeleteLicenseKeyOK

func NewDeleteLicenseKeyOK() *DeleteLicenseKeyOK

NewDeleteLicenseKeyOK creates a DeleteLicenseKeyOK with default headers values

func (*DeleteLicenseKeyOK) Error

func (o *DeleteLicenseKeyOK) Error() string

func (*DeleteLicenseKeyOK) GetPayload

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

type DeleteLicenseKeyParams

type DeleteLicenseKeyParams struct {

	/* XAvalaraClient.

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

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

	/* ID.

	   The ID of the account you wish to update.

	   Format: int32
	*/
	ID int32

	/* Licensekeyname.

	   The license key name you wish to update.
	*/
	Licensekeyname string

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

DeleteLicenseKeyParams contains all the parameters to send to the API endpoint

for the delete license key operation.

Typically these are written to a http.Request.

func NewDeleteLicenseKeyParams

func NewDeleteLicenseKeyParams() *DeleteLicenseKeyParams

NewDeleteLicenseKeyParams creates a new DeleteLicenseKeyParams 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 NewDeleteLicenseKeyParamsWithContext

func NewDeleteLicenseKeyParamsWithContext(ctx context.Context) *DeleteLicenseKeyParams

NewDeleteLicenseKeyParamsWithContext creates a new DeleteLicenseKeyParams object with the ability to set a context for a request.

func NewDeleteLicenseKeyParamsWithHTTPClient

func NewDeleteLicenseKeyParamsWithHTTPClient(client *http.Client) *DeleteLicenseKeyParams

NewDeleteLicenseKeyParamsWithHTTPClient creates a new DeleteLicenseKeyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLicenseKeyParamsWithTimeout

func NewDeleteLicenseKeyParamsWithTimeout(timeout time.Duration) *DeleteLicenseKeyParams

NewDeleteLicenseKeyParamsWithTimeout creates a new DeleteLicenseKeyParams object with the ability to set a timeout on a request.

func (*DeleteLicenseKeyParams) SetContext

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

SetContext adds the context to the delete license key params

func (*DeleteLicenseKeyParams) SetDefaults

func (o *DeleteLicenseKeyParams) SetDefaults()

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

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

func (*DeleteLicenseKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete license key params

func (*DeleteLicenseKeyParams) SetID

func (o *DeleteLicenseKeyParams) SetID(id int32)

SetID adds the id to the delete license key params

func (*DeleteLicenseKeyParams) SetLicensekeyname

func (o *DeleteLicenseKeyParams) SetLicensekeyname(licensekeyname string)

SetLicensekeyname adds the licensekeyname to the delete license key params

func (*DeleteLicenseKeyParams) SetTimeout

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

SetTimeout adds the timeout to the delete license key params

func (*DeleteLicenseKeyParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete license key params

func (*DeleteLicenseKeyParams) WithContext

WithContext adds the context to the delete license key params

func (*DeleteLicenseKeyParams) WithDefaults

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

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

func (*DeleteLicenseKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete license key params

func (*DeleteLicenseKeyParams) WithID

WithID adds the id to the delete license key params

func (*DeleteLicenseKeyParams) WithLicensekeyname

func (o *DeleteLicenseKeyParams) WithLicensekeyname(licensekeyname string) *DeleteLicenseKeyParams

WithLicensekeyname adds the licensekeyname to the delete license key params

func (*DeleteLicenseKeyParams) WithTimeout

WithTimeout adds the timeout to the delete license key params

func (*DeleteLicenseKeyParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the delete license key params

func (*DeleteLicenseKeyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLicenseKeyReader

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

DeleteLicenseKeyReader is a Reader for the DeleteLicenseKey structure.

func (*DeleteLicenseKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLicenseKeyUnauthorized

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

Unauthorized

func NewDeleteLicenseKeyUnauthorized

func NewDeleteLicenseKeyUnauthorized() *DeleteLicenseKeyUnauthorized

NewDeleteLicenseKeyUnauthorized creates a DeleteLicenseKeyUnauthorized with default headers values

func (*DeleteLicenseKeyUnauthorized) Error

type GetAccountBadRequest

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

Bad Request

func NewGetAccountBadRequest

func NewGetAccountBadRequest() *GetAccountBadRequest

NewGetAccountBadRequest creates a GetAccountBadRequest with default headers values

func (*GetAccountBadRequest) Error

func (o *GetAccountBadRequest) Error() string

type GetAccountConfigurationBadRequest

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

Bad Request

func NewGetAccountConfigurationBadRequest

func NewGetAccountConfigurationBadRequest() *GetAccountConfigurationBadRequest

NewGetAccountConfigurationBadRequest creates a GetAccountConfigurationBadRequest with default headers values

func (*GetAccountConfigurationBadRequest) Error

type GetAccountConfigurationNotFound

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

Not Found

func NewGetAccountConfigurationNotFound

func NewGetAccountConfigurationNotFound() *GetAccountConfigurationNotFound

NewGetAccountConfigurationNotFound creates a GetAccountConfigurationNotFound with default headers values

func (*GetAccountConfigurationNotFound) Error

type GetAccountConfigurationOK

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

Success

func NewGetAccountConfigurationOK

func NewGetAccountConfigurationOK() *GetAccountConfigurationOK

NewGetAccountConfigurationOK creates a GetAccountConfigurationOK with default headers values

func (*GetAccountConfigurationOK) Error

func (o *GetAccountConfigurationOK) Error() string

func (*GetAccountConfigurationOK) GetPayload

type GetAccountConfigurationParams

type GetAccountConfigurationParams struct {

	/* XAvalaraClient.

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

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

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

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

GetAccountConfigurationParams contains all the parameters to send to the API endpoint

for the get account configuration operation.

Typically these are written to a http.Request.

func NewGetAccountConfigurationParams

func NewGetAccountConfigurationParams() *GetAccountConfigurationParams

NewGetAccountConfigurationParams creates a new GetAccountConfigurationParams 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 NewGetAccountConfigurationParamsWithContext

func NewGetAccountConfigurationParamsWithContext(ctx context.Context) *GetAccountConfigurationParams

NewGetAccountConfigurationParamsWithContext creates a new GetAccountConfigurationParams object with the ability to set a context for a request.

func NewGetAccountConfigurationParamsWithHTTPClient

func NewGetAccountConfigurationParamsWithHTTPClient(client *http.Client) *GetAccountConfigurationParams

NewGetAccountConfigurationParamsWithHTTPClient creates a new GetAccountConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountConfigurationParamsWithTimeout

func NewGetAccountConfigurationParamsWithTimeout(timeout time.Duration) *GetAccountConfigurationParams

NewGetAccountConfigurationParamsWithTimeout creates a new GetAccountConfigurationParams object with the ability to set a timeout on a request.

func (*GetAccountConfigurationParams) SetContext

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

SetContext adds the context to the get account configuration params

func (*GetAccountConfigurationParams) SetDefaults

func (o *GetAccountConfigurationParams) SetDefaults()

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

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

func (*GetAccountConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account configuration params

func (*GetAccountConfigurationParams) SetID

func (o *GetAccountConfigurationParams) SetID(id int32)

SetID adds the id to the get account configuration params

func (*GetAccountConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the get account configuration params

func (*GetAccountConfigurationParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get account configuration params

func (*GetAccountConfigurationParams) WithContext

WithContext adds the context to the get account configuration params

func (*GetAccountConfigurationParams) WithDefaults

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

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

func (*GetAccountConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get account configuration params

func (*GetAccountConfigurationParams) WithID

WithID adds the id to the get account configuration params

func (*GetAccountConfigurationParams) WithTimeout

WithTimeout adds the timeout to the get account configuration params

func (*GetAccountConfigurationParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get account configuration params

func (*GetAccountConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountConfigurationReader

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

GetAccountConfigurationReader is a Reader for the GetAccountConfiguration structure.

func (*GetAccountConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountConfigurationUnauthorized

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

Unauthorized

func NewGetAccountConfigurationUnauthorized

func NewGetAccountConfigurationUnauthorized() *GetAccountConfigurationUnauthorized

NewGetAccountConfigurationUnauthorized creates a GetAccountConfigurationUnauthorized with default headers values

func (*GetAccountConfigurationUnauthorized) Error

type GetAccountNotFound

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

Not Found

func NewGetAccountNotFound

func NewGetAccountNotFound() *GetAccountNotFound

NewGetAccountNotFound creates a GetAccountNotFound with default headers values

func (*GetAccountNotFound) Error

func (o *GetAccountNotFound) Error() string

type GetAccountOK

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

Success

func NewGetAccountOK

func NewGetAccountOK() *GetAccountOK

NewGetAccountOK creates a GetAccountOK with default headers values

func (*GetAccountOK) Error

func (o *GetAccountOK) Error() string

func (*GetAccountOK) GetPayload

func (o *GetAccountOK) GetPayload() *models.AccountModel

type GetAccountParams

type GetAccountParams struct {

	/* DollarInclude.

	   A comma separated list of special fetch options
	*/
	DollarInclude *string

	/* XAvalaraClient.

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

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

	/* ID.

	   The ID of the account to retrieve

	   Format: int32
	*/
	ID int32

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

GetAccountParams contains all the parameters to send to the API endpoint

for the get account operation.

Typically these are written to a http.Request.

func NewGetAccountParams

func NewGetAccountParams() *GetAccountParams

NewGetAccountParams creates a new GetAccountParams 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 NewGetAccountParamsWithContext

func NewGetAccountParamsWithContext(ctx context.Context) *GetAccountParams

NewGetAccountParamsWithContext creates a new GetAccountParams object with the ability to set a context for a request.

func NewGetAccountParamsWithHTTPClient

func NewGetAccountParamsWithHTTPClient(client *http.Client) *GetAccountParams

NewGetAccountParamsWithHTTPClient creates a new GetAccountParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountParamsWithTimeout

func NewGetAccountParamsWithTimeout(timeout time.Duration) *GetAccountParams

NewGetAccountParamsWithTimeout creates a new GetAccountParams object with the ability to set a timeout on a request.

func (*GetAccountParams) SetContext

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

SetContext adds the context to the get account params

func (*GetAccountParams) SetDefaults

func (o *GetAccountParams) SetDefaults()

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

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

func (*GetAccountParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the get account params

func (*GetAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get account params

func (*GetAccountParams) SetID

func (o *GetAccountParams) SetID(id int32)

SetID adds the id to the get account params

func (*GetAccountParams) SetTimeout

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

SetTimeout adds the timeout to the get account params

func (*GetAccountParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get account params

func (*GetAccountParams) WithContext

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

WithContext adds the context to the get account params

func (*GetAccountParams) WithDefaults

func (o *GetAccountParams) WithDefaults() *GetAccountParams

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

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

func (*GetAccountParams) WithDollarInclude

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

WithDollarInclude adds the dollarInclude to the get account params

func (*GetAccountParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get account params

func (*GetAccountParams) WithID

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

WithID adds the id to the get account params

func (*GetAccountParams) WithTimeout

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

WithTimeout adds the timeout to the get account params

func (*GetAccountParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get account params

func (*GetAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAccountReader

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

GetAccountReader is a Reader for the GetAccount structure.

func (*GetAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountUnauthorized

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

Unauthorized

func NewGetAccountUnauthorized

func NewGetAccountUnauthorized() *GetAccountUnauthorized

NewGetAccountUnauthorized creates a GetAccountUnauthorized with default headers values

func (*GetAccountUnauthorized) Error

func (o *GetAccountUnauthorized) Error() string

type GetLicenseKeyBadRequest

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

Bad Request

func NewGetLicenseKeyBadRequest

func NewGetLicenseKeyBadRequest() *GetLicenseKeyBadRequest

NewGetLicenseKeyBadRequest creates a GetLicenseKeyBadRequest with default headers values

func (*GetLicenseKeyBadRequest) Error

func (o *GetLicenseKeyBadRequest) Error() string

type GetLicenseKeyNotFound

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

Not Found

func NewGetLicenseKeyNotFound

func NewGetLicenseKeyNotFound() *GetLicenseKeyNotFound

NewGetLicenseKeyNotFound creates a GetLicenseKeyNotFound with default headers values

func (*GetLicenseKeyNotFound) Error

func (o *GetLicenseKeyNotFound) Error() string

type GetLicenseKeyOK

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

Success

func NewGetLicenseKeyOK

func NewGetLicenseKeyOK() *GetLicenseKeyOK

NewGetLicenseKeyOK creates a GetLicenseKeyOK with default headers values

func (*GetLicenseKeyOK) Error

func (o *GetLicenseKeyOK) Error() string

func (*GetLicenseKeyOK) GetPayload

type GetLicenseKeyParams

type GetLicenseKeyParams struct {

	/* XAvalaraClient.

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

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

	/* ID.

	   The ID of the account to retrieve

	   Format: int32
	*/
	ID int32

	/* Licensekeyname.

	   The ID of the account to retrieve
	*/
	Licensekeyname string

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

GetLicenseKeyParams contains all the parameters to send to the API endpoint

for the get license key operation.

Typically these are written to a http.Request.

func NewGetLicenseKeyParams

func NewGetLicenseKeyParams() *GetLicenseKeyParams

NewGetLicenseKeyParams creates a new GetLicenseKeyParams 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 NewGetLicenseKeyParamsWithContext

func NewGetLicenseKeyParamsWithContext(ctx context.Context) *GetLicenseKeyParams

NewGetLicenseKeyParamsWithContext creates a new GetLicenseKeyParams object with the ability to set a context for a request.

func NewGetLicenseKeyParamsWithHTTPClient

func NewGetLicenseKeyParamsWithHTTPClient(client *http.Client) *GetLicenseKeyParams

NewGetLicenseKeyParamsWithHTTPClient creates a new GetLicenseKeyParams object with the ability to set a custom HTTPClient for a request.

func NewGetLicenseKeyParamsWithTimeout

func NewGetLicenseKeyParamsWithTimeout(timeout time.Duration) *GetLicenseKeyParams

NewGetLicenseKeyParamsWithTimeout creates a new GetLicenseKeyParams object with the ability to set a timeout on a request.

func (*GetLicenseKeyParams) SetContext

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

SetContext adds the context to the get license key params

func (*GetLicenseKeyParams) SetDefaults

func (o *GetLicenseKeyParams) SetDefaults()

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

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

func (*GetLicenseKeyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get license key params

func (*GetLicenseKeyParams) SetID

func (o *GetLicenseKeyParams) SetID(id int32)

SetID adds the id to the get license key params

func (*GetLicenseKeyParams) SetLicensekeyname

func (o *GetLicenseKeyParams) SetLicensekeyname(licensekeyname string)

SetLicensekeyname adds the licensekeyname to the get license key params

func (*GetLicenseKeyParams) SetTimeout

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

SetTimeout adds the timeout to the get license key params

func (*GetLicenseKeyParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get license key params

func (*GetLicenseKeyParams) WithContext

WithContext adds the context to the get license key params

func (*GetLicenseKeyParams) WithDefaults

func (o *GetLicenseKeyParams) WithDefaults() *GetLicenseKeyParams

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

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

func (*GetLicenseKeyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get license key params

func (*GetLicenseKeyParams) WithID

WithID adds the id to the get license key params

func (*GetLicenseKeyParams) WithLicensekeyname

func (o *GetLicenseKeyParams) WithLicensekeyname(licensekeyname string) *GetLicenseKeyParams

WithLicensekeyname adds the licensekeyname to the get license key params

func (*GetLicenseKeyParams) WithTimeout

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

WithTimeout adds the timeout to the get license key params

func (*GetLicenseKeyParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get license key params

func (*GetLicenseKeyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLicenseKeyReader

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

GetLicenseKeyReader is a Reader for the GetLicenseKey structure.

func (*GetLicenseKeyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLicenseKeyUnauthorized

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

Unauthorized

func NewGetLicenseKeyUnauthorized

func NewGetLicenseKeyUnauthorized() *GetLicenseKeyUnauthorized

NewGetLicenseKeyUnauthorized creates a GetLicenseKeyUnauthorized with default headers values

func (*GetLicenseKeyUnauthorized) Error

func (o *GetLicenseKeyUnauthorized) Error() string

type GetLicenseKeysBadRequest

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

Bad Request

func NewGetLicenseKeysBadRequest

func NewGetLicenseKeysBadRequest() *GetLicenseKeysBadRequest

NewGetLicenseKeysBadRequest creates a GetLicenseKeysBadRequest with default headers values

func (*GetLicenseKeysBadRequest) Error

func (o *GetLicenseKeysBadRequest) Error() string

type GetLicenseKeysNotFound

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

Not Found

func NewGetLicenseKeysNotFound

func NewGetLicenseKeysNotFound() *GetLicenseKeysNotFound

NewGetLicenseKeysNotFound creates a GetLicenseKeysNotFound with default headers values

func (*GetLicenseKeysNotFound) Error

func (o *GetLicenseKeysNotFound) Error() string

type GetLicenseKeysOK

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

Success

func NewGetLicenseKeysOK

func NewGetLicenseKeysOK() *GetLicenseKeysOK

NewGetLicenseKeysOK creates a GetLicenseKeysOK with default headers values

func (*GetLicenseKeysOK) Error

func (o *GetLicenseKeysOK) Error() string

func (*GetLicenseKeysOK) GetPayload

func (o *GetLicenseKeysOK) GetPayload() []*models.AccountLicenseKeyModel

type GetLicenseKeysParams

type GetLicenseKeysParams struct {

	/* XAvalaraClient.

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

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

	/* ID.

	   The ID of the account to retrieve

	   Format: int32
	*/
	ID int32

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

GetLicenseKeysParams contains all the parameters to send to the API endpoint

for the get license keys operation.

Typically these are written to a http.Request.

func NewGetLicenseKeysParams

func NewGetLicenseKeysParams() *GetLicenseKeysParams

NewGetLicenseKeysParams creates a new GetLicenseKeysParams 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 NewGetLicenseKeysParamsWithContext

func NewGetLicenseKeysParamsWithContext(ctx context.Context) *GetLicenseKeysParams

NewGetLicenseKeysParamsWithContext creates a new GetLicenseKeysParams object with the ability to set a context for a request.

func NewGetLicenseKeysParamsWithHTTPClient

func NewGetLicenseKeysParamsWithHTTPClient(client *http.Client) *GetLicenseKeysParams

NewGetLicenseKeysParamsWithHTTPClient creates a new GetLicenseKeysParams object with the ability to set a custom HTTPClient for a request.

func NewGetLicenseKeysParamsWithTimeout

func NewGetLicenseKeysParamsWithTimeout(timeout time.Duration) *GetLicenseKeysParams

NewGetLicenseKeysParamsWithTimeout creates a new GetLicenseKeysParams object with the ability to set a timeout on a request.

func (*GetLicenseKeysParams) SetContext

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

SetContext adds the context to the get license keys params

func (*GetLicenseKeysParams) SetDefaults

func (o *GetLicenseKeysParams) SetDefaults()

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

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

func (*GetLicenseKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get license keys params

func (*GetLicenseKeysParams) SetID

func (o *GetLicenseKeysParams) SetID(id int32)

SetID adds the id to the get license keys params

func (*GetLicenseKeysParams) SetTimeout

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

SetTimeout adds the timeout to the get license keys params

func (*GetLicenseKeysParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get license keys params

func (*GetLicenseKeysParams) WithContext

WithContext adds the context to the get license keys params

func (*GetLicenseKeysParams) WithDefaults

func (o *GetLicenseKeysParams) WithDefaults() *GetLicenseKeysParams

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

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

func (*GetLicenseKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get license keys params

func (*GetLicenseKeysParams) WithID

WithID adds the id to the get license keys params

func (*GetLicenseKeysParams) WithTimeout

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

WithTimeout adds the timeout to the get license keys params

func (*GetLicenseKeysParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get license keys params

func (*GetLicenseKeysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetLicenseKeysReader

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

GetLicenseKeysReader is a Reader for the GetLicenseKeys structure.

func (*GetLicenseKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLicenseKeysUnauthorized

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

Unauthorized

func NewGetLicenseKeysUnauthorized

func NewGetLicenseKeysUnauthorized() *GetLicenseKeysUnauthorized

NewGetLicenseKeysUnauthorized creates a GetLicenseKeysUnauthorized with default headers values

func (*GetLicenseKeysUnauthorized) Error

type QueryAccountsBadRequest

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

Bad Request

func NewQueryAccountsBadRequest

func NewQueryAccountsBadRequest() *QueryAccountsBadRequest

NewQueryAccountsBadRequest creates a QueryAccountsBadRequest with default headers values

func (*QueryAccountsBadRequest) Error

func (o *QueryAccountsBadRequest) Error() string

type QueryAccountsOK

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

Success

func NewQueryAccountsOK

func NewQueryAccountsOK() *QueryAccountsOK

NewQueryAccountsOK creates a QueryAccountsOK with default headers values

func (*QueryAccountsOK) Error

func (o *QueryAccountsOK) Error() string

func (*QueryAccountsOK) GetPayload

type QueryAccountsParams

type QueryAccountsParams 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:* subscriptions, users
	*/
	DollarFilter *string

	/* DollarInclude.

	   A comma separated list of objects to fetch underneath this account.  Any object with a URL path underneath this account can be fetched by specifying its name.
	*/
	DollarInclude *string

	/* DollarOrderBy.

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

	/* DollarSkip.

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

	   Format: int32
	*/
	DollarSkip *int32

	/* DollarTop.

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

	   Format: int32
	*/
	DollarTop *int32

	/* XAvalaraClient.

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

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

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

QueryAccountsParams contains all the parameters to send to the API endpoint

for the query accounts operation.

Typically these are written to a http.Request.

func NewQueryAccountsParams

func NewQueryAccountsParams() *QueryAccountsParams

NewQueryAccountsParams creates a new QueryAccountsParams 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 NewQueryAccountsParamsWithContext

func NewQueryAccountsParamsWithContext(ctx context.Context) *QueryAccountsParams

NewQueryAccountsParamsWithContext creates a new QueryAccountsParams object with the ability to set a context for a request.

func NewQueryAccountsParamsWithHTTPClient

func NewQueryAccountsParamsWithHTTPClient(client *http.Client) *QueryAccountsParams

NewQueryAccountsParamsWithHTTPClient creates a new QueryAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryAccountsParamsWithTimeout

func NewQueryAccountsParamsWithTimeout(timeout time.Duration) *QueryAccountsParams

NewQueryAccountsParamsWithTimeout creates a new QueryAccountsParams object with the ability to set a timeout on a request.

func (*QueryAccountsParams) SetContext

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

SetContext adds the context to the query accounts params

func (*QueryAccountsParams) SetDefaults

func (o *QueryAccountsParams) SetDefaults()

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

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

func (*QueryAccountsParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the query accounts params

func (*QueryAccountsParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the query accounts params

func (*QueryAccountsParams) SetDollarOrderBy

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

SetDollarOrderBy adds the dollarOrderBy to the query accounts params

func (*QueryAccountsParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the query accounts params

func (*QueryAccountsParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the query accounts params

func (*QueryAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query accounts params

func (*QueryAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the query accounts params

func (*QueryAccountsParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the query accounts params

func (*QueryAccountsParams) WithContext

WithContext adds the context to the query accounts params

func (*QueryAccountsParams) WithDefaults

func (o *QueryAccountsParams) WithDefaults() *QueryAccountsParams

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

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

func (*QueryAccountsParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the query accounts params

func (*QueryAccountsParams) WithDollarInclude

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

WithDollarInclude adds the dollarInclude to the query accounts params

func (*QueryAccountsParams) WithDollarOrderBy

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

WithDollarOrderBy adds the dollarOrderBy to the query accounts params

func (*QueryAccountsParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the query accounts params

func (*QueryAccountsParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the query accounts params

func (*QueryAccountsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query accounts params

func (*QueryAccountsParams) WithTimeout

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

WithTimeout adds the timeout to the query accounts params

func (*QueryAccountsParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the query accounts params

func (*QueryAccountsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryAccountsReader

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

QueryAccountsReader is a Reader for the QueryAccounts structure.

func (*QueryAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryAccountsUnauthorized

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

Unauthorized

func NewQueryAccountsUnauthorized

func NewQueryAccountsUnauthorized() *QueryAccountsUnauthorized

NewQueryAccountsUnauthorized creates a QueryAccountsUnauthorized with default headers values

func (*QueryAccountsUnauthorized) Error

func (o *QueryAccountsUnauthorized) Error() string

type SetAccountConfigurationBadRequest

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

Bad Request

func NewSetAccountConfigurationBadRequest

func NewSetAccountConfigurationBadRequest() *SetAccountConfigurationBadRequest

NewSetAccountConfigurationBadRequest creates a SetAccountConfigurationBadRequest with default headers values

func (*SetAccountConfigurationBadRequest) Error

type SetAccountConfigurationNotFound

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

Not Found

func NewSetAccountConfigurationNotFound

func NewSetAccountConfigurationNotFound() *SetAccountConfigurationNotFound

NewSetAccountConfigurationNotFound creates a SetAccountConfigurationNotFound with default headers values

func (*SetAccountConfigurationNotFound) Error

type SetAccountConfigurationOK

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

Success

func NewSetAccountConfigurationOK

func NewSetAccountConfigurationOK() *SetAccountConfigurationOK

NewSetAccountConfigurationOK creates a SetAccountConfigurationOK with default headers values

func (*SetAccountConfigurationOK) Error

func (o *SetAccountConfigurationOK) Error() string

func (*SetAccountConfigurationOK) GetPayload

type SetAccountConfigurationParams

type SetAccountConfigurationParams struct {

	/* XAvalaraClient.

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

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

	// Body.
	Body []*models.AccountConfigurationModel

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

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

SetAccountConfigurationParams contains all the parameters to send to the API endpoint

for the set account configuration operation.

Typically these are written to a http.Request.

func NewSetAccountConfigurationParams

func NewSetAccountConfigurationParams() *SetAccountConfigurationParams

NewSetAccountConfigurationParams creates a new SetAccountConfigurationParams 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 NewSetAccountConfigurationParamsWithContext

func NewSetAccountConfigurationParamsWithContext(ctx context.Context) *SetAccountConfigurationParams

NewSetAccountConfigurationParamsWithContext creates a new SetAccountConfigurationParams object with the ability to set a context for a request.

func NewSetAccountConfigurationParamsWithHTTPClient

func NewSetAccountConfigurationParamsWithHTTPClient(client *http.Client) *SetAccountConfigurationParams

NewSetAccountConfigurationParamsWithHTTPClient creates a new SetAccountConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewSetAccountConfigurationParamsWithTimeout

func NewSetAccountConfigurationParamsWithTimeout(timeout time.Duration) *SetAccountConfigurationParams

NewSetAccountConfigurationParamsWithTimeout creates a new SetAccountConfigurationParams object with the ability to set a timeout on a request.

func (*SetAccountConfigurationParams) SetBody

SetBody adds the body to the set account configuration params

func (*SetAccountConfigurationParams) SetContext

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

SetContext adds the context to the set account configuration params

func (*SetAccountConfigurationParams) SetDefaults

func (o *SetAccountConfigurationParams) SetDefaults()

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

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

func (*SetAccountConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set account configuration params

func (*SetAccountConfigurationParams) SetID

func (o *SetAccountConfigurationParams) SetID(id int32)

SetID adds the id to the set account configuration params

func (*SetAccountConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the set account configuration params

func (*SetAccountConfigurationParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the set account configuration params

func (*SetAccountConfigurationParams) WithBody

WithBody adds the body to the set account configuration params

func (*SetAccountConfigurationParams) WithContext

WithContext adds the context to the set account configuration params

func (*SetAccountConfigurationParams) WithDefaults

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

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

func (*SetAccountConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set account configuration params

func (*SetAccountConfigurationParams) WithID

WithID adds the id to the set account configuration params

func (*SetAccountConfigurationParams) WithTimeout

WithTimeout adds the timeout to the set account configuration params

func (*SetAccountConfigurationParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the set account configuration params

func (*SetAccountConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetAccountConfigurationReader

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

SetAccountConfigurationReader is a Reader for the SetAccountConfiguration structure.

func (*SetAccountConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetAccountConfigurationUnauthorized

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

Unauthorized

func NewSetAccountConfigurationUnauthorized

func NewSetAccountConfigurationUnauthorized() *SetAccountConfigurationUnauthorized

NewSetAccountConfigurationUnauthorized creates a SetAccountConfigurationUnauthorized with default headers values

func (*SetAccountConfigurationUnauthorized) Error

Jump to

Keyboard shortcuts

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