Documentation ¶
Index ¶
- type Client
- func (a *Client) CycleSafeOptions(params *CycleSafeOptionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CycleSafeOptionsOK, error)
- func (a *Client) DeleteCompanyReturnSettings(params *DeleteCompanyReturnSettingsParams, ...) (*DeleteCompanyReturnSettingsOK, error)
- func (a *Client) LegacyFilingCalendars(params *LegacyFilingCalendarsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LegacyFilingCalendarsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CycleSafeOptionsBadRequest
- type CycleSafeOptionsNotFound
- type CycleSafeOptionsOK
- type CycleSafeOptionsParams
- func NewCycleSafeOptionsParams() *CycleSafeOptionsParams
- func NewCycleSafeOptionsParamsWithContext(ctx context.Context) *CycleSafeOptionsParams
- func NewCycleSafeOptionsParamsWithHTTPClient(client *http.Client) *CycleSafeOptionsParams
- func NewCycleSafeOptionsParamsWithTimeout(timeout time.Duration) *CycleSafeOptionsParams
- func (o *CycleSafeOptionsParams) SetBody(body *models.CycleSafeEditRequestModel)
- func (o *CycleSafeOptionsParams) SetCompanyID(companyID int32)
- func (o *CycleSafeOptionsParams) SetContext(ctx context.Context)
- func (o *CycleSafeOptionsParams) SetDefaults()
- func (o *CycleSafeOptionsParams) SetHTTPClient(client *http.Client)
- func (o *CycleSafeOptionsParams) SetTimeout(timeout time.Duration)
- func (o *CycleSafeOptionsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CycleSafeOptionsParams) WithBody(body *models.CycleSafeEditRequestModel) *CycleSafeOptionsParams
- func (o *CycleSafeOptionsParams) WithCompanyID(companyID int32) *CycleSafeOptionsParams
- func (o *CycleSafeOptionsParams) WithContext(ctx context.Context) *CycleSafeOptionsParams
- func (o *CycleSafeOptionsParams) WithDefaults() *CycleSafeOptionsParams
- func (o *CycleSafeOptionsParams) WithHTTPClient(client *http.Client) *CycleSafeOptionsParams
- func (o *CycleSafeOptionsParams) WithTimeout(timeout time.Duration) *CycleSafeOptionsParams
- func (o *CycleSafeOptionsParams) WithXAvalaraClient(xAvalaraClient *string) *CycleSafeOptionsParams
- func (o *CycleSafeOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CycleSafeOptionsReader
- type CycleSafeOptionsUnauthorized
- type DeleteCompanyReturnSettingsBadRequest
- type DeleteCompanyReturnSettingsNotFound
- type DeleteCompanyReturnSettingsOK
- type DeleteCompanyReturnSettingsParams
- func NewDeleteCompanyReturnSettingsParams() *DeleteCompanyReturnSettingsParams
- func NewDeleteCompanyReturnSettingsParamsWithContext(ctx context.Context) *DeleteCompanyReturnSettingsParams
- func NewDeleteCompanyReturnSettingsParamsWithHTTPClient(client *http.Client) *DeleteCompanyReturnSettingsParams
- func NewDeleteCompanyReturnSettingsParamsWithTimeout(timeout time.Duration) *DeleteCompanyReturnSettingsParams
- func (o *DeleteCompanyReturnSettingsParams) SetCompanyID(companyID int32)
- func (o *DeleteCompanyReturnSettingsParams) SetCompanyReturnSettingID(companyReturnSettingID int64)
- func (o *DeleteCompanyReturnSettingsParams) SetContext(ctx context.Context)
- func (o *DeleteCompanyReturnSettingsParams) SetDefaults()
- func (o *DeleteCompanyReturnSettingsParams) SetFilingCalendarID(filingCalendarID int32)
- func (o *DeleteCompanyReturnSettingsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCompanyReturnSettingsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCompanyReturnSettingsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteCompanyReturnSettingsParams) WithCompanyID(companyID int32) *DeleteCompanyReturnSettingsParams
- func (o *DeleteCompanyReturnSettingsParams) WithCompanyReturnSettingID(companyReturnSettingID int64) *DeleteCompanyReturnSettingsParams
- func (o *DeleteCompanyReturnSettingsParams) WithContext(ctx context.Context) *DeleteCompanyReturnSettingsParams
- func (o *DeleteCompanyReturnSettingsParams) WithDefaults() *DeleteCompanyReturnSettingsParams
- func (o *DeleteCompanyReturnSettingsParams) WithFilingCalendarID(filingCalendarID int32) *DeleteCompanyReturnSettingsParams
- func (o *DeleteCompanyReturnSettingsParams) WithHTTPClient(client *http.Client) *DeleteCompanyReturnSettingsParams
- func (o *DeleteCompanyReturnSettingsParams) WithTimeout(timeout time.Duration) *DeleteCompanyReturnSettingsParams
- func (o *DeleteCompanyReturnSettingsParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteCompanyReturnSettingsParams
- func (o *DeleteCompanyReturnSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCompanyReturnSettingsReader
- type DeleteCompanyReturnSettingsUnauthorized
- type LegacyFilingCalendarsBadRequest
- type LegacyFilingCalendarsNotFound
- type LegacyFilingCalendarsOK
- type LegacyFilingCalendarsParams
- func NewLegacyFilingCalendarsParams() *LegacyFilingCalendarsParams
- func NewLegacyFilingCalendarsParamsWithContext(ctx context.Context) *LegacyFilingCalendarsParams
- func NewLegacyFilingCalendarsParamsWithHTTPClient(client *http.Client) *LegacyFilingCalendarsParams
- func NewLegacyFilingCalendarsParamsWithTimeout(timeout time.Duration) *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) SetCompanyID(companyID int32)
- func (o *LegacyFilingCalendarsParams) SetContext(ctx context.Context)
- func (o *LegacyFilingCalendarsParams) SetDefaults()
- func (o *LegacyFilingCalendarsParams) SetDollarFilter(dollarFilter *string)
- func (o *LegacyFilingCalendarsParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *LegacyFilingCalendarsParams) SetDollarSkip(dollarSkip *int32)
- func (o *LegacyFilingCalendarsParams) SetDollarTop(dollarTop *int32)
- func (o *LegacyFilingCalendarsParams) SetHTTPClient(client *http.Client)
- func (o *LegacyFilingCalendarsParams) SetReturnCountry(returnCountry *string)
- func (o *LegacyFilingCalendarsParams) SetReturnRegion(returnRegion *string)
- func (o *LegacyFilingCalendarsParams) SetTimeout(timeout time.Duration)
- func (o *LegacyFilingCalendarsParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *LegacyFilingCalendarsParams) WithCompanyID(companyID int32) *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) WithContext(ctx context.Context) *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) WithDefaults() *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) WithDollarFilter(dollarFilter *string) *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) WithDollarOrderBy(dollarOrderBy *string) *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) WithDollarSkip(dollarSkip *int32) *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) WithDollarTop(dollarTop *int32) *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) WithHTTPClient(client *http.Client) *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) WithReturnCountry(returnCountry *string) *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) WithReturnRegion(returnRegion *string) *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) WithTimeout(timeout time.Duration) *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) WithXAvalaraClient(xAvalaraClient *string) *LegacyFilingCalendarsParams
- func (o *LegacyFilingCalendarsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LegacyFilingCalendarsReader
- type LegacyFilingCalendarsUnauthorized
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 filing calendars API
func (*Client) CycleSafeOptions ¶
func (a *Client) CycleSafeOptions(params *CycleSafeOptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CycleSafeOptionsOK, error)
CycleSafeOptions adds or edit options Returns a list of options for adding tax forms for the company and tax form code specified.
Returns edit options when modifying a filing calendar. This API is available by invitation only.
### Security Policies
* This API requires openId bearer token for authentication * 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) DeleteCompanyReturnSettings ¶
func (a *Client) DeleteCompanyReturnSettings(params *DeleteCompanyReturnSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCompanyReturnSettingsOK, error)
DeleteCompanyReturnSettings deletes a company return setting This API is available by invitation only and only available for users with Compliance access
### Security Policies
* This API requires openId bearer token for authentication * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPTester, FirmAdmin, FirmUser, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
func (*Client) LegacyFilingCalendars ¶
func (a *Client) LegacyFilingCalendars(params *LegacyFilingCalendarsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LegacyFilingCalendarsOK, error)
LegacyFilingCalendars retrieves all legacy filing calendars for this company This API is available by invitation only.
### 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. * 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 { CycleSafeOptions(params *CycleSafeOptionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CycleSafeOptionsOK, error) DeleteCompanyReturnSettings(params *DeleteCompanyReturnSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCompanyReturnSettingsOK, error) LegacyFilingCalendars(params *LegacyFilingCalendarsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LegacyFilingCalendarsOK, 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 filing calendars API client.
type CycleSafeOptionsBadRequest ¶
type CycleSafeOptionsBadRequest struct { }
CycleSafeOptionsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCycleSafeOptionsBadRequest ¶
func NewCycleSafeOptionsBadRequest() *CycleSafeOptionsBadRequest
NewCycleSafeOptionsBadRequest creates a CycleSafeOptionsBadRequest with default headers values
func (*CycleSafeOptionsBadRequest) Error ¶
func (o *CycleSafeOptionsBadRequest) Error() string
type CycleSafeOptionsNotFound ¶
type CycleSafeOptionsNotFound struct { }
CycleSafeOptionsNotFound describes a response with status code 404, with default header values.
Not Found
func NewCycleSafeOptionsNotFound ¶
func NewCycleSafeOptionsNotFound() *CycleSafeOptionsNotFound
NewCycleSafeOptionsNotFound creates a CycleSafeOptionsNotFound with default headers values
func (*CycleSafeOptionsNotFound) Error ¶
func (o *CycleSafeOptionsNotFound) Error() string
type CycleSafeOptionsOK ¶
type CycleSafeOptionsOK struct {
Payload *models.CycleSafeOptionResultModel
}
CycleSafeOptionsOK describes a response with status code 200, with default header values.
Success
func NewCycleSafeOptionsOK ¶
func NewCycleSafeOptionsOK() *CycleSafeOptionsOK
NewCycleSafeOptionsOK creates a CycleSafeOptionsOK with default headers values
func (*CycleSafeOptionsOK) Error ¶
func (o *CycleSafeOptionsOK) Error() string
func (*CycleSafeOptionsOK) GetPayload ¶
func (o *CycleSafeOptionsOK) GetPayload() *models.CycleSafeOptionResultModel
type CycleSafeOptionsParams ¶
type CycleSafeOptionsParams 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. Cycle Safe Options Request */ Body *models.CycleSafeEditRequestModel /* CompanyID. The unique ID of the company that owns the filing calendar object Format: int32 */ CompanyID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CycleSafeOptionsParams contains all the parameters to send to the API endpoint
for the cycle safe options operation. Typically these are written to a http.Request.
func NewCycleSafeOptionsParams ¶
func NewCycleSafeOptionsParams() *CycleSafeOptionsParams
NewCycleSafeOptionsParams creates a new CycleSafeOptionsParams 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 NewCycleSafeOptionsParamsWithContext ¶
func NewCycleSafeOptionsParamsWithContext(ctx context.Context) *CycleSafeOptionsParams
NewCycleSafeOptionsParamsWithContext creates a new CycleSafeOptionsParams object with the ability to set a context for a request.
func NewCycleSafeOptionsParamsWithHTTPClient ¶
func NewCycleSafeOptionsParamsWithHTTPClient(client *http.Client) *CycleSafeOptionsParams
NewCycleSafeOptionsParamsWithHTTPClient creates a new CycleSafeOptionsParams object with the ability to set a custom HTTPClient for a request.
func NewCycleSafeOptionsParamsWithTimeout ¶
func NewCycleSafeOptionsParamsWithTimeout(timeout time.Duration) *CycleSafeOptionsParams
NewCycleSafeOptionsParamsWithTimeout creates a new CycleSafeOptionsParams object with the ability to set a timeout on a request.
func (*CycleSafeOptionsParams) SetBody ¶
func (o *CycleSafeOptionsParams) SetBody(body *models.CycleSafeEditRequestModel)
SetBody adds the body to the cycle safe options params
func (*CycleSafeOptionsParams) SetCompanyID ¶
func (o *CycleSafeOptionsParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the cycle safe options params
func (*CycleSafeOptionsParams) SetContext ¶
func (o *CycleSafeOptionsParams) SetContext(ctx context.Context)
SetContext adds the context to the cycle safe options params
func (*CycleSafeOptionsParams) SetDefaults ¶
func (o *CycleSafeOptionsParams) SetDefaults()
SetDefaults hydrates default values in the cycle safe options params (not the query body).
All values with no default are reset to their zero value.
func (*CycleSafeOptionsParams) SetHTTPClient ¶
func (o *CycleSafeOptionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cycle safe options params
func (*CycleSafeOptionsParams) SetTimeout ¶
func (o *CycleSafeOptionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cycle safe options params
func (*CycleSafeOptionsParams) SetXAvalaraClient ¶
func (o *CycleSafeOptionsParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the cycle safe options params
func (*CycleSafeOptionsParams) WithBody ¶
func (o *CycleSafeOptionsParams) WithBody(body *models.CycleSafeEditRequestModel) *CycleSafeOptionsParams
WithBody adds the body to the cycle safe options params
func (*CycleSafeOptionsParams) WithCompanyID ¶
func (o *CycleSafeOptionsParams) WithCompanyID(companyID int32) *CycleSafeOptionsParams
WithCompanyID adds the companyID to the cycle safe options params
func (*CycleSafeOptionsParams) WithContext ¶
func (o *CycleSafeOptionsParams) WithContext(ctx context.Context) *CycleSafeOptionsParams
WithContext adds the context to the cycle safe options params
func (*CycleSafeOptionsParams) WithDefaults ¶
func (o *CycleSafeOptionsParams) WithDefaults() *CycleSafeOptionsParams
WithDefaults hydrates default values in the cycle safe options params (not the query body).
All values with no default are reset to their zero value.
func (*CycleSafeOptionsParams) WithHTTPClient ¶
func (o *CycleSafeOptionsParams) WithHTTPClient(client *http.Client) *CycleSafeOptionsParams
WithHTTPClient adds the HTTPClient to the cycle safe options params
func (*CycleSafeOptionsParams) WithTimeout ¶
func (o *CycleSafeOptionsParams) WithTimeout(timeout time.Duration) *CycleSafeOptionsParams
WithTimeout adds the timeout to the cycle safe options params
func (*CycleSafeOptionsParams) WithXAvalaraClient ¶
func (o *CycleSafeOptionsParams) WithXAvalaraClient(xAvalaraClient *string) *CycleSafeOptionsParams
WithXAvalaraClient adds the xAvalaraClient to the cycle safe options params
func (*CycleSafeOptionsParams) WriteToRequest ¶
func (o *CycleSafeOptionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CycleSafeOptionsReader ¶
type CycleSafeOptionsReader struct {
// contains filtered or unexported fields
}
CycleSafeOptionsReader is a Reader for the CycleSafeOptions structure.
func (*CycleSafeOptionsReader) ReadResponse ¶
func (o *CycleSafeOptionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CycleSafeOptionsUnauthorized ¶
type CycleSafeOptionsUnauthorized struct { }
CycleSafeOptionsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCycleSafeOptionsUnauthorized ¶
func NewCycleSafeOptionsUnauthorized() *CycleSafeOptionsUnauthorized
NewCycleSafeOptionsUnauthorized creates a CycleSafeOptionsUnauthorized with default headers values
func (*CycleSafeOptionsUnauthorized) Error ¶
func (o *CycleSafeOptionsUnauthorized) Error() string
type DeleteCompanyReturnSettingsBadRequest ¶
type DeleteCompanyReturnSettingsBadRequest struct { }
DeleteCompanyReturnSettingsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteCompanyReturnSettingsBadRequest ¶
func NewDeleteCompanyReturnSettingsBadRequest() *DeleteCompanyReturnSettingsBadRequest
NewDeleteCompanyReturnSettingsBadRequest creates a DeleteCompanyReturnSettingsBadRequest with default headers values
func (*DeleteCompanyReturnSettingsBadRequest) Error ¶
func (o *DeleteCompanyReturnSettingsBadRequest) Error() string
type DeleteCompanyReturnSettingsNotFound ¶
type DeleteCompanyReturnSettingsNotFound struct { }
DeleteCompanyReturnSettingsNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteCompanyReturnSettingsNotFound ¶
func NewDeleteCompanyReturnSettingsNotFound() *DeleteCompanyReturnSettingsNotFound
NewDeleteCompanyReturnSettingsNotFound creates a DeleteCompanyReturnSettingsNotFound with default headers values
func (*DeleteCompanyReturnSettingsNotFound) Error ¶
func (o *DeleteCompanyReturnSettingsNotFound) Error() string
type DeleteCompanyReturnSettingsOK ¶
type DeleteCompanyReturnSettingsOK struct {
Payload []*models.CompanyReturnSettingModel
}
DeleteCompanyReturnSettingsOK describes a response with status code 200, with default header values.
Success
func NewDeleteCompanyReturnSettingsOK ¶
func NewDeleteCompanyReturnSettingsOK() *DeleteCompanyReturnSettingsOK
NewDeleteCompanyReturnSettingsOK creates a DeleteCompanyReturnSettingsOK with default headers values
func (*DeleteCompanyReturnSettingsOK) Error ¶
func (o *DeleteCompanyReturnSettingsOK) Error() string
func (*DeleteCompanyReturnSettingsOK) GetPayload ¶
func (o *DeleteCompanyReturnSettingsOK) GetPayload() []*models.CompanyReturnSettingModel
type DeleteCompanyReturnSettingsParams ¶
type DeleteCompanyReturnSettingsParams 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 /* CompanyID. The unique ID of the company Format: int32 */ CompanyID int32 /* CompanyReturnSettingID. The unique ID of the company return setting that will be deleted from the filing calendar Format: int64 */ CompanyReturnSettingID int64 /* FilingCalendarID. The unique ID of the filing calendar that will remove setting Format: int32 */ FilingCalendarID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCompanyReturnSettingsParams contains all the parameters to send to the API endpoint
for the delete company return settings operation. Typically these are written to a http.Request.
func NewDeleteCompanyReturnSettingsParams ¶
func NewDeleteCompanyReturnSettingsParams() *DeleteCompanyReturnSettingsParams
NewDeleteCompanyReturnSettingsParams creates a new DeleteCompanyReturnSettingsParams 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 NewDeleteCompanyReturnSettingsParamsWithContext ¶
func NewDeleteCompanyReturnSettingsParamsWithContext(ctx context.Context) *DeleteCompanyReturnSettingsParams
NewDeleteCompanyReturnSettingsParamsWithContext creates a new DeleteCompanyReturnSettingsParams object with the ability to set a context for a request.
func NewDeleteCompanyReturnSettingsParamsWithHTTPClient ¶
func NewDeleteCompanyReturnSettingsParamsWithHTTPClient(client *http.Client) *DeleteCompanyReturnSettingsParams
NewDeleteCompanyReturnSettingsParamsWithHTTPClient creates a new DeleteCompanyReturnSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteCompanyReturnSettingsParamsWithTimeout ¶
func NewDeleteCompanyReturnSettingsParamsWithTimeout(timeout time.Duration) *DeleteCompanyReturnSettingsParams
NewDeleteCompanyReturnSettingsParamsWithTimeout creates a new DeleteCompanyReturnSettingsParams object with the ability to set a timeout on a request.
func (*DeleteCompanyReturnSettingsParams) SetCompanyID ¶
func (o *DeleteCompanyReturnSettingsParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) SetCompanyReturnSettingID ¶
func (o *DeleteCompanyReturnSettingsParams) SetCompanyReturnSettingID(companyReturnSettingID int64)
SetCompanyReturnSettingID adds the companyReturnSettingId to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) SetContext ¶
func (o *DeleteCompanyReturnSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) SetDefaults ¶
func (o *DeleteCompanyReturnSettingsParams) SetDefaults()
SetDefaults hydrates default values in the delete company return settings params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCompanyReturnSettingsParams) SetFilingCalendarID ¶
func (o *DeleteCompanyReturnSettingsParams) SetFilingCalendarID(filingCalendarID int32)
SetFilingCalendarID adds the filingCalendarId to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) SetHTTPClient ¶
func (o *DeleteCompanyReturnSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) SetTimeout ¶
func (o *DeleteCompanyReturnSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) SetXAvalaraClient ¶
func (o *DeleteCompanyReturnSettingsParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) WithCompanyID ¶
func (o *DeleteCompanyReturnSettingsParams) WithCompanyID(companyID int32) *DeleteCompanyReturnSettingsParams
WithCompanyID adds the companyID to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) WithCompanyReturnSettingID ¶
func (o *DeleteCompanyReturnSettingsParams) WithCompanyReturnSettingID(companyReturnSettingID int64) *DeleteCompanyReturnSettingsParams
WithCompanyReturnSettingID adds the companyReturnSettingID to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) WithContext ¶
func (o *DeleteCompanyReturnSettingsParams) WithContext(ctx context.Context) *DeleteCompanyReturnSettingsParams
WithContext adds the context to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) WithDefaults ¶
func (o *DeleteCompanyReturnSettingsParams) WithDefaults() *DeleteCompanyReturnSettingsParams
WithDefaults hydrates default values in the delete company return settings params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCompanyReturnSettingsParams) WithFilingCalendarID ¶
func (o *DeleteCompanyReturnSettingsParams) WithFilingCalendarID(filingCalendarID int32) *DeleteCompanyReturnSettingsParams
WithFilingCalendarID adds the filingCalendarID to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) WithHTTPClient ¶
func (o *DeleteCompanyReturnSettingsParams) WithHTTPClient(client *http.Client) *DeleteCompanyReturnSettingsParams
WithHTTPClient adds the HTTPClient to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) WithTimeout ¶
func (o *DeleteCompanyReturnSettingsParams) WithTimeout(timeout time.Duration) *DeleteCompanyReturnSettingsParams
WithTimeout adds the timeout to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) WithXAvalaraClient ¶
func (o *DeleteCompanyReturnSettingsParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteCompanyReturnSettingsParams
WithXAvalaraClient adds the xAvalaraClient to the delete company return settings params
func (*DeleteCompanyReturnSettingsParams) WriteToRequest ¶
func (o *DeleteCompanyReturnSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCompanyReturnSettingsReader ¶
type DeleteCompanyReturnSettingsReader struct {
// contains filtered or unexported fields
}
DeleteCompanyReturnSettingsReader is a Reader for the DeleteCompanyReturnSettings structure.
func (*DeleteCompanyReturnSettingsReader) ReadResponse ¶
func (o *DeleteCompanyReturnSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCompanyReturnSettingsUnauthorized ¶
type DeleteCompanyReturnSettingsUnauthorized struct { }
DeleteCompanyReturnSettingsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteCompanyReturnSettingsUnauthorized ¶
func NewDeleteCompanyReturnSettingsUnauthorized() *DeleteCompanyReturnSettingsUnauthorized
NewDeleteCompanyReturnSettingsUnauthorized creates a DeleteCompanyReturnSettingsUnauthorized with default headers values
func (*DeleteCompanyReturnSettingsUnauthorized) Error ¶
func (o *DeleteCompanyReturnSettingsUnauthorized) Error() string
type LegacyFilingCalendarsBadRequest ¶
type LegacyFilingCalendarsBadRequest struct { }
LegacyFilingCalendarsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewLegacyFilingCalendarsBadRequest ¶
func NewLegacyFilingCalendarsBadRequest() *LegacyFilingCalendarsBadRequest
NewLegacyFilingCalendarsBadRequest creates a LegacyFilingCalendarsBadRequest with default headers values
func (*LegacyFilingCalendarsBadRequest) Error ¶
func (o *LegacyFilingCalendarsBadRequest) Error() string
type LegacyFilingCalendarsNotFound ¶
type LegacyFilingCalendarsNotFound struct { }
LegacyFilingCalendarsNotFound describes a response with status code 404, with default header values.
Not Found
func NewLegacyFilingCalendarsNotFound ¶
func NewLegacyFilingCalendarsNotFound() *LegacyFilingCalendarsNotFound
NewLegacyFilingCalendarsNotFound creates a LegacyFilingCalendarsNotFound with default headers values
func (*LegacyFilingCalendarsNotFound) Error ¶
func (o *LegacyFilingCalendarsNotFound) Error() string
type LegacyFilingCalendarsOK ¶
type LegacyFilingCalendarsOK struct {
Payload *models.FilingCalendarModelFetchResult
}
LegacyFilingCalendarsOK describes a response with status code 200, with default header values.
Success
func NewLegacyFilingCalendarsOK ¶
func NewLegacyFilingCalendarsOK() *LegacyFilingCalendarsOK
NewLegacyFilingCalendarsOK creates a LegacyFilingCalendarsOK with default headers values
func (*LegacyFilingCalendarsOK) Error ¶
func (o *LegacyFilingCalendarsOK) Error() string
func (*LegacyFilingCalendarsOK) GetPayload ¶
func (o *LegacyFilingCalendarsOK) GetPayload() *models.FilingCalendarModelFetchResult
type LegacyFilingCalendarsParams ¶
type LegacyFilingCalendarsParams 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:* taxTypes, taxAuthorityId, taxAuthorityName, taxAuthorityType, settings */ DollarFilter *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 /* CompanyID. The ID of the company that owns these batches Format: int32 */ CompanyID int32 /* ReturnCountry. A comma separated list of countries */ ReturnCountry *string /* ReturnRegion. A comma separated list of regions */ ReturnRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LegacyFilingCalendarsParams contains all the parameters to send to the API endpoint
for the legacy filing calendars operation. Typically these are written to a http.Request.
func NewLegacyFilingCalendarsParams ¶
func NewLegacyFilingCalendarsParams() *LegacyFilingCalendarsParams
NewLegacyFilingCalendarsParams creates a new LegacyFilingCalendarsParams 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 NewLegacyFilingCalendarsParamsWithContext ¶
func NewLegacyFilingCalendarsParamsWithContext(ctx context.Context) *LegacyFilingCalendarsParams
NewLegacyFilingCalendarsParamsWithContext creates a new LegacyFilingCalendarsParams object with the ability to set a context for a request.
func NewLegacyFilingCalendarsParamsWithHTTPClient ¶
func NewLegacyFilingCalendarsParamsWithHTTPClient(client *http.Client) *LegacyFilingCalendarsParams
NewLegacyFilingCalendarsParamsWithHTTPClient creates a new LegacyFilingCalendarsParams object with the ability to set a custom HTTPClient for a request.
func NewLegacyFilingCalendarsParamsWithTimeout ¶
func NewLegacyFilingCalendarsParamsWithTimeout(timeout time.Duration) *LegacyFilingCalendarsParams
NewLegacyFilingCalendarsParamsWithTimeout creates a new LegacyFilingCalendarsParams object with the ability to set a timeout on a request.
func (*LegacyFilingCalendarsParams) SetCompanyID ¶
func (o *LegacyFilingCalendarsParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) SetContext ¶
func (o *LegacyFilingCalendarsParams) SetContext(ctx context.Context)
SetContext adds the context to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) SetDefaults ¶
func (o *LegacyFilingCalendarsParams) SetDefaults()
SetDefaults hydrates default values in the legacy filing calendars params (not the query body).
All values with no default are reset to their zero value.
func (*LegacyFilingCalendarsParams) SetDollarFilter ¶
func (o *LegacyFilingCalendarsParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) SetDollarOrderBy ¶
func (o *LegacyFilingCalendarsParams) SetDollarOrderBy(dollarOrderBy *string)
SetDollarOrderBy adds the dollarOrderBy to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) SetDollarSkip ¶
func (o *LegacyFilingCalendarsParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) SetDollarTop ¶
func (o *LegacyFilingCalendarsParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) SetHTTPClient ¶
func (o *LegacyFilingCalendarsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) SetReturnCountry ¶
func (o *LegacyFilingCalendarsParams) SetReturnCountry(returnCountry *string)
SetReturnCountry adds the returnCountry to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) SetReturnRegion ¶
func (o *LegacyFilingCalendarsParams) SetReturnRegion(returnRegion *string)
SetReturnRegion adds the returnRegion to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) SetTimeout ¶
func (o *LegacyFilingCalendarsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) SetXAvalaraClient ¶
func (o *LegacyFilingCalendarsParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) WithCompanyID ¶
func (o *LegacyFilingCalendarsParams) WithCompanyID(companyID int32) *LegacyFilingCalendarsParams
WithCompanyID adds the companyID to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) WithContext ¶
func (o *LegacyFilingCalendarsParams) WithContext(ctx context.Context) *LegacyFilingCalendarsParams
WithContext adds the context to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) WithDefaults ¶
func (o *LegacyFilingCalendarsParams) WithDefaults() *LegacyFilingCalendarsParams
WithDefaults hydrates default values in the legacy filing calendars params (not the query body).
All values with no default are reset to their zero value.
func (*LegacyFilingCalendarsParams) WithDollarFilter ¶
func (o *LegacyFilingCalendarsParams) WithDollarFilter(dollarFilter *string) *LegacyFilingCalendarsParams
WithDollarFilter adds the dollarFilter to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) WithDollarOrderBy ¶
func (o *LegacyFilingCalendarsParams) WithDollarOrderBy(dollarOrderBy *string) *LegacyFilingCalendarsParams
WithDollarOrderBy adds the dollarOrderBy to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) WithDollarSkip ¶
func (o *LegacyFilingCalendarsParams) WithDollarSkip(dollarSkip *int32) *LegacyFilingCalendarsParams
WithDollarSkip adds the dollarSkip to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) WithDollarTop ¶
func (o *LegacyFilingCalendarsParams) WithDollarTop(dollarTop *int32) *LegacyFilingCalendarsParams
WithDollarTop adds the dollarTop to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) WithHTTPClient ¶
func (o *LegacyFilingCalendarsParams) WithHTTPClient(client *http.Client) *LegacyFilingCalendarsParams
WithHTTPClient adds the HTTPClient to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) WithReturnCountry ¶
func (o *LegacyFilingCalendarsParams) WithReturnCountry(returnCountry *string) *LegacyFilingCalendarsParams
WithReturnCountry adds the returnCountry to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) WithReturnRegion ¶
func (o *LegacyFilingCalendarsParams) WithReturnRegion(returnRegion *string) *LegacyFilingCalendarsParams
WithReturnRegion adds the returnRegion to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) WithTimeout ¶
func (o *LegacyFilingCalendarsParams) WithTimeout(timeout time.Duration) *LegacyFilingCalendarsParams
WithTimeout adds the timeout to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) WithXAvalaraClient ¶
func (o *LegacyFilingCalendarsParams) WithXAvalaraClient(xAvalaraClient *string) *LegacyFilingCalendarsParams
WithXAvalaraClient adds the xAvalaraClient to the legacy filing calendars params
func (*LegacyFilingCalendarsParams) WriteToRequest ¶
func (o *LegacyFilingCalendarsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LegacyFilingCalendarsReader ¶
type LegacyFilingCalendarsReader struct {
// contains filtered or unexported fields
}
LegacyFilingCalendarsReader is a Reader for the LegacyFilingCalendars structure.
func (*LegacyFilingCalendarsReader) ReadResponse ¶
func (o *LegacyFilingCalendarsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LegacyFilingCalendarsUnauthorized ¶
type LegacyFilingCalendarsUnauthorized struct { }
LegacyFilingCalendarsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewLegacyFilingCalendarsUnauthorized ¶
func NewLegacyFilingCalendarsUnauthorized() *LegacyFilingCalendarsUnauthorized
NewLegacyFilingCalendarsUnauthorized creates a LegacyFilingCalendarsUnauthorized with default headers values
func (*LegacyFilingCalendarsUnauthorized) Error ¶
func (o *LegacyFilingCalendarsUnauthorized) Error() string