Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateCustomers(params *CreateCustomersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateCustomersOK, error)
- func (a *Client) DeleteCustomer(params *DeleteCustomerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteCustomerOK, error)
- func (a *Client) GetCustomer(params *GetCustomerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCustomerOK, error)
- func (a *Client) LinkAttributesToCustomer(params *LinkAttributesToCustomerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LinkAttributesToCustomerOK, error)
- func (a *Client) LinkCertificatesToCustomer(params *LinkCertificatesToCustomerParams, ...) (*LinkCertificatesToCustomerOK, error)
- func (a *Client) LinkShipToCustomersToBillCustomer(params *LinkShipToCustomersToBillCustomerParams, ...) (*LinkShipToCustomersToBillCustomerOK, error)
- func (a *Client) ListAttributesForCustomer(params *ListAttributesForCustomerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAttributesForCustomerOK, error)
- func (a *Client) ListCertificatesForCustomer(params *ListCertificatesForCustomerParams, ...) (*ListCertificatesForCustomerOK, error)
- func (a *Client) ListValidCertificatesForCustomer(params *ListValidCertificatesForCustomerParams, ...) (*ListValidCertificatesForCustomerOK, error)
- func (a *Client) QueryCustomers(params *QueryCustomersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryCustomersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnlinkAttributesFromCustomer(params *UnlinkAttributesFromCustomerParams, ...) (*UnlinkAttributesFromCustomerOK, error)
- func (a *Client) UnlinkCertificatesFromCustomer(params *UnlinkCertificatesFromCustomerParams, ...) (*UnlinkCertificatesFromCustomerOK, error)
- func (a *Client) UpdateCustomer(params *UpdateCustomerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateCustomerOK, error)
- type ClientOption
- type ClientService
- type CreateCustomersBadRequest
- type CreateCustomersNotFound
- type CreateCustomersOK
- type CreateCustomersParams
- func NewCreateCustomersParams() *CreateCustomersParams
- func NewCreateCustomersParamsWithContext(ctx context.Context) *CreateCustomersParams
- func NewCreateCustomersParamsWithHTTPClient(client *http.Client) *CreateCustomersParams
- func NewCreateCustomersParamsWithTimeout(timeout time.Duration) *CreateCustomersParams
- func (o *CreateCustomersParams) SetBody(body []*models.CustomerModel)
- func (o *CreateCustomersParams) SetCompanyID(companyID int32)
- func (o *CreateCustomersParams) SetContext(ctx context.Context)
- func (o *CreateCustomersParams) SetDefaults()
- func (o *CreateCustomersParams) SetHTTPClient(client *http.Client)
- func (o *CreateCustomersParams) SetTimeout(timeout time.Duration)
- func (o *CreateCustomersParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateCustomersParams) WithBody(body []*models.CustomerModel) *CreateCustomersParams
- func (o *CreateCustomersParams) WithCompanyID(companyID int32) *CreateCustomersParams
- func (o *CreateCustomersParams) WithContext(ctx context.Context) *CreateCustomersParams
- func (o *CreateCustomersParams) WithDefaults() *CreateCustomersParams
- func (o *CreateCustomersParams) WithHTTPClient(client *http.Client) *CreateCustomersParams
- func (o *CreateCustomersParams) WithTimeout(timeout time.Duration) *CreateCustomersParams
- func (o *CreateCustomersParams) WithXAvalaraClient(xAvalaraClient *string) *CreateCustomersParams
- func (o *CreateCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCustomersReader
- type CreateCustomersUnauthorized
- type DeleteCustomerBadRequest
- type DeleteCustomerNotFound
- type DeleteCustomerOK
- type DeleteCustomerParams
- func NewDeleteCustomerParams() *DeleteCustomerParams
- func NewDeleteCustomerParamsWithContext(ctx context.Context) *DeleteCustomerParams
- func NewDeleteCustomerParamsWithHTTPClient(client *http.Client) *DeleteCustomerParams
- func NewDeleteCustomerParamsWithTimeout(timeout time.Duration) *DeleteCustomerParams
- func (o *DeleteCustomerParams) SetCompanyID(companyID int32)
- func (o *DeleteCustomerParams) SetContext(ctx context.Context)
- func (o *DeleteCustomerParams) SetCustomerCode(customerCode string)
- func (o *DeleteCustomerParams) SetDefaults()
- func (o *DeleteCustomerParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCustomerParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteCustomerParams) WithCompanyID(companyID int32) *DeleteCustomerParams
- func (o *DeleteCustomerParams) WithContext(ctx context.Context) *DeleteCustomerParams
- func (o *DeleteCustomerParams) WithCustomerCode(customerCode string) *DeleteCustomerParams
- func (o *DeleteCustomerParams) WithDefaults() *DeleteCustomerParams
- func (o *DeleteCustomerParams) WithHTTPClient(client *http.Client) *DeleteCustomerParams
- func (o *DeleteCustomerParams) WithTimeout(timeout time.Duration) *DeleteCustomerParams
- func (o *DeleteCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteCustomerParams
- func (o *DeleteCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCustomerReader
- type DeleteCustomerUnauthorized
- type GetCustomerBadRequest
- type GetCustomerNotFound
- type GetCustomerOK
- type GetCustomerParams
- func (o *GetCustomerParams) SetCompanyID(companyID int32)
- func (o *GetCustomerParams) SetContext(ctx context.Context)
- func (o *GetCustomerParams) SetCustomerCode(customerCode string)
- func (o *GetCustomerParams) SetDefaults()
- func (o *GetCustomerParams) SetDollarInclude(dollarInclude *string)
- func (o *GetCustomerParams) SetHTTPClient(client *http.Client)
- func (o *GetCustomerParams) SetTimeout(timeout time.Duration)
- func (o *GetCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetCustomerParams) WithCompanyID(companyID int32) *GetCustomerParams
- func (o *GetCustomerParams) WithContext(ctx context.Context) *GetCustomerParams
- func (o *GetCustomerParams) WithCustomerCode(customerCode string) *GetCustomerParams
- func (o *GetCustomerParams) WithDefaults() *GetCustomerParams
- func (o *GetCustomerParams) WithDollarInclude(dollarInclude *string) *GetCustomerParams
- func (o *GetCustomerParams) WithHTTPClient(client *http.Client) *GetCustomerParams
- func (o *GetCustomerParams) WithTimeout(timeout time.Duration) *GetCustomerParams
- func (o *GetCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *GetCustomerParams
- func (o *GetCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCustomerReader
- type GetCustomerUnauthorized
- type LinkAttributesToCustomerOK
- type LinkAttributesToCustomerParams
- func NewLinkAttributesToCustomerParams() *LinkAttributesToCustomerParams
- func NewLinkAttributesToCustomerParamsWithContext(ctx context.Context) *LinkAttributesToCustomerParams
- func NewLinkAttributesToCustomerParamsWithHTTPClient(client *http.Client) *LinkAttributesToCustomerParams
- func NewLinkAttributesToCustomerParamsWithTimeout(timeout time.Duration) *LinkAttributesToCustomerParams
- func (o *LinkAttributesToCustomerParams) SetBody(body []*models.CustomerAttributeModel)
- func (o *LinkAttributesToCustomerParams) SetCompanyID(companyID int32)
- func (o *LinkAttributesToCustomerParams) SetContext(ctx context.Context)
- func (o *LinkAttributesToCustomerParams) SetCustomerCode(customerCode string)
- func (o *LinkAttributesToCustomerParams) SetDefaults()
- func (o *LinkAttributesToCustomerParams) SetHTTPClient(client *http.Client)
- func (o *LinkAttributesToCustomerParams) SetTimeout(timeout time.Duration)
- func (o *LinkAttributesToCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *LinkAttributesToCustomerParams) WithBody(body []*models.CustomerAttributeModel) *LinkAttributesToCustomerParams
- func (o *LinkAttributesToCustomerParams) WithCompanyID(companyID int32) *LinkAttributesToCustomerParams
- func (o *LinkAttributesToCustomerParams) WithContext(ctx context.Context) *LinkAttributesToCustomerParams
- func (o *LinkAttributesToCustomerParams) WithCustomerCode(customerCode string) *LinkAttributesToCustomerParams
- func (o *LinkAttributesToCustomerParams) WithDefaults() *LinkAttributesToCustomerParams
- func (o *LinkAttributesToCustomerParams) WithHTTPClient(client *http.Client) *LinkAttributesToCustomerParams
- func (o *LinkAttributesToCustomerParams) WithTimeout(timeout time.Duration) *LinkAttributesToCustomerParams
- func (o *LinkAttributesToCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *LinkAttributesToCustomerParams
- func (o *LinkAttributesToCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LinkAttributesToCustomerReader
- type LinkCertificatesToCustomerBadRequest
- type LinkCertificatesToCustomerNotFound
- type LinkCertificatesToCustomerOK
- type LinkCertificatesToCustomerParams
- func NewLinkCertificatesToCustomerParams() *LinkCertificatesToCustomerParams
- func NewLinkCertificatesToCustomerParamsWithContext(ctx context.Context) *LinkCertificatesToCustomerParams
- func NewLinkCertificatesToCustomerParamsWithHTTPClient(client *http.Client) *LinkCertificatesToCustomerParams
- func NewLinkCertificatesToCustomerParamsWithTimeout(timeout time.Duration) *LinkCertificatesToCustomerParams
- func (o *LinkCertificatesToCustomerParams) SetBody(body *models.LinkCertificatesModel)
- func (o *LinkCertificatesToCustomerParams) SetCompanyID(companyID int32)
- func (o *LinkCertificatesToCustomerParams) SetContext(ctx context.Context)
- func (o *LinkCertificatesToCustomerParams) SetCustomerCode(customerCode string)
- func (o *LinkCertificatesToCustomerParams) SetDefaults()
- func (o *LinkCertificatesToCustomerParams) SetHTTPClient(client *http.Client)
- func (o *LinkCertificatesToCustomerParams) SetTimeout(timeout time.Duration)
- func (o *LinkCertificatesToCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *LinkCertificatesToCustomerParams) WithBody(body *models.LinkCertificatesModel) *LinkCertificatesToCustomerParams
- func (o *LinkCertificatesToCustomerParams) WithCompanyID(companyID int32) *LinkCertificatesToCustomerParams
- func (o *LinkCertificatesToCustomerParams) WithContext(ctx context.Context) *LinkCertificatesToCustomerParams
- func (o *LinkCertificatesToCustomerParams) WithCustomerCode(customerCode string) *LinkCertificatesToCustomerParams
- func (o *LinkCertificatesToCustomerParams) WithDefaults() *LinkCertificatesToCustomerParams
- func (o *LinkCertificatesToCustomerParams) WithHTTPClient(client *http.Client) *LinkCertificatesToCustomerParams
- func (o *LinkCertificatesToCustomerParams) WithTimeout(timeout time.Duration) *LinkCertificatesToCustomerParams
- func (o *LinkCertificatesToCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *LinkCertificatesToCustomerParams
- func (o *LinkCertificatesToCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LinkCertificatesToCustomerReader
- type LinkCertificatesToCustomerUnauthorized
- type LinkShipToCustomersToBillCustomerBadRequest
- type LinkShipToCustomersToBillCustomerNotFound
- type LinkShipToCustomersToBillCustomerOK
- type LinkShipToCustomersToBillCustomerParams
- func NewLinkShipToCustomersToBillCustomerParams() *LinkShipToCustomersToBillCustomerParams
- func NewLinkShipToCustomersToBillCustomerParamsWithContext(ctx context.Context) *LinkShipToCustomersToBillCustomerParams
- func NewLinkShipToCustomersToBillCustomerParamsWithHTTPClient(client *http.Client) *LinkShipToCustomersToBillCustomerParams
- func NewLinkShipToCustomersToBillCustomerParamsWithTimeout(timeout time.Duration) *LinkShipToCustomersToBillCustomerParams
- func (o *LinkShipToCustomersToBillCustomerParams) SetBody(body *models.LinkCustomersModel)
- func (o *LinkShipToCustomersToBillCustomerParams) SetCode(code string)
- func (o *LinkShipToCustomersToBillCustomerParams) SetCompanyID(companyID int32)
- func (o *LinkShipToCustomersToBillCustomerParams) SetContext(ctx context.Context)
- func (o *LinkShipToCustomersToBillCustomerParams) SetDefaults()
- func (o *LinkShipToCustomersToBillCustomerParams) SetHTTPClient(client *http.Client)
- func (o *LinkShipToCustomersToBillCustomerParams) SetTimeout(timeout time.Duration)
- func (o *LinkShipToCustomersToBillCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *LinkShipToCustomersToBillCustomerParams) WithBody(body *models.LinkCustomersModel) *LinkShipToCustomersToBillCustomerParams
- func (o *LinkShipToCustomersToBillCustomerParams) WithCode(code string) *LinkShipToCustomersToBillCustomerParams
- func (o *LinkShipToCustomersToBillCustomerParams) WithCompanyID(companyID int32) *LinkShipToCustomersToBillCustomerParams
- func (o *LinkShipToCustomersToBillCustomerParams) WithContext(ctx context.Context) *LinkShipToCustomersToBillCustomerParams
- func (o *LinkShipToCustomersToBillCustomerParams) WithDefaults() *LinkShipToCustomersToBillCustomerParams
- func (o *LinkShipToCustomersToBillCustomerParams) WithHTTPClient(client *http.Client) *LinkShipToCustomersToBillCustomerParams
- func (o *LinkShipToCustomersToBillCustomerParams) WithTimeout(timeout time.Duration) *LinkShipToCustomersToBillCustomerParams
- func (o *LinkShipToCustomersToBillCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *LinkShipToCustomersToBillCustomerParams
- func (o *LinkShipToCustomersToBillCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LinkShipToCustomersToBillCustomerReader
- type LinkShipToCustomersToBillCustomerUnauthorized
- type ListAttributesForCustomerOK
- type ListAttributesForCustomerParams
- func NewListAttributesForCustomerParams() *ListAttributesForCustomerParams
- func NewListAttributesForCustomerParamsWithContext(ctx context.Context) *ListAttributesForCustomerParams
- func NewListAttributesForCustomerParamsWithHTTPClient(client *http.Client) *ListAttributesForCustomerParams
- func NewListAttributesForCustomerParamsWithTimeout(timeout time.Duration) *ListAttributesForCustomerParams
- func (o *ListAttributesForCustomerParams) SetCompanyID(companyID int32)
- func (o *ListAttributesForCustomerParams) SetContext(ctx context.Context)
- func (o *ListAttributesForCustomerParams) SetCustomerCode(customerCode string)
- func (o *ListAttributesForCustomerParams) SetDefaults()
- func (o *ListAttributesForCustomerParams) SetHTTPClient(client *http.Client)
- func (o *ListAttributesForCustomerParams) SetTimeout(timeout time.Duration)
- func (o *ListAttributesForCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ListAttributesForCustomerParams) WithCompanyID(companyID int32) *ListAttributesForCustomerParams
- func (o *ListAttributesForCustomerParams) WithContext(ctx context.Context) *ListAttributesForCustomerParams
- func (o *ListAttributesForCustomerParams) WithCustomerCode(customerCode string) *ListAttributesForCustomerParams
- func (o *ListAttributesForCustomerParams) WithDefaults() *ListAttributesForCustomerParams
- func (o *ListAttributesForCustomerParams) WithHTTPClient(client *http.Client) *ListAttributesForCustomerParams
- func (o *ListAttributesForCustomerParams) WithTimeout(timeout time.Duration) *ListAttributesForCustomerParams
- func (o *ListAttributesForCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *ListAttributesForCustomerParams
- func (o *ListAttributesForCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAttributesForCustomerReader
- type ListCertificatesForCustomerBadRequest
- type ListCertificatesForCustomerNotFound
- type ListCertificatesForCustomerOK
- type ListCertificatesForCustomerParams
- func NewListCertificatesForCustomerParams() *ListCertificatesForCustomerParams
- func NewListCertificatesForCustomerParamsWithContext(ctx context.Context) *ListCertificatesForCustomerParams
- func NewListCertificatesForCustomerParamsWithHTTPClient(client *http.Client) *ListCertificatesForCustomerParams
- func NewListCertificatesForCustomerParamsWithTimeout(timeout time.Duration) *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) SetCompanyID(companyID int32)
- func (o *ListCertificatesForCustomerParams) SetContext(ctx context.Context)
- func (o *ListCertificatesForCustomerParams) SetCustomerCode(customerCode string)
- func (o *ListCertificatesForCustomerParams) SetDefaults()
- func (o *ListCertificatesForCustomerParams) SetDollarFilter(dollarFilter *string)
- func (o *ListCertificatesForCustomerParams) SetDollarInclude(dollarInclude *string)
- func (o *ListCertificatesForCustomerParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *ListCertificatesForCustomerParams) SetDollarSkip(dollarSkip *int32)
- func (o *ListCertificatesForCustomerParams) SetDollarTop(dollarTop *int32)
- func (o *ListCertificatesForCustomerParams) SetHTTPClient(client *http.Client)
- func (o *ListCertificatesForCustomerParams) SetTimeout(timeout time.Duration)
- func (o *ListCertificatesForCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ListCertificatesForCustomerParams) WithCompanyID(companyID int32) *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) WithContext(ctx context.Context) *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) WithCustomerCode(customerCode string) *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) WithDefaults() *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) WithDollarFilter(dollarFilter *string) *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) WithDollarInclude(dollarInclude *string) *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) WithDollarOrderBy(dollarOrderBy *string) *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) WithDollarSkip(dollarSkip *int32) *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) WithDollarTop(dollarTop *int32) *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) WithHTTPClient(client *http.Client) *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) WithTimeout(timeout time.Duration) *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *ListCertificatesForCustomerParams
- func (o *ListCertificatesForCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCertificatesForCustomerReader
- type ListCertificatesForCustomerUnauthorized
- type ListValidCertificatesForCustomerBadRequest
- type ListValidCertificatesForCustomerNotFound
- type ListValidCertificatesForCustomerOK
- type ListValidCertificatesForCustomerParams
- func NewListValidCertificatesForCustomerParams() *ListValidCertificatesForCustomerParams
- func NewListValidCertificatesForCustomerParamsWithContext(ctx context.Context) *ListValidCertificatesForCustomerParams
- func NewListValidCertificatesForCustomerParamsWithHTTPClient(client *http.Client) *ListValidCertificatesForCustomerParams
- func NewListValidCertificatesForCustomerParamsWithTimeout(timeout time.Duration) *ListValidCertificatesForCustomerParams
- func (o *ListValidCertificatesForCustomerParams) SetCompanyID(companyID int32)
- func (o *ListValidCertificatesForCustomerParams) SetContext(ctx context.Context)
- func (o *ListValidCertificatesForCustomerParams) SetCountry(country string)
- func (o *ListValidCertificatesForCustomerParams) SetCustomerCode(customerCode string)
- func (o *ListValidCertificatesForCustomerParams) SetDefaults()
- func (o *ListValidCertificatesForCustomerParams) SetHTTPClient(client *http.Client)
- func (o *ListValidCertificatesForCustomerParams) SetRegion(region string)
- func (o *ListValidCertificatesForCustomerParams) SetTimeout(timeout time.Duration)
- func (o *ListValidCertificatesForCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ListValidCertificatesForCustomerParams) WithCompanyID(companyID int32) *ListValidCertificatesForCustomerParams
- func (o *ListValidCertificatesForCustomerParams) WithContext(ctx context.Context) *ListValidCertificatesForCustomerParams
- func (o *ListValidCertificatesForCustomerParams) WithCountry(country string) *ListValidCertificatesForCustomerParams
- func (o *ListValidCertificatesForCustomerParams) WithCustomerCode(customerCode string) *ListValidCertificatesForCustomerParams
- func (o *ListValidCertificatesForCustomerParams) WithDefaults() *ListValidCertificatesForCustomerParams
- func (o *ListValidCertificatesForCustomerParams) WithHTTPClient(client *http.Client) *ListValidCertificatesForCustomerParams
- func (o *ListValidCertificatesForCustomerParams) WithRegion(region string) *ListValidCertificatesForCustomerParams
- func (o *ListValidCertificatesForCustomerParams) WithTimeout(timeout time.Duration) *ListValidCertificatesForCustomerParams
- func (o *ListValidCertificatesForCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *ListValidCertificatesForCustomerParams
- func (o *ListValidCertificatesForCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListValidCertificatesForCustomerReader
- type ListValidCertificatesForCustomerUnauthorized
- type QueryCustomersBadRequest
- type QueryCustomersNotFound
- type QueryCustomersOK
- type QueryCustomersParams
- func NewQueryCustomersParams() *QueryCustomersParams
- func NewQueryCustomersParamsWithContext(ctx context.Context) *QueryCustomersParams
- func NewQueryCustomersParamsWithHTTPClient(client *http.Client) *QueryCustomersParams
- func NewQueryCustomersParamsWithTimeout(timeout time.Duration) *QueryCustomersParams
- func (o *QueryCustomersParams) SetCompanyID(companyID int32)
- func (o *QueryCustomersParams) SetContext(ctx context.Context)
- func (o *QueryCustomersParams) SetDefaults()
- func (o *QueryCustomersParams) SetDollarFilter(dollarFilter *string)
- func (o *QueryCustomersParams) SetDollarInclude(dollarInclude *string)
- func (o *QueryCustomersParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *QueryCustomersParams) SetDollarSkip(dollarSkip *int32)
- func (o *QueryCustomersParams) SetDollarTop(dollarTop *int32)
- func (o *QueryCustomersParams) SetHTTPClient(client *http.Client)
- func (o *QueryCustomersParams) SetTimeout(timeout time.Duration)
- func (o *QueryCustomersParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *QueryCustomersParams) WithCompanyID(companyID int32) *QueryCustomersParams
- func (o *QueryCustomersParams) WithContext(ctx context.Context) *QueryCustomersParams
- func (o *QueryCustomersParams) WithDefaults() *QueryCustomersParams
- func (o *QueryCustomersParams) WithDollarFilter(dollarFilter *string) *QueryCustomersParams
- func (o *QueryCustomersParams) WithDollarInclude(dollarInclude *string) *QueryCustomersParams
- func (o *QueryCustomersParams) WithDollarOrderBy(dollarOrderBy *string) *QueryCustomersParams
- func (o *QueryCustomersParams) WithDollarSkip(dollarSkip *int32) *QueryCustomersParams
- func (o *QueryCustomersParams) WithDollarTop(dollarTop *int32) *QueryCustomersParams
- func (o *QueryCustomersParams) WithHTTPClient(client *http.Client) *QueryCustomersParams
- func (o *QueryCustomersParams) WithTimeout(timeout time.Duration) *QueryCustomersParams
- func (o *QueryCustomersParams) WithXAvalaraClient(xAvalaraClient *string) *QueryCustomersParams
- func (o *QueryCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryCustomersReader
- type QueryCustomersUnauthorized
- type UnlinkAttributesFromCustomerOK
- type UnlinkAttributesFromCustomerParams
- func NewUnlinkAttributesFromCustomerParams() *UnlinkAttributesFromCustomerParams
- func NewUnlinkAttributesFromCustomerParamsWithContext(ctx context.Context) *UnlinkAttributesFromCustomerParams
- func NewUnlinkAttributesFromCustomerParamsWithHTTPClient(client *http.Client) *UnlinkAttributesFromCustomerParams
- func NewUnlinkAttributesFromCustomerParamsWithTimeout(timeout time.Duration) *UnlinkAttributesFromCustomerParams
- func (o *UnlinkAttributesFromCustomerParams) SetBody(body []*models.CustomerAttributeModel)
- func (o *UnlinkAttributesFromCustomerParams) SetCompanyID(companyID int32)
- func (o *UnlinkAttributesFromCustomerParams) SetContext(ctx context.Context)
- func (o *UnlinkAttributesFromCustomerParams) SetCustomerCode(customerCode string)
- func (o *UnlinkAttributesFromCustomerParams) SetDefaults()
- func (o *UnlinkAttributesFromCustomerParams) SetHTTPClient(client *http.Client)
- func (o *UnlinkAttributesFromCustomerParams) SetTimeout(timeout time.Duration)
- func (o *UnlinkAttributesFromCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UnlinkAttributesFromCustomerParams) WithBody(body []*models.CustomerAttributeModel) *UnlinkAttributesFromCustomerParams
- func (o *UnlinkAttributesFromCustomerParams) WithCompanyID(companyID int32) *UnlinkAttributesFromCustomerParams
- func (o *UnlinkAttributesFromCustomerParams) WithContext(ctx context.Context) *UnlinkAttributesFromCustomerParams
- func (o *UnlinkAttributesFromCustomerParams) WithCustomerCode(customerCode string) *UnlinkAttributesFromCustomerParams
- func (o *UnlinkAttributesFromCustomerParams) WithDefaults() *UnlinkAttributesFromCustomerParams
- func (o *UnlinkAttributesFromCustomerParams) WithHTTPClient(client *http.Client) *UnlinkAttributesFromCustomerParams
- func (o *UnlinkAttributesFromCustomerParams) WithTimeout(timeout time.Duration) *UnlinkAttributesFromCustomerParams
- func (o *UnlinkAttributesFromCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *UnlinkAttributesFromCustomerParams
- func (o *UnlinkAttributesFromCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnlinkAttributesFromCustomerReader
- type UnlinkCertificatesFromCustomerBadRequest
- type UnlinkCertificatesFromCustomerNotFound
- type UnlinkCertificatesFromCustomerOK
- type UnlinkCertificatesFromCustomerParams
- func NewUnlinkCertificatesFromCustomerParams() *UnlinkCertificatesFromCustomerParams
- func NewUnlinkCertificatesFromCustomerParamsWithContext(ctx context.Context) *UnlinkCertificatesFromCustomerParams
- func NewUnlinkCertificatesFromCustomerParamsWithHTTPClient(client *http.Client) *UnlinkCertificatesFromCustomerParams
- func NewUnlinkCertificatesFromCustomerParamsWithTimeout(timeout time.Duration) *UnlinkCertificatesFromCustomerParams
- func (o *UnlinkCertificatesFromCustomerParams) SetBody(body *models.LinkCertificatesModel)
- func (o *UnlinkCertificatesFromCustomerParams) SetCompanyID(companyID int32)
- func (o *UnlinkCertificatesFromCustomerParams) SetContext(ctx context.Context)
- func (o *UnlinkCertificatesFromCustomerParams) SetCustomerCode(customerCode string)
- func (o *UnlinkCertificatesFromCustomerParams) SetDefaults()
- func (o *UnlinkCertificatesFromCustomerParams) SetHTTPClient(client *http.Client)
- func (o *UnlinkCertificatesFromCustomerParams) SetTimeout(timeout time.Duration)
- func (o *UnlinkCertificatesFromCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UnlinkCertificatesFromCustomerParams) WithBody(body *models.LinkCertificatesModel) *UnlinkCertificatesFromCustomerParams
- func (o *UnlinkCertificatesFromCustomerParams) WithCompanyID(companyID int32) *UnlinkCertificatesFromCustomerParams
- func (o *UnlinkCertificatesFromCustomerParams) WithContext(ctx context.Context) *UnlinkCertificatesFromCustomerParams
- func (o *UnlinkCertificatesFromCustomerParams) WithCustomerCode(customerCode string) *UnlinkCertificatesFromCustomerParams
- func (o *UnlinkCertificatesFromCustomerParams) WithDefaults() *UnlinkCertificatesFromCustomerParams
- func (o *UnlinkCertificatesFromCustomerParams) WithHTTPClient(client *http.Client) *UnlinkCertificatesFromCustomerParams
- func (o *UnlinkCertificatesFromCustomerParams) WithTimeout(timeout time.Duration) *UnlinkCertificatesFromCustomerParams
- func (o *UnlinkCertificatesFromCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *UnlinkCertificatesFromCustomerParams
- func (o *UnlinkCertificatesFromCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnlinkCertificatesFromCustomerReader
- type UnlinkCertificatesFromCustomerUnauthorized
- type UpdateCustomerBadRequest
- type UpdateCustomerNotFound
- type UpdateCustomerOK
- type UpdateCustomerParams
- func NewUpdateCustomerParams() *UpdateCustomerParams
- func NewUpdateCustomerParamsWithContext(ctx context.Context) *UpdateCustomerParams
- func NewUpdateCustomerParamsWithHTTPClient(client *http.Client) *UpdateCustomerParams
- func NewUpdateCustomerParamsWithTimeout(timeout time.Duration) *UpdateCustomerParams
- func (o *UpdateCustomerParams) SetBody(body *models.CustomerModel)
- func (o *UpdateCustomerParams) SetCompanyID(companyID int32)
- func (o *UpdateCustomerParams) SetContext(ctx context.Context)
- func (o *UpdateCustomerParams) SetCustomerCode(customerCode string)
- func (o *UpdateCustomerParams) SetDefaults()
- func (o *UpdateCustomerParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCustomerParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UpdateCustomerParams) WithBody(body *models.CustomerModel) *UpdateCustomerParams
- func (o *UpdateCustomerParams) WithCompanyID(companyID int32) *UpdateCustomerParams
- func (o *UpdateCustomerParams) WithContext(ctx context.Context) *UpdateCustomerParams
- func (o *UpdateCustomerParams) WithCustomerCode(customerCode string) *UpdateCustomerParams
- func (o *UpdateCustomerParams) WithDefaults() *UpdateCustomerParams
- func (o *UpdateCustomerParams) WithHTTPClient(client *http.Client) *UpdateCustomerParams
- func (o *UpdateCustomerParams) WithTimeout(timeout time.Duration) *UpdateCustomerParams
- func (o *UpdateCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateCustomerParams
- func (o *UpdateCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCustomerReader
- type UpdateCustomerUnauthorized
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 customers API
func (*Client) CreateCustomers ¶
func (a *Client) CreateCustomers(params *CreateCustomersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCustomersOK, error)
CreateCustomers creates customers for this company Create one or more customers for this company.
A customer object defines information about a person or business that purchases products from your company. When you create a tax transaction in AvaTax, you can use the `customerCode` from this record in your `CreateTransaction` API call. AvaTax will search for this `customerCode` value and identify any certificates linked to this `customer` object. If any certificate applies to the transaction, AvaTax will record the appropriate elements of the transaction as exempt and link it to the `certificate`.
A nested object such as CustomFields could be specified and created along with the customer object. To fetch the nested object, please call 'GetCustomer' API with appropriate $include parameters.
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) DeleteCustomer ¶
func (a *Client) DeleteCustomer(params *DeleteCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCustomerOK, error)
DeleteCustomer deletes a customer record Deletes the customer object referenced by this URL.
A customer object defines information about a person or business that purchases products from your company. When you create a tax transaction in AvaTax, you can use the `customerCode` from this record in your `CreateTransaction` API call. AvaTax will search for this `customerCode` value and identify any certificates linked to this `customer` object. If any certificate applies to the transaction, AvaTax will record the appropriate elements of the transaction as exempt and link it 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. * This API depends on the following active services:*Required* (all): AvaTaxPro.
func (*Client) GetCustomer ¶
func (a *Client) GetCustomer(params *GetCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCustomerOK, error)
GetCustomer retrieves a single customer Retrieve the customer identified by this URL.
A customer object defines information about a person or business that purchases products from your company. When you create a tax transaction in AvaTax, you can use the `customerCode` from this record in your `CreateTransaction` API call. AvaTax will search for this `customerCode` value and identify any certificates linked to this customer object. If any certificate applies to the transaction, AvaTax will record the appropriate elements of the transaction as exempt and link it to the `certificate`.
You can use the `$include` parameter to fetch the following additional objects for expansion:
* Certificates - Fetch a list of certificates linked to this customer. * CustomFields - Fetch a list of custom fields associated to this customer. * attributes - Retrieves all attributes applied to the customer.
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) LinkAttributesToCustomer ¶
func (a *Client) LinkAttributesToCustomer(params *LinkAttributesToCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LinkAttributesToCustomerOK, error)
LinkAttributesToCustomer links attributes to a customer Link one or many attributes to a customer.
A customer may have multiple attributes that control its behavior. You may link or unlink attributes to a customer at any time. The full list of defined attributes may be found using `QueryCompanyCustomerAttributes` API.
A customer object defines information about a person or business that purchases products from your company. When you create a tax transaction in AvaTax, you can use the `customerCode` from this record in your `CreateTransaction` API call. AvaTax will search for this `customerCode` value and identify any certificates linked to this customer object. If any certificate applies to the transaction, AvaTax will record the appropriate elements of the transaction as exempt and link it 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. * This API depends on the following active services:*Required* (all): AvaTaxPro.
func (*Client) LinkCertificatesToCustomer ¶
func (a *Client) LinkCertificatesToCustomer(params *LinkCertificatesToCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LinkCertificatesToCustomerOK, error)
LinkCertificatesToCustomer links certificates to a customer Link one or more certificates to a customer.
A customer object defines information about a person or business that purchases products from your company. When you create a tax transaction in AvaTax, you can use the `customerCode` from this record in your `CreateTransaction` API call. AvaTax will search for this `customerCode` value and identify any certificates linked to this `customer` object. If any certificate applies to the transaction, AvaTax will record the appropriate elements of the transaction as exempt and link it 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) LinkShipToCustomersToBillCustomer ¶
func (a *Client) LinkShipToCustomersToBillCustomer(params *LinkShipToCustomersToBillCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LinkShipToCustomersToBillCustomerOK, error)
LinkShipToCustomersToBillCustomer links two customer records together Links a Ship-To customer record with a Bill-To customer record.
Customer records represent businesses or individuals who can provide exemption certificates. Some customers may have certificates that are linked to their shipping address or their billing address. To group these customer records together, you may link multiple bill-to and ship-to addresses together to represent a single entity that has multiple different addresses of different kinds.
In general, a customer will have only one primary billing address and multiple ship-to addresses, representing all of the different locations where they receive goods. To facilitate this type of customer, you can send in one bill-to customer code and multiple ship-to customer codes in a single API call.
Note that you can only link a ship-to customer record to a bill-to customer record. You may not link two customers of the same kind together.
### 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) ListAttributesForCustomer ¶
func (a *Client) ListAttributesForCustomer(params *ListAttributesForCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAttributesForCustomerOK, error)
ListAttributesForCustomer retrieves a customer s attributes Retrieve the attributes linked to the customer identified by this URL.
A customer may have multiple attributes that control its behavior. You may link or unlink attributes to a customer at any time. The full list of defined attributes may be found using `QueryCompanyCustomerAttributes` API.
A customer object defines information about a person or business that purchases products from your company. When you create a tax transaction in AvaTax, you can use the `customerCode` from this record in your `CreateTransaction` API call. AvaTax will search for this `customerCode` value and identify any certificates linked to this customer object. If any certificate applies to the transaction, AvaTax will record the appropriate elements of the transaction as exempt and link it 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) ListCertificatesForCustomer ¶
func (a *Client) ListCertificatesForCustomer(params *ListCertificatesForCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCertificatesForCustomerOK, error)
ListCertificatesForCustomer lists certificates linked to a customer List all certificates linked to a customer.
A customer object defines information about a person or business that purchases products from your company. When you create a tax transaction in AvaTax, you can use the `customerCode` from this record in your `CreateTransaction` API call. AvaTax will search for this `customerCode` value and identify any certificates linked to this `customer` object. If any certificate applies to the transaction, AvaTax will record the appropriate elements of the transaction as exempt and link it 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) ListValidCertificatesForCustomer ¶
func (a *Client) ListValidCertificatesForCustomer(params *ListValidCertificatesForCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListValidCertificatesForCustomerOK, error)
ListValidCertificatesForCustomer lists valid certificates for a location List valid certificates linked to a customer in a particular country and region.
This API is intended to help identify whether a customer has already provided a certificate that applies to a particular country and region. This API is intended to help you remind a customer when they have or have not provided copies of their exemption certificates to you during the sales order process.
If a customer does not have a certificate on file and they wish to provide one, you should send the customer a CertExpress invitation link so that the customer can upload proof of their exemption certificate. Please see the `CreateCertExpressInvitation` API to create an invitation link for this customer.
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) QueryCustomers ¶
func (a *Client) QueryCustomers(params *QueryCustomersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryCustomersOK, error)
QueryCustomers lists all customers for this company List all customers recorded by this company matching the specified criteria.
A customer object defines information about a person or business that purchases products from your company. When you create a tax transaction in AvaTax, you can use the `customerCode` from this record in your `CreateTransaction` API call. AvaTax will search for this `customerCode` value and identify any certificates linked to this `customer` object. If any certificate applies to the transaction, AvaTax will record the appropriate elements of the transaction as exempt and link it to the `certificate`.
You can use the `$include` parameter to fetch the following additional objects for expansion:
* Certificates - Fetch a list of certificates linked to this customer. * attributes - Retrieves all attributes applied to the customer.
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) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UnlinkAttributesFromCustomer ¶
func (a *Client) UnlinkAttributesFromCustomer(params *UnlinkAttributesFromCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkAttributesFromCustomerOK, error)
UnlinkAttributesFromCustomer unlinks attributes from a customer Unlink one or many attributes from a customer.
A customer may have multiple attributes that control its behavior. You may link or unlink attributes to a customer at any time. The full list of defined attributes may be found using `QueryCompanyCustomerAttributes` API.
A customer object defines information about a person or business that purchases products from your company. When you create a tax transaction in AvaTax, you can use the `customerCode` from this record in your `CreateTransaction` API call. AvaTax will search for this `customerCode` value and identify any certificates linked to this customer object. If any certificate applies to the transaction, AvaTax will record the appropriate elements of the transaction as exempt and link it 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. * This API depends on the following active services:*Required* (all): AvaTaxPro.
func (*Client) UnlinkCertificatesFromCustomer ¶
func (a *Client) UnlinkCertificatesFromCustomer(params *UnlinkCertificatesFromCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkCertificatesFromCustomerOK, error)
UnlinkCertificatesFromCustomer unlinks certificates from a customer Remove one or more certificates to a customer.
A customer object defines information about a person or business that purchases products from your company. When you create a tax transaction in AvaTax, you can use the `customerCode` from this record in your `CreateTransaction` API call. AvaTax will search for this `customerCode` value and identify any certificates linked to this `customer` object. If any certificate applies to the transaction, AvaTax will record the appropriate elements of the transaction as exempt and link it 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) UpdateCustomer ¶
func (a *Client) UpdateCustomer(params *UpdateCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCustomerOK, error)
UpdateCustomer updates a single customer Replace the customer object at this URL with a new record.
A customer object defines information about a person or business that purchases products from your company. When you create a tax transaction in AvaTax, you can use the `customerCode` from this record in your `CreateTransaction` API call. AvaTax will search for this `customerCode` value and identify any certificates linked to this `customer` object. If any certificate applies to the transaction, AvaTax will record the appropriate elements of the transaction as exempt and link it 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. * 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 { CreateCustomers(params *CreateCustomersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCustomersOK, error) DeleteCustomer(params *DeleteCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCustomerOK, error) GetCustomer(params *GetCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCustomerOK, error) LinkAttributesToCustomer(params *LinkAttributesToCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LinkAttributesToCustomerOK, error) LinkCertificatesToCustomer(params *LinkCertificatesToCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LinkCertificatesToCustomerOK, error) LinkShipToCustomersToBillCustomer(params *LinkShipToCustomersToBillCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LinkShipToCustomersToBillCustomerOK, error) ListAttributesForCustomer(params *ListAttributesForCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAttributesForCustomerOK, error) ListCertificatesForCustomer(params *ListCertificatesForCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCertificatesForCustomerOK, error) ListValidCertificatesForCustomer(params *ListValidCertificatesForCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListValidCertificatesForCustomerOK, error) QueryCustomers(params *QueryCustomersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryCustomersOK, error) UnlinkAttributesFromCustomer(params *UnlinkAttributesFromCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkAttributesFromCustomerOK, error) UnlinkCertificatesFromCustomer(params *UnlinkCertificatesFromCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnlinkCertificatesFromCustomerOK, error) UpdateCustomer(params *UpdateCustomerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCustomerOK, 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 customers API client.
type CreateCustomersBadRequest ¶
type CreateCustomersBadRequest struct { }
CreateCustomersBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateCustomersBadRequest ¶
func NewCreateCustomersBadRequest() *CreateCustomersBadRequest
NewCreateCustomersBadRequest creates a CreateCustomersBadRequest with default headers values
func (*CreateCustomersBadRequest) Error ¶
func (o *CreateCustomersBadRequest) Error() string
type CreateCustomersNotFound ¶
type CreateCustomersNotFound struct { }
CreateCustomersNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateCustomersNotFound ¶
func NewCreateCustomersNotFound() *CreateCustomersNotFound
NewCreateCustomersNotFound creates a CreateCustomersNotFound with default headers values
func (*CreateCustomersNotFound) Error ¶
func (o *CreateCustomersNotFound) Error() string
type CreateCustomersOK ¶
type CreateCustomersOK struct {
Payload []*models.CustomerModel
}
CreateCustomersOK describes a response with status code 200, with default header values.
Success
func NewCreateCustomersOK ¶
func NewCreateCustomersOK() *CreateCustomersOK
NewCreateCustomersOK creates a CreateCustomersOK with default headers values
func (*CreateCustomersOK) Error ¶
func (o *CreateCustomersOK) Error() string
func (*CreateCustomersOK) GetPayload ¶
func (o *CreateCustomersOK) GetPayload() []*models.CustomerModel
type CreateCustomersParams ¶
type CreateCustomersParams 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 customer objects to be created */ Body []*models.CustomerModel /* CompanyID. The unique ID number of the company that recorded this customer Format: int32 */ CompanyID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateCustomersParams contains all the parameters to send to the API endpoint
for the create customers operation. Typically these are written to a http.Request.
func NewCreateCustomersParams ¶
func NewCreateCustomersParams() *CreateCustomersParams
NewCreateCustomersParams creates a new CreateCustomersParams 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 NewCreateCustomersParamsWithContext ¶
func NewCreateCustomersParamsWithContext(ctx context.Context) *CreateCustomersParams
NewCreateCustomersParamsWithContext creates a new CreateCustomersParams object with the ability to set a context for a request.
func NewCreateCustomersParamsWithHTTPClient ¶
func NewCreateCustomersParamsWithHTTPClient(client *http.Client) *CreateCustomersParams
NewCreateCustomersParamsWithHTTPClient creates a new CreateCustomersParams object with the ability to set a custom HTTPClient for a request.
func NewCreateCustomersParamsWithTimeout ¶
func NewCreateCustomersParamsWithTimeout(timeout time.Duration) *CreateCustomersParams
NewCreateCustomersParamsWithTimeout creates a new CreateCustomersParams object with the ability to set a timeout on a request.
func (*CreateCustomersParams) SetBody ¶
func (o *CreateCustomersParams) SetBody(body []*models.CustomerModel)
SetBody adds the body to the create customers params
func (*CreateCustomersParams) SetCompanyID ¶
func (o *CreateCustomersParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the create customers params
func (*CreateCustomersParams) SetContext ¶
func (o *CreateCustomersParams) SetContext(ctx context.Context)
SetContext adds the context to the create customers params
func (*CreateCustomersParams) SetDefaults ¶
func (o *CreateCustomersParams) SetDefaults()
SetDefaults hydrates default values in the create customers params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCustomersParams) SetHTTPClient ¶
func (o *CreateCustomersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create customers params
func (*CreateCustomersParams) SetTimeout ¶
func (o *CreateCustomersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create customers params
func (*CreateCustomersParams) SetXAvalaraClient ¶
func (o *CreateCustomersParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the create customers params
func (*CreateCustomersParams) WithBody ¶
func (o *CreateCustomersParams) WithBody(body []*models.CustomerModel) *CreateCustomersParams
WithBody adds the body to the create customers params
func (*CreateCustomersParams) WithCompanyID ¶
func (o *CreateCustomersParams) WithCompanyID(companyID int32) *CreateCustomersParams
WithCompanyID adds the companyID to the create customers params
func (*CreateCustomersParams) WithContext ¶
func (o *CreateCustomersParams) WithContext(ctx context.Context) *CreateCustomersParams
WithContext adds the context to the create customers params
func (*CreateCustomersParams) WithDefaults ¶
func (o *CreateCustomersParams) WithDefaults() *CreateCustomersParams
WithDefaults hydrates default values in the create customers params (not the query body).
All values with no default are reset to their zero value.
func (*CreateCustomersParams) WithHTTPClient ¶
func (o *CreateCustomersParams) WithHTTPClient(client *http.Client) *CreateCustomersParams
WithHTTPClient adds the HTTPClient to the create customers params
func (*CreateCustomersParams) WithTimeout ¶
func (o *CreateCustomersParams) WithTimeout(timeout time.Duration) *CreateCustomersParams
WithTimeout adds the timeout to the create customers params
func (*CreateCustomersParams) WithXAvalaraClient ¶
func (o *CreateCustomersParams) WithXAvalaraClient(xAvalaraClient *string) *CreateCustomersParams
WithXAvalaraClient adds the xAvalaraClient to the create customers params
func (*CreateCustomersParams) WriteToRequest ¶
func (o *CreateCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateCustomersReader ¶
type CreateCustomersReader struct {
// contains filtered or unexported fields
}
CreateCustomersReader is a Reader for the CreateCustomers structure.
func (*CreateCustomersReader) ReadResponse ¶
func (o *CreateCustomersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateCustomersUnauthorized ¶
type CreateCustomersUnauthorized struct { }
CreateCustomersUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateCustomersUnauthorized ¶
func NewCreateCustomersUnauthorized() *CreateCustomersUnauthorized
NewCreateCustomersUnauthorized creates a CreateCustomersUnauthorized with default headers values
func (*CreateCustomersUnauthorized) Error ¶
func (o *CreateCustomersUnauthorized) Error() string
type DeleteCustomerBadRequest ¶
type DeleteCustomerBadRequest struct { }
DeleteCustomerBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteCustomerBadRequest ¶
func NewDeleteCustomerBadRequest() *DeleteCustomerBadRequest
NewDeleteCustomerBadRequest creates a DeleteCustomerBadRequest with default headers values
func (*DeleteCustomerBadRequest) Error ¶
func (o *DeleteCustomerBadRequest) Error() string
type DeleteCustomerNotFound ¶
type DeleteCustomerNotFound struct { }
DeleteCustomerNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteCustomerNotFound ¶
func NewDeleteCustomerNotFound() *DeleteCustomerNotFound
NewDeleteCustomerNotFound creates a DeleteCustomerNotFound with default headers values
func (*DeleteCustomerNotFound) Error ¶
func (o *DeleteCustomerNotFound) Error() string
type DeleteCustomerOK ¶
type DeleteCustomerOK struct {
Payload *models.CustomerModel
}
DeleteCustomerOK describes a response with status code 200, with default header values.
Success
func NewDeleteCustomerOK ¶
func NewDeleteCustomerOK() *DeleteCustomerOK
NewDeleteCustomerOK creates a DeleteCustomerOK with default headers values
func (*DeleteCustomerOK) Error ¶
func (o *DeleteCustomerOK) Error() string
func (*DeleteCustomerOK) GetPayload ¶
func (o *DeleteCustomerOK) GetPayload() *models.CustomerModel
type DeleteCustomerParams ¶
type DeleteCustomerParams 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 customer Format: int32 */ CompanyID int32 /* CustomerCode. The unique code representing this customer */ CustomerCode string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteCustomerParams contains all the parameters to send to the API endpoint
for the delete customer operation. Typically these are written to a http.Request.
func NewDeleteCustomerParams ¶
func NewDeleteCustomerParams() *DeleteCustomerParams
NewDeleteCustomerParams creates a new DeleteCustomerParams 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 NewDeleteCustomerParamsWithContext ¶
func NewDeleteCustomerParamsWithContext(ctx context.Context) *DeleteCustomerParams
NewDeleteCustomerParamsWithContext creates a new DeleteCustomerParams object with the ability to set a context for a request.
func NewDeleteCustomerParamsWithHTTPClient ¶
func NewDeleteCustomerParamsWithHTTPClient(client *http.Client) *DeleteCustomerParams
NewDeleteCustomerParamsWithHTTPClient creates a new DeleteCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteCustomerParamsWithTimeout ¶
func NewDeleteCustomerParamsWithTimeout(timeout time.Duration) *DeleteCustomerParams
NewDeleteCustomerParamsWithTimeout creates a new DeleteCustomerParams object with the ability to set a timeout on a request.
func (*DeleteCustomerParams) SetCompanyID ¶
func (o *DeleteCustomerParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the delete customer params
func (*DeleteCustomerParams) SetContext ¶
func (o *DeleteCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the delete customer params
func (*DeleteCustomerParams) SetCustomerCode ¶
func (o *DeleteCustomerParams) SetCustomerCode(customerCode string)
SetCustomerCode adds the customerCode to the delete customer params
func (*DeleteCustomerParams) SetDefaults ¶
func (o *DeleteCustomerParams) SetDefaults()
SetDefaults hydrates default values in the delete customer params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCustomerParams) SetHTTPClient ¶
func (o *DeleteCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete customer params
func (*DeleteCustomerParams) SetTimeout ¶
func (o *DeleteCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete customer params
func (*DeleteCustomerParams) SetXAvalaraClient ¶
func (o *DeleteCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the delete customer params
func (*DeleteCustomerParams) WithCompanyID ¶
func (o *DeleteCustomerParams) WithCompanyID(companyID int32) *DeleteCustomerParams
WithCompanyID adds the companyID to the delete customer params
func (*DeleteCustomerParams) WithContext ¶
func (o *DeleteCustomerParams) WithContext(ctx context.Context) *DeleteCustomerParams
WithContext adds the context to the delete customer params
func (*DeleteCustomerParams) WithCustomerCode ¶
func (o *DeleteCustomerParams) WithCustomerCode(customerCode string) *DeleteCustomerParams
WithCustomerCode adds the customerCode to the delete customer params
func (*DeleteCustomerParams) WithDefaults ¶
func (o *DeleteCustomerParams) WithDefaults() *DeleteCustomerParams
WithDefaults hydrates default values in the delete customer params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteCustomerParams) WithHTTPClient ¶
func (o *DeleteCustomerParams) WithHTTPClient(client *http.Client) *DeleteCustomerParams
WithHTTPClient adds the HTTPClient to the delete customer params
func (*DeleteCustomerParams) WithTimeout ¶
func (o *DeleteCustomerParams) WithTimeout(timeout time.Duration) *DeleteCustomerParams
WithTimeout adds the timeout to the delete customer params
func (*DeleteCustomerParams) WithXAvalaraClient ¶
func (o *DeleteCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteCustomerParams
WithXAvalaraClient adds the xAvalaraClient to the delete customer params
func (*DeleteCustomerParams) WriteToRequest ¶
func (o *DeleteCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteCustomerReader ¶
type DeleteCustomerReader struct {
// contains filtered or unexported fields
}
DeleteCustomerReader is a Reader for the DeleteCustomer structure.
func (*DeleteCustomerReader) ReadResponse ¶
func (o *DeleteCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteCustomerUnauthorized ¶
type DeleteCustomerUnauthorized struct { }
DeleteCustomerUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteCustomerUnauthorized ¶
func NewDeleteCustomerUnauthorized() *DeleteCustomerUnauthorized
NewDeleteCustomerUnauthorized creates a DeleteCustomerUnauthorized with default headers values
func (*DeleteCustomerUnauthorized) Error ¶
func (o *DeleteCustomerUnauthorized) Error() string
type GetCustomerBadRequest ¶
type GetCustomerBadRequest struct { }
GetCustomerBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetCustomerBadRequest ¶
func NewGetCustomerBadRequest() *GetCustomerBadRequest
NewGetCustomerBadRequest creates a GetCustomerBadRequest with default headers values
func (*GetCustomerBadRequest) Error ¶
func (o *GetCustomerBadRequest) Error() string
type GetCustomerNotFound ¶
type GetCustomerNotFound struct { }
GetCustomerNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetCustomerNotFound ¶
func NewGetCustomerNotFound() *GetCustomerNotFound
NewGetCustomerNotFound creates a GetCustomerNotFound with default headers values
func (*GetCustomerNotFound) Error ¶
func (o *GetCustomerNotFound) Error() string
type GetCustomerOK ¶
type GetCustomerOK struct {
Payload *models.CustomerModel
}
GetCustomerOK describes a response with status code 200, with default header values.
Success
func NewGetCustomerOK ¶
func NewGetCustomerOK() *GetCustomerOK
NewGetCustomerOK creates a GetCustomerOK with default headers values
func (*GetCustomerOK) Error ¶
func (o *GetCustomerOK) Error() string
func (*GetCustomerOK) GetPayload ¶
func (o *GetCustomerOK) GetPayload() *models.CustomerModel
type GetCustomerParams ¶
type GetCustomerParams struct { /* DollarInclude. Specify optional additional objects to include in this fetch request */ 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 customer Format: int32 */ CompanyID int32 /* CustomerCode. The unique code representing this customer */ CustomerCode string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCustomerParams contains all the parameters to send to the API endpoint
for the get customer operation. Typically these are written to a http.Request.
func NewGetCustomerParams ¶
func NewGetCustomerParams() *GetCustomerParams
NewGetCustomerParams creates a new GetCustomerParams 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 NewGetCustomerParamsWithContext ¶
func NewGetCustomerParamsWithContext(ctx context.Context) *GetCustomerParams
NewGetCustomerParamsWithContext creates a new GetCustomerParams object with the ability to set a context for a request.
func NewGetCustomerParamsWithHTTPClient ¶
func NewGetCustomerParamsWithHTTPClient(client *http.Client) *GetCustomerParams
NewGetCustomerParamsWithHTTPClient creates a new GetCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewGetCustomerParamsWithTimeout ¶
func NewGetCustomerParamsWithTimeout(timeout time.Duration) *GetCustomerParams
NewGetCustomerParamsWithTimeout creates a new GetCustomerParams object with the ability to set a timeout on a request.
func (*GetCustomerParams) SetCompanyID ¶
func (o *GetCustomerParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the get customer params
func (*GetCustomerParams) SetContext ¶
func (o *GetCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the get customer params
func (*GetCustomerParams) SetCustomerCode ¶
func (o *GetCustomerParams) SetCustomerCode(customerCode string)
SetCustomerCode adds the customerCode to the get customer params
func (*GetCustomerParams) SetDefaults ¶
func (o *GetCustomerParams) SetDefaults()
SetDefaults hydrates default values in the get customer params (not the query body).
All values with no default are reset to their zero value.
func (*GetCustomerParams) SetDollarInclude ¶
func (o *GetCustomerParams) SetDollarInclude(dollarInclude *string)
SetDollarInclude adds the dollarInclude to the get customer params
func (*GetCustomerParams) SetHTTPClient ¶
func (o *GetCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get customer params
func (*GetCustomerParams) SetTimeout ¶
func (o *GetCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get customer params
func (*GetCustomerParams) SetXAvalaraClient ¶
func (o *GetCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the get customer params
func (*GetCustomerParams) WithCompanyID ¶
func (o *GetCustomerParams) WithCompanyID(companyID int32) *GetCustomerParams
WithCompanyID adds the companyID to the get customer params
func (*GetCustomerParams) WithContext ¶
func (o *GetCustomerParams) WithContext(ctx context.Context) *GetCustomerParams
WithContext adds the context to the get customer params
func (*GetCustomerParams) WithCustomerCode ¶
func (o *GetCustomerParams) WithCustomerCode(customerCode string) *GetCustomerParams
WithCustomerCode adds the customerCode to the get customer params
func (*GetCustomerParams) WithDefaults ¶
func (o *GetCustomerParams) WithDefaults() *GetCustomerParams
WithDefaults hydrates default values in the get customer params (not the query body).
All values with no default are reset to their zero value.
func (*GetCustomerParams) WithDollarInclude ¶
func (o *GetCustomerParams) WithDollarInclude(dollarInclude *string) *GetCustomerParams
WithDollarInclude adds the dollarInclude to the get customer params
func (*GetCustomerParams) WithHTTPClient ¶
func (o *GetCustomerParams) WithHTTPClient(client *http.Client) *GetCustomerParams
WithHTTPClient adds the HTTPClient to the get customer params
func (*GetCustomerParams) WithTimeout ¶
func (o *GetCustomerParams) WithTimeout(timeout time.Duration) *GetCustomerParams
WithTimeout adds the timeout to the get customer params
func (*GetCustomerParams) WithXAvalaraClient ¶
func (o *GetCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *GetCustomerParams
WithXAvalaraClient adds the xAvalaraClient to the get customer params
func (*GetCustomerParams) WriteToRequest ¶
func (o *GetCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCustomerReader ¶
type GetCustomerReader struct {
// contains filtered or unexported fields
}
GetCustomerReader is a Reader for the GetCustomer structure.
func (*GetCustomerReader) ReadResponse ¶
func (o *GetCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCustomerUnauthorized ¶
type GetCustomerUnauthorized struct { }
GetCustomerUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetCustomerUnauthorized ¶
func NewGetCustomerUnauthorized() *GetCustomerUnauthorized
NewGetCustomerUnauthorized creates a GetCustomerUnauthorized with default headers values
func (*GetCustomerUnauthorized) Error ¶
func (o *GetCustomerUnauthorized) Error() string
type LinkAttributesToCustomerOK ¶
type LinkAttributesToCustomerOK struct {
Payload *models.CustomerAttributeModelFetchResult
}
LinkAttributesToCustomerOK describes a response with status code 200, with default header values.
Success
func NewLinkAttributesToCustomerOK ¶
func NewLinkAttributesToCustomerOK() *LinkAttributesToCustomerOK
NewLinkAttributesToCustomerOK creates a LinkAttributesToCustomerOK with default headers values
func (*LinkAttributesToCustomerOK) Error ¶
func (o *LinkAttributesToCustomerOK) Error() string
func (*LinkAttributesToCustomerOK) GetPayload ¶
func (o *LinkAttributesToCustomerOK) GetPayload() *models.CustomerAttributeModelFetchResult
type LinkAttributesToCustomerParams ¶
type LinkAttributesToCustomerParams 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 the customer. */ Body []*models.CustomerAttributeModel /* CompanyID. The unique ID number of the company that recorded the provided customer Format: int32 */ CompanyID int32 /* CustomerCode. The unique code representing the current customer */ CustomerCode string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LinkAttributesToCustomerParams contains all the parameters to send to the API endpoint
for the link attributes to customer operation. Typically these are written to a http.Request.
func NewLinkAttributesToCustomerParams ¶
func NewLinkAttributesToCustomerParams() *LinkAttributesToCustomerParams
NewLinkAttributesToCustomerParams creates a new LinkAttributesToCustomerParams 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 NewLinkAttributesToCustomerParamsWithContext ¶
func NewLinkAttributesToCustomerParamsWithContext(ctx context.Context) *LinkAttributesToCustomerParams
NewLinkAttributesToCustomerParamsWithContext creates a new LinkAttributesToCustomerParams object with the ability to set a context for a request.
func NewLinkAttributesToCustomerParamsWithHTTPClient ¶
func NewLinkAttributesToCustomerParamsWithHTTPClient(client *http.Client) *LinkAttributesToCustomerParams
NewLinkAttributesToCustomerParamsWithHTTPClient creates a new LinkAttributesToCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewLinkAttributesToCustomerParamsWithTimeout ¶
func NewLinkAttributesToCustomerParamsWithTimeout(timeout time.Duration) *LinkAttributesToCustomerParams
NewLinkAttributesToCustomerParamsWithTimeout creates a new LinkAttributesToCustomerParams object with the ability to set a timeout on a request.
func (*LinkAttributesToCustomerParams) SetBody ¶
func (o *LinkAttributesToCustomerParams) SetBody(body []*models.CustomerAttributeModel)
SetBody adds the body to the link attributes to customer params
func (*LinkAttributesToCustomerParams) SetCompanyID ¶
func (o *LinkAttributesToCustomerParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the link attributes to customer params
func (*LinkAttributesToCustomerParams) SetContext ¶
func (o *LinkAttributesToCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the link attributes to customer params
func (*LinkAttributesToCustomerParams) SetCustomerCode ¶
func (o *LinkAttributesToCustomerParams) SetCustomerCode(customerCode string)
SetCustomerCode adds the customerCode to the link attributes to customer params
func (*LinkAttributesToCustomerParams) SetDefaults ¶
func (o *LinkAttributesToCustomerParams) SetDefaults()
SetDefaults hydrates default values in the link attributes to customer params (not the query body).
All values with no default are reset to their zero value.
func (*LinkAttributesToCustomerParams) SetHTTPClient ¶
func (o *LinkAttributesToCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the link attributes to customer params
func (*LinkAttributesToCustomerParams) SetTimeout ¶
func (o *LinkAttributesToCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the link attributes to customer params
func (*LinkAttributesToCustomerParams) SetXAvalaraClient ¶
func (o *LinkAttributesToCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the link attributes to customer params
func (*LinkAttributesToCustomerParams) WithBody ¶
func (o *LinkAttributesToCustomerParams) WithBody(body []*models.CustomerAttributeModel) *LinkAttributesToCustomerParams
WithBody adds the body to the link attributes to customer params
func (*LinkAttributesToCustomerParams) WithCompanyID ¶
func (o *LinkAttributesToCustomerParams) WithCompanyID(companyID int32) *LinkAttributesToCustomerParams
WithCompanyID adds the companyID to the link attributes to customer params
func (*LinkAttributesToCustomerParams) WithContext ¶
func (o *LinkAttributesToCustomerParams) WithContext(ctx context.Context) *LinkAttributesToCustomerParams
WithContext adds the context to the link attributes to customer params
func (*LinkAttributesToCustomerParams) WithCustomerCode ¶
func (o *LinkAttributesToCustomerParams) WithCustomerCode(customerCode string) *LinkAttributesToCustomerParams
WithCustomerCode adds the customerCode to the link attributes to customer params
func (*LinkAttributesToCustomerParams) WithDefaults ¶
func (o *LinkAttributesToCustomerParams) WithDefaults() *LinkAttributesToCustomerParams
WithDefaults hydrates default values in the link attributes to customer params (not the query body).
All values with no default are reset to their zero value.
func (*LinkAttributesToCustomerParams) WithHTTPClient ¶
func (o *LinkAttributesToCustomerParams) WithHTTPClient(client *http.Client) *LinkAttributesToCustomerParams
WithHTTPClient adds the HTTPClient to the link attributes to customer params
func (*LinkAttributesToCustomerParams) WithTimeout ¶
func (o *LinkAttributesToCustomerParams) WithTimeout(timeout time.Duration) *LinkAttributesToCustomerParams
WithTimeout adds the timeout to the link attributes to customer params
func (*LinkAttributesToCustomerParams) WithXAvalaraClient ¶
func (o *LinkAttributesToCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *LinkAttributesToCustomerParams
WithXAvalaraClient adds the xAvalaraClient to the link attributes to customer params
func (*LinkAttributesToCustomerParams) WriteToRequest ¶
func (o *LinkAttributesToCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LinkAttributesToCustomerReader ¶
type LinkAttributesToCustomerReader struct {
// contains filtered or unexported fields
}
LinkAttributesToCustomerReader is a Reader for the LinkAttributesToCustomer structure.
func (*LinkAttributesToCustomerReader) ReadResponse ¶
func (o *LinkAttributesToCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LinkCertificatesToCustomerBadRequest ¶
type LinkCertificatesToCustomerBadRequest struct { }
LinkCertificatesToCustomerBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewLinkCertificatesToCustomerBadRequest ¶
func NewLinkCertificatesToCustomerBadRequest() *LinkCertificatesToCustomerBadRequest
NewLinkCertificatesToCustomerBadRequest creates a LinkCertificatesToCustomerBadRequest with default headers values
func (*LinkCertificatesToCustomerBadRequest) Error ¶
func (o *LinkCertificatesToCustomerBadRequest) Error() string
type LinkCertificatesToCustomerNotFound ¶
type LinkCertificatesToCustomerNotFound struct { }
LinkCertificatesToCustomerNotFound describes a response with status code 404, with default header values.
Not Found
func NewLinkCertificatesToCustomerNotFound ¶
func NewLinkCertificatesToCustomerNotFound() *LinkCertificatesToCustomerNotFound
NewLinkCertificatesToCustomerNotFound creates a LinkCertificatesToCustomerNotFound with default headers values
func (*LinkCertificatesToCustomerNotFound) Error ¶
func (o *LinkCertificatesToCustomerNotFound) Error() string
type LinkCertificatesToCustomerOK ¶
type LinkCertificatesToCustomerOK struct {
Payload *models.CertificateModelFetchResult
}
LinkCertificatesToCustomerOK describes a response with status code 200, with default header values.
Success
func NewLinkCertificatesToCustomerOK ¶
func NewLinkCertificatesToCustomerOK() *LinkCertificatesToCustomerOK
NewLinkCertificatesToCustomerOK creates a LinkCertificatesToCustomerOK with default headers values
func (*LinkCertificatesToCustomerOK) Error ¶
func (o *LinkCertificatesToCustomerOK) Error() string
func (*LinkCertificatesToCustomerOK) GetPayload ¶
func (o *LinkCertificatesToCustomerOK) GetPayload() *models.CertificateModelFetchResult
type LinkCertificatesToCustomerParams ¶
type LinkCertificatesToCustomerParams 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 certificates to link to this customer */ Body *models.LinkCertificatesModel /* CompanyID. The unique ID number of the company that recorded this customer Format: int32 */ CompanyID int32 /* CustomerCode. The unique code representing this customer */ CustomerCode string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LinkCertificatesToCustomerParams contains all the parameters to send to the API endpoint
for the link certificates to customer operation. Typically these are written to a http.Request.
func NewLinkCertificatesToCustomerParams ¶
func NewLinkCertificatesToCustomerParams() *LinkCertificatesToCustomerParams
NewLinkCertificatesToCustomerParams creates a new LinkCertificatesToCustomerParams 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 NewLinkCertificatesToCustomerParamsWithContext ¶
func NewLinkCertificatesToCustomerParamsWithContext(ctx context.Context) *LinkCertificatesToCustomerParams
NewLinkCertificatesToCustomerParamsWithContext creates a new LinkCertificatesToCustomerParams object with the ability to set a context for a request.
func NewLinkCertificatesToCustomerParamsWithHTTPClient ¶
func NewLinkCertificatesToCustomerParamsWithHTTPClient(client *http.Client) *LinkCertificatesToCustomerParams
NewLinkCertificatesToCustomerParamsWithHTTPClient creates a new LinkCertificatesToCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewLinkCertificatesToCustomerParamsWithTimeout ¶
func NewLinkCertificatesToCustomerParamsWithTimeout(timeout time.Duration) *LinkCertificatesToCustomerParams
NewLinkCertificatesToCustomerParamsWithTimeout creates a new LinkCertificatesToCustomerParams object with the ability to set a timeout on a request.
func (*LinkCertificatesToCustomerParams) SetBody ¶
func (o *LinkCertificatesToCustomerParams) SetBody(body *models.LinkCertificatesModel)
SetBody adds the body to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) SetCompanyID ¶
func (o *LinkCertificatesToCustomerParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) SetContext ¶
func (o *LinkCertificatesToCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) SetCustomerCode ¶
func (o *LinkCertificatesToCustomerParams) SetCustomerCode(customerCode string)
SetCustomerCode adds the customerCode to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) SetDefaults ¶
func (o *LinkCertificatesToCustomerParams) SetDefaults()
SetDefaults hydrates default values in the link certificates to customer params (not the query body).
All values with no default are reset to their zero value.
func (*LinkCertificatesToCustomerParams) SetHTTPClient ¶
func (o *LinkCertificatesToCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) SetTimeout ¶
func (o *LinkCertificatesToCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) SetXAvalaraClient ¶
func (o *LinkCertificatesToCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) WithBody ¶
func (o *LinkCertificatesToCustomerParams) WithBody(body *models.LinkCertificatesModel) *LinkCertificatesToCustomerParams
WithBody adds the body to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) WithCompanyID ¶
func (o *LinkCertificatesToCustomerParams) WithCompanyID(companyID int32) *LinkCertificatesToCustomerParams
WithCompanyID adds the companyID to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) WithContext ¶
func (o *LinkCertificatesToCustomerParams) WithContext(ctx context.Context) *LinkCertificatesToCustomerParams
WithContext adds the context to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) WithCustomerCode ¶
func (o *LinkCertificatesToCustomerParams) WithCustomerCode(customerCode string) *LinkCertificatesToCustomerParams
WithCustomerCode adds the customerCode to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) WithDefaults ¶
func (o *LinkCertificatesToCustomerParams) WithDefaults() *LinkCertificatesToCustomerParams
WithDefaults hydrates default values in the link certificates to customer params (not the query body).
All values with no default are reset to their zero value.
func (*LinkCertificatesToCustomerParams) WithHTTPClient ¶
func (o *LinkCertificatesToCustomerParams) WithHTTPClient(client *http.Client) *LinkCertificatesToCustomerParams
WithHTTPClient adds the HTTPClient to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) WithTimeout ¶
func (o *LinkCertificatesToCustomerParams) WithTimeout(timeout time.Duration) *LinkCertificatesToCustomerParams
WithTimeout adds the timeout to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) WithXAvalaraClient ¶
func (o *LinkCertificatesToCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *LinkCertificatesToCustomerParams
WithXAvalaraClient adds the xAvalaraClient to the link certificates to customer params
func (*LinkCertificatesToCustomerParams) WriteToRequest ¶
func (o *LinkCertificatesToCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LinkCertificatesToCustomerReader ¶
type LinkCertificatesToCustomerReader struct {
// contains filtered or unexported fields
}
LinkCertificatesToCustomerReader is a Reader for the LinkCertificatesToCustomer structure.
func (*LinkCertificatesToCustomerReader) ReadResponse ¶
func (o *LinkCertificatesToCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LinkCertificatesToCustomerUnauthorized ¶
type LinkCertificatesToCustomerUnauthorized struct { }
LinkCertificatesToCustomerUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewLinkCertificatesToCustomerUnauthorized ¶
func NewLinkCertificatesToCustomerUnauthorized() *LinkCertificatesToCustomerUnauthorized
NewLinkCertificatesToCustomerUnauthorized creates a LinkCertificatesToCustomerUnauthorized with default headers values
func (*LinkCertificatesToCustomerUnauthorized) Error ¶
func (o *LinkCertificatesToCustomerUnauthorized) Error() string
type LinkShipToCustomersToBillCustomerBadRequest ¶
type LinkShipToCustomersToBillCustomerBadRequest struct { }
LinkShipToCustomersToBillCustomerBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewLinkShipToCustomersToBillCustomerBadRequest ¶
func NewLinkShipToCustomersToBillCustomerBadRequest() *LinkShipToCustomersToBillCustomerBadRequest
NewLinkShipToCustomersToBillCustomerBadRequest creates a LinkShipToCustomersToBillCustomerBadRequest with default headers values
func (*LinkShipToCustomersToBillCustomerBadRequest) Error ¶
func (o *LinkShipToCustomersToBillCustomerBadRequest) Error() string
type LinkShipToCustomersToBillCustomerNotFound ¶
type LinkShipToCustomersToBillCustomerNotFound struct { }
LinkShipToCustomersToBillCustomerNotFound describes a response with status code 404, with default header values.
Not Found
func NewLinkShipToCustomersToBillCustomerNotFound ¶
func NewLinkShipToCustomersToBillCustomerNotFound() *LinkShipToCustomersToBillCustomerNotFound
NewLinkShipToCustomersToBillCustomerNotFound creates a LinkShipToCustomersToBillCustomerNotFound with default headers values
func (*LinkShipToCustomersToBillCustomerNotFound) Error ¶
func (o *LinkShipToCustomersToBillCustomerNotFound) Error() string
type LinkShipToCustomersToBillCustomerOK ¶
type LinkShipToCustomersToBillCustomerOK struct {
Payload *models.CustomerModel
}
LinkShipToCustomersToBillCustomerOK describes a response with status code 200, with default header values.
Success
func NewLinkShipToCustomersToBillCustomerOK ¶
func NewLinkShipToCustomersToBillCustomerOK() *LinkShipToCustomersToBillCustomerOK
NewLinkShipToCustomersToBillCustomerOK creates a LinkShipToCustomersToBillCustomerOK with default headers values
func (*LinkShipToCustomersToBillCustomerOK) Error ¶
func (o *LinkShipToCustomersToBillCustomerOK) Error() string
func (*LinkShipToCustomersToBillCustomerOK) GetPayload ¶
func (o *LinkShipToCustomersToBillCustomerOK) GetPayload() *models.CustomerModel
type LinkShipToCustomersToBillCustomerParams ¶
type LinkShipToCustomersToBillCustomerParams 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. A list of information about ship-to customers to link to this bill-to customer. */ Body *models.LinkCustomersModel /* Code. The code of the bill-to customer to link. */ Code string /* CompanyID. The unique ID number of the company defining customers. Format: int32 */ CompanyID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LinkShipToCustomersToBillCustomerParams contains all the parameters to send to the API endpoint
for the link ship to customers to bill customer operation. Typically these are written to a http.Request.
func NewLinkShipToCustomersToBillCustomerParams ¶
func NewLinkShipToCustomersToBillCustomerParams() *LinkShipToCustomersToBillCustomerParams
NewLinkShipToCustomersToBillCustomerParams creates a new LinkShipToCustomersToBillCustomerParams 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 NewLinkShipToCustomersToBillCustomerParamsWithContext ¶
func NewLinkShipToCustomersToBillCustomerParamsWithContext(ctx context.Context) *LinkShipToCustomersToBillCustomerParams
NewLinkShipToCustomersToBillCustomerParamsWithContext creates a new LinkShipToCustomersToBillCustomerParams object with the ability to set a context for a request.
func NewLinkShipToCustomersToBillCustomerParamsWithHTTPClient ¶
func NewLinkShipToCustomersToBillCustomerParamsWithHTTPClient(client *http.Client) *LinkShipToCustomersToBillCustomerParams
NewLinkShipToCustomersToBillCustomerParamsWithHTTPClient creates a new LinkShipToCustomersToBillCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewLinkShipToCustomersToBillCustomerParamsWithTimeout ¶
func NewLinkShipToCustomersToBillCustomerParamsWithTimeout(timeout time.Duration) *LinkShipToCustomersToBillCustomerParams
NewLinkShipToCustomersToBillCustomerParamsWithTimeout creates a new LinkShipToCustomersToBillCustomerParams object with the ability to set a timeout on a request.
func (*LinkShipToCustomersToBillCustomerParams) SetBody ¶
func (o *LinkShipToCustomersToBillCustomerParams) SetBody(body *models.LinkCustomersModel)
SetBody adds the body to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) SetCode ¶
func (o *LinkShipToCustomersToBillCustomerParams) SetCode(code string)
SetCode adds the code to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) SetCompanyID ¶
func (o *LinkShipToCustomersToBillCustomerParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) SetContext ¶
func (o *LinkShipToCustomersToBillCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) SetDefaults ¶
func (o *LinkShipToCustomersToBillCustomerParams) SetDefaults()
SetDefaults hydrates default values in the link ship to customers to bill customer params (not the query body).
All values with no default are reset to their zero value.
func (*LinkShipToCustomersToBillCustomerParams) SetHTTPClient ¶
func (o *LinkShipToCustomersToBillCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) SetTimeout ¶
func (o *LinkShipToCustomersToBillCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) SetXAvalaraClient ¶
func (o *LinkShipToCustomersToBillCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) WithBody ¶
func (o *LinkShipToCustomersToBillCustomerParams) WithBody(body *models.LinkCustomersModel) *LinkShipToCustomersToBillCustomerParams
WithBody adds the body to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) WithCode ¶
func (o *LinkShipToCustomersToBillCustomerParams) WithCode(code string) *LinkShipToCustomersToBillCustomerParams
WithCode adds the code to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) WithCompanyID ¶
func (o *LinkShipToCustomersToBillCustomerParams) WithCompanyID(companyID int32) *LinkShipToCustomersToBillCustomerParams
WithCompanyID adds the companyID to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) WithContext ¶
func (o *LinkShipToCustomersToBillCustomerParams) WithContext(ctx context.Context) *LinkShipToCustomersToBillCustomerParams
WithContext adds the context to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) WithDefaults ¶
func (o *LinkShipToCustomersToBillCustomerParams) WithDefaults() *LinkShipToCustomersToBillCustomerParams
WithDefaults hydrates default values in the link ship to customers to bill customer params (not the query body).
All values with no default are reset to their zero value.
func (*LinkShipToCustomersToBillCustomerParams) WithHTTPClient ¶
func (o *LinkShipToCustomersToBillCustomerParams) WithHTTPClient(client *http.Client) *LinkShipToCustomersToBillCustomerParams
WithHTTPClient adds the HTTPClient to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) WithTimeout ¶
func (o *LinkShipToCustomersToBillCustomerParams) WithTimeout(timeout time.Duration) *LinkShipToCustomersToBillCustomerParams
WithTimeout adds the timeout to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) WithXAvalaraClient ¶
func (o *LinkShipToCustomersToBillCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *LinkShipToCustomersToBillCustomerParams
WithXAvalaraClient adds the xAvalaraClient to the link ship to customers to bill customer params
func (*LinkShipToCustomersToBillCustomerParams) WriteToRequest ¶
func (o *LinkShipToCustomersToBillCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LinkShipToCustomersToBillCustomerReader ¶
type LinkShipToCustomersToBillCustomerReader struct {
// contains filtered or unexported fields
}
LinkShipToCustomersToBillCustomerReader is a Reader for the LinkShipToCustomersToBillCustomer structure.
func (*LinkShipToCustomersToBillCustomerReader) ReadResponse ¶
func (o *LinkShipToCustomersToBillCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LinkShipToCustomersToBillCustomerUnauthorized ¶
type LinkShipToCustomersToBillCustomerUnauthorized struct { }
LinkShipToCustomersToBillCustomerUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewLinkShipToCustomersToBillCustomerUnauthorized ¶
func NewLinkShipToCustomersToBillCustomerUnauthorized() *LinkShipToCustomersToBillCustomerUnauthorized
NewLinkShipToCustomersToBillCustomerUnauthorized creates a LinkShipToCustomersToBillCustomerUnauthorized with default headers values
func (*LinkShipToCustomersToBillCustomerUnauthorized) Error ¶
func (o *LinkShipToCustomersToBillCustomerUnauthorized) Error() string
type ListAttributesForCustomerOK ¶
type ListAttributesForCustomerOK struct {
Payload *models.CustomerAttributeModelFetchResult
}
ListAttributesForCustomerOK describes a response with status code 200, with default header values.
Success
func NewListAttributesForCustomerOK ¶
func NewListAttributesForCustomerOK() *ListAttributesForCustomerOK
NewListAttributesForCustomerOK creates a ListAttributesForCustomerOK with default headers values
func (*ListAttributesForCustomerOK) Error ¶
func (o *ListAttributesForCustomerOK) Error() string
func (*ListAttributesForCustomerOK) GetPayload ¶
func (o *ListAttributesForCustomerOK) GetPayload() *models.CustomerAttributeModelFetchResult
type ListAttributesForCustomerParams ¶
type ListAttributesForCustomerParams 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 the provided customer Format: int32 */ CompanyID int32 /* CustomerCode. The unique code representing the current customer */ CustomerCode string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAttributesForCustomerParams contains all the parameters to send to the API endpoint
for the list attributes for customer operation. Typically these are written to a http.Request.
func NewListAttributesForCustomerParams ¶
func NewListAttributesForCustomerParams() *ListAttributesForCustomerParams
NewListAttributesForCustomerParams creates a new ListAttributesForCustomerParams 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 NewListAttributesForCustomerParamsWithContext ¶
func NewListAttributesForCustomerParamsWithContext(ctx context.Context) *ListAttributesForCustomerParams
NewListAttributesForCustomerParamsWithContext creates a new ListAttributesForCustomerParams object with the ability to set a context for a request.
func NewListAttributesForCustomerParamsWithHTTPClient ¶
func NewListAttributesForCustomerParamsWithHTTPClient(client *http.Client) *ListAttributesForCustomerParams
NewListAttributesForCustomerParamsWithHTTPClient creates a new ListAttributesForCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewListAttributesForCustomerParamsWithTimeout ¶
func NewListAttributesForCustomerParamsWithTimeout(timeout time.Duration) *ListAttributesForCustomerParams
NewListAttributesForCustomerParamsWithTimeout creates a new ListAttributesForCustomerParams object with the ability to set a timeout on a request.
func (*ListAttributesForCustomerParams) SetCompanyID ¶
func (o *ListAttributesForCustomerParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the list attributes for customer params
func (*ListAttributesForCustomerParams) SetContext ¶
func (o *ListAttributesForCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the list attributes for customer params
func (*ListAttributesForCustomerParams) SetCustomerCode ¶
func (o *ListAttributesForCustomerParams) SetCustomerCode(customerCode string)
SetCustomerCode adds the customerCode to the list attributes for customer params
func (*ListAttributesForCustomerParams) SetDefaults ¶
func (o *ListAttributesForCustomerParams) SetDefaults()
SetDefaults hydrates default values in the list attributes for customer params (not the query body).
All values with no default are reset to their zero value.
func (*ListAttributesForCustomerParams) SetHTTPClient ¶
func (o *ListAttributesForCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list attributes for customer params
func (*ListAttributesForCustomerParams) SetTimeout ¶
func (o *ListAttributesForCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list attributes for customer params
func (*ListAttributesForCustomerParams) SetXAvalaraClient ¶
func (o *ListAttributesForCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the list attributes for customer params
func (*ListAttributesForCustomerParams) WithCompanyID ¶
func (o *ListAttributesForCustomerParams) WithCompanyID(companyID int32) *ListAttributesForCustomerParams
WithCompanyID adds the companyID to the list attributes for customer params
func (*ListAttributesForCustomerParams) WithContext ¶
func (o *ListAttributesForCustomerParams) WithContext(ctx context.Context) *ListAttributesForCustomerParams
WithContext adds the context to the list attributes for customer params
func (*ListAttributesForCustomerParams) WithCustomerCode ¶
func (o *ListAttributesForCustomerParams) WithCustomerCode(customerCode string) *ListAttributesForCustomerParams
WithCustomerCode adds the customerCode to the list attributes for customer params
func (*ListAttributesForCustomerParams) WithDefaults ¶
func (o *ListAttributesForCustomerParams) WithDefaults() *ListAttributesForCustomerParams
WithDefaults hydrates default values in the list attributes for customer params (not the query body).
All values with no default are reset to their zero value.
func (*ListAttributesForCustomerParams) WithHTTPClient ¶
func (o *ListAttributesForCustomerParams) WithHTTPClient(client *http.Client) *ListAttributesForCustomerParams
WithHTTPClient adds the HTTPClient to the list attributes for customer params
func (*ListAttributesForCustomerParams) WithTimeout ¶
func (o *ListAttributesForCustomerParams) WithTimeout(timeout time.Duration) *ListAttributesForCustomerParams
WithTimeout adds the timeout to the list attributes for customer params
func (*ListAttributesForCustomerParams) WithXAvalaraClient ¶
func (o *ListAttributesForCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *ListAttributesForCustomerParams
WithXAvalaraClient adds the xAvalaraClient to the list attributes for customer params
func (*ListAttributesForCustomerParams) WriteToRequest ¶
func (o *ListAttributesForCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAttributesForCustomerReader ¶
type ListAttributesForCustomerReader struct {
// contains filtered or unexported fields
}
ListAttributesForCustomerReader is a Reader for the ListAttributesForCustomer structure.
func (*ListAttributesForCustomerReader) ReadResponse ¶
func (o *ListAttributesForCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListCertificatesForCustomerBadRequest ¶
type ListCertificatesForCustomerBadRequest struct { }
ListCertificatesForCustomerBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListCertificatesForCustomerBadRequest ¶
func NewListCertificatesForCustomerBadRequest() *ListCertificatesForCustomerBadRequest
NewListCertificatesForCustomerBadRequest creates a ListCertificatesForCustomerBadRequest with default headers values
func (*ListCertificatesForCustomerBadRequest) Error ¶
func (o *ListCertificatesForCustomerBadRequest) Error() string
type ListCertificatesForCustomerNotFound ¶
type ListCertificatesForCustomerNotFound struct { }
ListCertificatesForCustomerNotFound describes a response with status code 404, with default header values.
Not Found
func NewListCertificatesForCustomerNotFound ¶
func NewListCertificatesForCustomerNotFound() *ListCertificatesForCustomerNotFound
NewListCertificatesForCustomerNotFound creates a ListCertificatesForCustomerNotFound with default headers values
func (*ListCertificatesForCustomerNotFound) Error ¶
func (o *ListCertificatesForCustomerNotFound) Error() string
type ListCertificatesForCustomerOK ¶
type ListCertificatesForCustomerOK struct {
Payload *models.CertificateModelFetchResult
}
ListCertificatesForCustomerOK describes a response with status code 200, with default header values.
Success
func NewListCertificatesForCustomerOK ¶
func NewListCertificatesForCustomerOK() *ListCertificatesForCustomerOK
NewListCertificatesForCustomerOK creates a ListCertificatesForCustomerOK with default headers values
func (*ListCertificatesForCustomerOK) Error ¶
func (o *ListCertificatesForCustomerOK) Error() string
func (*ListCertificatesForCustomerOK) GetPayload ¶
func (o *ListCertificatesForCustomerOK) GetPayload() *models.CertificateModelFetchResult
type ListCertificatesForCustomerParams ¶
type ListCertificatesForCustomerParams 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 unique ID number of the company that recorded this customer Format: int32 */ CompanyID int32 /* CustomerCode. The unique code representing this customer */ CustomerCode string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListCertificatesForCustomerParams contains all the parameters to send to the API endpoint
for the list certificates for customer operation. Typically these are written to a http.Request.
func NewListCertificatesForCustomerParams ¶
func NewListCertificatesForCustomerParams() *ListCertificatesForCustomerParams
NewListCertificatesForCustomerParams creates a new ListCertificatesForCustomerParams 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 NewListCertificatesForCustomerParamsWithContext ¶
func NewListCertificatesForCustomerParamsWithContext(ctx context.Context) *ListCertificatesForCustomerParams
NewListCertificatesForCustomerParamsWithContext creates a new ListCertificatesForCustomerParams object with the ability to set a context for a request.
func NewListCertificatesForCustomerParamsWithHTTPClient ¶
func NewListCertificatesForCustomerParamsWithHTTPClient(client *http.Client) *ListCertificatesForCustomerParams
NewListCertificatesForCustomerParamsWithHTTPClient creates a new ListCertificatesForCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewListCertificatesForCustomerParamsWithTimeout ¶
func NewListCertificatesForCustomerParamsWithTimeout(timeout time.Duration) *ListCertificatesForCustomerParams
NewListCertificatesForCustomerParamsWithTimeout creates a new ListCertificatesForCustomerParams object with the ability to set a timeout on a request.
func (*ListCertificatesForCustomerParams) SetCompanyID ¶
func (o *ListCertificatesForCustomerParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the list certificates for customer params
func (*ListCertificatesForCustomerParams) SetContext ¶
func (o *ListCertificatesForCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the list certificates for customer params
func (*ListCertificatesForCustomerParams) SetCustomerCode ¶
func (o *ListCertificatesForCustomerParams) SetCustomerCode(customerCode string)
SetCustomerCode adds the customerCode to the list certificates for customer params
func (*ListCertificatesForCustomerParams) SetDefaults ¶
func (o *ListCertificatesForCustomerParams) SetDefaults()
SetDefaults hydrates default values in the list certificates for customer params (not the query body).
All values with no default are reset to their zero value.
func (*ListCertificatesForCustomerParams) SetDollarFilter ¶
func (o *ListCertificatesForCustomerParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the list certificates for customer params
func (*ListCertificatesForCustomerParams) SetDollarInclude ¶
func (o *ListCertificatesForCustomerParams) SetDollarInclude(dollarInclude *string)
SetDollarInclude adds the dollarInclude to the list certificates for customer params
func (*ListCertificatesForCustomerParams) SetDollarOrderBy ¶
func (o *ListCertificatesForCustomerParams) SetDollarOrderBy(dollarOrderBy *string)
SetDollarOrderBy adds the dollarOrderBy to the list certificates for customer params
func (*ListCertificatesForCustomerParams) SetDollarSkip ¶
func (o *ListCertificatesForCustomerParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the list certificates for customer params
func (*ListCertificatesForCustomerParams) SetDollarTop ¶
func (o *ListCertificatesForCustomerParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the list certificates for customer params
func (*ListCertificatesForCustomerParams) SetHTTPClient ¶
func (o *ListCertificatesForCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list certificates for customer params
func (*ListCertificatesForCustomerParams) SetTimeout ¶
func (o *ListCertificatesForCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list certificates for customer params
func (*ListCertificatesForCustomerParams) SetXAvalaraClient ¶
func (o *ListCertificatesForCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the list certificates for customer params
func (*ListCertificatesForCustomerParams) WithCompanyID ¶
func (o *ListCertificatesForCustomerParams) WithCompanyID(companyID int32) *ListCertificatesForCustomerParams
WithCompanyID adds the companyID to the list certificates for customer params
func (*ListCertificatesForCustomerParams) WithContext ¶
func (o *ListCertificatesForCustomerParams) WithContext(ctx context.Context) *ListCertificatesForCustomerParams
WithContext adds the context to the list certificates for customer params
func (*ListCertificatesForCustomerParams) WithCustomerCode ¶
func (o *ListCertificatesForCustomerParams) WithCustomerCode(customerCode string) *ListCertificatesForCustomerParams
WithCustomerCode adds the customerCode to the list certificates for customer params
func (*ListCertificatesForCustomerParams) WithDefaults ¶
func (o *ListCertificatesForCustomerParams) WithDefaults() *ListCertificatesForCustomerParams
WithDefaults hydrates default values in the list certificates for customer params (not the query body).
All values with no default are reset to their zero value.
func (*ListCertificatesForCustomerParams) WithDollarFilter ¶
func (o *ListCertificatesForCustomerParams) WithDollarFilter(dollarFilter *string) *ListCertificatesForCustomerParams
WithDollarFilter adds the dollarFilter to the list certificates for customer params
func (*ListCertificatesForCustomerParams) WithDollarInclude ¶
func (o *ListCertificatesForCustomerParams) WithDollarInclude(dollarInclude *string) *ListCertificatesForCustomerParams
WithDollarInclude adds the dollarInclude to the list certificates for customer params
func (*ListCertificatesForCustomerParams) WithDollarOrderBy ¶
func (o *ListCertificatesForCustomerParams) WithDollarOrderBy(dollarOrderBy *string) *ListCertificatesForCustomerParams
WithDollarOrderBy adds the dollarOrderBy to the list certificates for customer params
func (*ListCertificatesForCustomerParams) WithDollarSkip ¶
func (o *ListCertificatesForCustomerParams) WithDollarSkip(dollarSkip *int32) *ListCertificatesForCustomerParams
WithDollarSkip adds the dollarSkip to the list certificates for customer params
func (*ListCertificatesForCustomerParams) WithDollarTop ¶
func (o *ListCertificatesForCustomerParams) WithDollarTop(dollarTop *int32) *ListCertificatesForCustomerParams
WithDollarTop adds the dollarTop to the list certificates for customer params
func (*ListCertificatesForCustomerParams) WithHTTPClient ¶
func (o *ListCertificatesForCustomerParams) WithHTTPClient(client *http.Client) *ListCertificatesForCustomerParams
WithHTTPClient adds the HTTPClient to the list certificates for customer params
func (*ListCertificatesForCustomerParams) WithTimeout ¶
func (o *ListCertificatesForCustomerParams) WithTimeout(timeout time.Duration) *ListCertificatesForCustomerParams
WithTimeout adds the timeout to the list certificates for customer params
func (*ListCertificatesForCustomerParams) WithXAvalaraClient ¶
func (o *ListCertificatesForCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *ListCertificatesForCustomerParams
WithXAvalaraClient adds the xAvalaraClient to the list certificates for customer params
func (*ListCertificatesForCustomerParams) WriteToRequest ¶
func (o *ListCertificatesForCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListCertificatesForCustomerReader ¶
type ListCertificatesForCustomerReader struct {
// contains filtered or unexported fields
}
ListCertificatesForCustomerReader is a Reader for the ListCertificatesForCustomer structure.
func (*ListCertificatesForCustomerReader) ReadResponse ¶
func (o *ListCertificatesForCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListCertificatesForCustomerUnauthorized ¶
type ListCertificatesForCustomerUnauthorized struct { }
ListCertificatesForCustomerUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListCertificatesForCustomerUnauthorized ¶
func NewListCertificatesForCustomerUnauthorized() *ListCertificatesForCustomerUnauthorized
NewListCertificatesForCustomerUnauthorized creates a ListCertificatesForCustomerUnauthorized with default headers values
func (*ListCertificatesForCustomerUnauthorized) Error ¶
func (o *ListCertificatesForCustomerUnauthorized) Error() string
type ListValidCertificatesForCustomerBadRequest ¶
type ListValidCertificatesForCustomerBadRequest struct { }
ListValidCertificatesForCustomerBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListValidCertificatesForCustomerBadRequest ¶
func NewListValidCertificatesForCustomerBadRequest() *ListValidCertificatesForCustomerBadRequest
NewListValidCertificatesForCustomerBadRequest creates a ListValidCertificatesForCustomerBadRequest with default headers values
func (*ListValidCertificatesForCustomerBadRequest) Error ¶
func (o *ListValidCertificatesForCustomerBadRequest) Error() string
type ListValidCertificatesForCustomerNotFound ¶
type ListValidCertificatesForCustomerNotFound struct { }
ListValidCertificatesForCustomerNotFound describes a response with status code 404, with default header values.
Not Found
func NewListValidCertificatesForCustomerNotFound ¶
func NewListValidCertificatesForCustomerNotFound() *ListValidCertificatesForCustomerNotFound
NewListValidCertificatesForCustomerNotFound creates a ListValidCertificatesForCustomerNotFound with default headers values
func (*ListValidCertificatesForCustomerNotFound) Error ¶
func (o *ListValidCertificatesForCustomerNotFound) Error() string
type ListValidCertificatesForCustomerOK ¶
type ListValidCertificatesForCustomerOK struct {
Payload *models.ExemptionStatusModel
}
ListValidCertificatesForCustomerOK describes a response with status code 200, with default header values.
Success
func NewListValidCertificatesForCustomerOK ¶
func NewListValidCertificatesForCustomerOK() *ListValidCertificatesForCustomerOK
NewListValidCertificatesForCustomerOK creates a ListValidCertificatesForCustomerOK with default headers values
func (*ListValidCertificatesForCustomerOK) Error ¶
func (o *ListValidCertificatesForCustomerOK) Error() string
func (*ListValidCertificatesForCustomerOK) GetPayload ¶
func (o *ListValidCertificatesForCustomerOK) GetPayload() *models.ExemptionStatusModel
type ListValidCertificatesForCustomerParams ¶
type ListValidCertificatesForCustomerParams 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 customer Format: int32 */ CompanyID int32 /* Country. Search for certificates matching this country. Uses the ISO 3166 two character country code. */ Country string /* CustomerCode. The unique code representing this customer */ CustomerCode string /* Region. Search for certificates matching this region. Uses the ISO 3166 two or three character state, region, or province code. */ Region string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListValidCertificatesForCustomerParams contains all the parameters to send to the API endpoint
for the list valid certificates for customer operation. Typically these are written to a http.Request.
func NewListValidCertificatesForCustomerParams ¶
func NewListValidCertificatesForCustomerParams() *ListValidCertificatesForCustomerParams
NewListValidCertificatesForCustomerParams creates a new ListValidCertificatesForCustomerParams 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 NewListValidCertificatesForCustomerParamsWithContext ¶
func NewListValidCertificatesForCustomerParamsWithContext(ctx context.Context) *ListValidCertificatesForCustomerParams
NewListValidCertificatesForCustomerParamsWithContext creates a new ListValidCertificatesForCustomerParams object with the ability to set a context for a request.
func NewListValidCertificatesForCustomerParamsWithHTTPClient ¶
func NewListValidCertificatesForCustomerParamsWithHTTPClient(client *http.Client) *ListValidCertificatesForCustomerParams
NewListValidCertificatesForCustomerParamsWithHTTPClient creates a new ListValidCertificatesForCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewListValidCertificatesForCustomerParamsWithTimeout ¶
func NewListValidCertificatesForCustomerParamsWithTimeout(timeout time.Duration) *ListValidCertificatesForCustomerParams
NewListValidCertificatesForCustomerParamsWithTimeout creates a new ListValidCertificatesForCustomerParams object with the ability to set a timeout on a request.
func (*ListValidCertificatesForCustomerParams) SetCompanyID ¶
func (o *ListValidCertificatesForCustomerParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) SetContext ¶
func (o *ListValidCertificatesForCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) SetCountry ¶
func (o *ListValidCertificatesForCustomerParams) SetCountry(country string)
SetCountry adds the country to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) SetCustomerCode ¶
func (o *ListValidCertificatesForCustomerParams) SetCustomerCode(customerCode string)
SetCustomerCode adds the customerCode to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) SetDefaults ¶
func (o *ListValidCertificatesForCustomerParams) SetDefaults()
SetDefaults hydrates default values in the list valid certificates for customer params (not the query body).
All values with no default are reset to their zero value.
func (*ListValidCertificatesForCustomerParams) SetHTTPClient ¶
func (o *ListValidCertificatesForCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) SetRegion ¶
func (o *ListValidCertificatesForCustomerParams) SetRegion(region string)
SetRegion adds the region to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) SetTimeout ¶
func (o *ListValidCertificatesForCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) SetXAvalaraClient ¶
func (o *ListValidCertificatesForCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) WithCompanyID ¶
func (o *ListValidCertificatesForCustomerParams) WithCompanyID(companyID int32) *ListValidCertificatesForCustomerParams
WithCompanyID adds the companyID to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) WithContext ¶
func (o *ListValidCertificatesForCustomerParams) WithContext(ctx context.Context) *ListValidCertificatesForCustomerParams
WithContext adds the context to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) WithCountry ¶
func (o *ListValidCertificatesForCustomerParams) WithCountry(country string) *ListValidCertificatesForCustomerParams
WithCountry adds the country to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) WithCustomerCode ¶
func (o *ListValidCertificatesForCustomerParams) WithCustomerCode(customerCode string) *ListValidCertificatesForCustomerParams
WithCustomerCode adds the customerCode to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) WithDefaults ¶
func (o *ListValidCertificatesForCustomerParams) WithDefaults() *ListValidCertificatesForCustomerParams
WithDefaults hydrates default values in the list valid certificates for customer params (not the query body).
All values with no default are reset to their zero value.
func (*ListValidCertificatesForCustomerParams) WithHTTPClient ¶
func (o *ListValidCertificatesForCustomerParams) WithHTTPClient(client *http.Client) *ListValidCertificatesForCustomerParams
WithHTTPClient adds the HTTPClient to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) WithRegion ¶
func (o *ListValidCertificatesForCustomerParams) WithRegion(region string) *ListValidCertificatesForCustomerParams
WithRegion adds the region to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) WithTimeout ¶
func (o *ListValidCertificatesForCustomerParams) WithTimeout(timeout time.Duration) *ListValidCertificatesForCustomerParams
WithTimeout adds the timeout to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) WithXAvalaraClient ¶
func (o *ListValidCertificatesForCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *ListValidCertificatesForCustomerParams
WithXAvalaraClient adds the xAvalaraClient to the list valid certificates for customer params
func (*ListValidCertificatesForCustomerParams) WriteToRequest ¶
func (o *ListValidCertificatesForCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListValidCertificatesForCustomerReader ¶
type ListValidCertificatesForCustomerReader struct {
// contains filtered or unexported fields
}
ListValidCertificatesForCustomerReader is a Reader for the ListValidCertificatesForCustomer structure.
func (*ListValidCertificatesForCustomerReader) ReadResponse ¶
func (o *ListValidCertificatesForCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListValidCertificatesForCustomerUnauthorized ¶
type ListValidCertificatesForCustomerUnauthorized struct { }
ListValidCertificatesForCustomerUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListValidCertificatesForCustomerUnauthorized ¶
func NewListValidCertificatesForCustomerUnauthorized() *ListValidCertificatesForCustomerUnauthorized
NewListValidCertificatesForCustomerUnauthorized creates a ListValidCertificatesForCustomerUnauthorized with default headers values
func (*ListValidCertificatesForCustomerUnauthorized) Error ¶
func (o *ListValidCertificatesForCustomerUnauthorized) Error() string
type QueryCustomersBadRequest ¶
type QueryCustomersBadRequest struct { }
QueryCustomersBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryCustomersBadRequest ¶
func NewQueryCustomersBadRequest() *QueryCustomersBadRequest
NewQueryCustomersBadRequest creates a QueryCustomersBadRequest with default headers values
func (*QueryCustomersBadRequest) Error ¶
func (o *QueryCustomersBadRequest) Error() string
type QueryCustomersNotFound ¶
type QueryCustomersNotFound struct { }
QueryCustomersNotFound describes a response with status code 404, with default header values.
Not Found
func NewQueryCustomersNotFound ¶
func NewQueryCustomersNotFound() *QueryCustomersNotFound
NewQueryCustomersNotFound creates a QueryCustomersNotFound with default headers values
func (*QueryCustomersNotFound) Error ¶
func (o *QueryCustomersNotFound) Error() string
type QueryCustomersOK ¶
type QueryCustomersOK struct {
Payload *models.CustomerModelFetchResult
}
QueryCustomersOK describes a response with status code 200, with default header values.
Success
func NewQueryCustomersOK ¶
func NewQueryCustomersOK() *QueryCustomersOK
NewQueryCustomersOK creates a QueryCustomersOK with default headers values
func (*QueryCustomersOK) Error ¶
func (o *QueryCustomersOK) Error() string
func (*QueryCustomersOK) GetPayload ¶
func (o *QueryCustomersOK) GetPayload() *models.CustomerModelFetchResult
type QueryCustomersParams ¶
type QueryCustomersParams 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:* shipTos */ DollarFilter *string /* DollarInclude. OPTIONAL - You can specify the value `certificates` to fetch information about certificates linked to the customer. */ 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 unique ID number of the company that recorded this customer Format: int32 */ CompanyID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryCustomersParams contains all the parameters to send to the API endpoint
for the query customers operation. Typically these are written to a http.Request.
func NewQueryCustomersParams ¶
func NewQueryCustomersParams() *QueryCustomersParams
NewQueryCustomersParams creates a new QueryCustomersParams 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 NewQueryCustomersParamsWithContext ¶
func NewQueryCustomersParamsWithContext(ctx context.Context) *QueryCustomersParams
NewQueryCustomersParamsWithContext creates a new QueryCustomersParams object with the ability to set a context for a request.
func NewQueryCustomersParamsWithHTTPClient ¶
func NewQueryCustomersParamsWithHTTPClient(client *http.Client) *QueryCustomersParams
NewQueryCustomersParamsWithHTTPClient creates a new QueryCustomersParams object with the ability to set a custom HTTPClient for a request.
func NewQueryCustomersParamsWithTimeout ¶
func NewQueryCustomersParamsWithTimeout(timeout time.Duration) *QueryCustomersParams
NewQueryCustomersParamsWithTimeout creates a new QueryCustomersParams object with the ability to set a timeout on a request.
func (*QueryCustomersParams) SetCompanyID ¶
func (o *QueryCustomersParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the query customers params
func (*QueryCustomersParams) SetContext ¶
func (o *QueryCustomersParams) SetContext(ctx context.Context)
SetContext adds the context to the query customers params
func (*QueryCustomersParams) SetDefaults ¶
func (o *QueryCustomersParams) SetDefaults()
SetDefaults hydrates default values in the query customers params (not the query body).
All values with no default are reset to their zero value.
func (*QueryCustomersParams) SetDollarFilter ¶
func (o *QueryCustomersParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the query customers params
func (*QueryCustomersParams) SetDollarInclude ¶
func (o *QueryCustomersParams) SetDollarInclude(dollarInclude *string)
SetDollarInclude adds the dollarInclude to the query customers params
func (*QueryCustomersParams) SetDollarOrderBy ¶
func (o *QueryCustomersParams) SetDollarOrderBy(dollarOrderBy *string)
SetDollarOrderBy adds the dollarOrderBy to the query customers params
func (*QueryCustomersParams) SetDollarSkip ¶
func (o *QueryCustomersParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the query customers params
func (*QueryCustomersParams) SetDollarTop ¶
func (o *QueryCustomersParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the query customers params
func (*QueryCustomersParams) SetHTTPClient ¶
func (o *QueryCustomersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query customers params
func (*QueryCustomersParams) SetTimeout ¶
func (o *QueryCustomersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query customers params
func (*QueryCustomersParams) SetXAvalaraClient ¶
func (o *QueryCustomersParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the query customers params
func (*QueryCustomersParams) WithCompanyID ¶
func (o *QueryCustomersParams) WithCompanyID(companyID int32) *QueryCustomersParams
WithCompanyID adds the companyID to the query customers params
func (*QueryCustomersParams) WithContext ¶
func (o *QueryCustomersParams) WithContext(ctx context.Context) *QueryCustomersParams
WithContext adds the context to the query customers params
func (*QueryCustomersParams) WithDefaults ¶
func (o *QueryCustomersParams) WithDefaults() *QueryCustomersParams
WithDefaults hydrates default values in the query customers params (not the query body).
All values with no default are reset to their zero value.
func (*QueryCustomersParams) WithDollarFilter ¶
func (o *QueryCustomersParams) WithDollarFilter(dollarFilter *string) *QueryCustomersParams
WithDollarFilter adds the dollarFilter to the query customers params
func (*QueryCustomersParams) WithDollarInclude ¶
func (o *QueryCustomersParams) WithDollarInclude(dollarInclude *string) *QueryCustomersParams
WithDollarInclude adds the dollarInclude to the query customers params
func (*QueryCustomersParams) WithDollarOrderBy ¶
func (o *QueryCustomersParams) WithDollarOrderBy(dollarOrderBy *string) *QueryCustomersParams
WithDollarOrderBy adds the dollarOrderBy to the query customers params
func (*QueryCustomersParams) WithDollarSkip ¶
func (o *QueryCustomersParams) WithDollarSkip(dollarSkip *int32) *QueryCustomersParams
WithDollarSkip adds the dollarSkip to the query customers params
func (*QueryCustomersParams) WithDollarTop ¶
func (o *QueryCustomersParams) WithDollarTop(dollarTop *int32) *QueryCustomersParams
WithDollarTop adds the dollarTop to the query customers params
func (*QueryCustomersParams) WithHTTPClient ¶
func (o *QueryCustomersParams) WithHTTPClient(client *http.Client) *QueryCustomersParams
WithHTTPClient adds the HTTPClient to the query customers params
func (*QueryCustomersParams) WithTimeout ¶
func (o *QueryCustomersParams) WithTimeout(timeout time.Duration) *QueryCustomersParams
WithTimeout adds the timeout to the query customers params
func (*QueryCustomersParams) WithXAvalaraClient ¶
func (o *QueryCustomersParams) WithXAvalaraClient(xAvalaraClient *string) *QueryCustomersParams
WithXAvalaraClient adds the xAvalaraClient to the query customers params
func (*QueryCustomersParams) WriteToRequest ¶
func (o *QueryCustomersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryCustomersReader ¶
type QueryCustomersReader struct {
// contains filtered or unexported fields
}
QueryCustomersReader is a Reader for the QueryCustomers structure.
func (*QueryCustomersReader) ReadResponse ¶
func (o *QueryCustomersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryCustomersUnauthorized ¶
type QueryCustomersUnauthorized struct { }
QueryCustomersUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewQueryCustomersUnauthorized ¶
func NewQueryCustomersUnauthorized() *QueryCustomersUnauthorized
NewQueryCustomersUnauthorized creates a QueryCustomersUnauthorized with default headers values
func (*QueryCustomersUnauthorized) Error ¶
func (o *QueryCustomersUnauthorized) Error() string
type UnlinkAttributesFromCustomerOK ¶
type UnlinkAttributesFromCustomerOK struct {
Payload *models.CustomerAttributeModelFetchResult
}
UnlinkAttributesFromCustomerOK describes a response with status code 200, with default header values.
Success
func NewUnlinkAttributesFromCustomerOK ¶
func NewUnlinkAttributesFromCustomerOK() *UnlinkAttributesFromCustomerOK
NewUnlinkAttributesFromCustomerOK creates a UnlinkAttributesFromCustomerOK with default headers values
func (*UnlinkAttributesFromCustomerOK) Error ¶
func (o *UnlinkAttributesFromCustomerOK) Error() string
func (*UnlinkAttributesFromCustomerOK) GetPayload ¶
func (o *UnlinkAttributesFromCustomerOK) GetPayload() *models.CustomerAttributeModelFetchResult
type UnlinkAttributesFromCustomerParams ¶
type UnlinkAttributesFromCustomerParams 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 the customer. */ Body []*models.CustomerAttributeModel /* CompanyID. The unique ID number of the company that recorded the customer Format: int32 */ CompanyID int32 /* CustomerCode. The unique code representing the current customer */ CustomerCode string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnlinkAttributesFromCustomerParams contains all the parameters to send to the API endpoint
for the unlink attributes from customer operation. Typically these are written to a http.Request.
func NewUnlinkAttributesFromCustomerParams ¶
func NewUnlinkAttributesFromCustomerParams() *UnlinkAttributesFromCustomerParams
NewUnlinkAttributesFromCustomerParams creates a new UnlinkAttributesFromCustomerParams 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 NewUnlinkAttributesFromCustomerParamsWithContext ¶
func NewUnlinkAttributesFromCustomerParamsWithContext(ctx context.Context) *UnlinkAttributesFromCustomerParams
NewUnlinkAttributesFromCustomerParamsWithContext creates a new UnlinkAttributesFromCustomerParams object with the ability to set a context for a request.
func NewUnlinkAttributesFromCustomerParamsWithHTTPClient ¶
func NewUnlinkAttributesFromCustomerParamsWithHTTPClient(client *http.Client) *UnlinkAttributesFromCustomerParams
NewUnlinkAttributesFromCustomerParamsWithHTTPClient creates a new UnlinkAttributesFromCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewUnlinkAttributesFromCustomerParamsWithTimeout ¶
func NewUnlinkAttributesFromCustomerParamsWithTimeout(timeout time.Duration) *UnlinkAttributesFromCustomerParams
NewUnlinkAttributesFromCustomerParamsWithTimeout creates a new UnlinkAttributesFromCustomerParams object with the ability to set a timeout on a request.
func (*UnlinkAttributesFromCustomerParams) SetBody ¶
func (o *UnlinkAttributesFromCustomerParams) SetBody(body []*models.CustomerAttributeModel)
SetBody adds the body to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) SetCompanyID ¶
func (o *UnlinkAttributesFromCustomerParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) SetContext ¶
func (o *UnlinkAttributesFromCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) SetCustomerCode ¶
func (o *UnlinkAttributesFromCustomerParams) SetCustomerCode(customerCode string)
SetCustomerCode adds the customerCode to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) SetDefaults ¶
func (o *UnlinkAttributesFromCustomerParams) SetDefaults()
SetDefaults hydrates default values in the unlink attributes from customer params (not the query body).
All values with no default are reset to their zero value.
func (*UnlinkAttributesFromCustomerParams) SetHTTPClient ¶
func (o *UnlinkAttributesFromCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) SetTimeout ¶
func (o *UnlinkAttributesFromCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) SetXAvalaraClient ¶
func (o *UnlinkAttributesFromCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) WithBody ¶
func (o *UnlinkAttributesFromCustomerParams) WithBody(body []*models.CustomerAttributeModel) *UnlinkAttributesFromCustomerParams
WithBody adds the body to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) WithCompanyID ¶
func (o *UnlinkAttributesFromCustomerParams) WithCompanyID(companyID int32) *UnlinkAttributesFromCustomerParams
WithCompanyID adds the companyID to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) WithContext ¶
func (o *UnlinkAttributesFromCustomerParams) WithContext(ctx context.Context) *UnlinkAttributesFromCustomerParams
WithContext adds the context to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) WithCustomerCode ¶
func (o *UnlinkAttributesFromCustomerParams) WithCustomerCode(customerCode string) *UnlinkAttributesFromCustomerParams
WithCustomerCode adds the customerCode to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) WithDefaults ¶
func (o *UnlinkAttributesFromCustomerParams) WithDefaults() *UnlinkAttributesFromCustomerParams
WithDefaults hydrates default values in the unlink attributes from customer params (not the query body).
All values with no default are reset to their zero value.
func (*UnlinkAttributesFromCustomerParams) WithHTTPClient ¶
func (o *UnlinkAttributesFromCustomerParams) WithHTTPClient(client *http.Client) *UnlinkAttributesFromCustomerParams
WithHTTPClient adds the HTTPClient to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) WithTimeout ¶
func (o *UnlinkAttributesFromCustomerParams) WithTimeout(timeout time.Duration) *UnlinkAttributesFromCustomerParams
WithTimeout adds the timeout to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) WithXAvalaraClient ¶
func (o *UnlinkAttributesFromCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *UnlinkAttributesFromCustomerParams
WithXAvalaraClient adds the xAvalaraClient to the unlink attributes from customer params
func (*UnlinkAttributesFromCustomerParams) WriteToRequest ¶
func (o *UnlinkAttributesFromCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnlinkAttributesFromCustomerReader ¶
type UnlinkAttributesFromCustomerReader struct {
// contains filtered or unexported fields
}
UnlinkAttributesFromCustomerReader is a Reader for the UnlinkAttributesFromCustomer structure.
func (*UnlinkAttributesFromCustomerReader) ReadResponse ¶
func (o *UnlinkAttributesFromCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnlinkCertificatesFromCustomerBadRequest ¶
type UnlinkCertificatesFromCustomerBadRequest struct { }
UnlinkCertificatesFromCustomerBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUnlinkCertificatesFromCustomerBadRequest ¶
func NewUnlinkCertificatesFromCustomerBadRequest() *UnlinkCertificatesFromCustomerBadRequest
NewUnlinkCertificatesFromCustomerBadRequest creates a UnlinkCertificatesFromCustomerBadRequest with default headers values
func (*UnlinkCertificatesFromCustomerBadRequest) Error ¶
func (o *UnlinkCertificatesFromCustomerBadRequest) Error() string
type UnlinkCertificatesFromCustomerNotFound ¶
type UnlinkCertificatesFromCustomerNotFound struct { }
UnlinkCertificatesFromCustomerNotFound describes a response with status code 404, with default header values.
Not Found
func NewUnlinkCertificatesFromCustomerNotFound ¶
func NewUnlinkCertificatesFromCustomerNotFound() *UnlinkCertificatesFromCustomerNotFound
NewUnlinkCertificatesFromCustomerNotFound creates a UnlinkCertificatesFromCustomerNotFound with default headers values
func (*UnlinkCertificatesFromCustomerNotFound) Error ¶
func (o *UnlinkCertificatesFromCustomerNotFound) Error() string
type UnlinkCertificatesFromCustomerOK ¶
type UnlinkCertificatesFromCustomerOK struct {
Payload *models.CertificateModelFetchResult
}
UnlinkCertificatesFromCustomerOK describes a response with status code 200, with default header values.
Success
func NewUnlinkCertificatesFromCustomerOK ¶
func NewUnlinkCertificatesFromCustomerOK() *UnlinkCertificatesFromCustomerOK
NewUnlinkCertificatesFromCustomerOK creates a UnlinkCertificatesFromCustomerOK with default headers values
func (*UnlinkCertificatesFromCustomerOK) Error ¶
func (o *UnlinkCertificatesFromCustomerOK) Error() string
func (*UnlinkCertificatesFromCustomerOK) GetPayload ¶
func (o *UnlinkCertificatesFromCustomerOK) GetPayload() *models.CertificateModelFetchResult
type UnlinkCertificatesFromCustomerParams ¶
type UnlinkCertificatesFromCustomerParams 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 certificates to link to this customer */ Body *models.LinkCertificatesModel /* CompanyID. The unique ID number of the company that recorded this customer Format: int32 */ CompanyID int32 /* CustomerCode. The unique code representing this customer */ CustomerCode string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UnlinkCertificatesFromCustomerParams contains all the parameters to send to the API endpoint
for the unlink certificates from customer operation. Typically these are written to a http.Request.
func NewUnlinkCertificatesFromCustomerParams ¶
func NewUnlinkCertificatesFromCustomerParams() *UnlinkCertificatesFromCustomerParams
NewUnlinkCertificatesFromCustomerParams creates a new UnlinkCertificatesFromCustomerParams 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 NewUnlinkCertificatesFromCustomerParamsWithContext ¶
func NewUnlinkCertificatesFromCustomerParamsWithContext(ctx context.Context) *UnlinkCertificatesFromCustomerParams
NewUnlinkCertificatesFromCustomerParamsWithContext creates a new UnlinkCertificatesFromCustomerParams object with the ability to set a context for a request.
func NewUnlinkCertificatesFromCustomerParamsWithHTTPClient ¶
func NewUnlinkCertificatesFromCustomerParamsWithHTTPClient(client *http.Client) *UnlinkCertificatesFromCustomerParams
NewUnlinkCertificatesFromCustomerParamsWithHTTPClient creates a new UnlinkCertificatesFromCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewUnlinkCertificatesFromCustomerParamsWithTimeout ¶
func NewUnlinkCertificatesFromCustomerParamsWithTimeout(timeout time.Duration) *UnlinkCertificatesFromCustomerParams
NewUnlinkCertificatesFromCustomerParamsWithTimeout creates a new UnlinkCertificatesFromCustomerParams object with the ability to set a timeout on a request.
func (*UnlinkCertificatesFromCustomerParams) SetBody ¶
func (o *UnlinkCertificatesFromCustomerParams) SetBody(body *models.LinkCertificatesModel)
SetBody adds the body to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) SetCompanyID ¶
func (o *UnlinkCertificatesFromCustomerParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) SetContext ¶
func (o *UnlinkCertificatesFromCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) SetCustomerCode ¶
func (o *UnlinkCertificatesFromCustomerParams) SetCustomerCode(customerCode string)
SetCustomerCode adds the customerCode to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) SetDefaults ¶
func (o *UnlinkCertificatesFromCustomerParams) SetDefaults()
SetDefaults hydrates default values in the unlink certificates from customer params (not the query body).
All values with no default are reset to their zero value.
func (*UnlinkCertificatesFromCustomerParams) SetHTTPClient ¶
func (o *UnlinkCertificatesFromCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) SetTimeout ¶
func (o *UnlinkCertificatesFromCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) SetXAvalaraClient ¶
func (o *UnlinkCertificatesFromCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) WithBody ¶
func (o *UnlinkCertificatesFromCustomerParams) WithBody(body *models.LinkCertificatesModel) *UnlinkCertificatesFromCustomerParams
WithBody adds the body to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) WithCompanyID ¶
func (o *UnlinkCertificatesFromCustomerParams) WithCompanyID(companyID int32) *UnlinkCertificatesFromCustomerParams
WithCompanyID adds the companyID to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) WithContext ¶
func (o *UnlinkCertificatesFromCustomerParams) WithContext(ctx context.Context) *UnlinkCertificatesFromCustomerParams
WithContext adds the context to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) WithCustomerCode ¶
func (o *UnlinkCertificatesFromCustomerParams) WithCustomerCode(customerCode string) *UnlinkCertificatesFromCustomerParams
WithCustomerCode adds the customerCode to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) WithDefaults ¶
func (o *UnlinkCertificatesFromCustomerParams) WithDefaults() *UnlinkCertificatesFromCustomerParams
WithDefaults hydrates default values in the unlink certificates from customer params (not the query body).
All values with no default are reset to their zero value.
func (*UnlinkCertificatesFromCustomerParams) WithHTTPClient ¶
func (o *UnlinkCertificatesFromCustomerParams) WithHTTPClient(client *http.Client) *UnlinkCertificatesFromCustomerParams
WithHTTPClient adds the HTTPClient to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) WithTimeout ¶
func (o *UnlinkCertificatesFromCustomerParams) WithTimeout(timeout time.Duration) *UnlinkCertificatesFromCustomerParams
WithTimeout adds the timeout to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) WithXAvalaraClient ¶
func (o *UnlinkCertificatesFromCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *UnlinkCertificatesFromCustomerParams
WithXAvalaraClient adds the xAvalaraClient to the unlink certificates from customer params
func (*UnlinkCertificatesFromCustomerParams) WriteToRequest ¶
func (o *UnlinkCertificatesFromCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnlinkCertificatesFromCustomerReader ¶
type UnlinkCertificatesFromCustomerReader struct {
// contains filtered or unexported fields
}
UnlinkCertificatesFromCustomerReader is a Reader for the UnlinkCertificatesFromCustomer structure.
func (*UnlinkCertificatesFromCustomerReader) ReadResponse ¶
func (o *UnlinkCertificatesFromCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnlinkCertificatesFromCustomerUnauthorized ¶
type UnlinkCertificatesFromCustomerUnauthorized struct { }
UnlinkCertificatesFromCustomerUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUnlinkCertificatesFromCustomerUnauthorized ¶
func NewUnlinkCertificatesFromCustomerUnauthorized() *UnlinkCertificatesFromCustomerUnauthorized
NewUnlinkCertificatesFromCustomerUnauthorized creates a UnlinkCertificatesFromCustomerUnauthorized with default headers values
func (*UnlinkCertificatesFromCustomerUnauthorized) Error ¶
func (o *UnlinkCertificatesFromCustomerUnauthorized) Error() string
type UpdateCustomerBadRequest ¶
type UpdateCustomerBadRequest struct { }
UpdateCustomerBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUpdateCustomerBadRequest ¶
func NewUpdateCustomerBadRequest() *UpdateCustomerBadRequest
NewUpdateCustomerBadRequest creates a UpdateCustomerBadRequest with default headers values
func (*UpdateCustomerBadRequest) Error ¶
func (o *UpdateCustomerBadRequest) Error() string
type UpdateCustomerNotFound ¶
type UpdateCustomerNotFound struct { }
UpdateCustomerNotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdateCustomerNotFound ¶
func NewUpdateCustomerNotFound() *UpdateCustomerNotFound
NewUpdateCustomerNotFound creates a UpdateCustomerNotFound with default headers values
func (*UpdateCustomerNotFound) Error ¶
func (o *UpdateCustomerNotFound) Error() string
type UpdateCustomerOK ¶
type UpdateCustomerOK struct {
Payload *models.CustomerModel
}
UpdateCustomerOK describes a response with status code 200, with default header values.
Success
func NewUpdateCustomerOK ¶
func NewUpdateCustomerOK() *UpdateCustomerOK
NewUpdateCustomerOK creates a UpdateCustomerOK with default headers values
func (*UpdateCustomerOK) Error ¶
func (o *UpdateCustomerOK) Error() string
func (*UpdateCustomerOK) GetPayload ¶
func (o *UpdateCustomerOK) GetPayload() *models.CustomerModel
type UpdateCustomerParams ¶
type UpdateCustomerParams 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 customer model that will replace the existing record at this URL */ Body *models.CustomerModel /* CompanyID. The unique ID number of the company that recorded this customer Format: int32 */ CompanyID int32 /* CustomerCode. The unique code representing this customer */ CustomerCode string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateCustomerParams contains all the parameters to send to the API endpoint
for the update customer operation. Typically these are written to a http.Request.
func NewUpdateCustomerParams ¶
func NewUpdateCustomerParams() *UpdateCustomerParams
NewUpdateCustomerParams creates a new UpdateCustomerParams 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 NewUpdateCustomerParamsWithContext ¶
func NewUpdateCustomerParamsWithContext(ctx context.Context) *UpdateCustomerParams
NewUpdateCustomerParamsWithContext creates a new UpdateCustomerParams object with the ability to set a context for a request.
func NewUpdateCustomerParamsWithHTTPClient ¶
func NewUpdateCustomerParamsWithHTTPClient(client *http.Client) *UpdateCustomerParams
NewUpdateCustomerParamsWithHTTPClient creates a new UpdateCustomerParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateCustomerParamsWithTimeout ¶
func NewUpdateCustomerParamsWithTimeout(timeout time.Duration) *UpdateCustomerParams
NewUpdateCustomerParamsWithTimeout creates a new UpdateCustomerParams object with the ability to set a timeout on a request.
func (*UpdateCustomerParams) SetBody ¶
func (o *UpdateCustomerParams) SetBody(body *models.CustomerModel)
SetBody adds the body to the update customer params
func (*UpdateCustomerParams) SetCompanyID ¶
func (o *UpdateCustomerParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the update customer params
func (*UpdateCustomerParams) SetContext ¶
func (o *UpdateCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the update customer params
func (*UpdateCustomerParams) SetCustomerCode ¶
func (o *UpdateCustomerParams) SetCustomerCode(customerCode string)
SetCustomerCode adds the customerCode to the update customer params
func (*UpdateCustomerParams) SetDefaults ¶
func (o *UpdateCustomerParams) SetDefaults()
SetDefaults hydrates default values in the update customer params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCustomerParams) SetHTTPClient ¶
func (o *UpdateCustomerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update customer params
func (*UpdateCustomerParams) SetTimeout ¶
func (o *UpdateCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update customer params
func (*UpdateCustomerParams) SetXAvalaraClient ¶
func (o *UpdateCustomerParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the update customer params
func (*UpdateCustomerParams) WithBody ¶
func (o *UpdateCustomerParams) WithBody(body *models.CustomerModel) *UpdateCustomerParams
WithBody adds the body to the update customer params
func (*UpdateCustomerParams) WithCompanyID ¶
func (o *UpdateCustomerParams) WithCompanyID(companyID int32) *UpdateCustomerParams
WithCompanyID adds the companyID to the update customer params
func (*UpdateCustomerParams) WithContext ¶
func (o *UpdateCustomerParams) WithContext(ctx context.Context) *UpdateCustomerParams
WithContext adds the context to the update customer params
func (*UpdateCustomerParams) WithCustomerCode ¶
func (o *UpdateCustomerParams) WithCustomerCode(customerCode string) *UpdateCustomerParams
WithCustomerCode adds the customerCode to the update customer params
func (*UpdateCustomerParams) WithDefaults ¶
func (o *UpdateCustomerParams) WithDefaults() *UpdateCustomerParams
WithDefaults hydrates default values in the update customer params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateCustomerParams) WithHTTPClient ¶
func (o *UpdateCustomerParams) WithHTTPClient(client *http.Client) *UpdateCustomerParams
WithHTTPClient adds the HTTPClient to the update customer params
func (*UpdateCustomerParams) WithTimeout ¶
func (o *UpdateCustomerParams) WithTimeout(timeout time.Duration) *UpdateCustomerParams
WithTimeout adds the timeout to the update customer params
func (*UpdateCustomerParams) WithXAvalaraClient ¶
func (o *UpdateCustomerParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateCustomerParams
WithXAvalaraClient adds the xAvalaraClient to the update customer params
func (*UpdateCustomerParams) WriteToRequest ¶
func (o *UpdateCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateCustomerReader ¶
type UpdateCustomerReader struct {
// contains filtered or unexported fields
}
UpdateCustomerReader is a Reader for the UpdateCustomer structure.
func (*UpdateCustomerReader) ReadResponse ¶
func (o *UpdateCustomerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateCustomerUnauthorized ¶
type UpdateCustomerUnauthorized struct { }
UpdateCustomerUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateCustomerUnauthorized ¶
func NewUpdateCustomerUnauthorized() *UpdateCustomerUnauthorized
NewUpdateCustomerUnauthorized creates a UpdateCustomerUnauthorized with default headers values
func (*UpdateCustomerUnauthorized) Error ¶
func (o *UpdateCustomerUnauthorized) Error() string
Source Files
¶
- create_customers_parameters.go
- create_customers_responses.go
- customers_client.go
- delete_customer_parameters.go
- delete_customer_responses.go
- get_customer_parameters.go
- get_customer_responses.go
- link_attributes_to_customer_parameters.go
- link_attributes_to_customer_responses.go
- link_certificates_to_customer_parameters.go
- link_certificates_to_customer_responses.go
- link_ship_to_customers_to_bill_customer_parameters.go
- link_ship_to_customers_to_bill_customer_responses.go
- list_attributes_for_customer_parameters.go
- list_attributes_for_customer_responses.go
- list_certificates_for_customer_parameters.go
- list_certificates_for_customer_responses.go
- list_valid_certificates_for_customer_parameters.go
- list_valid_certificates_for_customer_responses.go
- query_customers_parameters.go
- query_customers_responses.go
- unlink_attributes_from_customer_parameters.go
- unlink_attributes_from_customer_responses.go
- unlink_certificates_from_customer_parameters.go
- unlink_certificates_from_customer_responses.go
- update_customer_parameters.go
- update_customer_responses.go