Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCertificates(params *CreateCertificatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateCertificatesOK, error)
- func (a *Client) DeleteCertificate(params *DeleteCertificateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCertificateOK, error)
- func (a *Client) DownloadCertificateImage(params *DownloadCertificateImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DownloadCertificateImageOK, error)
- func (a *Client) GetCertificate(params *GetCertificateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCertificateOK, error)
- func (a *Client) GetCertificateSetup(params *GetCertificateSetupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCertificateSetupOK, error)
- func (a *Client) LinkAttributesToCertificate(params *LinkAttributesToCertificateParams, ...) (*LinkAttributesToCertificateOK, error)
- func (a *Client) LinkCustomersToCertificate(params *LinkCustomersToCertificateParams, ...) (*LinkCustomersToCertificateOK, error)
- func (a *Client) ListAttributesForCertificate(params *ListAttributesForCertificateParams, ...) (*ListAttributesForCertificateOK, error)
- func (a *Client) ListCustomersForCertificate(params *ListCustomersForCertificateParams, ...) (*ListCustomersForCertificateOK, error)
- func (a *Client) QueryCertificates(params *QueryCertificatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryCertificatesOK, error)
- func (a *Client) RequestCertificateSetup(params *RequestCertificateSetupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RequestCertificateSetupOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnlinkAttributesFromCertificate(params *UnlinkAttributesFromCertificateParams, ...) (*UnlinkAttributesFromCertificateOK, error)
- func (a *Client) UnlinkCustomersFromCertificate(params *UnlinkCustomersFromCertificateParams, ...) (*UnlinkCustomersFromCertificateOK, error)
- func (a *Client) UpdateCertificate(params *UpdateCertificateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateCertificateOK, error)
- func (a *Client) UploadCertificateImage(params *UploadCertificateImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadCertificateImageOK, error)
- type ClientOption
- type ClientService
- type CreateCertificatesBadRequest
- type CreateCertificatesNotFound
- type CreateCertificatesOK
- type CreateCertificatesParams
- func NewCreateCertificatesParams() *CreateCertificatesParams
- func NewCreateCertificatesParamsWithContext(ctx context.Context) *CreateCertificatesParams
- func NewCreateCertificatesParamsWithHTTPClient(client *http.Client) *CreateCertificatesParams
- func NewCreateCertificatesParamsWithTimeout(timeout time.Duration) *CreateCertificatesParams
- func (o *CreateCertificatesParams) SetBody(body []*models.CertificateModel)
- func (o *CreateCertificatesParams) SetCompanyID(companyID int32)
- func (o *CreateCertificatesParams) SetContext(ctx context.Context)
- func (o *CreateCertificatesParams) SetDefaults()
- func (o *CreateCertificatesParams) SetDollarPreValidatedExemptionReason(dollarPreValidatedExemptionReason *bool)
- func (o *CreateCertificatesParams) SetHTTPClient(client *http.Client)
- func (o *CreateCertificatesParams) SetTimeout(timeout time.Duration)
- func (o *CreateCertificatesParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateCertificatesParams) WithBody(body []*models.CertificateModel) *CreateCertificatesParams
- func (o *CreateCertificatesParams) WithCompanyID(companyID int32) *CreateCertificatesParams
- func (o *CreateCertificatesParams) WithContext(ctx context.Context) *CreateCertificatesParams
- func (o *CreateCertificatesParams) WithDefaults() *CreateCertificatesParams
- func (o *CreateCertificatesParams) WithDollarPreValidatedExemptionReason(dollarPreValidatedExemptionReason *bool) *CreateCertificatesParams
- func (o *CreateCertificatesParams) WithHTTPClient(client *http.Client) *CreateCertificatesParams
- func (o *CreateCertificatesParams) WithTimeout(timeout time.Duration) *CreateCertificatesParams
- func (o *CreateCertificatesParams) WithXAvalaraClient(xAvalaraClient *string) *CreateCertificatesParams
- func (o *CreateCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCertificatesReader
- type CreateCertificatesUnauthorized
- type DeleteCertificateBadRequest
- type DeleteCertificateNotFound
- type DeleteCertificateOK
- type DeleteCertificateParams
- func NewDeleteCertificateParams() *DeleteCertificateParams
- func NewDeleteCertificateParamsWithContext(ctx context.Context) *DeleteCertificateParams
- func NewDeleteCertificateParamsWithHTTPClient(client *http.Client) *DeleteCertificateParams
- func NewDeleteCertificateParamsWithTimeout(timeout time.Duration) *DeleteCertificateParams
- func (o *DeleteCertificateParams) SetCompanyID(companyID int32)
- func (o *DeleteCertificateParams) SetContext(ctx context.Context)
- func (o *DeleteCertificateParams) SetDefaults()
- func (o *DeleteCertificateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCertificateParams) SetID(id int32)
- func (o *DeleteCertificateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCertificateParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteCertificateParams) WithCompanyID(companyID int32) *DeleteCertificateParams
- func (o *DeleteCertificateParams) WithContext(ctx context.Context) *DeleteCertificateParams
- func (o *DeleteCertificateParams) WithDefaults() *DeleteCertificateParams
- func (o *DeleteCertificateParams) WithHTTPClient(client *http.Client) *DeleteCertificateParams
- func (o *DeleteCertificateParams) WithID(id int32) *DeleteCertificateParams
- func (o *DeleteCertificateParams) WithTimeout(timeout time.Duration) *DeleteCertificateParams
- func (o *DeleteCertificateParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteCertificateParams
- func (o *DeleteCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCertificateReader
- type DeleteCertificateUnauthorized
- type DownloadCertificateImageBadRequest
- type DownloadCertificateImageNotFound
- type DownloadCertificateImageOK
- type DownloadCertificateImageParams
- func NewDownloadCertificateImageParams() *DownloadCertificateImageParams
- func NewDownloadCertificateImageParamsWithContext(ctx context.Context) *DownloadCertificateImageParams
- func NewDownloadCertificateImageParamsWithHTTPClient(client *http.Client) *DownloadCertificateImageParams
- func NewDownloadCertificateImageParamsWithTimeout(timeout time.Duration) *DownloadCertificateImageParams
- func (o *DownloadCertificateImageParams) SetCompanyID(companyID int32)
- func (o *DownloadCertificateImageParams) SetContext(ctx context.Context)
- func (o *DownloadCertificateImageParams) SetDefaults()
- func (o *DownloadCertificateImageParams) SetDollarPage(dollarPage *int32)
- func (o *DownloadCertificateImageParams) SetDollarType(dollarType *string)
- func (o *DownloadCertificateImageParams) SetHTTPClient(client *http.Client)
- func (o *DownloadCertificateImageParams) SetID(id int32)
- func (o *DownloadCertificateImageParams) SetTimeout(timeout time.Duration)
- func (o *DownloadCertificateImageParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DownloadCertificateImageParams) WithCompanyID(companyID int32) *DownloadCertificateImageParams
- func (o *DownloadCertificateImageParams) WithContext(ctx context.Context) *DownloadCertificateImageParams
- func (o *DownloadCertificateImageParams) WithDefaults() *DownloadCertificateImageParams
- func (o *DownloadCertificateImageParams) WithDollarPage(dollarPage *int32) *DownloadCertificateImageParams
- func (o *DownloadCertificateImageParams) WithDollarType(dollarType *string) *DownloadCertificateImageParams
- func (o *DownloadCertificateImageParams) WithHTTPClient(client *http.Client) *DownloadCertificateImageParams
- func (o *DownloadCertificateImageParams) WithID(id int32) *DownloadCertificateImageParams
- func (o *DownloadCertificateImageParams) WithTimeout(timeout time.Duration) *DownloadCertificateImageParams
- func (o *DownloadCertificateImageParams) WithXAvalaraClient(xAvalaraClient *string) *DownloadCertificateImageParams
- func (o *DownloadCertificateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadCertificateImageReader
- type DownloadCertificateImageUnauthorized
- type GetCertificateBadRequest
- type GetCertificateNotFound
- type GetCertificateOK
- type GetCertificateParams
- func NewGetCertificateParams() *GetCertificateParams
- func NewGetCertificateParamsWithContext(ctx context.Context) *GetCertificateParams
- func NewGetCertificateParamsWithHTTPClient(client *http.Client) *GetCertificateParams
- func NewGetCertificateParamsWithTimeout(timeout time.Duration) *GetCertificateParams
- func (o *GetCertificateParams) SetCompanyID(companyID int32)
- func (o *GetCertificateParams) SetContext(ctx context.Context)
- func (o *GetCertificateParams) SetDefaults()
- func (o *GetCertificateParams) SetDollarInclude(dollarInclude *string)
- func (o *GetCertificateParams) SetHTTPClient(client *http.Client)
- func (o *GetCertificateParams) SetID(id int32)
- func (o *GetCertificateParams) SetTimeout(timeout time.Duration)
- func (o *GetCertificateParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetCertificateParams) WithCompanyID(companyID int32) *GetCertificateParams
- func (o *GetCertificateParams) WithContext(ctx context.Context) *GetCertificateParams
- func (o *GetCertificateParams) WithDefaults() *GetCertificateParams
- func (o *GetCertificateParams) WithDollarInclude(dollarInclude *string) *GetCertificateParams
- func (o *GetCertificateParams) WithHTTPClient(client *http.Client) *GetCertificateParams
- func (o *GetCertificateParams) WithID(id int32) *GetCertificateParams
- func (o *GetCertificateParams) WithTimeout(timeout time.Duration) *GetCertificateParams
- func (o *GetCertificateParams) WithXAvalaraClient(xAvalaraClient *string) *GetCertificateParams
- func (o *GetCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCertificateReader
- type GetCertificateSetupBadRequest
- type GetCertificateSetupNotFound
- type GetCertificateSetupOK
- type GetCertificateSetupParams
- func NewGetCertificateSetupParams() *GetCertificateSetupParams
- func NewGetCertificateSetupParamsWithContext(ctx context.Context) *GetCertificateSetupParams
- func NewGetCertificateSetupParamsWithHTTPClient(client *http.Client) *GetCertificateSetupParams
- func NewGetCertificateSetupParamsWithTimeout(timeout time.Duration) *GetCertificateSetupParams
- func (o *GetCertificateSetupParams) SetCompanyID(companyID int32)
- func (o *GetCertificateSetupParams) SetContext(ctx context.Context)
- func (o *GetCertificateSetupParams) SetDefaults()
- func (o *GetCertificateSetupParams) SetHTTPClient(client *http.Client)
- func (o *GetCertificateSetupParams) SetTimeout(timeout time.Duration)
- func (o *GetCertificateSetupParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetCertificateSetupParams) WithCompanyID(companyID int32) *GetCertificateSetupParams
- func (o *GetCertificateSetupParams) WithContext(ctx context.Context) *GetCertificateSetupParams
- func (o *GetCertificateSetupParams) WithDefaults() *GetCertificateSetupParams
- func (o *GetCertificateSetupParams) WithHTTPClient(client *http.Client) *GetCertificateSetupParams
- func (o *GetCertificateSetupParams) WithTimeout(timeout time.Duration) *GetCertificateSetupParams
- func (o *GetCertificateSetupParams) WithXAvalaraClient(xAvalaraClient *string) *GetCertificateSetupParams
- func (o *GetCertificateSetupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCertificateSetupReader
- type GetCertificateSetupUnauthorized
- type GetCertificateUnauthorized
- type LinkAttributesToCertificateBadRequest
- type LinkAttributesToCertificateNotFound
- type LinkAttributesToCertificateOK
- type LinkAttributesToCertificateParams
- func NewLinkAttributesToCertificateParams() *LinkAttributesToCertificateParams
- func NewLinkAttributesToCertificateParamsWithContext(ctx context.Context) *LinkAttributesToCertificateParams
- func NewLinkAttributesToCertificateParamsWithHTTPClient(client *http.Client) *LinkAttributesToCertificateParams
- func NewLinkAttributesToCertificateParamsWithTimeout(timeout time.Duration) *LinkAttributesToCertificateParams
- func (o *LinkAttributesToCertificateParams) SetBody(body []*models.CertificateAttributeModel)
- func (o *LinkAttributesToCertificateParams) SetCompanyID(companyID int32)
- func (o *LinkAttributesToCertificateParams) SetContext(ctx context.Context)
- func (o *LinkAttributesToCertificateParams) SetDefaults()
- func (o *LinkAttributesToCertificateParams) SetHTTPClient(client *http.Client)
- func (o *LinkAttributesToCertificateParams) SetID(id int32)
- func (o *LinkAttributesToCertificateParams) SetTimeout(timeout time.Duration)
- func (o *LinkAttributesToCertificateParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *LinkAttributesToCertificateParams) WithBody(body []*models.CertificateAttributeModel) *LinkAttributesToCertificateParams
- func (o *LinkAttributesToCertificateParams) WithCompanyID(companyID int32) *LinkAttributesToCertificateParams
- func (o *LinkAttributesToCertificateParams) WithContext(ctx context.Context) *LinkAttributesToCertificateParams
- func (o *LinkAttributesToCertificateParams) WithDefaults() *LinkAttributesToCertificateParams
- func (o *LinkAttributesToCertificateParams) WithHTTPClient(client *http.Client) *LinkAttributesToCertificateParams
- func (o *LinkAttributesToCertificateParams) WithID(id int32) *LinkAttributesToCertificateParams
- func (o *LinkAttributesToCertificateParams) WithTimeout(timeout time.Duration) *LinkAttributesToCertificateParams
- func (o *LinkAttributesToCertificateParams) WithXAvalaraClient(xAvalaraClient *string) *LinkAttributesToCertificateParams
- func (o *LinkAttributesToCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LinkAttributesToCertificateReader
- type LinkAttributesToCertificateUnauthorized
- type LinkCustomersToCertificateBadRequest
- type LinkCustomersToCertificateNotFound
- type LinkCustomersToCertificateOK
- type LinkCustomersToCertificateParams
- func NewLinkCustomersToCertificateParams() *LinkCustomersToCertificateParams
- func NewLinkCustomersToCertificateParamsWithContext(ctx context.Context) *LinkCustomersToCertificateParams
- func NewLinkCustomersToCertificateParamsWithHTTPClient(client *http.Client) *LinkCustomersToCertificateParams
- func NewLinkCustomersToCertificateParamsWithTimeout(timeout time.Duration) *LinkCustomersToCertificateParams
- func (o *LinkCustomersToCertificateParams) SetBody(body *models.LinkCustomersModel)
- func (o *LinkCustomersToCertificateParams) SetCompanyID(companyID int32)
- func (o *LinkCustomersToCertificateParams) SetContext(ctx context.Context)
- func (o *LinkCustomersToCertificateParams) SetDefaults()
- func (o *LinkCustomersToCertificateParams) SetHTTPClient(client *http.Client)
- func (o *LinkCustomersToCertificateParams) SetID(id int32)
- func (o *LinkCustomersToCertificateParams) SetTimeout(timeout time.Duration)
- func (o *LinkCustomersToCertificateParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *LinkCustomersToCertificateParams) WithBody(body *models.LinkCustomersModel) *LinkCustomersToCertificateParams
- func (o *LinkCustomersToCertificateParams) WithCompanyID(companyID int32) *LinkCustomersToCertificateParams
- func (o *LinkCustomersToCertificateParams) WithContext(ctx context.Context) *LinkCustomersToCertificateParams
- func (o *LinkCustomersToCertificateParams) WithDefaults() *LinkCustomersToCertificateParams
- func (o *LinkCustomersToCertificateParams) WithHTTPClient(client *http.Client) *LinkCustomersToCertificateParams
- func (o *LinkCustomersToCertificateParams) WithID(id int32) *LinkCustomersToCertificateParams
- func (o *LinkCustomersToCertificateParams) WithTimeout(timeout time.Duration) *LinkCustomersToCertificateParams
- func (o *LinkCustomersToCertificateParams) WithXAvalaraClient(xAvalaraClient *string) *LinkCustomersToCertificateParams
- func (o *LinkCustomersToCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LinkCustomersToCertificateReader
- type LinkCustomersToCertificateUnauthorized
- type ListAttributesForCertificateBadRequest
- type ListAttributesForCertificateNotFound
- type ListAttributesForCertificateOK
- type ListAttributesForCertificateParams
- func NewListAttributesForCertificateParams() *ListAttributesForCertificateParams
- func NewListAttributesForCertificateParamsWithContext(ctx context.Context) *ListAttributesForCertificateParams
- func NewListAttributesForCertificateParamsWithHTTPClient(client *http.Client) *ListAttributesForCertificateParams
- func NewListAttributesForCertificateParamsWithTimeout(timeout time.Duration) *ListAttributesForCertificateParams
- func (o *ListAttributesForCertificateParams) SetCompanyID(companyID int32)
- func (o *ListAttributesForCertificateParams) SetContext(ctx context.Context)
- func (o *ListAttributesForCertificateParams) SetDefaults()
- func (o *ListAttributesForCertificateParams) SetHTTPClient(client *http.Client)
- func (o *ListAttributesForCertificateParams) SetID(id int32)
- func (o *ListAttributesForCertificateParams) SetTimeout(timeout time.Duration)
- func (o *ListAttributesForCertificateParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ListAttributesForCertificateParams) WithCompanyID(companyID int32) *ListAttributesForCertificateParams
- func (o *ListAttributesForCertificateParams) WithContext(ctx context.Context) *ListAttributesForCertificateParams
- func (o *ListAttributesForCertificateParams) WithDefaults() *ListAttributesForCertificateParams
- func (o *ListAttributesForCertificateParams) WithHTTPClient(client *http.Client) *ListAttributesForCertificateParams
- func (o *ListAttributesForCertificateParams) WithID(id int32) *ListAttributesForCertificateParams
- func (o *ListAttributesForCertificateParams) WithTimeout(timeout time.Duration) *ListAttributesForCertificateParams
- func (o *ListAttributesForCertificateParams) WithXAvalaraClient(xAvalaraClient *string) *ListAttributesForCertificateParams
- func (o *ListAttributesForCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAttributesForCertificateReader
- type ListAttributesForCertificateUnauthorized
- type ListCustomersForCertificateBadRequest
- type ListCustomersForCertificateNotFound
- type ListCustomersForCertificateOK
- type ListCustomersForCertificateParams
- func NewListCustomersForCertificateParams() *ListCustomersForCertificateParams
- func NewListCustomersForCertificateParamsWithContext(ctx context.Context) *ListCustomersForCertificateParams
- func NewListCustomersForCertificateParamsWithHTTPClient(client *http.Client) *ListCustomersForCertificateParams
- func NewListCustomersForCertificateParamsWithTimeout(timeout time.Duration) *ListCustomersForCertificateParams
- func (o *ListCustomersForCertificateParams) SetCompanyID(companyID int32)
- func (o *ListCustomersForCertificateParams) SetContext(ctx context.Context)
- func (o *ListCustomersForCertificateParams) SetDefaults()
- func (o *ListCustomersForCertificateParams) SetDollarInclude(dollarInclude *string)
- func (o *ListCustomersForCertificateParams) SetHTTPClient(client *http.Client)
- func (o *ListCustomersForCertificateParams) SetID(id int32)
- func (o *ListCustomersForCertificateParams) SetTimeout(timeout time.Duration)
- func (o *ListCustomersForCertificateParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ListCustomersForCertificateParams) WithCompanyID(companyID int32) *ListCustomersForCertificateParams
- func (o *ListCustomersForCertificateParams) WithContext(ctx context.Context) *ListCustomersForCertificateParams
- func (o *ListCustomersForCertificateParams) WithDefaults() *ListCustomersForCertificateParams
- func (o *ListCustomersForCertificateParams) WithDollarInclude(dollarInclude *string) *ListCustomersForCertificateParams
- func (o *ListCustomersForCertificateParams) WithHTTPClient(client *http.Client) *ListCustomersForCertificateParams
- func (o *ListCustomersForCertificateParams) WithID(id int32) *ListCustomersForCertificateParams
- func (o *ListCustomersForCertificateParams) WithTimeout(timeout time.Duration) *ListCustomersForCertificateParams
- func (o *ListCustomersForCertificateParams) WithXAvalaraClient(xAvalaraClient *string) *ListCustomersForCertificateParams
- func (o *ListCustomersForCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCustomersForCertificateReader
- type ListCustomersForCertificateUnauthorized
- type QueryCertificatesBadRequest
- type QueryCertificatesNotFound
- type QueryCertificatesOK
- type QueryCertificatesParams
- func NewQueryCertificatesParams() *QueryCertificatesParams
- func NewQueryCertificatesParamsWithContext(ctx context.Context) *QueryCertificatesParams
- func NewQueryCertificatesParamsWithHTTPClient(client *http.Client) *QueryCertificatesParams
- func NewQueryCertificatesParamsWithTimeout(timeout time.Duration) *QueryCertificatesParams
- func (o *QueryCertificatesParams) SetCompanyID(companyID int32)
- func (o *QueryCertificatesParams) SetContext(ctx context.Context)
- func (o *QueryCertificatesParams) SetDefaults()
- func (o *QueryCertificatesParams) SetDollarFilter(dollarFilter *string)
- func (o *QueryCertificatesParams) SetDollarInclude(dollarInclude *string)
- func (o *QueryCertificatesParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *QueryCertificatesParams) SetDollarSkip(dollarSkip *int32)
- func (o *QueryCertificatesParams) SetDollarTop(dollarTop *int32)
- func (o *QueryCertificatesParams) SetHTTPClient(client *http.Client)
- func (o *QueryCertificatesParams) SetTimeout(timeout time.Duration)
- func (o *QueryCertificatesParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *QueryCertificatesParams) WithCompanyID(companyID int32) *QueryCertificatesParams
- func (o *QueryCertificatesParams) WithContext(ctx context.Context) *QueryCertificatesParams
- func (o *QueryCertificatesParams) WithDefaults() *QueryCertificatesParams
- func (o *QueryCertificatesParams) WithDollarFilter(dollarFilter *string) *QueryCertificatesParams
- func (o *QueryCertificatesParams) WithDollarInclude(dollarInclude *string) *QueryCertificatesParams
- func (o *QueryCertificatesParams) WithDollarOrderBy(dollarOrderBy *string) *QueryCertificatesParams
- func (o *QueryCertificatesParams) WithDollarSkip(dollarSkip *int32) *QueryCertificatesParams
- func (o *QueryCertificatesParams) WithDollarTop(dollarTop *int32) *QueryCertificatesParams
- func (o *QueryCertificatesParams) WithHTTPClient(client *http.Client) *QueryCertificatesParams
- func (o *QueryCertificatesParams) WithTimeout(timeout time.Duration) *QueryCertificatesParams
- func (o *QueryCertificatesParams) WithXAvalaraClient(xAvalaraClient *string) *QueryCertificatesParams
- func (o *QueryCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryCertificatesReader
- type QueryCertificatesUnauthorized
- type RequestCertificateSetupBadRequest
- type RequestCertificateSetupNotFound
- type RequestCertificateSetupOK
- type RequestCertificateSetupParams
- func NewRequestCertificateSetupParams() *RequestCertificateSetupParams
- func NewRequestCertificateSetupParamsWithContext(ctx context.Context) *RequestCertificateSetupParams
- func NewRequestCertificateSetupParamsWithHTTPClient(client *http.Client) *RequestCertificateSetupParams
- func NewRequestCertificateSetupParamsWithTimeout(timeout time.Duration) *RequestCertificateSetupParams
- func (o *RequestCertificateSetupParams) SetCompanyID(companyID int32)
- func (o *RequestCertificateSetupParams) SetContext(ctx context.Context)
- func (o *RequestCertificateSetupParams) SetDefaults()
- func (o *RequestCertificateSetupParams) SetHTTPClient(client *http.Client)
- func (o *RequestCertificateSetupParams) SetTimeout(timeout time.Duration)
- func (o *RequestCertificateSetupParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *RequestCertificateSetupParams) WithCompanyID(companyID int32) *RequestCertificateSetupParams
- func (o *RequestCertificateSetupParams) WithContext(ctx context.Context) *RequestCertificateSetupParams
- func (o *RequestCertificateSetupParams) WithDefaults() *RequestCertificateSetupParams
- func (o *RequestCertificateSetupParams) WithHTTPClient(client *http.Client) *RequestCertificateSetupParams
- func (o *RequestCertificateSetupParams) WithTimeout(timeout time.Duration) *RequestCertificateSetupParams
- func (o *RequestCertificateSetupParams) WithXAvalaraClient(xAvalaraClient *string) *RequestCertificateSetupParams
- func (o *RequestCertificateSetupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RequestCertificateSetupReader
- type RequestCertificateSetupUnauthorized
- type UnlinkAttributesFromCertificateBadRequest
- type UnlinkAttributesFromCertificateNotFound
- type UnlinkAttributesFromCertificateOK
- type UnlinkAttributesFromCertificateParams
- func NewUnlinkAttributesFromCertificateParams() *UnlinkAttributesFromCertificateParams
- func NewUnlinkAttributesFromCertificateParamsWithContext(ctx context.Context) *UnlinkAttributesFromCertificateParams
- func NewUnlinkAttributesFromCertificateParamsWithHTTPClient(client *http.Client) *UnlinkAttributesFromCertificateParams
- func NewUnlinkAttributesFromCertificateParamsWithTimeout(timeout time.Duration) *UnlinkAttributesFromCertificateParams
- func (o *UnlinkAttributesFromCertificateParams) SetBody(body []*models.CertificateAttributeModel)
- func (o *UnlinkAttributesFromCertificateParams) SetCompanyID(companyID int32)
- func (o *UnlinkAttributesFromCertificateParams) SetContext(ctx context.Context)
- func (o *UnlinkAttributesFromCertificateParams) SetDefaults()
- func (o *UnlinkAttributesFromCertificateParams) SetHTTPClient(client *http.Client)
- func (o *UnlinkAttributesFromCertificateParams) SetID(id int32)
- func (o *UnlinkAttributesFromCertificateParams) SetTimeout(timeout time.Duration)
- func (o *UnlinkAttributesFromCertificateParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UnlinkAttributesFromCertificateParams) WithBody(body []*models.CertificateAttributeModel) *UnlinkAttributesFromCertificateParams
- func (o *UnlinkAttributesFromCertificateParams) WithCompanyID(companyID int32) *UnlinkAttributesFromCertificateParams
- func (o *UnlinkAttributesFromCertificateParams) WithContext(ctx context.Context) *UnlinkAttributesFromCertificateParams
- func (o *UnlinkAttributesFromCertificateParams) WithDefaults() *UnlinkAttributesFromCertificateParams
- func (o *UnlinkAttributesFromCertificateParams) WithHTTPClient(client *http.Client) *UnlinkAttributesFromCertificateParams
- func (o *UnlinkAttributesFromCertificateParams) WithID(id int32) *UnlinkAttributesFromCertificateParams
- func (o *UnlinkAttributesFromCertificateParams) WithTimeout(timeout time.Duration) *UnlinkAttributesFromCertificateParams
- func (o *UnlinkAttributesFromCertificateParams) WithXAvalaraClient(xAvalaraClient *string) *UnlinkAttributesFromCertificateParams
- func (o *UnlinkAttributesFromCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnlinkAttributesFromCertificateReader
- type UnlinkAttributesFromCertificateUnauthorized
- type UnlinkCustomersFromCertificateBadRequest
- type UnlinkCustomersFromCertificateNotFound
- type UnlinkCustomersFromCertificateOK
- type UnlinkCustomersFromCertificateParams
- func NewUnlinkCustomersFromCertificateParams() *UnlinkCustomersFromCertificateParams
- func NewUnlinkCustomersFromCertificateParamsWithContext(ctx context.Context) *UnlinkCustomersFromCertificateParams
- func NewUnlinkCustomersFromCertificateParamsWithHTTPClient(client *http.Client) *UnlinkCustomersFromCertificateParams
- func NewUnlinkCustomersFromCertificateParamsWithTimeout(timeout time.Duration) *UnlinkCustomersFromCertificateParams
- func (o *UnlinkCustomersFromCertificateParams) SetBody(body *models.LinkCustomersModel)
- func (o *UnlinkCustomersFromCertificateParams) SetCompanyID(companyID int32)
- func (o *UnlinkCustomersFromCertificateParams) SetContext(ctx context.Context)
- func (o *UnlinkCustomersFromCertificateParams) SetDefaults()
- func (o *UnlinkCustomersFromCertificateParams) SetHTTPClient(client *http.Client)
- func (o *UnlinkCustomersFromCertificateParams) SetID(id int32)
- func (o *UnlinkCustomersFromCertificateParams) SetTimeout(timeout time.Duration)
- func (o *UnlinkCustomersFromCertificateParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UnlinkCustomersFromCertificateParams) WithBody(body *models.LinkCustomersModel) *UnlinkCustomersFromCertificateParams
- func (o *UnlinkCustomersFromCertificateParams) WithCompanyID(companyID int32) *UnlinkCustomersFromCertificateParams
- func (o *UnlinkCustomersFromCertificateParams) WithContext(ctx context.Context) *UnlinkCustomersFromCertificateParams
- func (o *UnlinkCustomersFromCertificateParams) WithDefaults() *UnlinkCustomersFromCertificateParams
- func (o *UnlinkCustomersFromCertificateParams) WithHTTPClient(client *http.Client) *UnlinkCustomersFromCertificateParams
- func (o *UnlinkCustomersFromCertificateParams) WithID(id int32) *UnlinkCustomersFromCertificateParams
- func (o *UnlinkCustomersFromCertificateParams) WithTimeout(timeout time.Duration) *UnlinkCustomersFromCertificateParams
- func (o *UnlinkCustomersFromCertificateParams) WithXAvalaraClient(xAvalaraClient *string) *UnlinkCustomersFromCertificateParams
- func (o *UnlinkCustomersFromCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnlinkCustomersFromCertificateReader
- type UnlinkCustomersFromCertificateUnauthorized
- type UpdateCertificateBadRequest
- type UpdateCertificateNotFound
- type UpdateCertificateOK
- type UpdateCertificateParams
- func NewUpdateCertificateParams() *UpdateCertificateParams
- func NewUpdateCertificateParamsWithContext(ctx context.Context) *UpdateCertificateParams
- func NewUpdateCertificateParamsWithHTTPClient(client *http.Client) *UpdateCertificateParams
- func NewUpdateCertificateParamsWithTimeout(timeout time.Duration) *UpdateCertificateParams
- func (o *UpdateCertificateParams) SetBody(body *models.CertificateModel)
- func (o *UpdateCertificateParams) SetCompanyID(companyID int32)
- func (o *UpdateCertificateParams) SetContext(ctx context.Context)
- func (o *UpdateCertificateParams) SetDefaults()
- func (o *UpdateCertificateParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCertificateParams) SetID(id int32)
- func (o *UpdateCertificateParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCertificateParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UpdateCertificateParams) WithBody(body *models.CertificateModel) *UpdateCertificateParams
- func (o *UpdateCertificateParams) WithCompanyID(companyID int32) *UpdateCertificateParams
- func (o *UpdateCertificateParams) WithContext(ctx context.Context) *UpdateCertificateParams
- func (o *UpdateCertificateParams) WithDefaults() *UpdateCertificateParams
- func (o *UpdateCertificateParams) WithHTTPClient(client *http.Client) *UpdateCertificateParams
- func (o *UpdateCertificateParams) WithID(id int32) *UpdateCertificateParams
- func (o *UpdateCertificateParams) WithTimeout(timeout time.Duration) *UpdateCertificateParams
- func (o *UpdateCertificateParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateCertificateParams
- func (o *UpdateCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCertificateReader
- type UpdateCertificateUnauthorized
- type UploadCertificateImageBadRequest
- type UploadCertificateImageNotFound
- type UploadCertificateImageOK
- type UploadCertificateImageParams
- func NewUploadCertificateImageParams() *UploadCertificateImageParams
- func NewUploadCertificateImageParamsWithContext(ctx context.Context) *UploadCertificateImageParams
- func NewUploadCertificateImageParamsWithHTTPClient(client *http.Client) *UploadCertificateImageParams
- func NewUploadCertificateImageParamsWithTimeout(timeout time.Duration) *UploadCertificateImageParams
- func (o *UploadCertificateImageParams) SetCompanyID(companyID int32)
- func (o *UploadCertificateImageParams) SetContext(ctx context.Context)
- func (o *UploadCertificateImageParams) SetDefaults()
- func (o *UploadCertificateImageParams) SetFile(file runtime.NamedReadCloser)
- func (o *UploadCertificateImageParams) SetHTTPClient(client *http.Client)
- func (o *UploadCertificateImageParams) SetID(id int32)
- func (o *UploadCertificateImageParams) SetTimeout(timeout time.Duration)
- func (o *UploadCertificateImageParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UploadCertificateImageParams) WithCompanyID(companyID int32) *UploadCertificateImageParams
- func (o *UploadCertificateImageParams) WithContext(ctx context.Context) *UploadCertificateImageParams
- func (o *UploadCertificateImageParams) WithDefaults() *UploadCertificateImageParams
- func (o *UploadCertificateImageParams) WithFile(file runtime.NamedReadCloser) *UploadCertificateImageParams
- func (o *UploadCertificateImageParams) WithHTTPClient(client *http.Client) *UploadCertificateImageParams
- func (o *UploadCertificateImageParams) WithID(id int32) *UploadCertificateImageParams
- func (o *UploadCertificateImageParams) WithTimeout(timeout time.Duration) *UploadCertificateImageParams
- func (o *UploadCertificateImageParams) WithXAvalaraClient(xAvalaraClient *string) *UploadCertificateImageParams
- func (o *UploadCertificateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadCertificateImageReader
- type UploadCertificateImageUnauthorized
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`.
If the users specified in the certificates do not exist, the API will create the user and link them to the certificate ¶
### 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 ¶
func (o *CreateCertificatesBadRequest) Error() string
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 ¶
func (o *CreateCertificatesNotFound) Error() string
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 ¶
func (o *CreateCertificatesParams) WithBody(body []*models.CertificateModel) *CreateCertificatesParams
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 ¶
func (o *CreateCertificatesParams) WithContext(ctx context.Context) *CreateCertificatesParams
WithContext adds the context to the create certificates params
func (*CreateCertificatesParams) WithDefaults ¶
func (o *CreateCertificatesParams) WithDefaults() *CreateCertificatesParams
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 ¶
func (o *CreateCertificatesParams) WithTimeout(timeout time.Duration) *CreateCertificatesParams
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 ¶
func (o *CreateCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateCertificatesUnauthorized) Error() string
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 ¶
func (o *DeleteCertificateBadRequest) Error() string
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 ¶
func (o *DeleteCertificateParams) WithContext(ctx context.Context) *DeleteCertificateParams
WithContext adds the context to the delete certificate params
func (*DeleteCertificateParams) WithDefaults ¶
func (o *DeleteCertificateParams) WithDefaults() *DeleteCertificateParams
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 ¶
func (o *DeleteCertificateParams) WithID(id int32) *DeleteCertificateParams
WithID adds the id to the delete certificate params
func (*DeleteCertificateParams) WithTimeout ¶
func (o *DeleteCertificateParams) WithTimeout(timeout time.Duration) *DeleteCertificateParams
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 ¶
func (o *DeleteCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteCertificateUnauthorized) Error() string
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 ¶
func (o *DownloadCertificateImageBadRequest) Error() string
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 ¶
func (o *DownloadCertificateImageNotFound) Error() string
type DownloadCertificateImageOK ¶
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 (o *DownloadCertificateImageOK) Error() string
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 ¶
func (o *DownloadCertificateImageParams) SetID(id int32)
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 ¶
func (o *DownloadCertificateImageParams) WithCompanyID(companyID int32) *DownloadCertificateImageParams
WithCompanyID adds the companyID to the download certificate image params
func (*DownloadCertificateImageParams) WithContext ¶
func (o *DownloadCertificateImageParams) WithContext(ctx context.Context) *DownloadCertificateImageParams
WithContext adds the context to the download certificate image params
func (*DownloadCertificateImageParams) WithDefaults ¶
func (o *DownloadCertificateImageParams) WithDefaults() *DownloadCertificateImageParams
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 ¶
func (o *DownloadCertificateImageParams) WithDollarPage(dollarPage *int32) *DownloadCertificateImageParams
WithDollarPage adds the dollarPage to the download certificate image params
func (*DownloadCertificateImageParams) WithDollarType ¶
func (o *DownloadCertificateImageParams) WithDollarType(dollarType *string) *DownloadCertificateImageParams
WithDollarType adds the dollarType to the download certificate image params
func (*DownloadCertificateImageParams) WithHTTPClient ¶
func (o *DownloadCertificateImageParams) WithHTTPClient(client *http.Client) *DownloadCertificateImageParams
WithHTTPClient adds the HTTPClient to the download certificate image params
func (*DownloadCertificateImageParams) WithID ¶
func (o *DownloadCertificateImageParams) WithID(id int32) *DownloadCertificateImageParams
WithID adds the id to the download certificate image params
func (*DownloadCertificateImageParams) WithTimeout ¶
func (o *DownloadCertificateImageParams) WithTimeout(timeout time.Duration) *DownloadCertificateImageParams
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 ¶
func (o *DownloadCertificateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DownloadCertificateImageUnauthorized) Error() string
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 ¶
func (o *GetCertificateParams) WithContext(ctx context.Context) *GetCertificateParams
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 ¶
func (o *GetCertificateParams) WithID(id int32) *GetCertificateParams
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 ¶
func (o *GetCertificateSetupBadRequest) Error() string
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 ¶
func (o *GetCertificateSetupNotFound) Error() string
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 ¶
func (o *GetCertificateSetupOK) GetPayload() *models.ProvisionStatusModel
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 ¶
func (o *GetCertificateSetupParams) WithContext(ctx context.Context) *GetCertificateSetupParams
WithContext adds the context to the get certificate setup params
func (*GetCertificateSetupParams) WithDefaults ¶
func (o *GetCertificateSetupParams) WithDefaults() *GetCertificateSetupParams
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 ¶
func (o *GetCertificateSetupParams) WithTimeout(timeout time.Duration) *GetCertificateSetupParams
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 ¶
func (o *GetCertificateSetupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetCertificateSetupUnauthorized) Error() string
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 ¶
func (o *GetCertificateUnauthorized) Error() string
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 ¶
func (o *LinkAttributesToCertificateBadRequest) Error() string
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 ¶
func (o *LinkAttributesToCertificateNotFound) Error() string
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 (o *LinkAttributesToCertificateOK) Error() string
func (*LinkAttributesToCertificateOK) GetPayload ¶
func (o *LinkAttributesToCertificateOK) GetPayload() *models.CertificateAttributeModelFetchResult
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 ¶
func (o *LinkAttributesToCertificateParams) SetBody(body []*models.CertificateAttributeModel)
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 ¶
func (o *LinkAttributesToCertificateParams) SetContext(ctx context.Context)
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 ¶
func (o *LinkAttributesToCertificateParams) SetID(id int32)
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 ¶
func (o *LinkAttributesToCertificateParams) WithBody(body []*models.CertificateAttributeModel) *LinkAttributesToCertificateParams
WithBody adds the body to the link attributes to certificate params
func (*LinkAttributesToCertificateParams) WithCompanyID ¶
func (o *LinkAttributesToCertificateParams) WithCompanyID(companyID int32) *LinkAttributesToCertificateParams
WithCompanyID adds the companyID to the link attributes to certificate params
func (*LinkAttributesToCertificateParams) WithContext ¶
func (o *LinkAttributesToCertificateParams) WithContext(ctx context.Context) *LinkAttributesToCertificateParams
WithContext adds the context to the link attributes to certificate params
func (*LinkAttributesToCertificateParams) WithDefaults ¶
func (o *LinkAttributesToCertificateParams) WithDefaults() *LinkAttributesToCertificateParams
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 ¶
func (o *LinkAttributesToCertificateParams) WithHTTPClient(client *http.Client) *LinkAttributesToCertificateParams
WithHTTPClient adds the HTTPClient to the link attributes to certificate params
func (*LinkAttributesToCertificateParams) WithID ¶
func (o *LinkAttributesToCertificateParams) WithID(id int32) *LinkAttributesToCertificateParams
WithID adds the id to the link attributes to certificate params
func (*LinkAttributesToCertificateParams) WithTimeout ¶
func (o *LinkAttributesToCertificateParams) WithTimeout(timeout time.Duration) *LinkAttributesToCertificateParams
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 ¶
func (o *LinkAttributesToCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *LinkAttributesToCertificateUnauthorized) Error() string
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 ¶
func (o *LinkCustomersToCertificateBadRequest) Error() string
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 ¶
func (o *LinkCustomersToCertificateNotFound) Error() string
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 (o *LinkCustomersToCertificateOK) Error() string
func (*LinkCustomersToCertificateOK) GetPayload ¶
func (o *LinkCustomersToCertificateOK) GetPayload() *models.CustomerModelFetchResult
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 ¶
func (o *LinkCustomersToCertificateParams) SetBody(body *models.LinkCustomersModel)
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 ¶
func (o *LinkCustomersToCertificateParams) SetContext(ctx context.Context)
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 ¶
func (o *LinkCustomersToCertificateParams) SetID(id int32)
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 ¶
func (o *LinkCustomersToCertificateParams) WithBody(body *models.LinkCustomersModel) *LinkCustomersToCertificateParams
WithBody adds the body to the link customers to certificate params
func (*LinkCustomersToCertificateParams) WithCompanyID ¶
func (o *LinkCustomersToCertificateParams) WithCompanyID(companyID int32) *LinkCustomersToCertificateParams
WithCompanyID adds the companyID to the link customers to certificate params
func (*LinkCustomersToCertificateParams) WithContext ¶
func (o *LinkCustomersToCertificateParams) WithContext(ctx context.Context) *LinkCustomersToCertificateParams
WithContext adds the context to the link customers to certificate params
func (*LinkCustomersToCertificateParams) WithDefaults ¶
func (o *LinkCustomersToCertificateParams) WithDefaults() *LinkCustomersToCertificateParams
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 ¶
func (o *LinkCustomersToCertificateParams) WithHTTPClient(client *http.Client) *LinkCustomersToCertificateParams
WithHTTPClient adds the HTTPClient to the link customers to certificate params
func (*LinkCustomersToCertificateParams) WithID ¶
func (o *LinkCustomersToCertificateParams) WithID(id int32) *LinkCustomersToCertificateParams
WithID adds the id to the link customers to certificate params
func (*LinkCustomersToCertificateParams) WithTimeout ¶
func (o *LinkCustomersToCertificateParams) WithTimeout(timeout time.Duration) *LinkCustomersToCertificateParams
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 ¶
func (o *LinkCustomersToCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *LinkCustomersToCertificateUnauthorized) Error() string
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 ¶
func (o *ListAttributesForCertificateBadRequest) Error() string
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 ¶
func (o *ListAttributesForCertificateNotFound) Error() string
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 (o *ListAttributesForCertificateOK) Error() string
func (*ListAttributesForCertificateOK) GetPayload ¶
func (o *ListAttributesForCertificateOK) GetPayload() *models.CertificateAttributeModelFetchResult
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 ¶
func (o *ListAttributesForCertificateParams) SetContext(ctx context.Context)
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 ¶
func (o *ListAttributesForCertificateParams) SetID(id int32)
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 ¶
func (o *ListAttributesForCertificateParams) WithCompanyID(companyID int32) *ListAttributesForCertificateParams
WithCompanyID adds the companyID to the list attributes for certificate params
func (*ListAttributesForCertificateParams) WithContext ¶
func (o *ListAttributesForCertificateParams) WithContext(ctx context.Context) *ListAttributesForCertificateParams
WithContext adds the context to the list attributes for certificate params
func (*ListAttributesForCertificateParams) WithDefaults ¶
func (o *ListAttributesForCertificateParams) WithDefaults() *ListAttributesForCertificateParams
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 ¶
func (o *ListAttributesForCertificateParams) WithHTTPClient(client *http.Client) *ListAttributesForCertificateParams
WithHTTPClient adds the HTTPClient to the list attributes for certificate params
func (*ListAttributesForCertificateParams) WithID ¶
func (o *ListAttributesForCertificateParams) WithID(id int32) *ListAttributesForCertificateParams
WithID adds the id to the list attributes for certificate params
func (*ListAttributesForCertificateParams) WithTimeout ¶
func (o *ListAttributesForCertificateParams) WithTimeout(timeout time.Duration) *ListAttributesForCertificateParams
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 ¶
func (o *ListAttributesForCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListAttributesForCertificateUnauthorized) Error() string
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 ¶
func (o *ListCustomersForCertificateBadRequest) Error() string
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 ¶
func (o *ListCustomersForCertificateNotFound) Error() string
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 (o *ListCustomersForCertificateOK) Error() string
func (*ListCustomersForCertificateOK) GetPayload ¶
func (o *ListCustomersForCertificateOK) GetPayload() *models.CustomerModelFetchResult
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 ¶
func (o *ListCustomersForCertificateParams) SetContext(ctx context.Context)
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 ¶
func (o *ListCustomersForCertificateParams) SetID(id int32)
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 ¶
func (o *ListCustomersForCertificateParams) WithCompanyID(companyID int32) *ListCustomersForCertificateParams
WithCompanyID adds the companyID to the list customers for certificate params
func (*ListCustomersForCertificateParams) WithContext ¶
func (o *ListCustomersForCertificateParams) WithContext(ctx context.Context) *ListCustomersForCertificateParams
WithContext adds the context to the list customers for certificate params
func (*ListCustomersForCertificateParams) WithDefaults ¶
func (o *ListCustomersForCertificateParams) WithDefaults() *ListCustomersForCertificateParams
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 ¶
func (o *ListCustomersForCertificateParams) WithHTTPClient(client *http.Client) *ListCustomersForCertificateParams
WithHTTPClient adds the HTTPClient to the list customers for certificate params
func (*ListCustomersForCertificateParams) WithID ¶
func (o *ListCustomersForCertificateParams) WithID(id int32) *ListCustomersForCertificateParams
WithID adds the id to the list customers for certificate params
func (*ListCustomersForCertificateParams) WithTimeout ¶
func (o *ListCustomersForCertificateParams) WithTimeout(timeout time.Duration) *ListCustomersForCertificateParams
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 ¶
func (o *ListCustomersForCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListCustomersForCertificateUnauthorized) Error() string
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 ¶
func (o *QueryCertificatesBadRequest) Error() string
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 ¶
func (o *QueryCertificatesOK) GetPayload() *models.CertificateModelFetchResult
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 ¶
func (o *QueryCertificatesParams) WithContext(ctx context.Context) *QueryCertificatesParams
WithContext adds the context to the query certificates params
func (*QueryCertificatesParams) WithDefaults ¶
func (o *QueryCertificatesParams) WithDefaults() *QueryCertificatesParams
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 ¶
func (o *QueryCertificatesParams) WithTimeout(timeout time.Duration) *QueryCertificatesParams
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 ¶
func (o *QueryCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *QueryCertificatesUnauthorized) Error() string
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 ¶
func (o *RequestCertificateSetupBadRequest) Error() string
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 ¶
func (o *RequestCertificateSetupNotFound) Error() string
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 ¶
func (o *RequestCertificateSetupOK) GetPayload() *models.ProvisionStatusModel
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 ¶
func (o *RequestCertificateSetupParams) WithCompanyID(companyID int32) *RequestCertificateSetupParams
WithCompanyID adds the companyID to the request certificate setup params
func (*RequestCertificateSetupParams) WithContext ¶
func (o *RequestCertificateSetupParams) WithContext(ctx context.Context) *RequestCertificateSetupParams
WithContext adds the context to the request certificate setup params
func (*RequestCertificateSetupParams) WithDefaults ¶
func (o *RequestCertificateSetupParams) WithDefaults() *RequestCertificateSetupParams
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 ¶
func (o *RequestCertificateSetupParams) WithHTTPClient(client *http.Client) *RequestCertificateSetupParams
WithHTTPClient adds the HTTPClient to the request certificate setup params
func (*RequestCertificateSetupParams) WithTimeout ¶
func (o *RequestCertificateSetupParams) WithTimeout(timeout time.Duration) *RequestCertificateSetupParams
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 ¶
func (o *RequestCertificateSetupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *RequestCertificateSetupUnauthorized) Error() string
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 ¶
func (o *UnlinkAttributesFromCertificateBadRequest) Error() string
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 ¶
func (o *UnlinkAttributesFromCertificateNotFound) Error() string
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 (o *UnlinkAttributesFromCertificateOK) Error() string
func (*UnlinkAttributesFromCertificateOK) GetPayload ¶
func (o *UnlinkAttributesFromCertificateOK) GetPayload() *models.CertificateAttributeModelFetchResult
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 ¶
func (o *UnlinkAttributesFromCertificateParams) SetBody(body []*models.CertificateAttributeModel)
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 ¶
func (o *UnlinkAttributesFromCertificateParams) SetContext(ctx context.Context)
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 ¶
func (o *UnlinkAttributesFromCertificateParams) SetID(id int32)
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 ¶
func (o *UnlinkAttributesFromCertificateParams) WithBody(body []*models.CertificateAttributeModel) *UnlinkAttributesFromCertificateParams
WithBody adds the body to the unlink attributes from certificate params
func (*UnlinkAttributesFromCertificateParams) WithCompanyID ¶
func (o *UnlinkAttributesFromCertificateParams) WithCompanyID(companyID int32) *UnlinkAttributesFromCertificateParams
WithCompanyID adds the companyID to the unlink attributes from certificate params
func (*UnlinkAttributesFromCertificateParams) WithContext ¶
func (o *UnlinkAttributesFromCertificateParams) WithContext(ctx context.Context) *UnlinkAttributesFromCertificateParams
WithContext adds the context to the unlink attributes from certificate params
func (*UnlinkAttributesFromCertificateParams) WithDefaults ¶
func (o *UnlinkAttributesFromCertificateParams) WithDefaults() *UnlinkAttributesFromCertificateParams
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 ¶
func (o *UnlinkAttributesFromCertificateParams) WithHTTPClient(client *http.Client) *UnlinkAttributesFromCertificateParams
WithHTTPClient adds the HTTPClient to the unlink attributes from certificate params
func (*UnlinkAttributesFromCertificateParams) WithID ¶
func (o *UnlinkAttributesFromCertificateParams) WithID(id int32) *UnlinkAttributesFromCertificateParams
WithID adds the id to the unlink attributes from certificate params
func (*UnlinkAttributesFromCertificateParams) WithTimeout ¶
func (o *UnlinkAttributesFromCertificateParams) WithTimeout(timeout time.Duration) *UnlinkAttributesFromCertificateParams
WithTimeout adds the timeout to the unlink attributes from certificate params
func (*UnlinkAttributesFromCertificateParams) WithXAvalaraClient ¶
func (o *UnlinkAttributesFromCertificateParams) WithXAvalaraClient(xAvalaraClient *string) *UnlinkAttributesFromCertificateParams
WithXAvalaraClient adds the xAvalaraClient to the unlink attributes from certificate params
func (*UnlinkAttributesFromCertificateParams) WriteToRequest ¶
func (o *UnlinkAttributesFromCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UnlinkAttributesFromCertificateUnauthorized) Error() string
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 ¶
func (o *UnlinkCustomersFromCertificateBadRequest) Error() string
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 ¶
func (o *UnlinkCustomersFromCertificateNotFound) Error() string
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 (o *UnlinkCustomersFromCertificateOK) Error() string
func (*UnlinkCustomersFromCertificateOK) GetPayload ¶
func (o *UnlinkCustomersFromCertificateOK) GetPayload() *models.CustomerModelFetchResult
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 ¶
func (o *UnlinkCustomersFromCertificateParams) SetBody(body *models.LinkCustomersModel)
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 ¶
func (o *UnlinkCustomersFromCertificateParams) SetContext(ctx context.Context)
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 ¶
func (o *UnlinkCustomersFromCertificateParams) SetID(id int32)
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 ¶
func (o *UnlinkCustomersFromCertificateParams) WithBody(body *models.LinkCustomersModel) *UnlinkCustomersFromCertificateParams
WithBody adds the body to the unlink customers from certificate params
func (*UnlinkCustomersFromCertificateParams) WithCompanyID ¶
func (o *UnlinkCustomersFromCertificateParams) WithCompanyID(companyID int32) *UnlinkCustomersFromCertificateParams
WithCompanyID adds the companyID to the unlink customers from certificate params
func (*UnlinkCustomersFromCertificateParams) WithContext ¶
func (o *UnlinkCustomersFromCertificateParams) WithContext(ctx context.Context) *UnlinkCustomersFromCertificateParams
WithContext adds the context to the unlink customers from certificate params
func (*UnlinkCustomersFromCertificateParams) WithDefaults ¶
func (o *UnlinkCustomersFromCertificateParams) WithDefaults() *UnlinkCustomersFromCertificateParams
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 ¶
func (o *UnlinkCustomersFromCertificateParams) WithHTTPClient(client *http.Client) *UnlinkCustomersFromCertificateParams
WithHTTPClient adds the HTTPClient to the unlink customers from certificate params
func (*UnlinkCustomersFromCertificateParams) WithID ¶
func (o *UnlinkCustomersFromCertificateParams) WithID(id int32) *UnlinkCustomersFromCertificateParams
WithID adds the id to the unlink customers from certificate params
func (*UnlinkCustomersFromCertificateParams) WithTimeout ¶
func (o *UnlinkCustomersFromCertificateParams) WithTimeout(timeout time.Duration) *UnlinkCustomersFromCertificateParams
WithTimeout adds the timeout to the unlink customers from certificate params
func (*UnlinkCustomersFromCertificateParams) WithXAvalaraClient ¶
func (o *UnlinkCustomersFromCertificateParams) WithXAvalaraClient(xAvalaraClient *string) *UnlinkCustomersFromCertificateParams
WithXAvalaraClient adds the xAvalaraClient to the unlink customers from certificate params
func (*UnlinkCustomersFromCertificateParams) WriteToRequest ¶
func (o *UnlinkCustomersFromCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UnlinkCustomersFromCertificateUnauthorized) Error() string
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 ¶
func (o *UpdateCertificateBadRequest) Error() string
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 ¶
func (o *UpdateCertificateParams) SetBody(body *models.CertificateModel)
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 ¶
func (o *UpdateCertificateParams) WithBody(body *models.CertificateModel) *UpdateCertificateParams
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 ¶
func (o *UpdateCertificateParams) WithContext(ctx context.Context) *UpdateCertificateParams
WithContext adds the context to the update certificate params
func (*UpdateCertificateParams) WithDefaults ¶
func (o *UpdateCertificateParams) WithDefaults() *UpdateCertificateParams
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 ¶
func (o *UpdateCertificateParams) WithID(id int32) *UpdateCertificateParams
WithID adds the id to the update certificate params
func (*UpdateCertificateParams) WithTimeout ¶
func (o *UpdateCertificateParams) WithTimeout(timeout time.Duration) *UpdateCertificateParams
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 ¶
func (o *UpdateCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateCertificateUnauthorized) Error() string
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 ¶
func (o *UploadCertificateImageBadRequest) Error() string
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 ¶
func (o *UploadCertificateImageNotFound) Error() string
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 ¶
func (o *UploadCertificateImageParams) SetFile(file runtime.NamedReadCloser)
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 ¶
func (o *UploadCertificateImageParams) WithCompanyID(companyID int32) *UploadCertificateImageParams
WithCompanyID adds the companyID to the upload certificate image params
func (*UploadCertificateImageParams) WithContext ¶
func (o *UploadCertificateImageParams) WithContext(ctx context.Context) *UploadCertificateImageParams
WithContext adds the context to the upload certificate image params
func (*UploadCertificateImageParams) WithDefaults ¶
func (o *UploadCertificateImageParams) WithDefaults() *UploadCertificateImageParams
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 ¶
func (o *UploadCertificateImageParams) WithFile(file runtime.NamedReadCloser) *UploadCertificateImageParams
WithFile adds the file to the upload certificate image params
func (*UploadCertificateImageParams) WithHTTPClient ¶
func (o *UploadCertificateImageParams) WithHTTPClient(client *http.Client) *UploadCertificateImageParams
WithHTTPClient adds the HTTPClient to the upload certificate image params
func (*UploadCertificateImageParams) WithID ¶
func (o *UploadCertificateImageParams) WithID(id int32) *UploadCertificateImageParams
WithID adds the id to the upload certificate image params
func (*UploadCertificateImageParams) WithTimeout ¶
func (o *UploadCertificateImageParams) WithTimeout(timeout time.Duration) *UploadCertificateImageParams
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 ¶
func (o *UploadCertificateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UploadCertificateImageUnauthorized) Error() string
Source Files ¶
- certificates_client.go
- create_certificates_parameters.go
- create_certificates_responses.go
- delete_certificate_parameters.go
- delete_certificate_responses.go
- download_certificate_image_parameters.go
- download_certificate_image_responses.go
- get_certificate_parameters.go
- get_certificate_responses.go
- get_certificate_setup_parameters.go
- get_certificate_setup_responses.go
- link_attributes_to_certificate_parameters.go
- link_attributes_to_certificate_responses.go
- link_customers_to_certificate_parameters.go
- link_customers_to_certificate_responses.go
- list_attributes_for_certificate_parameters.go
- list_attributes_for_certificate_responses.go
- list_customers_for_certificate_parameters.go
- list_customers_for_certificate_responses.go
- query_certificates_parameters.go
- query_certificates_responses.go
- request_certificate_setup_parameters.go
- request_certificate_setup_responses.go
- unlink_attributes_from_certificate_parameters.go
- unlink_attributes_from_certificate_responses.go
- unlink_customers_from_certificate_parameters.go
- unlink_customers_from_certificate_responses.go
- update_certificate_parameters.go
- update_certificate_responses.go
- upload_certificate_image_parameters.go
- upload_certificate_image_responses.go