certificates

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 certificates API

func (*Client) CreateCertificates

func (a *Client) CreateCertificates(params *CreateCertificatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCertificatesOK, error)
CreateCertificates creates certificates for this company

Record one or more certificates document for this company.

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

When you create a certificate, it will be processed by Avalara and will become available for use in calculating tax exemptions when processing is complete. For a certificate to be used in calculating exemptions, it must have the following:

* An exposure zone indicating where the certificate is valid * A link to the customer that is allowed to use this certificate * Your tax transaction must contain the correct customer code

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) DeleteCertificate

func (a *Client) DeleteCertificate(params *DeleteCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCertificateOK, error)
DeleteCertificate revokes and delete a certificate

Revoke the certificate identified by this URL, then delete it.

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

Revoked certificates can no longer be used.

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) DownloadCertificateImage

func (a *Client) DownloadCertificateImage(params *DownloadCertificateImageParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer, opts ...ClientOption) (*DownloadCertificateImageOK, error)
DownloadCertificateImage downloads an image for this certificate

Download an image or PDF file for this certificate.

This API can be used to download either a single-page preview of the certificate or a full PDF document. To retrieve a preview image, set the `$type` parameter to `Jpeg` and the `$page` parameter to `1`.

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) GetCertificate

func (a *Client) GetCertificate(params *GetCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCertificateOK, error)
GetCertificate retrieves a single certificate

Get the current certificate identified by this URL.

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

You can use the `$include` parameter to fetch the following additional objects for expansion:

* customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate.

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) GetCertificateSetup

func (a *Client) GetCertificateSetup(params *GetCertificateSetupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCertificateSetupOK, error)
GetCertificateSetup checks a company s exemption certificate status

Checks whether this company is configured to use exemption certificates in AvaTax.

Exemption certificates are tracked through a different auditable data store than the one that holds AvaTax transactions. To use the AvaTax exemption certificate document store, please call `GetCertificateSetup` to see if your company is configured to use the exemption certificate document store. To request setup, please call `RequestCertificateSetup` and your company will be configured with data storage in the auditable certificate system.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) LinkAttributesToCertificate

func (a *Client) LinkAttributesToCertificate(params *LinkAttributesToCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LinkAttributesToCertificateOK, error)
LinkAttributesToCertificate links attributes to a certificate

Link one or many attributes to a certificate.

A certificate may have multiple attributes that control its behavior. You may link or unlink attributes to a certificate at any time. The full list of defined attributes may be found using `ListCertificateAttributes`.

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) LinkCustomersToCertificate

func (a *Client) LinkCustomersToCertificate(params *LinkCustomersToCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LinkCustomersToCertificateOK, error)
LinkCustomersToCertificate links customers to a certificate

Link one or more customers to an existing certificate.

Customers and certificates must be linked before a customer can make use of a certificate to obtain a tax exemption in AvaTax. Since some certificates may cover more than one business entity, a certificate can be connected to multiple customer records using the `LinkCustomersToCertificate` API.

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) ListAttributesForCertificate

func (a *Client) ListAttributesForCertificate(params *ListAttributesForCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAttributesForCertificateOK, error)
ListAttributesForCertificate lists all attributes applied to this certificate

Retrieve the list of attributes that are linked to this certificate.

A certificate may have multiple attributes that control its behavior. You may link or unlink attributes to a certificate at any time. The full list of defined attributes may be found using [ListCertificateAttributes](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Definitions/ListCertificateAttributes/) API.

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) ListCustomersForCertificate

func (a *Client) ListCustomersForCertificate(params *ListCustomersForCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCustomersForCertificateOK, error)
ListCustomersForCertificate lists customers linked to this certificate

List all customers linked to this certificate.

Customers must be linked to a certificate in order to make use of its tax exemption features. You can link or unlink customers to a certificate at any time.

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) QueryCertificates

func (a *Client) QueryCertificates(params *QueryCertificatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryCertificatesOK, error)
QueryCertificates lists all certificates for a company

List all certificates recorded by a company

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

You can use the `$include` parameter to fetch the following additional objects for expansion:

* customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate.

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) RequestCertificateSetup

func (a *Client) RequestCertificateSetup(params *RequestCertificateSetupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RequestCertificateSetupOK, error)
RequestCertificateSetup requests setup of exemption certificates for this company

Requests the setup of exemption certificates for this company.

Exemption certificates are tracked through a different auditable data store than the one that holds AvaTax transactions. To use the AvaTax exemption certificate document store, please call `GetCertificateSetup` to see if your company is configured to use the exemption certificate document store. To request setup, please call `RequestCertificateSetup` and your company will be configured with data storage in the auditable certificate system.

This API will return the current status of exemption certificate setup for this company.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UnlinkAttributesFromCertificate

func (a *Client) UnlinkAttributesFromCertificate(params *UnlinkAttributesFromCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkAttributesFromCertificateOK, error)
UnlinkAttributesFromCertificate unlinks attributes from a certificate

Unlink one or many attributes from a certificate.

A certificate may have multiple attributes that control its behavior. You may link or unlink attributes to a certificate at any time. The full list of defined attributes may be found using `ListCertificateAttributes`.

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) UnlinkCustomersFromCertificate

func (a *Client) UnlinkCustomersFromCertificate(params *UnlinkCustomersFromCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkCustomersFromCertificateOK, error)
UnlinkCustomersFromCertificate unlinks customers from a certificate

Unlinks one or more customers from a certificate.

Unlinking a certificate from a customer will prevent the certificate from being used to generate tax exemptions for the customer in the future. If any previous transactions for this customer had used this linked certificate, those transactions will be unchanged and will still have a link to the exemption certificate in question.

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) UpdateCertificate

func (a *Client) UpdateCertificate(params *UpdateCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCertificateOK, error)
UpdateCertificate updates a single certificate

Replace the certificate identified by this URL with a new one.

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin. * This API depends on the following active services:*Required* (all): AvaTaxPro.

func (*Client) UploadCertificateImage

func (a *Client) UploadCertificateImage(params *UploadCertificateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadCertificateImageOK, error)
UploadCertificateImage uploads an image or p d f attachment for this certificate

Upload an image or PDF attachment for this certificate.

Image attachments can be of the format `PDF`, `JPEG`, `TIFF`, or `PNG`. To upload a multi-page image, please use the `PDF` data type.

A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document can contain information about a customer's eligibility for exemption from sales or use taxes based on criteria you specify when you store the certificate. To view or manage your certificates directly, please log onto the administrative website for the product you purchased.

Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage. Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption certificate storage for this company, call `RequestCertificateSetup`.

### Security Policies

