Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type QueryTaxAuthorityJurisdictionRatesBadRequest
- type QueryTaxAuthorityJurisdictionRatesOK
- type QueryTaxAuthorityJurisdictionRatesParams
- func NewQueryTaxAuthorityJurisdictionRatesParams() *QueryTaxAuthorityJurisdictionRatesParams
- func NewQueryTaxAuthorityJurisdictionRatesParamsWithContext(ctx context.Context) *QueryTaxAuthorityJurisdictionRatesParams
- func NewQueryTaxAuthorityJurisdictionRatesParamsWithHTTPClient(client *http.Client) *QueryTaxAuthorityJurisdictionRatesParams
- func NewQueryTaxAuthorityJurisdictionRatesParamsWithTimeout(timeout time.Duration) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetContext(ctx context.Context)
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetDefaults()
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetDollarFilter(dollarFilter *string)
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetDollarInclude(dollarInclude *string)
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetDollarSkip(dollarSkip *int32)
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetDollarTop(dollarTop *int32)
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetEffectiveDate(effectiveDate *strfmt.DateTime)
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetEndDate(endDate *strfmt.DateTime)
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetHTTPClient(client *http.Client)
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetTaxAuthorityID(taxAuthorityID *int32)
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetTimeout(timeout time.Duration)
- func (o *QueryTaxAuthorityJurisdictionRatesParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithContext(ctx context.Context) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithDefaults() *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithDollarFilter(dollarFilter *string) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithDollarInclude(dollarInclude *string) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithDollarOrderBy(dollarOrderBy *string) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithDollarSkip(dollarSkip *int32) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithDollarTop(dollarTop *int32) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithEffectiveDate(effectiveDate *strfmt.DateTime) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithEndDate(endDate *strfmt.DateTime) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithHTTPClient(client *http.Client) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithTaxAuthorityID(taxAuthorityID *int32) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithTimeout(timeout time.Duration) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WithXAvalaraClient(xAvalaraClient *string) *QueryTaxAuthorityJurisdictionRatesParams
- func (o *QueryTaxAuthorityJurisdictionRatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryTaxAuthorityJurisdictionRatesReader
- type QueryTaxAuthorityJurisdictionRatesUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for compliance API
func (*Client) QueryTaxAuthorityJurisdictionRates ¶
func (a *Client) QueryTaxAuthorityJurisdictionRates(params *QueryTaxAuthorityJurisdictionRatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryTaxAuthorityJurisdictionRatesOK, error)
QueryTaxAuthorityJurisdictionRates retrieves jurisdiction rate information for tax authority This API is available by invitation only.
### Security Policies
* This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
func (*Client) 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 { QueryTaxAuthorityJurisdictionRates(params *QueryTaxAuthorityJurisdictionRatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryTaxAuthorityJurisdictionRatesOK, 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 compliance API client.
type QueryTaxAuthorityJurisdictionRatesBadRequest ¶
type QueryTaxAuthorityJurisdictionRatesBadRequest struct { }
QueryTaxAuthorityJurisdictionRatesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryTaxAuthorityJurisdictionRatesBadRequest ¶
func NewQueryTaxAuthorityJurisdictionRatesBadRequest() *QueryTaxAuthorityJurisdictionRatesBadRequest
NewQueryTaxAuthorityJurisdictionRatesBadRequest creates a QueryTaxAuthorityJurisdictionRatesBadRequest with default headers values
func (*QueryTaxAuthorityJurisdictionRatesBadRequest) Error ¶
func (o *QueryTaxAuthorityJurisdictionRatesBadRequest) Error() string
type QueryTaxAuthorityJurisdictionRatesOK ¶
type QueryTaxAuthorityJurisdictionRatesOK struct {
Payload *models.ComplianceJurisdictionRateModel
}
QueryTaxAuthorityJurisdictionRatesOK describes a response with status code 200, with default header values.
Success
func NewQueryTaxAuthorityJurisdictionRatesOK ¶
func NewQueryTaxAuthorityJurisdictionRatesOK() *QueryTaxAuthorityJurisdictionRatesOK
NewQueryTaxAuthorityJurisdictionRatesOK creates a QueryTaxAuthorityJurisdictionRatesOK with default headers values
func (*QueryTaxAuthorityJurisdictionRatesOK) Error ¶
func (o *QueryTaxAuthorityJurisdictionRatesOK) Error() string
func (*QueryTaxAuthorityJurisdictionRatesOK) GetPayload ¶
func (o *QueryTaxAuthorityJurisdictionRatesOK) GetPayload() *models.ComplianceJurisdictionRateModel
type QueryTaxAuthorityJurisdictionRatesParams ¶
type QueryTaxAuthorityJurisdictionRatesParams 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/). */ DollarFilter *string /* DollarInclude. A comma separated list of objects to fetch underneath this jurisdiction. */ 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 /* EffectiveDate. Used to limit the jurisdictions returned. Format: date-time */ EffectiveDate *strfmt.DateTime /* EndDate. Used to limit the jurisdictions returned. Format: date-time */ EndDate *strfmt.DateTime /* TaxAuthorityID. Used to limit the jurisdictions returned. Format: int32 */ TaxAuthorityID *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryTaxAuthorityJurisdictionRatesParams contains all the parameters to send to the API endpoint
for the query tax authority jurisdiction rates operation. Typically these are written to a http.Request.
func NewQueryTaxAuthorityJurisdictionRatesParams ¶
func NewQueryTaxAuthorityJurisdictionRatesParams() *QueryTaxAuthorityJurisdictionRatesParams
NewQueryTaxAuthorityJurisdictionRatesParams creates a new QueryTaxAuthorityJurisdictionRatesParams 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 NewQueryTaxAuthorityJurisdictionRatesParamsWithContext ¶
func NewQueryTaxAuthorityJurisdictionRatesParamsWithContext(ctx context.Context) *QueryTaxAuthorityJurisdictionRatesParams
NewQueryTaxAuthorityJurisdictionRatesParamsWithContext creates a new QueryTaxAuthorityJurisdictionRatesParams object with the ability to set a context for a request.
func NewQueryTaxAuthorityJurisdictionRatesParamsWithHTTPClient ¶
func NewQueryTaxAuthorityJurisdictionRatesParamsWithHTTPClient(client *http.Client) *QueryTaxAuthorityJurisdictionRatesParams
NewQueryTaxAuthorityJurisdictionRatesParamsWithHTTPClient creates a new QueryTaxAuthorityJurisdictionRatesParams object with the ability to set a custom HTTPClient for a request.
func NewQueryTaxAuthorityJurisdictionRatesParamsWithTimeout ¶
func NewQueryTaxAuthorityJurisdictionRatesParamsWithTimeout(timeout time.Duration) *QueryTaxAuthorityJurisdictionRatesParams
NewQueryTaxAuthorityJurisdictionRatesParamsWithTimeout creates a new QueryTaxAuthorityJurisdictionRatesParams object with the ability to set a timeout on a request.
func (*QueryTaxAuthorityJurisdictionRatesParams) SetContext ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetContext(ctx context.Context)
SetContext adds the context to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) SetDefaults ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetDefaults()
SetDefaults hydrates default values in the query tax authority jurisdiction rates params (not the query body).
All values with no default are reset to their zero value.
func (*QueryTaxAuthorityJurisdictionRatesParams) SetDollarFilter ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) SetDollarInclude ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetDollarInclude(dollarInclude *string)
SetDollarInclude adds the dollarInclude to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) SetDollarOrderBy ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetDollarOrderBy(dollarOrderBy *string)
SetDollarOrderBy adds the dollarOrderBy to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) SetDollarSkip ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) SetDollarTop ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) SetEffectiveDate ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetEffectiveDate(effectiveDate *strfmt.DateTime)
SetEffectiveDate adds the effectiveDate to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) SetEndDate ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetEndDate(endDate *strfmt.DateTime)
SetEndDate adds the endDate to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) SetHTTPClient ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) SetTaxAuthorityID ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetTaxAuthorityID(taxAuthorityID *int32)
SetTaxAuthorityID adds the taxAuthorityId to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) SetTimeout ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) SetXAvalaraClient ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WithContext ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithContext(ctx context.Context) *QueryTaxAuthorityJurisdictionRatesParams
WithContext adds the context to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WithDefaults ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithDefaults() *QueryTaxAuthorityJurisdictionRatesParams
WithDefaults hydrates default values in the query tax authority jurisdiction rates params (not the query body).
All values with no default are reset to their zero value.
func (*QueryTaxAuthorityJurisdictionRatesParams) WithDollarFilter ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithDollarFilter(dollarFilter *string) *QueryTaxAuthorityJurisdictionRatesParams
WithDollarFilter adds the dollarFilter to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WithDollarInclude ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithDollarInclude(dollarInclude *string) *QueryTaxAuthorityJurisdictionRatesParams
WithDollarInclude adds the dollarInclude to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WithDollarOrderBy ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithDollarOrderBy(dollarOrderBy *string) *QueryTaxAuthorityJurisdictionRatesParams
WithDollarOrderBy adds the dollarOrderBy to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WithDollarSkip ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithDollarSkip(dollarSkip *int32) *QueryTaxAuthorityJurisdictionRatesParams
WithDollarSkip adds the dollarSkip to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WithDollarTop ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithDollarTop(dollarTop *int32) *QueryTaxAuthorityJurisdictionRatesParams
WithDollarTop adds the dollarTop to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WithEffectiveDate ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithEffectiveDate(effectiveDate *strfmt.DateTime) *QueryTaxAuthorityJurisdictionRatesParams
WithEffectiveDate adds the effectiveDate to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WithEndDate ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithEndDate(endDate *strfmt.DateTime) *QueryTaxAuthorityJurisdictionRatesParams
WithEndDate adds the endDate to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WithHTTPClient ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithHTTPClient(client *http.Client) *QueryTaxAuthorityJurisdictionRatesParams
WithHTTPClient adds the HTTPClient to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WithTaxAuthorityID ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithTaxAuthorityID(taxAuthorityID *int32) *QueryTaxAuthorityJurisdictionRatesParams
WithTaxAuthorityID adds the taxAuthorityID to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WithTimeout ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithTimeout(timeout time.Duration) *QueryTaxAuthorityJurisdictionRatesParams
WithTimeout adds the timeout to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WithXAvalaraClient ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WithXAvalaraClient(xAvalaraClient *string) *QueryTaxAuthorityJurisdictionRatesParams
WithXAvalaraClient adds the xAvalaraClient to the query tax authority jurisdiction rates params
func (*QueryTaxAuthorityJurisdictionRatesParams) WriteToRequest ¶
func (o *QueryTaxAuthorityJurisdictionRatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryTaxAuthorityJurisdictionRatesReader ¶
type QueryTaxAuthorityJurisdictionRatesReader struct {
// contains filtered or unexported fields
}
QueryTaxAuthorityJurisdictionRatesReader is a Reader for the QueryTaxAuthorityJurisdictionRates structure.
func (*QueryTaxAuthorityJurisdictionRatesReader) ReadResponse ¶
func (o *QueryTaxAuthorityJurisdictionRatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryTaxAuthorityJurisdictionRatesUnauthorized ¶
type QueryTaxAuthorityJurisdictionRatesUnauthorized struct { }
QueryTaxAuthorityJurisdictionRatesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewQueryTaxAuthorityJurisdictionRatesUnauthorized ¶
func NewQueryTaxAuthorityJurisdictionRatesUnauthorized() *QueryTaxAuthorityJurisdictionRatesUnauthorized
NewQueryTaxAuthorityJurisdictionRatesUnauthorized creates a QueryTaxAuthorityJurisdictionRatesUnauthorized with default headers values
func (*QueryTaxAuthorityJurisdictionRatesUnauthorized) Error ¶
func (o *QueryTaxAuthorityJurisdictionRatesUnauthorized) Error() string