compliance

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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 (*QueryTaxAuthorityJurisdictionRatesOK) GetPayload

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

SetContext adds the context to the query tax authority jurisdiction rates params

func (*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

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

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

WithContext adds the context to the query tax authority jurisdiction rates params

func (*QueryTaxAuthorityJurisdictionRatesParams) WithDefaults

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

WithDollarFilter adds the dollarFilter to the query tax authority jurisdiction rates params

func (*QueryTaxAuthorityJurisdictionRatesParams) WithDollarInclude

WithDollarInclude adds the dollarInclude to the query tax authority jurisdiction rates params

func (*QueryTaxAuthorityJurisdictionRatesParams) WithDollarOrderBy

WithDollarOrderBy adds the dollarOrderBy to the query tax authority jurisdiction rates params

func (*QueryTaxAuthorityJurisdictionRatesParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the query tax authority jurisdiction rates params

func (*QueryTaxAuthorityJurisdictionRatesParams) WithDollarTop

WithDollarTop adds the dollarTop to the query tax authority jurisdiction rates params

func (*QueryTaxAuthorityJurisdictionRatesParams) WithEffectiveDate

WithEffectiveDate adds the effectiveDate to the query tax authority jurisdiction rates params

func (*QueryTaxAuthorityJurisdictionRatesParams) WithEndDate

WithEndDate adds the endDate to the query tax authority jurisdiction rates params

func (*QueryTaxAuthorityJurisdictionRatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query tax authority jurisdiction rates params

func (*QueryTaxAuthorityJurisdictionRatesParams) WithTaxAuthorityID

WithTaxAuthorityID adds the taxAuthorityID to the query tax authority jurisdiction rates params

func (*QueryTaxAuthorityJurisdictionRatesParams) WithTimeout

WithTimeout adds the timeout to the query tax authority jurisdiction rates params

func (*QueryTaxAuthorityJurisdictionRatesParams) WithXAvalaraClient

WithXAvalaraClient adds the xAvalaraClient to the query tax authority jurisdiction rates params

func (*QueryTaxAuthorityJurisdictionRatesParams) WriteToRequest

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

Jump to

Keyboard shortcuts

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