* This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * This API depends on the following active services:*Required* (all): AvaTaxPro.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateCertificates(params *CreateCertificatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCertificatesOK, error)

	DeleteCertificate(params *DeleteCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCertificateOK, error)

	DownloadCertificateImage(params *DownloadCertificateImageParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer, opts ...ClientOption) (*DownloadCertificateImageOK, error)

	GetCertificate(params *GetCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCertificateOK, error)

	GetCertificateSetup(params *GetCertificateSetupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCertificateSetupOK, error)

	LinkAttributesToCertificate(params *LinkAttributesToCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LinkAttributesToCertificateOK, error)

	LinkCustomersToCertificate(params *LinkCustomersToCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LinkCustomersToCertificateOK, error)

	ListAttributesForCertificate(params *ListAttributesForCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAttributesForCertificateOK, error)

	ListCustomersForCertificate(params *ListCustomersForCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCustomersForCertificateOK, error)

	QueryCertificates(params *QueryCertificatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryCertificatesOK, error)

	RequestCertificateSetup(params *RequestCertificateSetupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RequestCertificateSetupOK, error)

	UnlinkAttributesFromCertificate(params *UnlinkAttributesFromCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkAttributesFromCertificateOK, error)

	UnlinkCustomersFromCertificate(params *UnlinkCustomersFromCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkCustomersFromCertificateOK, error)

	UpdateCertificate(params *UpdateCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCertificateOK, error)

	UploadCertificateImage(params *UploadCertificateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadCertificateImageOK, 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 certificates API client.

type CreateCertificatesBadRequest

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

Bad Request

func NewCreateCertificatesBadRequest

func NewCreateCertificatesBadRequest() *CreateCertificatesBadRequest

NewCreateCertificatesBadRequest creates a CreateCertificatesBadRequest with default headers values

func (*CreateCertificatesBadRequest) Error

type CreateCertificatesNotFound

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

Not Found

func NewCreateCertificatesNotFound

func NewCreateCertificatesNotFound() *CreateCertificatesNotFound

NewCreateCertificatesNotFound creates a CreateCertificatesNotFound with default headers values

func (*CreateCertificatesNotFound) Error

type CreateCertificatesOK

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

Success

func NewCreateCertificatesOK

func NewCreateCertificatesOK() *CreateCertificatesOK

NewCreateCertificatesOK creates a CreateCertificatesOK with default headers values

func (*CreateCertificatesOK) Error

func (o *CreateCertificatesOK) Error() string

func (*CreateCertificatesOK) GetPayload

func (o *CreateCertificatesOK) GetPayload() []*models.CertificateModel

type CreateCertificatesParams

type CreateCertificatesParams struct {

	/* DollarPreValidatedExemptionReason.

	   If set to true, the certificate will bypass the human verification process.
	*/
	DollarPreValidatedExemptionReason *bool

	/* 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.

	   Certificates to be created
	*/
	Body []*models.CertificateModel

	/* CompanyID.

	   The ID number of the company recording this certificate

	   Format: int32
	*/
	CompanyID int32

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

CreateCertificatesParams contains all the parameters to send to the API endpoint

for the create certificates operation.

Typically these are written to a http.Request.

func NewCreateCertificatesParams

func NewCreateCertificatesParams() *CreateCertificatesParams

NewCreateCertificatesParams creates a new CreateCertificatesParams 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 NewCreateCertificatesParamsWithContext

func NewCreateCertificatesParamsWithContext(ctx context.Context) *CreateCertificatesParams

NewCreateCertificatesParamsWithContext creates a new CreateCertificatesParams object with the ability to set a context for a request.

func NewCreateCertificatesParamsWithHTTPClient

func NewCreateCertificatesParamsWithHTTPClient(client *http.Client) *CreateCertificatesParams

NewCreateCertificatesParamsWithHTTPClient creates a new CreateCertificatesParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCertificatesParamsWithTimeout

func NewCreateCertificatesParamsWithTimeout(timeout time.Duration) *CreateCertificatesParams

NewCreateCertificatesParamsWithTimeout creates a new CreateCertificatesParams object with the ability to set a timeout on a request.

func (*CreateCertificatesParams) SetBody

func (o *CreateCertificatesParams) SetBody(body []*models.CertificateModel)

SetBody adds the body to the create certificates params

func (*CreateCertificatesParams) SetCompanyID

func (o *CreateCertificatesParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the create certificates params

func (*CreateCertificatesParams) SetContext

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

SetContext adds the context to the create certificates params

func (*CreateCertificatesParams) SetDefaults

func (o *CreateCertificatesParams) SetDefaults()

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

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

func (*CreateCertificatesParams) SetDollarPreValidatedExemptionReason

func (o *CreateCertificatesParams) SetDollarPreValidatedExemptionReason(dollarPreValidatedExemptionReason *bool)

SetDollarPreValidatedExemptionReason adds the dollarPreValidatedExemptionReason to the create certificates params

func (*CreateCertificatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create certificates params

func (*CreateCertificatesParams) SetTimeout

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

SetTimeout adds the timeout to the create certificates params

func (*CreateCertificatesParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the create certificates params

func (*CreateCertificatesParams) WithBody

WithBody adds the body to the create certificates params

func (*CreateCertificatesParams) WithCompanyID

func (o *CreateCertificatesParams) WithCompanyID(companyID int32) *CreateCertificatesParams

WithCompanyID adds the companyID to the create certificates params

func (*CreateCertificatesParams) WithContext

WithContext adds the context to the create certificates params

func (*CreateCertificatesParams) WithDefaults

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

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

func (*CreateCertificatesParams) WithDollarPreValidatedExemptionReason

func (o *CreateCertificatesParams) WithDollarPreValidatedExemptionReason(dollarPreValidatedExemptionReason *bool) *CreateCertificatesParams

WithDollarPreValidatedExemptionReason adds the dollarPreValidatedExemptionReason to the create certificates params

func (*CreateCertificatesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create certificates params

func (*CreateCertificatesParams) WithTimeout

WithTimeout adds the timeout to the create certificates params

func (*CreateCertificatesParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the create certificates params

func (*CreateCertificatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCertificatesReader

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

CreateCertificatesReader is a Reader for the CreateCertificates structure.

func (*CreateCertificatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateCertificatesUnauthorized

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

Unauthorized

func NewCreateCertificatesUnauthorized

func NewCreateCertificatesUnauthorized() *CreateCertificatesUnauthorized

NewCreateCertificatesUnauthorized creates a CreateCertificatesUnauthorized with default headers values

func (*CreateCertificatesUnauthorized) Error

type DeleteCertificateBadRequest

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

Bad Request

func NewDeleteCertificateBadRequest

func NewDeleteCertificateBadRequest() *DeleteCertificateBadRequest

NewDeleteCertificateBadRequest creates a DeleteCertificateBadRequest with default headers values

func (*DeleteCertificateBadRequest) Error

type DeleteCertificateNotFound

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

Not Found

func NewDeleteCertificateNotFound

func NewDeleteCertificateNotFound() *DeleteCertificateNotFound

NewDeleteCertificateNotFound creates a DeleteCertificateNotFound with default headers values

func (*DeleteCertificateNotFound) Error

func (o *DeleteCertificateNotFound) Error() string

type DeleteCertificateOK

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

Success

func NewDeleteCertificateOK

func NewDeleteCertificateOK() *DeleteCertificateOK

NewDeleteCertificateOK creates a DeleteCertificateOK with default headers values

func (*DeleteCertificateOK) Error

func (o *DeleteCertificateOK) Error() string

func (*DeleteCertificateOK) GetPayload

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

type DeleteCertificateParams

type DeleteCertificateParams 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 number of the company that recorded this certificate

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The unique ID number of this certificate

	   Format: int32
	*/
	ID int32

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

DeleteCertificateParams contains all the parameters to send to the API endpoint

for the delete certificate operation.

Typically these are written to a http.Request.

func NewDeleteCertificateParams

func NewDeleteCertificateParams() *DeleteCertificateParams

NewDeleteCertificateParams creates a new DeleteCertificateParams 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 NewDeleteCertificateParamsWithContext

func NewDeleteCertificateParamsWithContext(ctx context.Context) *DeleteCertificateParams

NewDeleteCertificateParamsWithContext creates a new DeleteCertificateParams object with the ability to set a context for a request.

func NewDeleteCertificateParamsWithHTTPClient

func NewDeleteCertificateParamsWithHTTPClient(client *http.Client) *DeleteCertificateParams

NewDeleteCertificateParamsWithHTTPClient creates a new DeleteCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCertificateParamsWithTimeout

func NewDeleteCertificateParamsWithTimeout(timeout time.Duration) *DeleteCertificateParams

NewDeleteCertificateParamsWithTimeout creates a new DeleteCertificateParams object with the ability to set a timeout on a request.

func (*DeleteCertificateParams) SetCompanyID

func (o *DeleteCertificateParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the delete certificate params

func (*DeleteCertificateParams) SetContext

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

SetContext adds the context to the delete certificate params

func (*DeleteCertificateParams) SetDefaults

func (o *DeleteCertificateParams) SetDefaults()

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

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

func (*DeleteCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete certificate params

func (*DeleteCertificateParams) SetID

func (o *DeleteCertificateParams) SetID(id int32)

SetID adds the id to the delete certificate params

func (*DeleteCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the delete certificate params

func (*DeleteCertificateParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the delete certificate params

func (*DeleteCertificateParams) WithCompanyID

func (o *DeleteCertificateParams) WithCompanyID(companyID int32) *DeleteCertificateParams

WithCompanyID adds the companyID to the delete certificate params

func (*DeleteCertificateParams) WithContext

WithContext adds the context to the delete certificate params

func (*DeleteCertificateParams) WithDefaults

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

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

func (*DeleteCertificateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete certificate params

func (*DeleteCertificateParams) WithID

WithID adds the id to the delete certificate params

func (*DeleteCertificateParams) WithTimeout

WithTimeout adds the timeout to the delete certificate params

func (*DeleteCertificateParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the delete certificate params

func (*DeleteCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCertificateReader

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

DeleteCertificateReader is a Reader for the DeleteCertificate structure.

func (*DeleteCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCertificateUnauthorized

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

Unauthorized

func NewDeleteCertificateUnauthorized

func NewDeleteCertificateUnauthorized() *DeleteCertificateUnauthorized

NewDeleteCertificateUnauthorized creates a DeleteCertificateUnauthorized with default headers values

func (*DeleteCertificateUnauthorized) Error

type DownloadCertificateImageBadRequest

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

Bad Request

func NewDownloadCertificateImageBadRequest

func NewDownloadCertificateImageBadRequest() *DownloadCertificateImageBadRequest

NewDownloadCertificateImageBadRequest creates a DownloadCertificateImageBadRequest with default headers values

func (*DownloadCertificateImageBadRequest) Error

type DownloadCertificateImageNotFound

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

Not Found

func NewDownloadCertificateImageNotFound

func NewDownloadCertificateImageNotFound() *DownloadCertificateImageNotFound

NewDownloadCertificateImageNotFound creates a DownloadCertificateImageNotFound with default headers values

func (*DownloadCertificateImageNotFound) Error

type DownloadCertificateImageOK

type DownloadCertificateImageOK struct {
	Payload io.Writer
}
DownloadCertificateImageOK describes a response with status code 200, with default header values.

OK

func NewDownloadCertificateImageOK

func NewDownloadCertificateImageOK(writer io.Writer) *DownloadCertificateImageOK

NewDownloadCertificateImageOK creates a DownloadCertificateImageOK with default headers values

func (*DownloadCertificateImageOK) Error

func (*DownloadCertificateImageOK) GetPayload

func (o *DownloadCertificateImageOK) GetPayload() io.Writer

type DownloadCertificateImageParams

type DownloadCertificateImageParams struct {

	/* DollarPage.

	   If you choose `$type`=`Jpeg`, you must specify which page number to retrieve.

	   Format: int32
	*/
	DollarPage *int32

	/* DollarType.

	   The data format in which to retrieve the certificate image

	   Default: "Pdf"
	*/
	DollarType *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

	/* CompanyID.

	   The unique ID number of the company that recorded this certificate

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The unique ID number of this certificate

	   Format: int32
	*/
	ID int32

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

DownloadCertificateImageParams contains all the parameters to send to the API endpoint

for the download certificate image operation.

Typically these are written to a http.Request.

func NewDownloadCertificateImageParams

func NewDownloadCertificateImageParams() *DownloadCertificateImageParams

NewDownloadCertificateImageParams creates a new DownloadCertificateImageParams 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 NewDownloadCertificateImageParamsWithContext

func NewDownloadCertificateImageParamsWithContext(ctx context.Context) *DownloadCertificateImageParams

NewDownloadCertificateImageParamsWithContext creates a new DownloadCertificateImageParams object with the ability to set a context for a request.

func NewDownloadCertificateImageParamsWithHTTPClient

func NewDownloadCertificateImageParamsWithHTTPClient(client *http.Client) *DownloadCertificateImageParams

NewDownloadCertificateImageParamsWithHTTPClient creates a new DownloadCertificateImageParams object with the ability to set a custom HTTPClient for a request.

func NewDownloadCertificateImageParamsWithTimeout

func NewDownloadCertificateImageParamsWithTimeout(timeout time.Duration) *DownloadCertificateImageParams

NewDownloadCertificateImageParamsWithTimeout creates a new DownloadCertificateImageParams object with the ability to set a timeout on a request.

func (*DownloadCertificateImageParams) SetCompanyID

func (o *DownloadCertificateImageParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the download certificate image params

func (*DownloadCertificateImageParams) SetContext

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

SetContext adds the context to the download certificate image params

func (*DownloadCertificateImageParams) SetDefaults

func (o *DownloadCertificateImageParams) SetDefaults()

SetDefaults hydrates default values in the download certificate image params (not the query body).

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

func (*DownloadCertificateImageParams) SetDollarPage

func (o *DownloadCertificateImageParams) SetDollarPage(dollarPage *int32)

SetDollarPage adds the dollarPage to the download certificate image params

func (*DownloadCertificateImageParams) SetDollarType

func (o *DownloadCertificateImageParams) SetDollarType(dollarType *string)

SetDollarType adds the dollarType to the download certificate image params

func (*DownloadCertificateImageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the download certificate image params

func (*DownloadCertificateImageParams) SetID

SetID adds the id to the download certificate image params

func (*DownloadCertificateImageParams) SetTimeout

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

SetTimeout adds the timeout to the download certificate image params

func (*DownloadCertificateImageParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the download certificate image params

func (*DownloadCertificateImageParams) WithCompanyID

WithCompanyID adds the companyID to the download certificate image params

func (*DownloadCertificateImageParams) WithContext

WithContext adds the context to the download certificate image params

func (*DownloadCertificateImageParams) WithDefaults

WithDefaults hydrates default values in the download certificate image params (not the query body).

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

func (*DownloadCertificateImageParams) WithDollarPage

WithDollarPage adds the dollarPage to the download certificate image params

func (*DownloadCertificateImageParams) WithDollarType

WithDollarType adds the dollarType to the download certificate image params

func (*DownloadCertificateImageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the download certificate image params

func (*DownloadCertificateImageParams) WithID

WithID adds the id to the download certificate image params

func (*DownloadCertificateImageParams) WithTimeout

WithTimeout adds the timeout to the download certificate image params

func (*DownloadCertificateImageParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the download certificate image params

func (*DownloadCertificateImageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DownloadCertificateImageReader

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

DownloadCertificateImageReader is a Reader for the DownloadCertificateImage structure.

func (*DownloadCertificateImageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DownloadCertificateImageUnauthorized

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

Unauthorized

func NewDownloadCertificateImageUnauthorized

func NewDownloadCertificateImageUnauthorized() *DownloadCertificateImageUnauthorized

NewDownloadCertificateImageUnauthorized creates a DownloadCertificateImageUnauthorized with default headers values

func (*DownloadCertificateImageUnauthorized) Error

type GetCertificateBadRequest

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

Bad Request

func NewGetCertificateBadRequest

func NewGetCertificateBadRequest() *GetCertificateBadRequest

NewGetCertificateBadRequest creates a GetCertificateBadRequest with default headers values

func (*GetCertificateBadRequest) Error

func (o *GetCertificateBadRequest) Error() string

type GetCertificateNotFound

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

Not Found

func NewGetCertificateNotFound

func NewGetCertificateNotFound() *GetCertificateNotFound

NewGetCertificateNotFound creates a GetCertificateNotFound with default headers values

func (*GetCertificateNotFound) Error

func (o *GetCertificateNotFound) Error() string

type GetCertificateOK

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

Success

func NewGetCertificateOK

func NewGetCertificateOK() *GetCertificateOK

NewGetCertificateOK creates a GetCertificateOK with default headers values

func (*GetCertificateOK) Error

func (o *GetCertificateOK) Error() string

func (*GetCertificateOK) GetPayload

func (o *GetCertificateOK) GetPayload() *models.CertificateModel

type GetCertificateParams

type GetCertificateParams struct {

	/* DollarInclude.

	   OPTIONAL: A comma separated list of special fetch options.  You can specify one or more of the following:

	           * customers - Retrieves the list of customers linked to the certificate.
	           * po_numbers - Retrieves all PO numbers tied to the certificate.
	           * attributes - Retrieves all attributes applied to the certificate.
	*/
	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

	/* CompanyID.

	   The ID number of the company that recorded this certificate

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The unique ID number of this certificate

	   Format: int32
	*/
	ID int32

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

GetCertificateParams contains all the parameters to send to the API endpoint

for the get certificate operation.

Typically these are written to a http.Request.

func NewGetCertificateParams

func NewGetCertificateParams() *GetCertificateParams

NewGetCertificateParams creates a new GetCertificateParams 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 NewGetCertificateParamsWithContext

func NewGetCertificateParamsWithContext(ctx context.Context) *GetCertificateParams

NewGetCertificateParamsWithContext creates a new GetCertificateParams object with the ability to set a context for a request.

func NewGetCertificateParamsWithHTTPClient

func NewGetCertificateParamsWithHTTPClient(client *http.Client) *GetCertificateParams

NewGetCertificateParamsWithHTTPClient creates a new GetCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewGetCertificateParamsWithTimeout

func NewGetCertificateParamsWithTimeout(timeout time.Duration) *GetCertificateParams

NewGetCertificateParamsWithTimeout creates a new GetCertificateParams object with the ability to set a timeout on a request.

func (*GetCertificateParams) SetCompanyID

func (o *GetCertificateParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the get certificate params

func (*GetCertificateParams) SetContext

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

SetContext adds the context to the get certificate params

func (*GetCertificateParams) SetDefaults

func (o *GetCertificateParams) SetDefaults()

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

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

func (*GetCertificateParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the get certificate params

func (*GetCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get certificate params

func (*GetCertificateParams) SetID

func (o *GetCertificateParams) SetID(id int32)

SetID adds the id to the get certificate params

func (*GetCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the get certificate params

func (*GetCertificateParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get certificate params

func (*GetCertificateParams) WithCompanyID

func (o *GetCertificateParams) WithCompanyID(companyID int32) *GetCertificateParams

WithCompanyID adds the companyID to the get certificate params

func (*GetCertificateParams) WithContext

WithContext adds the context to the get certificate params

func (*GetCertificateParams) WithDefaults

func (o *GetCertificateParams) WithDefaults() *GetCertificateParams

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

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

func (*GetCertificateParams) WithDollarInclude

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

WithDollarInclude adds the dollarInclude to the get certificate params

func (*GetCertificateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get certificate params

func (*GetCertificateParams) WithID

WithID adds the id to the get certificate params

func (*GetCertificateParams) WithTimeout

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

WithTimeout adds the timeout to the get certificate params

func (*GetCertificateParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get certificate params

func (*GetCertificateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCertificateReader

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

GetCertificateReader is a Reader for the GetCertificate structure.

func (*GetCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCertificateSetupBadRequest

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

Bad Request

func NewGetCertificateSetupBadRequest

func NewGetCertificateSetupBadRequest() *GetCertificateSetupBadRequest

NewGetCertificateSetupBadRequest creates a GetCertificateSetupBadRequest with default headers values

func (*GetCertificateSetupBadRequest) Error

type GetCertificateSetupNotFound

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

Not Found

func NewGetCertificateSetupNotFound

func NewGetCertificateSetupNotFound() *GetCertificateSetupNotFound

NewGetCertificateSetupNotFound creates a GetCertificateSetupNotFound with default headers values

func (*GetCertificateSetupNotFound) Error

type GetCertificateSetupOK

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

Success

func NewGetCertificateSetupOK

func NewGetCertificateSetupOK() *GetCertificateSetupOK

NewGetCertificateSetupOK creates a GetCertificateSetupOK with default headers values

func (*GetCertificateSetupOK) Error

func (o *GetCertificateSetupOK) Error() string

func (*GetCertificateSetupOK) GetPayload

type GetCertificateSetupParams

type GetCertificateSetupParams 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 company ID to check

	   Format: int32
	*/
	CompanyID int32

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

GetCertificateSetupParams contains all the parameters to send to the API endpoint

for the get certificate setup operation.

Typically these are written to a http.Request.

func NewGetCertificateSetupParams

func NewGetCertificateSetupParams() *GetCertificateSetupParams

NewGetCertificateSetupParams creates a new GetCertificateSetupParams 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 NewGetCertificateSetupParamsWithContext

func NewGetCertificateSetupParamsWithContext(ctx context.Context) *GetCertificateSetupParams

NewGetCertificateSetupParamsWithContext creates a new GetCertificateSetupParams object with the ability to set a context for a request.

func NewGetCertificateSetupParamsWithHTTPClient

func NewGetCertificateSetupParamsWithHTTPClient(client *http.Client) *GetCertificateSetupParams

NewGetCertificateSetupParamsWithHTTPClient creates a new GetCertificateSetupParams object with the ability to set a custom HTTPClient for a request.

func NewGetCertificateSetupParamsWithTimeout

func NewGetCertificateSetupParamsWithTimeout(timeout time.Duration) *GetCertificateSetupParams

NewGetCertificateSetupParamsWithTimeout creates a new GetCertificateSetupParams object with the ability to set a timeout on a request.

func (*GetCertificateSetupParams) SetCompanyID

func (o *GetCertificateSetupParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the get certificate setup params

func (*GetCertificateSetupParams) SetContext

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

SetContext adds the context to the get certificate setup params

func (*GetCertificateSetupParams) SetDefaults

func (o *GetCertificateSetupParams) SetDefaults()

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

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

func (*GetCertificateSetupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get certificate setup params

func (*GetCertificateSetupParams) SetTimeout

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

SetTimeout adds the timeout to the get certificate setup params

func (*GetCertificateSetupParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the get certificate setup params

func (*GetCertificateSetupParams) WithCompanyID

func (o *GetCertificateSetupParams) WithCompanyID(companyID int32) *GetCertificateSetupParams

WithCompanyID adds the companyID to the get certificate setup params

func (*GetCertificateSetupParams) WithContext

WithContext adds the context to the get certificate setup params

func (*GetCertificateSetupParams) WithDefaults

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

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

func (*GetCertificateSetupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get certificate setup params

func (*GetCertificateSetupParams) WithTimeout

WithTimeout adds the timeout to the get certificate setup params

func (*GetCertificateSetupParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the get certificate setup params

func (*GetCertificateSetupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCertificateSetupReader

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

GetCertificateSetupReader is a Reader for the GetCertificateSetup structure.

func (*GetCertificateSetupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCertificateSetupUnauthorized

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

Unauthorized

func NewGetCertificateSetupUnauthorized

func NewGetCertificateSetupUnauthorized() *GetCertificateSetupUnauthorized

NewGetCertificateSetupUnauthorized creates a GetCertificateSetupUnauthorized with default headers values

func (*GetCertificateSetupUnauthorized) Error

type GetCertificateUnauthorized

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

Unauthorized

func NewGetCertificateUnauthorized

func NewGetCertificateUnauthorized() *GetCertificateUnauthorized

NewGetCertificateUnauthorized creates a GetCertificateUnauthorized with default headers values

func (*GetCertificateUnauthorized) Error

type LinkAttributesToCertificateBadRequest

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

Bad Request

func NewLinkAttributesToCertificateBadRequest

func NewLinkAttributesToCertificateBadRequest() *LinkAttributesToCertificateBadRequest

NewLinkAttributesToCertificateBadRequest creates a LinkAttributesToCertificateBadRequest with default headers values

func (*LinkAttributesToCertificateBadRequest) Error

type LinkAttributesToCertificateNotFound

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

Not Found

func NewLinkAttributesToCertificateNotFound

func NewLinkAttributesToCertificateNotFound() *LinkAttributesToCertificateNotFound

NewLinkAttributesToCertificateNotFound creates a LinkAttributesToCertificateNotFound with default headers values

func (*LinkAttributesToCertificateNotFound) Error

type LinkAttributesToCertificateOK

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

Success

func NewLinkAttributesToCertificateOK

func NewLinkAttributesToCertificateOK() *LinkAttributesToCertificateOK

NewLinkAttributesToCertificateOK creates a LinkAttributesToCertificateOK with default headers values

func (*LinkAttributesToCertificateOK) Error

func (*LinkAttributesToCertificateOK) GetPayload

type LinkAttributesToCertificateParams

type LinkAttributesToCertificateParams 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 list of attributes to link to this certificate.
	*/
	Body []*models.CertificateAttributeModel

	/* CompanyID.

	   The unique ID number of the company that recorded this certificate

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The unique ID number of this certificate

	   Format: int32
	*/
	ID int32

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

LinkAttributesToCertificateParams contains all the parameters to send to the API endpoint

for the link attributes to certificate operation.

Typically these are written to a http.Request.

func NewLinkAttributesToCertificateParams

func NewLinkAttributesToCertificateParams() *LinkAttributesToCertificateParams

NewLinkAttributesToCertificateParams creates a new LinkAttributesToCertificateParams 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 NewLinkAttributesToCertificateParamsWithContext

func NewLinkAttributesToCertificateParamsWithContext(ctx context.Context) *LinkAttributesToCertificateParams

NewLinkAttributesToCertificateParamsWithContext creates a new LinkAttributesToCertificateParams object with the ability to set a context for a request.

func NewLinkAttributesToCertificateParamsWithHTTPClient

func NewLinkAttributesToCertificateParamsWithHTTPClient(client *http.Client) *LinkAttributesToCertificateParams

NewLinkAttributesToCertificateParamsWithHTTPClient creates a new LinkAttributesToCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewLinkAttributesToCertificateParamsWithTimeout

func NewLinkAttributesToCertificateParamsWithTimeout(timeout time.Duration) *LinkAttributesToCertificateParams

NewLinkAttributesToCertificateParamsWithTimeout creates a new LinkAttributesToCertificateParams object with the ability to set a timeout on a request.

func (*LinkAttributesToCertificateParams) SetBody

SetBody adds the body to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) SetCompanyID

func (o *LinkAttributesToCertificateParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) SetContext

SetContext adds the context to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) SetDefaults

func (o *LinkAttributesToCertificateParams) SetDefaults()

SetDefaults hydrates default values in the link attributes to certificate params (not the query body).

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

func (*LinkAttributesToCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) SetID

SetID adds the id to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) WithBody

WithBody adds the body to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) WithCompanyID

WithCompanyID adds the companyID to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) WithContext

WithContext adds the context to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) WithDefaults

WithDefaults hydrates default values in the link attributes to certificate params (not the query body).

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

func (*LinkAttributesToCertificateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) WithID

WithID adds the id to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) WithTimeout

WithTimeout adds the timeout to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the link attributes to certificate params

func (*LinkAttributesToCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LinkAttributesToCertificateReader

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

LinkAttributesToCertificateReader is a Reader for the LinkAttributesToCertificate structure.

func (*LinkAttributesToCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LinkAttributesToCertificateUnauthorized

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

Unauthorized

func NewLinkAttributesToCertificateUnauthorized

func NewLinkAttributesToCertificateUnauthorized() *LinkAttributesToCertificateUnauthorized

NewLinkAttributesToCertificateUnauthorized creates a LinkAttributesToCertificateUnauthorized with default headers values

func (*LinkAttributesToCertificateUnauthorized) Error

type LinkCustomersToCertificateBadRequest

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

Bad Request

func NewLinkCustomersToCertificateBadRequest

func NewLinkCustomersToCertificateBadRequest() *LinkCustomersToCertificateBadRequest

NewLinkCustomersToCertificateBadRequest creates a LinkCustomersToCertificateBadRequest with default headers values

func (*LinkCustomersToCertificateBadRequest) Error

type LinkCustomersToCertificateNotFound

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

Not Found

func NewLinkCustomersToCertificateNotFound

func NewLinkCustomersToCertificateNotFound() *LinkCustomersToCertificateNotFound

NewLinkCustomersToCertificateNotFound creates a LinkCustomersToCertificateNotFound with default headers values

func (*LinkCustomersToCertificateNotFound) Error

type LinkCustomersToCertificateOK

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

Success

func NewLinkCustomersToCertificateOK

func NewLinkCustomersToCertificateOK() *LinkCustomersToCertificateOK

NewLinkCustomersToCertificateOK creates a LinkCustomersToCertificateOK with default headers values

func (*LinkCustomersToCertificateOK) Error

func (*LinkCustomersToCertificateOK) GetPayload

type LinkCustomersToCertificateParams

type LinkCustomersToCertificateParams 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 list of customers needed be added to the Certificate for exemption
	*/
	Body *models.LinkCustomersModel

	/* CompanyID.

	   The unique ID number of the company that recorded this certificate

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The unique ID number of this certificate

	   Format: int32
	*/
	ID int32

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

LinkCustomersToCertificateParams contains all the parameters to send to the API endpoint

for the link customers to certificate operation.

Typically these are written to a http.Request.

func NewLinkCustomersToCertificateParams

func NewLinkCustomersToCertificateParams() *LinkCustomersToCertificateParams

NewLinkCustomersToCertificateParams creates a new LinkCustomersToCertificateParams 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 NewLinkCustomersToCertificateParamsWithContext

func NewLinkCustomersToCertificateParamsWithContext(ctx context.Context) *LinkCustomersToCertificateParams

NewLinkCustomersToCertificateParamsWithContext creates a new LinkCustomersToCertificateParams object with the ability to set a context for a request.

func NewLinkCustomersToCertificateParamsWithHTTPClient

func NewLinkCustomersToCertificateParamsWithHTTPClient(client *http.Client) *LinkCustomersToCertificateParams

NewLinkCustomersToCertificateParamsWithHTTPClient creates a new LinkCustomersToCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewLinkCustomersToCertificateParamsWithTimeout

func NewLinkCustomersToCertificateParamsWithTimeout(timeout time.Duration) *LinkCustomersToCertificateParams

NewLinkCustomersToCertificateParamsWithTimeout creates a new LinkCustomersToCertificateParams object with the ability to set a timeout on a request.

func (*LinkCustomersToCertificateParams) SetBody

SetBody adds the body to the link customers to certificate params

func (*LinkCustomersToCertificateParams) SetCompanyID

func (o *LinkCustomersToCertificateParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the link customers to certificate params

func (*LinkCustomersToCertificateParams) SetContext

SetContext adds the context to the link customers to certificate params

func (*LinkCustomersToCertificateParams) SetDefaults

func (o *LinkCustomersToCertificateParams) SetDefaults()

SetDefaults hydrates default values in the link customers to certificate params (not the query body).

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

func (*LinkCustomersToCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the link customers to certificate params

func (*LinkCustomersToCertificateParams) SetID

SetID adds the id to the link customers to certificate params

func (*LinkCustomersToCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the link customers to certificate params

func (*LinkCustomersToCertificateParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the link customers to certificate params

func (*LinkCustomersToCertificateParams) WithBody

WithBody adds the body to the link customers to certificate params

func (*LinkCustomersToCertificateParams) WithCompanyID

WithCompanyID adds the companyID to the link customers to certificate params

func (*LinkCustomersToCertificateParams) WithContext

WithContext adds the context to the link customers to certificate params

func (*LinkCustomersToCertificateParams) WithDefaults

WithDefaults hydrates default values in the link customers to certificate params (not the query body).

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

func (*LinkCustomersToCertificateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the link customers to certificate params

func (*LinkCustomersToCertificateParams) WithID

WithID adds the id to the link customers to certificate params

func (*LinkCustomersToCertificateParams) WithTimeout

WithTimeout adds the timeout to the link customers to certificate params

func (*LinkCustomersToCertificateParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the link customers to certificate params

func (*LinkCustomersToCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LinkCustomersToCertificateReader

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

LinkCustomersToCertificateReader is a Reader for the LinkCustomersToCertificate structure.

func (*LinkCustomersToCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LinkCustomersToCertificateUnauthorized

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

Unauthorized

func NewLinkCustomersToCertificateUnauthorized

func NewLinkCustomersToCertificateUnauthorized() *LinkCustomersToCertificateUnauthorized

NewLinkCustomersToCertificateUnauthorized creates a LinkCustomersToCertificateUnauthorized with default headers values

func (*LinkCustomersToCertificateUnauthorized) Error

type ListAttributesForCertificateBadRequest

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

Bad Request

func NewListAttributesForCertificateBadRequest

func NewListAttributesForCertificateBadRequest() *ListAttributesForCertificateBadRequest

NewListAttributesForCertificateBadRequest creates a ListAttributesForCertificateBadRequest with default headers values

func (*ListAttributesForCertificateBadRequest) Error

type ListAttributesForCertificateNotFound

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

Not Found

func NewListAttributesForCertificateNotFound

func NewListAttributesForCertificateNotFound() *ListAttributesForCertificateNotFound

NewListAttributesForCertificateNotFound creates a ListAttributesForCertificateNotFound with default headers values

func (*ListAttributesForCertificateNotFound) Error

type ListAttributesForCertificateOK

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

Success

func NewListAttributesForCertificateOK

func NewListAttributesForCertificateOK() *ListAttributesForCertificateOK

NewListAttributesForCertificateOK creates a ListAttributesForCertificateOK with default headers values

func (*ListAttributesForCertificateOK) Error

func (*ListAttributesForCertificateOK) GetPayload

type ListAttributesForCertificateParams

type ListAttributesForCertificateParams 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 number of the company that recorded this certificate

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The unique ID number of this certificate

	   Format: int32
	*/
	ID int32

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

ListAttributesForCertificateParams contains all the parameters to send to the API endpoint

for the list attributes for certificate operation.

Typically these are written to a http.Request.

func NewListAttributesForCertificateParams

func NewListAttributesForCertificateParams() *ListAttributesForCertificateParams

NewListAttributesForCertificateParams creates a new ListAttributesForCertificateParams 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 NewListAttributesForCertificateParamsWithContext

func NewListAttributesForCertificateParamsWithContext(ctx context.Context) *ListAttributesForCertificateParams

NewListAttributesForCertificateParamsWithContext creates a new ListAttributesForCertificateParams object with the ability to set a context for a request.

func NewListAttributesForCertificateParamsWithHTTPClient

func NewListAttributesForCertificateParamsWithHTTPClient(client *http.Client) *ListAttributesForCertificateParams

NewListAttributesForCertificateParamsWithHTTPClient creates a new ListAttributesForCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewListAttributesForCertificateParamsWithTimeout

func NewListAttributesForCertificateParamsWithTimeout(timeout time.Duration) *ListAttributesForCertificateParams

NewListAttributesForCertificateParamsWithTimeout creates a new ListAttributesForCertificateParams object with the ability to set a timeout on a request.

func (*ListAttributesForCertificateParams) SetCompanyID

func (o *ListAttributesForCertificateParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the list attributes for certificate params

func (*ListAttributesForCertificateParams) SetContext

SetContext adds the context to the list attributes for certificate params

func (*ListAttributesForCertificateParams) SetDefaults

func (o *ListAttributesForCertificateParams) SetDefaults()

SetDefaults hydrates default values in the list attributes for certificate params (not the query body).

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

func (*ListAttributesForCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list attributes for certificate params

func (*ListAttributesForCertificateParams) SetID

SetID adds the id to the list attributes for certificate params

func (*ListAttributesForCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the list attributes for certificate params

func (*ListAttributesForCertificateParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the list attributes for certificate params

func (*ListAttributesForCertificateParams) WithCompanyID

WithCompanyID adds the companyID to the list attributes for certificate params

func (*ListAttributesForCertificateParams) WithContext

WithContext adds the context to the list attributes for certificate params

func (*ListAttributesForCertificateParams) WithDefaults

WithDefaults hydrates default values in the list attributes for certificate params (not the query body).

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

func (*ListAttributesForCertificateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list attributes for certificate params

func (*ListAttributesForCertificateParams) WithID

WithID adds the id to the list attributes for certificate params

func (*ListAttributesForCertificateParams) WithTimeout

WithTimeout adds the timeout to the list attributes for certificate params

func (*ListAttributesForCertificateParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the list attributes for certificate params

func (*ListAttributesForCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAttributesForCertificateReader

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

ListAttributesForCertificateReader is a Reader for the ListAttributesForCertificate structure.

func (*ListAttributesForCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAttributesForCertificateUnauthorized

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

Unauthorized

func NewListAttributesForCertificateUnauthorized

func NewListAttributesForCertificateUnauthorized() *ListAttributesForCertificateUnauthorized

NewListAttributesForCertificateUnauthorized creates a ListAttributesForCertificateUnauthorized with default headers values

func (*ListAttributesForCertificateUnauthorized) Error

type ListCustomersForCertificateBadRequest

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

Bad Request

func NewListCustomersForCertificateBadRequest

func NewListCustomersForCertificateBadRequest() *ListCustomersForCertificateBadRequest

NewListCustomersForCertificateBadRequest creates a ListCustomersForCertificateBadRequest with default headers values

func (*ListCustomersForCertificateBadRequest) Error

type ListCustomersForCertificateNotFound

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

Not Found

func NewListCustomersForCertificateNotFound

func NewListCustomersForCertificateNotFound() *ListCustomersForCertificateNotFound

NewListCustomersForCertificateNotFound creates a ListCustomersForCertificateNotFound with default headers values

func (*ListCustomersForCertificateNotFound) Error

type ListCustomersForCertificateOK

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

Success

func NewListCustomersForCertificateOK

func NewListCustomersForCertificateOK() *ListCustomersForCertificateOK

NewListCustomersForCertificateOK creates a ListCustomersForCertificateOK with default headers values

func (*ListCustomersForCertificateOK) Error

func (*ListCustomersForCertificateOK) GetPayload

type ListCustomersForCertificateParams

type ListCustomersForCertificateParams struct {

	/* DollarInclude.

	   OPTIONAL: A comma separated list of special fetch options.
	           No options are currently available when fetching customers.
	*/
	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

	/* CompanyID.

	   The unique ID number of the company that recorded this certificate

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The unique ID number of this certificate

	   Format: int32
	*/
	ID int32

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

ListCustomersForCertificateParams contains all the parameters to send to the API endpoint

for the list customers for certificate operation.

Typically these are written to a http.Request.

func NewListCustomersForCertificateParams

func NewListCustomersForCertificateParams() *ListCustomersForCertificateParams

NewListCustomersForCertificateParams creates a new ListCustomersForCertificateParams 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 NewListCustomersForCertificateParamsWithContext

func NewListCustomersForCertificateParamsWithContext(ctx context.Context) *ListCustomersForCertificateParams

NewListCustomersForCertificateParamsWithContext creates a new ListCustomersForCertificateParams object with the ability to set a context for a request.

func NewListCustomersForCertificateParamsWithHTTPClient

func NewListCustomersForCertificateParamsWithHTTPClient(client *http.Client) *ListCustomersForCertificateParams

NewListCustomersForCertificateParamsWithHTTPClient creates a new ListCustomersForCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewListCustomersForCertificateParamsWithTimeout

func NewListCustomersForCertificateParamsWithTimeout(timeout time.Duration) *ListCustomersForCertificateParams

NewListCustomersForCertificateParamsWithTimeout creates a new ListCustomersForCertificateParams object with the ability to set a timeout on a request.

func (*ListCustomersForCertificateParams) SetCompanyID

func (o *ListCustomersForCertificateParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the list customers for certificate params

func (*ListCustomersForCertificateParams) SetContext

SetContext adds the context to the list customers for certificate params

func (*ListCustomersForCertificateParams) SetDefaults

func (o *ListCustomersForCertificateParams) SetDefaults()

SetDefaults hydrates default values in the list customers for certificate params (not the query body).

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

func (*ListCustomersForCertificateParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the list customers for certificate params

func (*ListCustomersForCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list customers for certificate params

func (*ListCustomersForCertificateParams) SetID

SetID adds the id to the list customers for certificate params

func (*ListCustomersForCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the list customers for certificate params

func (*ListCustomersForCertificateParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the list customers for certificate params

func (*ListCustomersForCertificateParams) WithCompanyID

WithCompanyID adds the companyID to the list customers for certificate params

func (*ListCustomersForCertificateParams) WithContext

WithContext adds the context to the list customers for certificate params

func (*ListCustomersForCertificateParams) WithDefaults

WithDefaults hydrates default values in the list customers for certificate params (not the query body).

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

func (*ListCustomersForCertificateParams) WithDollarInclude

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

WithDollarInclude adds the dollarInclude to the list customers for certificate params

func (*ListCustomersForCertificateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list customers for certificate params

func (*ListCustomersForCertificateParams) WithID

WithID adds the id to the list customers for certificate params

func (*ListCustomersForCertificateParams) WithTimeout

WithTimeout adds the timeout to the list customers for certificate params

func (*ListCustomersForCertificateParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the list customers for certificate params

func (*ListCustomersForCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListCustomersForCertificateReader

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

ListCustomersForCertificateReader is a Reader for the ListCustomersForCertificate structure.

func (*ListCustomersForCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCustomersForCertificateUnauthorized

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

Unauthorized

func NewListCustomersForCertificateUnauthorized

func NewListCustomersForCertificateUnauthorized() *ListCustomersForCertificateUnauthorized

NewListCustomersForCertificateUnauthorized creates a ListCustomersForCertificateUnauthorized with default headers values

func (*ListCustomersForCertificateUnauthorized) Error

type QueryCertificatesBadRequest

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

Bad Request

func NewQueryCertificatesBadRequest

func NewQueryCertificatesBadRequest() *QueryCertificatesBadRequest

NewQueryCertificatesBadRequest creates a QueryCertificatesBadRequest with default headers values

func (*QueryCertificatesBadRequest) Error

type QueryCertificatesNotFound

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

Not Found

func NewQueryCertificatesNotFound

func NewQueryCertificatesNotFound() *QueryCertificatesNotFound

NewQueryCertificatesNotFound creates a QueryCertificatesNotFound with default headers values

func (*QueryCertificatesNotFound) Error

func (o *QueryCertificatesNotFound) Error() string

type QueryCertificatesOK

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

Success

func NewQueryCertificatesOK

func NewQueryCertificatesOK() *QueryCertificatesOK

NewQueryCertificatesOK creates a QueryCertificatesOK with default headers values

func (*QueryCertificatesOK) Error

func (o *QueryCertificatesOK) Error() string

func (*QueryCertificatesOK) GetPayload

type QueryCertificatesParams

type QueryCertificatesParams 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:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages
	*/
	DollarFilter *string

	/* DollarInclude.

	   OPTIONAL: A comma separated list of special fetch options.  You can specify one or more of the following:

	           * customers - Retrieves the list of customers linked to the certificate.
	           * po_numbers - Retrieves all PO numbers tied to the certificate.
	           * attributes - Retrieves all attributes applied to the certificate.
	*/
	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

	/* CompanyID.

	   The ID number of the company to search

	   Format: int32
	*/
	CompanyID int32

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

QueryCertificatesParams contains all the parameters to send to the API endpoint

for the query certificates operation.

Typically these are written to a http.Request.

func NewQueryCertificatesParams

func NewQueryCertificatesParams() *QueryCertificatesParams

NewQueryCertificatesParams creates a new QueryCertificatesParams 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 NewQueryCertificatesParamsWithContext

func NewQueryCertificatesParamsWithContext(ctx context.Context) *QueryCertificatesParams

NewQueryCertificatesParamsWithContext creates a new QueryCertificatesParams object with the ability to set a context for a request.

func NewQueryCertificatesParamsWithHTTPClient

func NewQueryCertificatesParamsWithHTTPClient(client *http.Client) *QueryCertificatesParams

NewQueryCertificatesParamsWithHTTPClient creates a new QueryCertificatesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryCertificatesParamsWithTimeout

func NewQueryCertificatesParamsWithTimeout(timeout time.Duration) *QueryCertificatesParams

NewQueryCertificatesParamsWithTimeout creates a new QueryCertificatesParams object with the ability to set a timeout on a request.

func (*QueryCertificatesParams) SetCompanyID

func (o *QueryCertificatesParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the query certificates params

func (*QueryCertificatesParams) SetContext

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

SetContext adds the context to the query certificates params

func (*QueryCertificatesParams) SetDefaults

func (o *QueryCertificatesParams) SetDefaults()

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

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

func (*QueryCertificatesParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the query certificates params

func (*QueryCertificatesParams) SetDollarInclude

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

SetDollarInclude adds the dollarInclude to the query certificates params

func (*QueryCertificatesParams) SetDollarOrderBy

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

SetDollarOrderBy adds the dollarOrderBy to the query certificates params

func (*QueryCertificatesParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the query certificates params

func (*QueryCertificatesParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the query certificates params

func (*QueryCertificatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query certificates params

func (*QueryCertificatesParams) SetTimeout

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

SetTimeout adds the timeout to the query certificates params

func (*QueryCertificatesParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the query certificates params

func (*QueryCertificatesParams) WithCompanyID

func (o *QueryCertificatesParams) WithCompanyID(companyID int32) *QueryCertificatesParams

WithCompanyID adds the companyID to the query certificates params

func (*QueryCertificatesParams) WithContext

WithContext adds the context to the query certificates params

func (*QueryCertificatesParams) WithDefaults

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

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

func (*QueryCertificatesParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the query certificates params

func (*QueryCertificatesParams) WithDollarInclude

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

WithDollarInclude adds the dollarInclude to the query certificates params

func (*QueryCertificatesParams) WithDollarOrderBy

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

WithDollarOrderBy adds the dollarOrderBy to the query certificates params

func (*QueryCertificatesParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the query certificates params

func (*QueryCertificatesParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the query certificates params

func (*QueryCertificatesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query certificates params

func (*QueryCertificatesParams) WithTimeout

WithTimeout adds the timeout to the query certificates params

func (*QueryCertificatesParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the query certificates params

func (*QueryCertificatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryCertificatesReader

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

QueryCertificatesReader is a Reader for the QueryCertificates structure.

func (*QueryCertificatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryCertificatesUnauthorized

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

Unauthorized

func NewQueryCertificatesUnauthorized

func NewQueryCertificatesUnauthorized() *QueryCertificatesUnauthorized

NewQueryCertificatesUnauthorized creates a QueryCertificatesUnauthorized with default headers values

func (*QueryCertificatesUnauthorized) Error

type RequestCertificateSetupBadRequest

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

Bad Request

func NewRequestCertificateSetupBadRequest

func NewRequestCertificateSetupBadRequest() *RequestCertificateSetupBadRequest

NewRequestCertificateSetupBadRequest creates a RequestCertificateSetupBadRequest with default headers values

func (*RequestCertificateSetupBadRequest) Error

type RequestCertificateSetupNotFound

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

Not Found

func NewRequestCertificateSetupNotFound

func NewRequestCertificateSetupNotFound() *RequestCertificateSetupNotFound

NewRequestCertificateSetupNotFound creates a RequestCertificateSetupNotFound with default headers values

func (*RequestCertificateSetupNotFound) Error

type RequestCertificateSetupOK

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

Success

func NewRequestCertificateSetupOK

func NewRequestCertificateSetupOK() *RequestCertificateSetupOK

NewRequestCertificateSetupOK creates a RequestCertificateSetupOK with default headers values

func (*RequestCertificateSetupOK) Error

func (o *RequestCertificateSetupOK) Error() string

func (*RequestCertificateSetupOK) GetPayload

type RequestCertificateSetupParams

type RequestCertificateSetupParams 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.
	//
	// Format: int32
	CompanyID int32

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

RequestCertificateSetupParams contains all the parameters to send to the API endpoint

for the request certificate setup operation.

Typically these are written to a http.Request.

func NewRequestCertificateSetupParams

func NewRequestCertificateSetupParams() *RequestCertificateSetupParams

NewRequestCertificateSetupParams creates a new RequestCertificateSetupParams 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 NewRequestCertificateSetupParamsWithContext

func NewRequestCertificateSetupParamsWithContext(ctx context.Context) *RequestCertificateSetupParams

NewRequestCertificateSetupParamsWithContext creates a new RequestCertificateSetupParams object with the ability to set a context for a request.

func NewRequestCertificateSetupParamsWithHTTPClient

func NewRequestCertificateSetupParamsWithHTTPClient(client *http.Client) *RequestCertificateSetupParams

NewRequestCertificateSetupParamsWithHTTPClient creates a new RequestCertificateSetupParams object with the ability to set a custom HTTPClient for a request.

func NewRequestCertificateSetupParamsWithTimeout

func NewRequestCertificateSetupParamsWithTimeout(timeout time.Duration) *RequestCertificateSetupParams

NewRequestCertificateSetupParamsWithTimeout creates a new RequestCertificateSetupParams object with the ability to set a timeout on a request.

func (*RequestCertificateSetupParams) SetCompanyID

func (o *RequestCertificateSetupParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the request certificate setup params

func (*RequestCertificateSetupParams) SetContext

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

SetContext adds the context to the request certificate setup params

func (*RequestCertificateSetupParams) SetDefaults

func (o *RequestCertificateSetupParams) SetDefaults()

SetDefaults hydrates default values in the request certificate setup params (not the query body).

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

func (*RequestCertificateSetupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the request certificate setup params

func (*RequestCertificateSetupParams) SetTimeout

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

SetTimeout adds the timeout to the request certificate setup params

func (*RequestCertificateSetupParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the request certificate setup params

func (*RequestCertificateSetupParams) WithCompanyID

WithCompanyID adds the companyID to the request certificate setup params

func (*RequestCertificateSetupParams) WithContext

WithContext adds the context to the request certificate setup params

func (*RequestCertificateSetupParams) WithDefaults

WithDefaults hydrates default values in the request certificate setup params (not the query body).

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

func (*RequestCertificateSetupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the request certificate setup params

func (*RequestCertificateSetupParams) WithTimeout

WithTimeout adds the timeout to the request certificate setup params

func (*RequestCertificateSetupParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the request certificate setup params

func (*RequestCertificateSetupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RequestCertificateSetupReader

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

RequestCertificateSetupReader is a Reader for the RequestCertificateSetup structure.

func (*RequestCertificateSetupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RequestCertificateSetupUnauthorized

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

Unauthorized

func NewRequestCertificateSetupUnauthorized

func NewRequestCertificateSetupUnauthorized() *RequestCertificateSetupUnauthorized

NewRequestCertificateSetupUnauthorized creates a RequestCertificateSetupUnauthorized with default headers values

func (*RequestCertificateSetupUnauthorized) Error

type UnlinkAttributesFromCertificateBadRequest

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

Bad Request

func NewUnlinkAttributesFromCertificateBadRequest

func NewUnlinkAttributesFromCertificateBadRequest() *UnlinkAttributesFromCertificateBadRequest

NewUnlinkAttributesFromCertificateBadRequest creates a UnlinkAttributesFromCertificateBadRequest with default headers values

func (*UnlinkAttributesFromCertificateBadRequest) Error

type UnlinkAttributesFromCertificateNotFound

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

Not Found

func NewUnlinkAttributesFromCertificateNotFound

func NewUnlinkAttributesFromCertificateNotFound() *UnlinkAttributesFromCertificateNotFound

NewUnlinkAttributesFromCertificateNotFound creates a UnlinkAttributesFromCertificateNotFound with default headers values

func (*UnlinkAttributesFromCertificateNotFound) Error

type UnlinkAttributesFromCertificateOK

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

Success

func NewUnlinkAttributesFromCertificateOK

func NewUnlinkAttributesFromCertificateOK() *UnlinkAttributesFromCertificateOK

NewUnlinkAttributesFromCertificateOK creates a UnlinkAttributesFromCertificateOK with default headers values

func (*UnlinkAttributesFromCertificateOK) Error

func (*UnlinkAttributesFromCertificateOK) GetPayload

type UnlinkAttributesFromCertificateParams

type UnlinkAttributesFromCertificateParams 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 list of attributes to unlink from this certificate.
	*/
	Body []*models.CertificateAttributeModel

	/* CompanyID.

	   The unique ID number of the company that recorded this certificate

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The unique ID number of this certificate

	   Format: int32
	*/
	ID int32

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

UnlinkAttributesFromCertificateParams contains all the parameters to send to the API endpoint

for the unlink attributes from certificate operation.

Typically these are written to a http.Request.

func NewUnlinkAttributesFromCertificateParams

func NewUnlinkAttributesFromCertificateParams() *UnlinkAttributesFromCertificateParams

NewUnlinkAttributesFromCertificateParams creates a new UnlinkAttributesFromCertificateParams 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 NewUnlinkAttributesFromCertificateParamsWithContext

func NewUnlinkAttributesFromCertificateParamsWithContext(ctx context.Context) *UnlinkAttributesFromCertificateParams

NewUnlinkAttributesFromCertificateParamsWithContext creates a new UnlinkAttributesFromCertificateParams object with the ability to set a context for a request.

func NewUnlinkAttributesFromCertificateParamsWithHTTPClient

func NewUnlinkAttributesFromCertificateParamsWithHTTPClient(client *http.Client) *UnlinkAttributesFromCertificateParams

NewUnlinkAttributesFromCertificateParamsWithHTTPClient creates a new UnlinkAttributesFromCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewUnlinkAttributesFromCertificateParamsWithTimeout

func NewUnlinkAttributesFromCertificateParamsWithTimeout(timeout time.Duration) *UnlinkAttributesFromCertificateParams

NewUnlinkAttributesFromCertificateParamsWithTimeout creates a new UnlinkAttributesFromCertificateParams object with the ability to set a timeout on a request.

func (*UnlinkAttributesFromCertificateParams) SetBody

SetBody adds the body to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) SetCompanyID

func (o *UnlinkAttributesFromCertificateParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) SetContext

SetContext adds the context to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) SetDefaults

func (o *UnlinkAttributesFromCertificateParams) SetDefaults()

SetDefaults hydrates default values in the unlink attributes from certificate params (not the query body).

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

func (*UnlinkAttributesFromCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) SetID

SetID adds the id to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) WithBody

WithBody adds the body to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) WithCompanyID

WithCompanyID adds the companyID to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) WithContext

WithContext adds the context to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) WithDefaults

WithDefaults hydrates default values in the unlink attributes from certificate params (not the query body).

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

func (*UnlinkAttributesFromCertificateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) WithID

WithID adds the id to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) WithTimeout

WithTimeout adds the timeout to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) WithXAvalaraClient

WithXAvalaraClient adds the xAvalaraClient to the unlink attributes from certificate params

func (*UnlinkAttributesFromCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UnlinkAttributesFromCertificateReader

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

UnlinkAttributesFromCertificateReader is a Reader for the UnlinkAttributesFromCertificate structure.

func (*UnlinkAttributesFromCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnlinkAttributesFromCertificateUnauthorized

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

Unauthorized

func NewUnlinkAttributesFromCertificateUnauthorized

func NewUnlinkAttributesFromCertificateUnauthorized() *UnlinkAttributesFromCertificateUnauthorized

NewUnlinkAttributesFromCertificateUnauthorized creates a UnlinkAttributesFromCertificateUnauthorized with default headers values

func (*UnlinkAttributesFromCertificateUnauthorized) Error

type UnlinkCustomersFromCertificateBadRequest

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

Bad Request

func NewUnlinkCustomersFromCertificateBadRequest

func NewUnlinkCustomersFromCertificateBadRequest() *UnlinkCustomersFromCertificateBadRequest

NewUnlinkCustomersFromCertificateBadRequest creates a UnlinkCustomersFromCertificateBadRequest with default headers values

func (*UnlinkCustomersFromCertificateBadRequest) Error

type UnlinkCustomersFromCertificateNotFound

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

Not Found

func NewUnlinkCustomersFromCertificateNotFound

func NewUnlinkCustomersFromCertificateNotFound() *UnlinkCustomersFromCertificateNotFound

NewUnlinkCustomersFromCertificateNotFound creates a UnlinkCustomersFromCertificateNotFound with default headers values

func (*UnlinkCustomersFromCertificateNotFound) Error

type UnlinkCustomersFromCertificateOK

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

Success

func NewUnlinkCustomersFromCertificateOK

func NewUnlinkCustomersFromCertificateOK() *UnlinkCustomersFromCertificateOK

NewUnlinkCustomersFromCertificateOK creates a UnlinkCustomersFromCertificateOK with default headers values

func (*UnlinkCustomersFromCertificateOK) Error

func (*UnlinkCustomersFromCertificateOK) GetPayload

type UnlinkCustomersFromCertificateParams

type UnlinkCustomersFromCertificateParams 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 list of customers to unlink from this certificate
	*/
	Body *models.LinkCustomersModel

	/* CompanyID.

	   The unique ID number of the company that recorded this certificate

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The unique ID number of this certificate

	   Format: int32
	*/
	ID int32

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

UnlinkCustomersFromCertificateParams contains all the parameters to send to the API endpoint

for the unlink customers from certificate operation.

Typically these are written to a http.Request.

func NewUnlinkCustomersFromCertificateParams

func NewUnlinkCustomersFromCertificateParams() *UnlinkCustomersFromCertificateParams

NewUnlinkCustomersFromCertificateParams creates a new UnlinkCustomersFromCertificateParams 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 NewUnlinkCustomersFromCertificateParamsWithContext

func NewUnlinkCustomersFromCertificateParamsWithContext(ctx context.Context) *UnlinkCustomersFromCertificateParams

NewUnlinkCustomersFromCertificateParamsWithContext creates a new UnlinkCustomersFromCertificateParams object with the ability to set a context for a request.

func NewUnlinkCustomersFromCertificateParamsWithHTTPClient

func NewUnlinkCustomersFromCertificateParamsWithHTTPClient(client *http.Client) *UnlinkCustomersFromCertificateParams

NewUnlinkCustomersFromCertificateParamsWithHTTPClient creates a new UnlinkCustomersFromCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewUnlinkCustomersFromCertificateParamsWithTimeout

func NewUnlinkCustomersFromCertificateParamsWithTimeout(timeout time.Duration) *UnlinkCustomersFromCertificateParams

NewUnlinkCustomersFromCertificateParamsWithTimeout creates a new UnlinkCustomersFromCertificateParams object with the ability to set a timeout on a request.

func (*UnlinkCustomersFromCertificateParams) SetBody

SetBody adds the body to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) SetCompanyID

func (o *UnlinkCustomersFromCertificateParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) SetContext

SetContext adds the context to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) SetDefaults

func (o *UnlinkCustomersFromCertificateParams) SetDefaults()

SetDefaults hydrates default values in the unlink customers from certificate params (not the query body).

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

func (*UnlinkCustomersFromCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) SetID

SetID adds the id to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) WithBody

WithBody adds the body to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) WithCompanyID

WithCompanyID adds the companyID to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) WithContext

WithContext adds the context to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) WithDefaults

WithDefaults hydrates default values in the unlink customers from certificate params (not the query body).

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

func (*UnlinkCustomersFromCertificateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) WithID

WithID adds the id to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) WithTimeout

WithTimeout adds the timeout to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) WithXAvalaraClient

WithXAvalaraClient adds the xAvalaraClient to the unlink customers from certificate params

func (*UnlinkCustomersFromCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UnlinkCustomersFromCertificateReader

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

UnlinkCustomersFromCertificateReader is a Reader for the UnlinkCustomersFromCertificate structure.

func (*UnlinkCustomersFromCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UnlinkCustomersFromCertificateUnauthorized

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

Unauthorized

func NewUnlinkCustomersFromCertificateUnauthorized

func NewUnlinkCustomersFromCertificateUnauthorized() *UnlinkCustomersFromCertificateUnauthorized

NewUnlinkCustomersFromCertificateUnauthorized creates a UnlinkCustomersFromCertificateUnauthorized with default headers values

func (*UnlinkCustomersFromCertificateUnauthorized) Error

type UpdateCertificateBadRequest

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

Bad Request

func NewUpdateCertificateBadRequest

func NewUpdateCertificateBadRequest() *UpdateCertificateBadRequest

NewUpdateCertificateBadRequest creates a UpdateCertificateBadRequest with default headers values

func (*UpdateCertificateBadRequest) Error

type UpdateCertificateNotFound

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

Not Found

func NewUpdateCertificateNotFound

func NewUpdateCertificateNotFound() *UpdateCertificateNotFound

NewUpdateCertificateNotFound creates a UpdateCertificateNotFound with default headers values

func (*UpdateCertificateNotFound) Error

func (o *UpdateCertificateNotFound) Error() string

type UpdateCertificateOK

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

Success

func NewUpdateCertificateOK

func NewUpdateCertificateOK() *UpdateCertificateOK

NewUpdateCertificateOK creates a UpdateCertificateOK with default headers values

func (*UpdateCertificateOK) Error

func (o *UpdateCertificateOK) Error() string

func (*UpdateCertificateOK) GetPayload

func (o *UpdateCertificateOK) GetPayload() *models.CertificateModel

type UpdateCertificateParams

type UpdateCertificateParams 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 new certificate object that will replace the existing one
	*/
	Body *models.CertificateModel

	/* CompanyID.

	   The ID number of the company that recorded this certificate

	   Format: int32
	*/
	CompanyID int32

	/* ID.

	   The unique ID number of this certificate

	   Format: int32
	*/
	ID int32

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

UpdateCertificateParams contains all the parameters to send to the API endpoint

for the update certificate operation.

Typically these are written to a http.Request.

func NewUpdateCertificateParams

func NewUpdateCertificateParams() *UpdateCertificateParams

NewUpdateCertificateParams creates a new UpdateCertificateParams 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 NewUpdateCertificateParamsWithContext

func NewUpdateCertificateParamsWithContext(ctx context.Context) *UpdateCertificateParams

NewUpdateCertificateParamsWithContext creates a new UpdateCertificateParams object with the ability to set a context for a request.

func NewUpdateCertificateParamsWithHTTPClient

func NewUpdateCertificateParamsWithHTTPClient(client *http.Client) *UpdateCertificateParams

NewUpdateCertificateParamsWithHTTPClient creates a new UpdateCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCertificateParamsWithTimeout

func NewUpdateCertificateParamsWithTimeout(timeout time.Duration) *UpdateCertificateParams

NewUpdateCertificateParamsWithTimeout creates a new UpdateCertificateParams object with the ability to set a timeout on a request.

func (*UpdateCertificateParams) SetBody

SetBody adds the body to the update certificate params

func (*UpdateCertificateParams) SetCompanyID

func (o *UpdateCertificateParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the update certificate params

func (*UpdateCertificateParams) SetContext

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

SetContext adds the context to the update certificate params

func (*UpdateCertificateParams) SetDefaults

func (o *UpdateCertificateParams) SetDefaults()

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

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

func (*UpdateCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update certificate params

func (*UpdateCertificateParams) SetID

func (o *UpdateCertificateParams) SetID(id int32)

SetID adds the id to the update certificate params

func (*UpdateCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the update certificate params

func (*UpdateCertificateParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the update certificate params

func (*UpdateCertificateParams) WithBody

WithBody adds the body to the update certificate params

func (*UpdateCertificateParams) WithCompanyID

func (o *UpdateCertificateParams) WithCompanyID(companyID int32) *UpdateCertificateParams

WithCompanyID adds the companyID to the update certificate params

func (*UpdateCertificateParams) WithContext

WithContext adds the context to the update certificate params

func (*UpdateCertificateParams) WithDefaults

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

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

func (*UpdateCertificateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update certificate params

func (*UpdateCertificateParams) WithID

WithID adds the id to the update certificate params

func (*UpdateCertificateParams) WithTimeout

WithTimeout adds the timeout to the update certificate params

func (*UpdateCertificateParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the update certificate params

func (*UpdateCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateCertificateReader

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

UpdateCertificateReader is a Reader for the UpdateCertificate structure.

func (*UpdateCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateCertificateUnauthorized

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

Unauthorized

func NewUpdateCertificateUnauthorized

func NewUpdateCertificateUnauthorized() *UpdateCertificateUnauthorized

NewUpdateCertificateUnauthorized creates a UpdateCertificateUnauthorized with default headers values

func (*UpdateCertificateUnauthorized) Error

type UploadCertificateImageBadRequest

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

Bad Request

func NewUploadCertificateImageBadRequest

func NewUploadCertificateImageBadRequest() *UploadCertificateImageBadRequest

NewUploadCertificateImageBadRequest creates a UploadCertificateImageBadRequest with default headers values

func (*UploadCertificateImageBadRequest) Error

type UploadCertificateImageNotFound

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

Not Found

func NewUploadCertificateImageNotFound

func NewUploadCertificateImageNotFound() *UploadCertificateImageNotFound

NewUploadCertificateImageNotFound creates a UploadCertificateImageNotFound with default headers values

func (*UploadCertificateImageNotFound) Error

type UploadCertificateImageOK

type UploadCertificateImageOK struct {
	Payload string
}
UploadCertificateImageOK describes a response with status code 200, with default header values.

Success

func NewUploadCertificateImageOK

func NewUploadCertificateImageOK() *UploadCertificateImageOK

NewUploadCertificateImageOK creates a UploadCertificateImageOK with default headers values

func (*UploadCertificateImageOK) Error

func (o *UploadCertificateImageOK) Error() string

func (*UploadCertificateImageOK) GetPayload

func (o *UploadCertificateImageOK) GetPayload() string

type UploadCertificateImageParams

type UploadCertificateImageParams 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 number of the company that recorded this certificate

	   Format: int32
	*/
	CompanyID int32

	/* File.

	   The exemption certificate file you wanted to upload. Accepted formats are: PDF, JPEG, TIFF, PNG.
	*/
	File runtime.NamedReadCloser

	/* ID.

	   The unique ID number of this certificate

	   Format: int32
	*/
	ID int32

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

UploadCertificateImageParams contains all the parameters to send to the API endpoint

for the upload certificate image operation.

Typically these are written to a http.Request.

func NewUploadCertificateImageParams

func NewUploadCertificateImageParams() *UploadCertificateImageParams

NewUploadCertificateImageParams creates a new UploadCertificateImageParams 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 NewUploadCertificateImageParamsWithContext

func NewUploadCertificateImageParamsWithContext(ctx context.Context) *UploadCertificateImageParams

NewUploadCertificateImageParamsWithContext creates a new UploadCertificateImageParams object with the ability to set a context for a request.

func NewUploadCertificateImageParamsWithHTTPClient

func NewUploadCertificateImageParamsWithHTTPClient(client *http.Client) *UploadCertificateImageParams

NewUploadCertificateImageParamsWithHTTPClient creates a new UploadCertificateImageParams object with the ability to set a custom HTTPClient for a request.

func NewUploadCertificateImageParamsWithTimeout

func NewUploadCertificateImageParamsWithTimeout(timeout time.Duration) *UploadCertificateImageParams

NewUploadCertificateImageParamsWithTimeout creates a new UploadCertificateImageParams object with the ability to set a timeout on a request.

func (*UploadCertificateImageParams) SetCompanyID

func (o *UploadCertificateImageParams) SetCompanyID(companyID int32)

SetCompanyID adds the companyId to the upload certificate image params

func (*UploadCertificateImageParams) SetContext

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

SetContext adds the context to the upload certificate image params

func (*UploadCertificateImageParams) SetDefaults

func (o *UploadCertificateImageParams) SetDefaults()

SetDefaults hydrates default values in the upload certificate image params (not the query body).

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

func (*UploadCertificateImageParams) SetFile

SetFile adds the file to the upload certificate image params

func (*UploadCertificateImageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload certificate image params

func (*UploadCertificateImageParams) SetID

func (o *UploadCertificateImageParams) SetID(id int32)

SetID adds the id to the upload certificate image params

func (*UploadCertificateImageParams) SetTimeout

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

SetTimeout adds the timeout to the upload certificate image params

func (*UploadCertificateImageParams) SetXAvalaraClient

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

SetXAvalaraClient adds the xAvalaraClient to the upload certificate image params

func (*UploadCertificateImageParams) WithCompanyID

WithCompanyID adds the companyID to the upload certificate image params

func (*UploadCertificateImageParams) WithContext

WithContext adds the context to the upload certificate image params

func (*UploadCertificateImageParams) WithDefaults

WithDefaults hydrates default values in the upload certificate image params (not the query body).

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

func (*UploadCertificateImageParams) WithFile

WithFile adds the file to the upload certificate image params

func (*UploadCertificateImageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upload certificate image params

func (*UploadCertificateImageParams) WithID

WithID adds the id to the upload certificate image params

func (*UploadCertificateImageParams) WithTimeout

WithTimeout adds the timeout to the upload certificate image params

func (*UploadCertificateImageParams) WithXAvalaraClient

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

WithXAvalaraClient adds the xAvalaraClient to the upload certificate image params

func (*UploadCertificateImageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UploadCertificateImageReader

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

UploadCertificateImageReader is a Reader for the UploadCertificateImage structure.

func (*UploadCertificateImageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadCertificateImageUnauthorized

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

Unauthorized

func NewUploadCertificateImageUnauthorized

func NewUploadCertificateImageUnauthorized() *UploadCertificateImageUnauthorized

NewUploadCertificateImageUnauthorized creates a UploadCertificateImageUnauthorized with default headers values

func (*UploadCertificateImageUnauthorized) Error

Jump to

Keyboard shortcuts

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