Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateNexus(params *CreateNexusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateNexusOK, error)
- func (a *Client) CreateNexusParameters(params *CreateNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateNexusParametersCreated, error)
- func (a *Client) DeclareNexusByAddress(params *DeclareNexusByAddressParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeclareNexusByAddressOK, error)
- func (a *Client) DeleteNexus(params *DeleteNexusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteNexusOK, error)
- func (a *Client) DeleteNexusParameter(params *DeleteNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteNexusParameterOK, error)
- func (a *Client) DeleteNexusParameters(params *DeleteNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteNexusParametersOK, error)
- func (a *Client) GetNexus(params *GetNexusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNexusOK, error)
- func (a *Client) GetNexusByFormCode(params *GetNexusByFormCodeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNexusByFormCodeOK, error)
- func (a *Client) GetNexusParameter(params *GetNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNexusParameterOK, error)
- func (a *Client) ListNexusByCompany(params *ListNexusByCompanyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListNexusByCompanyOK, error)
- func (a *Client) ListNexusByCompanyAndTaxTypeGroup(params *ListNexusByCompanyAndTaxTypeGroupParams, ...) (*ListNexusByCompanyAndTaxTypeGroupOK, error)
- func (a *Client) ListNexusParameters(params *ListNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListNexusParametersOK, error)
- func (a *Client) QueryNexus(params *QueryNexusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryNexusOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNexus(params *UpdateNexusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateNexusOK, error)
- func (a *Client) UpdateNexusParameter(params *UpdateNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateNexusParameterOK, error)
- type ClientOption
- type ClientService
- type CreateNexusBadRequest
- type CreateNexusNotFound
- type CreateNexusOK
- type CreateNexusParametersBadRequest
- type CreateNexusParametersCreated
- type CreateNexusParametersNotFound
- type CreateNexusParametersParams
- func NewCreateNexusParametersParams() *CreateNexusParametersParams
- func NewCreateNexusParametersParamsWithContext(ctx context.Context) *CreateNexusParametersParams
- func NewCreateNexusParametersParamsWithHTTPClient(client *http.Client) *CreateNexusParametersParams
- func NewCreateNexusParametersParamsWithTimeout(timeout time.Duration) *CreateNexusParametersParams
- func (o *CreateNexusParametersParams) SetBody(body []*models.NexusParameterDetailModel)
- func (o *CreateNexusParametersParams) SetCompanyID(companyID int32)
- func (o *CreateNexusParametersParams) SetContext(ctx context.Context)
- func (o *CreateNexusParametersParams) SetDefaults()
- func (o *CreateNexusParametersParams) SetHTTPClient(client *http.Client)
- func (o *CreateNexusParametersParams) SetNexusID(nexusID int32)
- func (o *CreateNexusParametersParams) SetTimeout(timeout time.Duration)
- func (o *CreateNexusParametersParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateNexusParametersParams) WithBody(body []*models.NexusParameterDetailModel) *CreateNexusParametersParams
- func (o *CreateNexusParametersParams) WithCompanyID(companyID int32) *CreateNexusParametersParams
- func (o *CreateNexusParametersParams) WithContext(ctx context.Context) *CreateNexusParametersParams
- func (o *CreateNexusParametersParams) WithDefaults() *CreateNexusParametersParams
- func (o *CreateNexusParametersParams) WithHTTPClient(client *http.Client) *CreateNexusParametersParams
- func (o *CreateNexusParametersParams) WithNexusID(nexusID int32) *CreateNexusParametersParams
- func (o *CreateNexusParametersParams) WithTimeout(timeout time.Duration) *CreateNexusParametersParams
- func (o *CreateNexusParametersParams) WithXAvalaraClient(xAvalaraClient *string) *CreateNexusParametersParams
- func (o *CreateNexusParametersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNexusParametersReader
- type CreateNexusParametersUnauthorized
- type CreateNexusParams
- func (o *CreateNexusParams) SetBody(body []*models.NexusModel)
- func (o *CreateNexusParams) SetCompanyID(companyID int32)
- func (o *CreateNexusParams) SetContext(ctx context.Context)
- func (o *CreateNexusParams) SetDefaults()
- func (o *CreateNexusParams) SetHTTPClient(client *http.Client)
- func (o *CreateNexusParams) SetTimeout(timeout time.Duration)
- func (o *CreateNexusParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *CreateNexusParams) WithBody(body []*models.NexusModel) *CreateNexusParams
- func (o *CreateNexusParams) WithCompanyID(companyID int32) *CreateNexusParams
- func (o *CreateNexusParams) WithContext(ctx context.Context) *CreateNexusParams
- func (o *CreateNexusParams) WithDefaults() *CreateNexusParams
- func (o *CreateNexusParams) WithHTTPClient(client *http.Client) *CreateNexusParams
- func (o *CreateNexusParams) WithTimeout(timeout time.Duration) *CreateNexusParams
- func (o *CreateNexusParams) WithXAvalaraClient(xAvalaraClient *string) *CreateNexusParams
- func (o *CreateNexusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNexusReader
- type CreateNexusUnauthorized
- type DeclareNexusByAddressBadRequest
- type DeclareNexusByAddressNotFound
- type DeclareNexusByAddressOK
- type DeclareNexusByAddressParams
- func NewDeclareNexusByAddressParams() *DeclareNexusByAddressParams
- func NewDeclareNexusByAddressParamsWithContext(ctx context.Context) *DeclareNexusByAddressParams
- func NewDeclareNexusByAddressParamsWithHTTPClient(client *http.Client) *DeclareNexusByAddressParams
- func NewDeclareNexusByAddressParamsWithTimeout(timeout time.Duration) *DeclareNexusByAddressParams
- func (o *DeclareNexusByAddressParams) SetBody(body []*models.DeclareNexusByAddressModel)
- func (o *DeclareNexusByAddressParams) SetCompanyID(companyID int32)
- func (o *DeclareNexusByAddressParams) SetContext(ctx context.Context)
- func (o *DeclareNexusByAddressParams) SetDefaults()
- func (o *DeclareNexusByAddressParams) SetHTTPClient(client *http.Client)
- func (o *DeclareNexusByAddressParams) SetTimeout(timeout time.Duration)
- func (o *DeclareNexusByAddressParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeclareNexusByAddressParams) WithBody(body []*models.DeclareNexusByAddressModel) *DeclareNexusByAddressParams
- func (o *DeclareNexusByAddressParams) WithCompanyID(companyID int32) *DeclareNexusByAddressParams
- func (o *DeclareNexusByAddressParams) WithContext(ctx context.Context) *DeclareNexusByAddressParams
- func (o *DeclareNexusByAddressParams) WithDefaults() *DeclareNexusByAddressParams
- func (o *DeclareNexusByAddressParams) WithHTTPClient(client *http.Client) *DeclareNexusByAddressParams
- func (o *DeclareNexusByAddressParams) WithTimeout(timeout time.Duration) *DeclareNexusByAddressParams
- func (o *DeclareNexusByAddressParams) WithXAvalaraClient(xAvalaraClient *string) *DeclareNexusByAddressParams
- func (o *DeclareNexusByAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeclareNexusByAddressReader
- type DeclareNexusByAddressUnauthorized
- type DeleteNexusBadRequest
- type DeleteNexusNotFound
- type DeleteNexusOK
- type DeleteNexusParameterBadRequest
- type DeleteNexusParameterNotFound
- type DeleteNexusParameterOK
- type DeleteNexusParameterParams
- func NewDeleteNexusParameterParams() *DeleteNexusParameterParams
- func NewDeleteNexusParameterParamsWithContext(ctx context.Context) *DeleteNexusParameterParams
- func NewDeleteNexusParameterParamsWithHTTPClient(client *http.Client) *DeleteNexusParameterParams
- func NewDeleteNexusParameterParamsWithTimeout(timeout time.Duration) *DeleteNexusParameterParams
- func (o *DeleteNexusParameterParams) SetCompanyID(companyID int32)
- func (o *DeleteNexusParameterParams) SetContext(ctx context.Context)
- func (o *DeleteNexusParameterParams) SetDefaults()
- func (o *DeleteNexusParameterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNexusParameterParams) SetID(id int64)
- func (o *DeleteNexusParameterParams) SetNexusID(nexusID int32)
- func (o *DeleteNexusParameterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNexusParameterParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteNexusParameterParams) WithCompanyID(companyID int32) *DeleteNexusParameterParams
- func (o *DeleteNexusParameterParams) WithContext(ctx context.Context) *DeleteNexusParameterParams
- func (o *DeleteNexusParameterParams) WithDefaults() *DeleteNexusParameterParams
- func (o *DeleteNexusParameterParams) WithHTTPClient(client *http.Client) *DeleteNexusParameterParams
- func (o *DeleteNexusParameterParams) WithID(id int64) *DeleteNexusParameterParams
- func (o *DeleteNexusParameterParams) WithNexusID(nexusID int32) *DeleteNexusParameterParams
- func (o *DeleteNexusParameterParams) WithTimeout(timeout time.Duration) *DeleteNexusParameterParams
- func (o *DeleteNexusParameterParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteNexusParameterParams
- func (o *DeleteNexusParameterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNexusParameterReader
- type DeleteNexusParameterUnauthorized
- type DeleteNexusParametersOK
- type DeleteNexusParametersParams
- func NewDeleteNexusParametersParams() *DeleteNexusParametersParams
- func NewDeleteNexusParametersParamsWithContext(ctx context.Context) *DeleteNexusParametersParams
- func NewDeleteNexusParametersParamsWithHTTPClient(client *http.Client) *DeleteNexusParametersParams
- func NewDeleteNexusParametersParamsWithTimeout(timeout time.Duration) *DeleteNexusParametersParams
- func (o *DeleteNexusParametersParams) SetCompanyID(companyID int32)
- func (o *DeleteNexusParametersParams) SetContext(ctx context.Context)
- func (o *DeleteNexusParametersParams) SetDefaults()
- func (o *DeleteNexusParametersParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNexusParametersParams) SetNexusID(nexusID int32)
- func (o *DeleteNexusParametersParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNexusParametersParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteNexusParametersParams) WithCompanyID(companyID int32) *DeleteNexusParametersParams
- func (o *DeleteNexusParametersParams) WithContext(ctx context.Context) *DeleteNexusParametersParams
- func (o *DeleteNexusParametersParams) WithDefaults() *DeleteNexusParametersParams
- func (o *DeleteNexusParametersParams) WithHTTPClient(client *http.Client) *DeleteNexusParametersParams
- func (o *DeleteNexusParametersParams) WithNexusID(nexusID int32) *DeleteNexusParametersParams
- func (o *DeleteNexusParametersParams) WithTimeout(timeout time.Duration) *DeleteNexusParametersParams
- func (o *DeleteNexusParametersParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteNexusParametersParams
- func (o *DeleteNexusParametersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNexusParametersReader
- type DeleteNexusParams
- func (o *DeleteNexusParams) SetCascadeDelete(cascadeDelete *bool)
- func (o *DeleteNexusParams) SetCompanyID(companyID int32)
- func (o *DeleteNexusParams) SetContext(ctx context.Context)
- func (o *DeleteNexusParams) SetDefaults()
- func (o *DeleteNexusParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNexusParams) SetID(id int32)
- func (o *DeleteNexusParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNexusParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *DeleteNexusParams) WithCascadeDelete(cascadeDelete *bool) *DeleteNexusParams
- func (o *DeleteNexusParams) WithCompanyID(companyID int32) *DeleteNexusParams
- func (o *DeleteNexusParams) WithContext(ctx context.Context) *DeleteNexusParams
- func (o *DeleteNexusParams) WithDefaults() *DeleteNexusParams
- func (o *DeleteNexusParams) WithHTTPClient(client *http.Client) *DeleteNexusParams
- func (o *DeleteNexusParams) WithID(id int32) *DeleteNexusParams
- func (o *DeleteNexusParams) WithTimeout(timeout time.Duration) *DeleteNexusParams
- func (o *DeleteNexusParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteNexusParams
- func (o *DeleteNexusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNexusReader
- type DeleteNexusUnauthorized
- type GetNexusBadRequest
- type GetNexusByFormCodeBadRequest
- type GetNexusByFormCodeNotFound
- type GetNexusByFormCodeOK
- type GetNexusByFormCodeParams
- func NewGetNexusByFormCodeParams() *GetNexusByFormCodeParams
- func NewGetNexusByFormCodeParamsWithContext(ctx context.Context) *GetNexusByFormCodeParams
- func NewGetNexusByFormCodeParamsWithHTTPClient(client *http.Client) *GetNexusByFormCodeParams
- func NewGetNexusByFormCodeParamsWithTimeout(timeout time.Duration) *GetNexusByFormCodeParams
- func (o *GetNexusByFormCodeParams) SetCompanyID(companyID int32)
- func (o *GetNexusByFormCodeParams) SetContext(ctx context.Context)
- func (o *GetNexusByFormCodeParams) SetDefaults()
- func (o *GetNexusByFormCodeParams) SetDollarInclude(dollarInclude *string)
- func (o *GetNexusByFormCodeParams) SetFormCode(formCode string)
- func (o *GetNexusByFormCodeParams) SetHTTPClient(client *http.Client)
- func (o *GetNexusByFormCodeParams) SetTimeout(timeout time.Duration)
- func (o *GetNexusByFormCodeParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetNexusByFormCodeParams) WithCompanyID(companyID int32) *GetNexusByFormCodeParams
- func (o *GetNexusByFormCodeParams) WithContext(ctx context.Context) *GetNexusByFormCodeParams
- func (o *GetNexusByFormCodeParams) WithDefaults() *GetNexusByFormCodeParams
- func (o *GetNexusByFormCodeParams) WithDollarInclude(dollarInclude *string) *GetNexusByFormCodeParams
- func (o *GetNexusByFormCodeParams) WithFormCode(formCode string) *GetNexusByFormCodeParams
- func (o *GetNexusByFormCodeParams) WithHTTPClient(client *http.Client) *GetNexusByFormCodeParams
- func (o *GetNexusByFormCodeParams) WithTimeout(timeout time.Duration) *GetNexusByFormCodeParams
- func (o *GetNexusByFormCodeParams) WithXAvalaraClient(xAvalaraClient *string) *GetNexusByFormCodeParams
- func (o *GetNexusByFormCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNexusByFormCodeReader
- type GetNexusByFormCodeUnauthorized
- type GetNexusNotFound
- type GetNexusOK
- type GetNexusParameterBadRequest
- type GetNexusParameterNotFound
- type GetNexusParameterOK
- type GetNexusParameterParams
- func NewGetNexusParameterParams() *GetNexusParameterParams
- func NewGetNexusParameterParamsWithContext(ctx context.Context) *GetNexusParameterParams
- func NewGetNexusParameterParamsWithHTTPClient(client *http.Client) *GetNexusParameterParams
- func NewGetNexusParameterParamsWithTimeout(timeout time.Duration) *GetNexusParameterParams
- func (o *GetNexusParameterParams) SetCompanyID(companyID int32)
- func (o *GetNexusParameterParams) SetContext(ctx context.Context)
- func (o *GetNexusParameterParams) SetDefaults()
- func (o *GetNexusParameterParams) SetHTTPClient(client *http.Client)
- func (o *GetNexusParameterParams) SetID(id int64)
- func (o *GetNexusParameterParams) SetNexusID(nexusID int32)
- func (o *GetNexusParameterParams) SetTimeout(timeout time.Duration)
- func (o *GetNexusParameterParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetNexusParameterParams) WithCompanyID(companyID int32) *GetNexusParameterParams
- func (o *GetNexusParameterParams) WithContext(ctx context.Context) *GetNexusParameterParams
- func (o *GetNexusParameterParams) WithDefaults() *GetNexusParameterParams
- func (o *GetNexusParameterParams) WithHTTPClient(client *http.Client) *GetNexusParameterParams
- func (o *GetNexusParameterParams) WithID(id int64) *GetNexusParameterParams
- func (o *GetNexusParameterParams) WithNexusID(nexusID int32) *GetNexusParameterParams
- func (o *GetNexusParameterParams) WithTimeout(timeout time.Duration) *GetNexusParameterParams
- func (o *GetNexusParameterParams) WithXAvalaraClient(xAvalaraClient *string) *GetNexusParameterParams
- func (o *GetNexusParameterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNexusParameterReader
- type GetNexusParameterUnauthorized
- type GetNexusParams
- func (o *GetNexusParams) SetCompanyID(companyID int32)
- func (o *GetNexusParams) SetContext(ctx context.Context)
- func (o *GetNexusParams) SetDefaults()
- func (o *GetNexusParams) SetDollarInclude(dollarInclude *string)
- func (o *GetNexusParams) SetHTTPClient(client *http.Client)
- func (o *GetNexusParams) SetID(id int32)
- func (o *GetNexusParams) SetTimeout(timeout time.Duration)
- func (o *GetNexusParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *GetNexusParams) WithCompanyID(companyID int32) *GetNexusParams
- func (o *GetNexusParams) WithContext(ctx context.Context) *GetNexusParams
- func (o *GetNexusParams) WithDefaults() *GetNexusParams
- func (o *GetNexusParams) WithDollarInclude(dollarInclude *string) *GetNexusParams
- func (o *GetNexusParams) WithHTTPClient(client *http.Client) *GetNexusParams
- func (o *GetNexusParams) WithID(id int32) *GetNexusParams
- func (o *GetNexusParams) WithTimeout(timeout time.Duration) *GetNexusParams
- func (o *GetNexusParams) WithXAvalaraClient(xAvalaraClient *string) *GetNexusParams
- func (o *GetNexusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNexusReader
- type GetNexusUnauthorized
- type ListNexusByCompanyAndTaxTypeGroupBadRequest
- type ListNexusByCompanyAndTaxTypeGroupNotFound
- type ListNexusByCompanyAndTaxTypeGroupOK
- type ListNexusByCompanyAndTaxTypeGroupParams
- func NewListNexusByCompanyAndTaxTypeGroupParams() *ListNexusByCompanyAndTaxTypeGroupParams
- func NewListNexusByCompanyAndTaxTypeGroupParamsWithContext(ctx context.Context) *ListNexusByCompanyAndTaxTypeGroupParams
- func NewListNexusByCompanyAndTaxTypeGroupParamsWithHTTPClient(client *http.Client) *ListNexusByCompanyAndTaxTypeGroupParams
- func NewListNexusByCompanyAndTaxTypeGroupParamsWithTimeout(timeout time.Duration) *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetCompanyID(companyID int32)
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetContext(ctx context.Context)
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDefaults()
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDollarFilter(dollarFilter *string)
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDollarInclude(dollarInclude *string)
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDollarSkip(dollarSkip *int32)
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDollarTop(dollarTop *int32)
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetHTTPClient(client *http.Client)
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetTaxTypeGroup(taxTypeGroup string)
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetTimeout(timeout time.Duration)
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithCompanyID(companyID int32) *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithContext(ctx context.Context) *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithDefaults() *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithDollarFilter(dollarFilter *string) *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithDollarInclude(dollarInclude *string) *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithDollarOrderBy(dollarOrderBy *string) *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithDollarSkip(dollarSkip *int32) *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithDollarTop(dollarTop *int32) *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithHTTPClient(client *http.Client) *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithTaxTypeGroup(taxTypeGroup string) *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithTimeout(timeout time.Duration) *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithXAvalaraClient(xAvalaraClient *string) *ListNexusByCompanyAndTaxTypeGroupParams
- func (o *ListNexusByCompanyAndTaxTypeGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNexusByCompanyAndTaxTypeGroupReader
- type ListNexusByCompanyAndTaxTypeGroupUnauthorized
- type ListNexusByCompanyBadRequest
- type ListNexusByCompanyNotFound
- type ListNexusByCompanyOK
- type ListNexusByCompanyParams
- func NewListNexusByCompanyParams() *ListNexusByCompanyParams
- func NewListNexusByCompanyParamsWithContext(ctx context.Context) *ListNexusByCompanyParams
- func NewListNexusByCompanyParamsWithHTTPClient(client *http.Client) *ListNexusByCompanyParams
- func NewListNexusByCompanyParamsWithTimeout(timeout time.Duration) *ListNexusByCompanyParams
- func (o *ListNexusByCompanyParams) SetCompanyID(companyID int32)
- func (o *ListNexusByCompanyParams) SetContext(ctx context.Context)
- func (o *ListNexusByCompanyParams) SetDefaults()
- func (o *ListNexusByCompanyParams) SetDollarFilter(dollarFilter *string)
- func (o *ListNexusByCompanyParams) SetDollarInclude(dollarInclude *string)
- func (o *ListNexusByCompanyParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *ListNexusByCompanyParams) SetDollarSkip(dollarSkip *int32)
- func (o *ListNexusByCompanyParams) SetDollarTop(dollarTop *int32)
- func (o *ListNexusByCompanyParams) SetHTTPClient(client *http.Client)
- func (o *ListNexusByCompanyParams) SetTimeout(timeout time.Duration)
- func (o *ListNexusByCompanyParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ListNexusByCompanyParams) WithCompanyID(companyID int32) *ListNexusByCompanyParams
- func (o *ListNexusByCompanyParams) WithContext(ctx context.Context) *ListNexusByCompanyParams
- func (o *ListNexusByCompanyParams) WithDefaults() *ListNexusByCompanyParams
- func (o *ListNexusByCompanyParams) WithDollarFilter(dollarFilter *string) *ListNexusByCompanyParams
- func (o *ListNexusByCompanyParams) WithDollarInclude(dollarInclude *string) *ListNexusByCompanyParams
- func (o *ListNexusByCompanyParams) WithDollarOrderBy(dollarOrderBy *string) *ListNexusByCompanyParams
- func (o *ListNexusByCompanyParams) WithDollarSkip(dollarSkip *int32) *ListNexusByCompanyParams
- func (o *ListNexusByCompanyParams) WithDollarTop(dollarTop *int32) *ListNexusByCompanyParams
- func (o *ListNexusByCompanyParams) WithHTTPClient(client *http.Client) *ListNexusByCompanyParams
- func (o *ListNexusByCompanyParams) WithTimeout(timeout time.Duration) *ListNexusByCompanyParams
- func (o *ListNexusByCompanyParams) WithXAvalaraClient(xAvalaraClient *string) *ListNexusByCompanyParams
- func (o *ListNexusByCompanyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNexusByCompanyReader
- type ListNexusByCompanyUnauthorized
- type ListNexusParametersBadRequest
- type ListNexusParametersNotFound
- type ListNexusParametersOK
- type ListNexusParametersParams
- func NewListNexusParametersParams() *ListNexusParametersParams
- func NewListNexusParametersParamsWithContext(ctx context.Context) *ListNexusParametersParams
- func NewListNexusParametersParamsWithHTTPClient(client *http.Client) *ListNexusParametersParams
- func NewListNexusParametersParamsWithTimeout(timeout time.Duration) *ListNexusParametersParams
- func (o *ListNexusParametersParams) SetCompanyID(companyID int32)
- func (o *ListNexusParametersParams) SetContext(ctx context.Context)
- func (o *ListNexusParametersParams) SetDefaults()
- func (o *ListNexusParametersParams) SetDollarFilter(dollarFilter *string)
- func (o *ListNexusParametersParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *ListNexusParametersParams) SetDollarSkip(dollarSkip *int32)
- func (o *ListNexusParametersParams) SetDollarTop(dollarTop *int32)
- func (o *ListNexusParametersParams) SetHTTPClient(client *http.Client)
- func (o *ListNexusParametersParams) SetNexusID(nexusID int32)
- func (o *ListNexusParametersParams) SetTimeout(timeout time.Duration)
- func (o *ListNexusParametersParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *ListNexusParametersParams) WithCompanyID(companyID int32) *ListNexusParametersParams
- func (o *ListNexusParametersParams) WithContext(ctx context.Context) *ListNexusParametersParams
- func (o *ListNexusParametersParams) WithDefaults() *ListNexusParametersParams
- func (o *ListNexusParametersParams) WithDollarFilter(dollarFilter *string) *ListNexusParametersParams
- func (o *ListNexusParametersParams) WithDollarOrderBy(dollarOrderBy *string) *ListNexusParametersParams
- func (o *ListNexusParametersParams) WithDollarSkip(dollarSkip *int32) *ListNexusParametersParams
- func (o *ListNexusParametersParams) WithDollarTop(dollarTop *int32) *ListNexusParametersParams
- func (o *ListNexusParametersParams) WithHTTPClient(client *http.Client) *ListNexusParametersParams
- func (o *ListNexusParametersParams) WithNexusID(nexusID int32) *ListNexusParametersParams
- func (o *ListNexusParametersParams) WithTimeout(timeout time.Duration) *ListNexusParametersParams
- func (o *ListNexusParametersParams) WithXAvalaraClient(xAvalaraClient *string) *ListNexusParametersParams
- func (o *ListNexusParametersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNexusParametersReader
- type ListNexusParametersUnauthorized
- type QueryNexusBadRequest
- type QueryNexusOK
- type QueryNexusParams
- func (o *QueryNexusParams) SetContext(ctx context.Context)
- func (o *QueryNexusParams) SetDefaults()
- func (o *QueryNexusParams) SetDollarFilter(dollarFilter *string)
- func (o *QueryNexusParams) SetDollarInclude(dollarInclude *string)
- func (o *QueryNexusParams) SetDollarOrderBy(dollarOrderBy *string)
- func (o *QueryNexusParams) SetDollarSkip(dollarSkip *int32)
- func (o *QueryNexusParams) SetDollarTop(dollarTop *int32)
- func (o *QueryNexusParams) SetHTTPClient(client *http.Client)
- func (o *QueryNexusParams) SetTimeout(timeout time.Duration)
- func (o *QueryNexusParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *QueryNexusParams) WithContext(ctx context.Context) *QueryNexusParams
- func (o *QueryNexusParams) WithDefaults() *QueryNexusParams
- func (o *QueryNexusParams) WithDollarFilter(dollarFilter *string) *QueryNexusParams
- func (o *QueryNexusParams) WithDollarInclude(dollarInclude *string) *QueryNexusParams
- func (o *QueryNexusParams) WithDollarOrderBy(dollarOrderBy *string) *QueryNexusParams
- func (o *QueryNexusParams) WithDollarSkip(dollarSkip *int32) *QueryNexusParams
- func (o *QueryNexusParams) WithDollarTop(dollarTop *int32) *QueryNexusParams
- func (o *QueryNexusParams) WithHTTPClient(client *http.Client) *QueryNexusParams
- func (o *QueryNexusParams) WithTimeout(timeout time.Duration) *QueryNexusParams
- func (o *QueryNexusParams) WithXAvalaraClient(xAvalaraClient *string) *QueryNexusParams
- func (o *QueryNexusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryNexusReader
- type QueryNexusUnauthorized
- type UpdateNexusBadRequest
- type UpdateNexusNotFound
- type UpdateNexusOK
- type UpdateNexusParameterBadRequest
- type UpdateNexusParameterNotFound
- type UpdateNexusParameterOK
- type UpdateNexusParameterParams
- func NewUpdateNexusParameterParams() *UpdateNexusParameterParams
- func NewUpdateNexusParameterParamsWithContext(ctx context.Context) *UpdateNexusParameterParams
- func NewUpdateNexusParameterParamsWithHTTPClient(client *http.Client) *UpdateNexusParameterParams
- func NewUpdateNexusParameterParamsWithTimeout(timeout time.Duration) *UpdateNexusParameterParams
- func (o *UpdateNexusParameterParams) SetBody(body *models.NexusParameterDetailModel)
- func (o *UpdateNexusParameterParams) SetCompanyID(companyID int32)
- func (o *UpdateNexusParameterParams) SetContext(ctx context.Context)
- func (o *UpdateNexusParameterParams) SetDefaults()
- func (o *UpdateNexusParameterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNexusParameterParams) SetID(id int64)
- func (o *UpdateNexusParameterParams) SetNexusID(nexusID int32)
- func (o *UpdateNexusParameterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNexusParameterParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UpdateNexusParameterParams) WithBody(body *models.NexusParameterDetailModel) *UpdateNexusParameterParams
- func (o *UpdateNexusParameterParams) WithCompanyID(companyID int32) *UpdateNexusParameterParams
- func (o *UpdateNexusParameterParams) WithContext(ctx context.Context) *UpdateNexusParameterParams
- func (o *UpdateNexusParameterParams) WithDefaults() *UpdateNexusParameterParams
- func (o *UpdateNexusParameterParams) WithHTTPClient(client *http.Client) *UpdateNexusParameterParams
- func (o *UpdateNexusParameterParams) WithID(id int64) *UpdateNexusParameterParams
- func (o *UpdateNexusParameterParams) WithNexusID(nexusID int32) *UpdateNexusParameterParams
- func (o *UpdateNexusParameterParams) WithTimeout(timeout time.Duration) *UpdateNexusParameterParams
- func (o *UpdateNexusParameterParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateNexusParameterParams
- func (o *UpdateNexusParameterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNexusParameterReader
- type UpdateNexusParameterUnauthorized
- type UpdateNexusParams
- func (o *UpdateNexusParams) SetBody(body *models.NexusModel)
- func (o *UpdateNexusParams) SetCompanyID(companyID int32)
- func (o *UpdateNexusParams) SetContext(ctx context.Context)
- func (o *UpdateNexusParams) SetDefaults()
- func (o *UpdateNexusParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNexusParams) SetID(id int32)
- func (o *UpdateNexusParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNexusParams) SetXAvalaraClient(xAvalaraClient *string)
- func (o *UpdateNexusParams) WithBody(body *models.NexusModel) *UpdateNexusParams
- func (o *UpdateNexusParams) WithCompanyID(companyID int32) *UpdateNexusParams
- func (o *UpdateNexusParams) WithContext(ctx context.Context) *UpdateNexusParams
- func (o *UpdateNexusParams) WithDefaults() *UpdateNexusParams
- func (o *UpdateNexusParams) WithHTTPClient(client *http.Client) *UpdateNexusParams
- func (o *UpdateNexusParams) WithID(id int32) *UpdateNexusParams
- func (o *UpdateNexusParams) WithTimeout(timeout time.Duration) *UpdateNexusParams
- func (o *UpdateNexusParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateNexusParams
- func (o *UpdateNexusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNexusReader
- type UpdateNexusUnauthorized
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 nexus API
func (*Client) CreateNexus ¶
func (a *Client) CreateNexus(params *CreateNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNexusOK, error)
CreateNexus creates a new nexus Creates one or more new nexus declarations attached to this company.
The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.
To create a nexus declaration for your company, you must first call the Definitions API `ListNexus` to obtain a list of Avalara-defined nexus. Once you have determined which nexus you wish to declare, you should customize only the user-selectable fields in this object.
The user selectable fields for the nexus object are `companyId`, `effectiveDate`, `endDate`, `localNexusTypeId`, `taxId`, `nexusTypeId`, `hasPermanentEstablishment`, and `isSellerImporterOfRecord`.
When calling `CreateNexus` or `UpdateNexus`, all values in your nexus object except for the user-selectable fields must match an Avalara-defined system nexus object. You can retrieve a list of Avalara-defined system nexus objects by calling `ListNexus`. If any data does not match, AvaTax may not recognize your nexus declaration.
Please note that nexus changes may not take effect immediately and you should plan to update your nexus settings in advance of calculating tax for a location.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
func (*Client) CreateNexusParameters ¶
func (a *Client) CreateNexusParameters(params *CreateNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNexusParametersCreated, error)
CreateNexusParameters adds parameters to a nexus Add parameters to the nexus.
Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".
A parameter added to an nexus will be used by default in tax calculation but will not show on the transaction line referencing the nexus.
A parameter specified on a transaction line will override an nexus parameter if they share the same parameter name.
To see available parameters for this item, call `/api/v2/definitions/parameters?$filter=attributeType eq Nexus`
Some parameters are only available for use if you have subscribed to specific AvaTax services. To see which parameters you are able to use, add the query parameter "$showSubscribed=true" to the parameter definition call above.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
func (*Client) DeclareNexusByAddress ¶
func (a *Client) DeclareNexusByAddress(params *DeclareNexusByAddressParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeclareNexusByAddressOK, error)
DeclareNexusByAddress creates nexus for a list of addresses This call is intended to simplify adding all applicable nexus to a company, for an address or addresses. Calling this
API declares nexus for this company, for the list of addresses provided, for the date range provided. You may also use this API to extend effective date on an already-declared nexus.
The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.
Note that not all fields within a nexus can be updated; Avalara publishes a list of all defined nexus at the '/api/v2/definitions/nexus' endpoint.
You may only define nexus matching the official list of declared nexus.
Please note that nexus changes may not take effect immediately and you should plan to update your nexus settings in advance of calculating tax for a location.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
func (*Client) DeleteNexus ¶
func (a *Client) DeleteNexus(params *DeleteNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNexusOK, error)
DeleteNexus deletes a single nexus Marks the existing nexus object at this URL as deleted.
The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.
Please note that nexus changes may not take effect immediately and you should plan to update your nexus settings in advance of calculating tax for a location.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
func (*Client) DeleteNexusParameter ¶
func (a *Client) DeleteNexusParameter(params *DeleteNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNexusParameterOK, error)
DeleteNexusParameter deletes a single nexus parameter Delete a single nexus parameter.
Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".
A parameter added to an nexus will be used by default in tax calculation but will not show on the transaction line referencing the nexus.
A parameter specified on a transaction line will override an nexus parameter if they share the same parameter name.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
func (*Client) DeleteNexusParameters ¶
func (a *Client) DeleteNexusParameters(params *DeleteNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNexusParametersOK, error)
DeleteNexusParameters deletes all parameters for an nexus Delete all the parameters for a given nexus.
Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".
A parameter added to an nexus will be used by default in tax calculation but will not show on the transaction line referencing the nexus.
A parameter specified on a transaction line will override an nexus parameter if they share the same parameter name.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
func (*Client) GetNexus ¶
func (a *Client) GetNexus(params *GetNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNexusOK, error)
GetNexus retrieves a single nexus Get the nexus object identified by this URL.
The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus. You may specify one or more of the following values in the '$include' parameter to fetch additional nested data, using commas to separate multiple values:
- Parameters
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
func (*Client) GetNexusByFormCode ¶
func (a *Client) GetNexusByFormCode(params *GetNexusByFormCodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNexusByFormCodeOK, error)
GetNexusByFormCode lists company nexus related to a tax form Retrieves a list of nexus related to a tax form.
The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.
This API is intended to provide useful information when examining a tax form. If you are about to begin filing a tax form, you may want to know whether you have declared nexus in all the jurisdictions related to that tax form in order to better understand how the form will be filled out. You may specify one or more of the following values in the '$include' parameter to fetch additional nested data, using commas to separate multiple values:
- Parameters
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
func (*Client) GetNexusParameter ¶
func (a *Client) GetNexusParameter(params *GetNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNexusParameterOK, error)
GetNexusParameter retrieves a single nexus parameter Retrieve a single nexus parameter.
Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller.In AvaTax, these tax-affecting properties are called "parameters".
A parameter added to an nexus will be used by default in tax calculation but will not show on the transaction line referencing the nexus.
A parameter specified on a transaction line will override an nexus parameter if they share the same parameter name.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
func (*Client) ListNexusByCompany ¶
func (a *Client) ListNexusByCompany(params *ListNexusByCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNexusByCompanyOK, error)
ListNexusByCompany retrieves nexus for this company List all nexus objects defined for this company.
The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.
Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . Paginate your results using the `$top`, `$skip`, and `$orderby` parameters. You may specify one or more of the following values in the '$include' parameter to fetch additional nested data, using commas to separate multiple values:
- Parameters
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
func (*Client) ListNexusByCompanyAndTaxTypeGroup ¶
func (a *Client) ListNexusByCompanyAndTaxTypeGroup(params *ListNexusByCompanyAndTaxTypeGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNexusByCompanyAndTaxTypeGroupOK, error)
ListNexusByCompanyAndTaxTypeGroup retrieves nexus for this company by tax type group List all nexus objects defined for this company filtered by TaxTypeGroup.
The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.
Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . Paginate your results using the `$top`, `$skip`, and `$orderby` parameters. You may specify one or more of the following values in the '$include' parameter to fetch additional nested data, using commas to separate multiple values:
- Parameters
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
func (*Client) ListNexusParameters ¶
func (a *Client) ListNexusParameters(params *ListNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNexusParametersOK, error)
ListNexusParameters retrieves parameters for a nexus List parameters for a nexus.
Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".
A parameter added to an nexus will be used by default in tax calculation but will not show on the transaction line referencing the nexus.
A parameter specified on a transaction line will override an nexus parameter if they share the same parameter name.
Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
func (*Client) QueryNexus ¶
func (a *Client) QueryNexus(params *QueryNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryNexusOK, error)
QueryNexus retrieves all nexus Get multiple nexus objects across all companies.
The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.
Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . Paginate your results using the `$top`, `$skip`, and `$orderby` parameters. You may specify one or more of the following values in the '$include' parameter to fetch additional nested data, using commas to separate multiple values:
- Parameters
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNexus ¶
func (a *Client) UpdateNexus(params *UpdateNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNexusOK, error)
UpdateNexus updates a single nexus Replace the existing nexus declaration object at this URL with an updated object.
The concept of Nexus indicates a place where your company is legally obligated to collect and remit transactional taxes. The legal requirements for nexus may vary per country and per jurisdiction; please seek advice from your accountant or lawyer prior to declaring nexus.
To create a nexus declaration for your company, you must first call the Definitions API `ListNexus` to obtain a list of Avalara-defined nexus. Once you have determined which nexus you wish to declare, you should customize only the user-selectable fields in this object.
The user selectable fields for the nexus object are `companyId`, `effectiveDate`, `endDate`, `localNexusTypeId`, `taxId`, `nexusTypeId`, `hasPermanentEstablishment`, and `isSellerImporterOfRecord`.
When calling `CreateNexus` or `UpdateNexus`, all values in your nexus object except for the user-selectable fields must match an Avalara-defined system nexus object. You can retrieve a list of Avalara-defined system nexus objects by calling `ListNexus`. If any data does not match, AvaTax may not recognize your nexus declaration.
Please note that nexus changes may not take effect immediately and you should plan to update your nexus settings in advance of calculating tax for a location.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
func (*Client) UpdateNexusParameter ¶
func (a *Client) UpdateNexusParameter(params *UpdateNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNexusParameterOK, error)
UpdateNexusParameter updates an nexus parameter Update an nexus parameter.
Some tax calculation and reporting are different depending on the properties of the nexus, such as isRemoteSeller. In AvaTax, these tax-affecting properties are called "parameters".
A parameter added to a nexus will be used in tax calculation based on the locationcode and parameter value the transaction state line might have lines added.
A parameter specified on a transaction line will override an item parameter if they share the same parameter name.????? I dont know about this?
### Security Policies
* This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
CreateNexus(params *CreateNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNexusOK, error)
CreateNexusParameters(params *CreateNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNexusParametersCreated, error)
DeclareNexusByAddress(params *DeclareNexusByAddressParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeclareNexusByAddressOK, error)
DeleteNexus(params *DeleteNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNexusOK, error)
DeleteNexusParameter(params *DeleteNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNexusParameterOK, error)
DeleteNexusParameters(params *DeleteNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNexusParametersOK, error)
GetNexus(params *GetNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNexusOK, error)
GetNexusByFormCode(params *GetNexusByFormCodeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNexusByFormCodeOK, error)
GetNexusParameter(params *GetNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNexusParameterOK, error)
ListNexusByCompany(params *ListNexusByCompanyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNexusByCompanyOK, error)
ListNexusByCompanyAndTaxTypeGroup(params *ListNexusByCompanyAndTaxTypeGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNexusByCompanyAndTaxTypeGroupOK, error)
ListNexusParameters(params *ListNexusParametersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNexusParametersOK, error)
QueryNexus(params *QueryNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryNexusOK, error)
UpdateNexus(params *UpdateNexusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNexusOK, error)
UpdateNexusParameter(params *UpdateNexusParameterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNexusParameterOK, 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 nexus API client.
type CreateNexusBadRequest ¶
type CreateNexusBadRequest struct {
}
CreateNexusBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateNexusBadRequest ¶
func NewCreateNexusBadRequest() *CreateNexusBadRequest
NewCreateNexusBadRequest creates a CreateNexusBadRequest with default headers values
func (*CreateNexusBadRequest) Error ¶
func (o *CreateNexusBadRequest) Error() string
type CreateNexusNotFound ¶
type CreateNexusNotFound struct {
}
CreateNexusNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateNexusNotFound ¶
func NewCreateNexusNotFound() *CreateNexusNotFound
NewCreateNexusNotFound creates a CreateNexusNotFound with default headers values
func (*CreateNexusNotFound) Error ¶
func (o *CreateNexusNotFound) Error() string
type CreateNexusOK ¶
type CreateNexusOK struct {
Payload []*models.NexusModel
}
CreateNexusOK describes a response with status code 200, with default header values.
Success
func NewCreateNexusOK ¶
func NewCreateNexusOK() *CreateNexusOK
NewCreateNexusOK creates a CreateNexusOK with default headers values
func (*CreateNexusOK) Error ¶
func (o *CreateNexusOK) Error() string
func (*CreateNexusOK) GetPayload ¶
func (o *CreateNexusOK) GetPayload() []*models.NexusModel
type CreateNexusParametersBadRequest ¶
type CreateNexusParametersBadRequest struct {
}
CreateNexusParametersBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCreateNexusParametersBadRequest ¶
func NewCreateNexusParametersBadRequest() *CreateNexusParametersBadRequest
NewCreateNexusParametersBadRequest creates a CreateNexusParametersBadRequest with default headers values
func (*CreateNexusParametersBadRequest) Error ¶
func (o *CreateNexusParametersBadRequest) Error() string
type CreateNexusParametersCreated ¶
type CreateNexusParametersCreated struct {
Payload []*models.NexusParameterDetailModel
}
CreateNexusParametersCreated describes a response with status code 201, with default header values.
Success
func NewCreateNexusParametersCreated ¶
func NewCreateNexusParametersCreated() *CreateNexusParametersCreated
NewCreateNexusParametersCreated creates a CreateNexusParametersCreated with default headers values
func (*CreateNexusParametersCreated) Error ¶
func (o *CreateNexusParametersCreated) Error() string
func (*CreateNexusParametersCreated) GetPayload ¶
func (o *CreateNexusParametersCreated) GetPayload() []*models.NexusParameterDetailModel
type CreateNexusParametersNotFound ¶
type CreateNexusParametersNotFound struct {
}
CreateNexusParametersNotFound describes a response with status code 404, with default header values.
Not Found
func NewCreateNexusParametersNotFound ¶
func NewCreateNexusParametersNotFound() *CreateNexusParametersNotFound
NewCreateNexusParametersNotFound creates a CreateNexusParametersNotFound with default headers values
func (*CreateNexusParametersNotFound) Error ¶
func (o *CreateNexusParametersNotFound) Error() string
type CreateNexusParametersParams ¶
type CreateNexusParametersParams 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 nexus parameters you wish to create.
*/
Body []*models.NexusParameterDetailModel
/* CompanyID.
The ID of the company that owns this nexus parameter.
Format: int32
*/
CompanyID int32
/* NexusID.
The nexus id.
Format: int32
*/
NexusID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateNexusParametersParams contains all the parameters to send to the API endpoint
for the create nexus parameters operation. Typically these are written to a http.Request.
func NewCreateNexusParametersParams ¶
func NewCreateNexusParametersParams() *CreateNexusParametersParams
NewCreateNexusParametersParams creates a new CreateNexusParametersParams 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 NewCreateNexusParametersParamsWithContext ¶
func NewCreateNexusParametersParamsWithContext(ctx context.Context) *CreateNexusParametersParams
NewCreateNexusParametersParamsWithContext creates a new CreateNexusParametersParams object with the ability to set a context for a request.
func NewCreateNexusParametersParamsWithHTTPClient ¶
func NewCreateNexusParametersParamsWithHTTPClient(client *http.Client) *CreateNexusParametersParams
NewCreateNexusParametersParamsWithHTTPClient creates a new CreateNexusParametersParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNexusParametersParamsWithTimeout ¶
func NewCreateNexusParametersParamsWithTimeout(timeout time.Duration) *CreateNexusParametersParams
NewCreateNexusParametersParamsWithTimeout creates a new CreateNexusParametersParams object with the ability to set a timeout on a request.
func (*CreateNexusParametersParams) SetBody ¶
func (o *CreateNexusParametersParams) SetBody(body []*models.NexusParameterDetailModel)
SetBody adds the body to the create nexus parameters params
func (*CreateNexusParametersParams) SetCompanyID ¶
func (o *CreateNexusParametersParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the create nexus parameters params
func (*CreateNexusParametersParams) SetContext ¶
func (o *CreateNexusParametersParams) SetContext(ctx context.Context)
SetContext adds the context to the create nexus parameters params
func (*CreateNexusParametersParams) SetDefaults ¶
func (o *CreateNexusParametersParams) SetDefaults()
SetDefaults hydrates default values in the create nexus parameters params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNexusParametersParams) SetHTTPClient ¶
func (o *CreateNexusParametersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create nexus parameters params
func (*CreateNexusParametersParams) SetNexusID ¶
func (o *CreateNexusParametersParams) SetNexusID(nexusID int32)
SetNexusID adds the nexusId to the create nexus parameters params
func (*CreateNexusParametersParams) SetTimeout ¶
func (o *CreateNexusParametersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create nexus parameters params
func (*CreateNexusParametersParams) SetXAvalaraClient ¶
func (o *CreateNexusParametersParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the create nexus parameters params
func (*CreateNexusParametersParams) WithBody ¶
func (o *CreateNexusParametersParams) WithBody(body []*models.NexusParameterDetailModel) *CreateNexusParametersParams
WithBody adds the body to the create nexus parameters params
func (*CreateNexusParametersParams) WithCompanyID ¶
func (o *CreateNexusParametersParams) WithCompanyID(companyID int32) *CreateNexusParametersParams
WithCompanyID adds the companyID to the create nexus parameters params
func (*CreateNexusParametersParams) WithContext ¶
func (o *CreateNexusParametersParams) WithContext(ctx context.Context) *CreateNexusParametersParams
WithContext adds the context to the create nexus parameters params
func (*CreateNexusParametersParams) WithDefaults ¶
func (o *CreateNexusParametersParams) WithDefaults() *CreateNexusParametersParams
WithDefaults hydrates default values in the create nexus parameters params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNexusParametersParams) WithHTTPClient ¶
func (o *CreateNexusParametersParams) WithHTTPClient(client *http.Client) *CreateNexusParametersParams
WithHTTPClient adds the HTTPClient to the create nexus parameters params
func (*CreateNexusParametersParams) WithNexusID ¶
func (o *CreateNexusParametersParams) WithNexusID(nexusID int32) *CreateNexusParametersParams
WithNexusID adds the nexusID to the create nexus parameters params
func (*CreateNexusParametersParams) WithTimeout ¶
func (o *CreateNexusParametersParams) WithTimeout(timeout time.Duration) *CreateNexusParametersParams
WithTimeout adds the timeout to the create nexus parameters params
func (*CreateNexusParametersParams) WithXAvalaraClient ¶
func (o *CreateNexusParametersParams) WithXAvalaraClient(xAvalaraClient *string) *CreateNexusParametersParams
WithXAvalaraClient adds the xAvalaraClient to the create nexus parameters params
func (*CreateNexusParametersParams) WriteToRequest ¶
func (o *CreateNexusParametersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNexusParametersReader ¶
type CreateNexusParametersReader struct {
// contains filtered or unexported fields
}
CreateNexusParametersReader is a Reader for the CreateNexusParameters structure.
func (*CreateNexusParametersReader) ReadResponse ¶
func (o *CreateNexusParametersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateNexusParametersUnauthorized ¶
type CreateNexusParametersUnauthorized struct {
}
CreateNexusParametersUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateNexusParametersUnauthorized ¶
func NewCreateNexusParametersUnauthorized() *CreateNexusParametersUnauthorized
NewCreateNexusParametersUnauthorized creates a CreateNexusParametersUnauthorized with default headers values
func (*CreateNexusParametersUnauthorized) Error ¶
func (o *CreateNexusParametersUnauthorized) Error() string
type CreateNexusParams ¶
type CreateNexusParams 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 nexus you wish to create.
*/
Body []*models.NexusModel
/* CompanyID.
The ID of the company that owns this nexus.
Format: int32
*/
CompanyID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateNexusParams contains all the parameters to send to the API endpoint
for the create nexus operation. Typically these are written to a http.Request.
func NewCreateNexusParams ¶
func NewCreateNexusParams() *CreateNexusParams
NewCreateNexusParams creates a new CreateNexusParams 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 NewCreateNexusParamsWithContext ¶
func NewCreateNexusParamsWithContext(ctx context.Context) *CreateNexusParams
NewCreateNexusParamsWithContext creates a new CreateNexusParams object with the ability to set a context for a request.
func NewCreateNexusParamsWithHTTPClient ¶
func NewCreateNexusParamsWithHTTPClient(client *http.Client) *CreateNexusParams
NewCreateNexusParamsWithHTTPClient creates a new CreateNexusParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNexusParamsWithTimeout ¶
func NewCreateNexusParamsWithTimeout(timeout time.Duration) *CreateNexusParams
NewCreateNexusParamsWithTimeout creates a new CreateNexusParams object with the ability to set a timeout on a request.
func (*CreateNexusParams) SetBody ¶
func (o *CreateNexusParams) SetBody(body []*models.NexusModel)
SetBody adds the body to the create nexus params
func (*CreateNexusParams) SetCompanyID ¶
func (o *CreateNexusParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the create nexus params
func (*CreateNexusParams) SetContext ¶
func (o *CreateNexusParams) SetContext(ctx context.Context)
SetContext adds the context to the create nexus params
func (*CreateNexusParams) SetDefaults ¶
func (o *CreateNexusParams) SetDefaults()
SetDefaults hydrates default values in the create nexus params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNexusParams) SetHTTPClient ¶
func (o *CreateNexusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create nexus params
func (*CreateNexusParams) SetTimeout ¶
func (o *CreateNexusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create nexus params
func (*CreateNexusParams) SetXAvalaraClient ¶
func (o *CreateNexusParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the create nexus params
func (*CreateNexusParams) WithBody ¶
func (o *CreateNexusParams) WithBody(body []*models.NexusModel) *CreateNexusParams
WithBody adds the body to the create nexus params
func (*CreateNexusParams) WithCompanyID ¶
func (o *CreateNexusParams) WithCompanyID(companyID int32) *CreateNexusParams
WithCompanyID adds the companyID to the create nexus params
func (*CreateNexusParams) WithContext ¶
func (o *CreateNexusParams) WithContext(ctx context.Context) *CreateNexusParams
WithContext adds the context to the create nexus params
func (*CreateNexusParams) WithDefaults ¶
func (o *CreateNexusParams) WithDefaults() *CreateNexusParams
WithDefaults hydrates default values in the create nexus params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNexusParams) WithHTTPClient ¶
func (o *CreateNexusParams) WithHTTPClient(client *http.Client) *CreateNexusParams
WithHTTPClient adds the HTTPClient to the create nexus params
func (*CreateNexusParams) WithTimeout ¶
func (o *CreateNexusParams) WithTimeout(timeout time.Duration) *CreateNexusParams
WithTimeout adds the timeout to the create nexus params
func (*CreateNexusParams) WithXAvalaraClient ¶
func (o *CreateNexusParams) WithXAvalaraClient(xAvalaraClient *string) *CreateNexusParams
WithXAvalaraClient adds the xAvalaraClient to the create nexus params
func (*CreateNexusParams) WriteToRequest ¶
func (o *CreateNexusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNexusReader ¶
type CreateNexusReader struct {
// contains filtered or unexported fields
}
CreateNexusReader is a Reader for the CreateNexus structure.
func (*CreateNexusReader) ReadResponse ¶
func (o *CreateNexusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateNexusUnauthorized ¶
type CreateNexusUnauthorized struct {
}
CreateNexusUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateNexusUnauthorized ¶
func NewCreateNexusUnauthorized() *CreateNexusUnauthorized
NewCreateNexusUnauthorized creates a CreateNexusUnauthorized with default headers values
func (*CreateNexusUnauthorized) Error ¶
func (o *CreateNexusUnauthorized) Error() string
type DeclareNexusByAddressBadRequest ¶
type DeclareNexusByAddressBadRequest struct {
}
DeclareNexusByAddressBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeclareNexusByAddressBadRequest ¶
func NewDeclareNexusByAddressBadRequest() *DeclareNexusByAddressBadRequest
NewDeclareNexusByAddressBadRequest creates a DeclareNexusByAddressBadRequest with default headers values
func (*DeclareNexusByAddressBadRequest) Error ¶
func (o *DeclareNexusByAddressBadRequest) Error() string
type DeclareNexusByAddressNotFound ¶
type DeclareNexusByAddressNotFound struct {
}
DeclareNexusByAddressNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeclareNexusByAddressNotFound ¶
func NewDeclareNexusByAddressNotFound() *DeclareNexusByAddressNotFound
NewDeclareNexusByAddressNotFound creates a DeclareNexusByAddressNotFound with default headers values
func (*DeclareNexusByAddressNotFound) Error ¶
func (o *DeclareNexusByAddressNotFound) Error() string
type DeclareNexusByAddressOK ¶
type DeclareNexusByAddressOK struct {
Payload []*models.NexusByAddressModel
}
DeclareNexusByAddressOK describes a response with status code 200, with default header values.
Success
func NewDeclareNexusByAddressOK ¶
func NewDeclareNexusByAddressOK() *DeclareNexusByAddressOK
NewDeclareNexusByAddressOK creates a DeclareNexusByAddressOK with default headers values
func (*DeclareNexusByAddressOK) Error ¶
func (o *DeclareNexusByAddressOK) Error() string
func (*DeclareNexusByAddressOK) GetPayload ¶
func (o *DeclareNexusByAddressOK) GetPayload() []*models.NexusByAddressModel
type DeclareNexusByAddressParams ¶
type DeclareNexusByAddressParams 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 nexus you wish to create.
*/
Body []*models.DeclareNexusByAddressModel
/* CompanyID.
The ID of the company that will own this nexus.
Format: int32
*/
CompanyID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeclareNexusByAddressParams contains all the parameters to send to the API endpoint
for the declare nexus by address operation. Typically these are written to a http.Request.
func NewDeclareNexusByAddressParams ¶
func NewDeclareNexusByAddressParams() *DeclareNexusByAddressParams
NewDeclareNexusByAddressParams creates a new DeclareNexusByAddressParams 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 NewDeclareNexusByAddressParamsWithContext ¶
func NewDeclareNexusByAddressParamsWithContext(ctx context.Context) *DeclareNexusByAddressParams
NewDeclareNexusByAddressParamsWithContext creates a new DeclareNexusByAddressParams object with the ability to set a context for a request.
func NewDeclareNexusByAddressParamsWithHTTPClient ¶
func NewDeclareNexusByAddressParamsWithHTTPClient(client *http.Client) *DeclareNexusByAddressParams
NewDeclareNexusByAddressParamsWithHTTPClient creates a new DeclareNexusByAddressParams object with the ability to set a custom HTTPClient for a request.
func NewDeclareNexusByAddressParamsWithTimeout ¶
func NewDeclareNexusByAddressParamsWithTimeout(timeout time.Duration) *DeclareNexusByAddressParams
NewDeclareNexusByAddressParamsWithTimeout creates a new DeclareNexusByAddressParams object with the ability to set a timeout on a request.
func (*DeclareNexusByAddressParams) SetBody ¶
func (o *DeclareNexusByAddressParams) SetBody(body []*models.DeclareNexusByAddressModel)
SetBody adds the body to the declare nexus by address params
func (*DeclareNexusByAddressParams) SetCompanyID ¶
func (o *DeclareNexusByAddressParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the declare nexus by address params
func (*DeclareNexusByAddressParams) SetContext ¶
func (o *DeclareNexusByAddressParams) SetContext(ctx context.Context)
SetContext adds the context to the declare nexus by address params
func (*DeclareNexusByAddressParams) SetDefaults ¶
func (o *DeclareNexusByAddressParams) SetDefaults()
SetDefaults hydrates default values in the declare nexus by address params (not the query body).
All values with no default are reset to their zero value.
func (*DeclareNexusByAddressParams) SetHTTPClient ¶
func (o *DeclareNexusByAddressParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the declare nexus by address params
func (*DeclareNexusByAddressParams) SetTimeout ¶
func (o *DeclareNexusByAddressParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the declare nexus by address params
func (*DeclareNexusByAddressParams) SetXAvalaraClient ¶
func (o *DeclareNexusByAddressParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the declare nexus by address params
func (*DeclareNexusByAddressParams) WithBody ¶
func (o *DeclareNexusByAddressParams) WithBody(body []*models.DeclareNexusByAddressModel) *DeclareNexusByAddressParams
WithBody adds the body to the declare nexus by address params
func (*DeclareNexusByAddressParams) WithCompanyID ¶
func (o *DeclareNexusByAddressParams) WithCompanyID(companyID int32) *DeclareNexusByAddressParams
WithCompanyID adds the companyID to the declare nexus by address params
func (*DeclareNexusByAddressParams) WithContext ¶
func (o *DeclareNexusByAddressParams) WithContext(ctx context.Context) *DeclareNexusByAddressParams
WithContext adds the context to the declare nexus by address params
func (*DeclareNexusByAddressParams) WithDefaults ¶
func (o *DeclareNexusByAddressParams) WithDefaults() *DeclareNexusByAddressParams
WithDefaults hydrates default values in the declare nexus by address params (not the query body).
All values with no default are reset to their zero value.
func (*DeclareNexusByAddressParams) WithHTTPClient ¶
func (o *DeclareNexusByAddressParams) WithHTTPClient(client *http.Client) *DeclareNexusByAddressParams
WithHTTPClient adds the HTTPClient to the declare nexus by address params
func (*DeclareNexusByAddressParams) WithTimeout ¶
func (o *DeclareNexusByAddressParams) WithTimeout(timeout time.Duration) *DeclareNexusByAddressParams
WithTimeout adds the timeout to the declare nexus by address params
func (*DeclareNexusByAddressParams) WithXAvalaraClient ¶
func (o *DeclareNexusByAddressParams) WithXAvalaraClient(xAvalaraClient *string) *DeclareNexusByAddressParams
WithXAvalaraClient adds the xAvalaraClient to the declare nexus by address params
func (*DeclareNexusByAddressParams) WriteToRequest ¶
func (o *DeclareNexusByAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeclareNexusByAddressReader ¶
type DeclareNexusByAddressReader struct {
// contains filtered or unexported fields
}
DeclareNexusByAddressReader is a Reader for the DeclareNexusByAddress structure.
func (*DeclareNexusByAddressReader) ReadResponse ¶
func (o *DeclareNexusByAddressReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeclareNexusByAddressUnauthorized ¶
type DeclareNexusByAddressUnauthorized struct {
}
DeclareNexusByAddressUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeclareNexusByAddressUnauthorized ¶
func NewDeclareNexusByAddressUnauthorized() *DeclareNexusByAddressUnauthorized
NewDeclareNexusByAddressUnauthorized creates a DeclareNexusByAddressUnauthorized with default headers values
func (*DeclareNexusByAddressUnauthorized) Error ¶
func (o *DeclareNexusByAddressUnauthorized) Error() string
type DeleteNexusBadRequest ¶
type DeleteNexusBadRequest struct {
}
DeleteNexusBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteNexusBadRequest ¶
func NewDeleteNexusBadRequest() *DeleteNexusBadRequest
NewDeleteNexusBadRequest creates a DeleteNexusBadRequest with default headers values
func (*DeleteNexusBadRequest) Error ¶
func (o *DeleteNexusBadRequest) Error() string
type DeleteNexusNotFound ¶
type DeleteNexusNotFound struct {
}
DeleteNexusNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteNexusNotFound ¶
func NewDeleteNexusNotFound() *DeleteNexusNotFound
NewDeleteNexusNotFound creates a DeleteNexusNotFound with default headers values
func (*DeleteNexusNotFound) Error ¶
func (o *DeleteNexusNotFound) Error() string
type DeleteNexusOK ¶
type DeleteNexusOK struct {
Payload []*models.ErrorDetail
}
DeleteNexusOK describes a response with status code 200, with default header values.
Success
func NewDeleteNexusOK ¶
func NewDeleteNexusOK() *DeleteNexusOK
NewDeleteNexusOK creates a DeleteNexusOK with default headers values
func (*DeleteNexusOK) Error ¶
func (o *DeleteNexusOK) Error() string
func (*DeleteNexusOK) GetPayload ¶
func (o *DeleteNexusOK) GetPayload() []*models.ErrorDetail
type DeleteNexusParameterBadRequest ¶
type DeleteNexusParameterBadRequest struct {
}
DeleteNexusParameterBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteNexusParameterBadRequest ¶
func NewDeleteNexusParameterBadRequest() *DeleteNexusParameterBadRequest
NewDeleteNexusParameterBadRequest creates a DeleteNexusParameterBadRequest with default headers values
func (*DeleteNexusParameterBadRequest) Error ¶
func (o *DeleteNexusParameterBadRequest) Error() string
type DeleteNexusParameterNotFound ¶
type DeleteNexusParameterNotFound struct {
}
DeleteNexusParameterNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteNexusParameterNotFound ¶
func NewDeleteNexusParameterNotFound() *DeleteNexusParameterNotFound
NewDeleteNexusParameterNotFound creates a DeleteNexusParameterNotFound with default headers values
func (*DeleteNexusParameterNotFound) Error ¶
func (o *DeleteNexusParameterNotFound) Error() string
type DeleteNexusParameterOK ¶
type DeleteNexusParameterOK struct {
Payload []*models.ErrorDetail
}
DeleteNexusParameterOK describes a response with status code 200, with default header values.
Success
func NewDeleteNexusParameterOK ¶
func NewDeleteNexusParameterOK() *DeleteNexusParameterOK
NewDeleteNexusParameterOK creates a DeleteNexusParameterOK with default headers values
func (*DeleteNexusParameterOK) Error ¶
func (o *DeleteNexusParameterOK) Error() string
func (*DeleteNexusParameterOK) GetPayload ¶
func (o *DeleteNexusParameterOK) GetPayload() []*models.ErrorDetail
type DeleteNexusParameterParams ¶
type DeleteNexusParameterParams struct {
/* XAvalaraClient.
Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
Default: "Swagger UI; 21.12.0; Custom; 1.0"
*/
XAvalaraClient *string
/* CompanyID.
The company id
Format: int32
*/
CompanyID int32
/* ID.
The parameter id
Format: int64
*/
ID int64
/* NexusID.
The nexus id
Format: int32
*/
NexusID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteNexusParameterParams contains all the parameters to send to the API endpoint
for the delete nexus parameter operation. Typically these are written to a http.Request.
func NewDeleteNexusParameterParams ¶
func NewDeleteNexusParameterParams() *DeleteNexusParameterParams
NewDeleteNexusParameterParams creates a new DeleteNexusParameterParams 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 NewDeleteNexusParameterParamsWithContext ¶
func NewDeleteNexusParameterParamsWithContext(ctx context.Context) *DeleteNexusParameterParams
NewDeleteNexusParameterParamsWithContext creates a new DeleteNexusParameterParams object with the ability to set a context for a request.
func NewDeleteNexusParameterParamsWithHTTPClient ¶
func NewDeleteNexusParameterParamsWithHTTPClient(client *http.Client) *DeleteNexusParameterParams
NewDeleteNexusParameterParamsWithHTTPClient creates a new DeleteNexusParameterParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNexusParameterParamsWithTimeout ¶
func NewDeleteNexusParameterParamsWithTimeout(timeout time.Duration) *DeleteNexusParameterParams
NewDeleteNexusParameterParamsWithTimeout creates a new DeleteNexusParameterParams object with the ability to set a timeout on a request.
func (*DeleteNexusParameterParams) SetCompanyID ¶
func (o *DeleteNexusParameterParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the delete nexus parameter params
func (*DeleteNexusParameterParams) SetContext ¶
func (o *DeleteNexusParameterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete nexus parameter params
func (*DeleteNexusParameterParams) SetDefaults ¶
func (o *DeleteNexusParameterParams) SetDefaults()
SetDefaults hydrates default values in the delete nexus parameter params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNexusParameterParams) SetHTTPClient ¶
func (o *DeleteNexusParameterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete nexus parameter params
func (*DeleteNexusParameterParams) SetID ¶
func (o *DeleteNexusParameterParams) SetID(id int64)
SetID adds the id to the delete nexus parameter params
func (*DeleteNexusParameterParams) SetNexusID ¶
func (o *DeleteNexusParameterParams) SetNexusID(nexusID int32)
SetNexusID adds the nexusId to the delete nexus parameter params
func (*DeleteNexusParameterParams) SetTimeout ¶
func (o *DeleteNexusParameterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete nexus parameter params
func (*DeleteNexusParameterParams) SetXAvalaraClient ¶
func (o *DeleteNexusParameterParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the delete nexus parameter params
func (*DeleteNexusParameterParams) WithCompanyID ¶
func (o *DeleteNexusParameterParams) WithCompanyID(companyID int32) *DeleteNexusParameterParams
WithCompanyID adds the companyID to the delete nexus parameter params
func (*DeleteNexusParameterParams) WithContext ¶
func (o *DeleteNexusParameterParams) WithContext(ctx context.Context) *DeleteNexusParameterParams
WithContext adds the context to the delete nexus parameter params
func (*DeleteNexusParameterParams) WithDefaults ¶
func (o *DeleteNexusParameterParams) WithDefaults() *DeleteNexusParameterParams
WithDefaults hydrates default values in the delete nexus parameter params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNexusParameterParams) WithHTTPClient ¶
func (o *DeleteNexusParameterParams) WithHTTPClient(client *http.Client) *DeleteNexusParameterParams
WithHTTPClient adds the HTTPClient to the delete nexus parameter params
func (*DeleteNexusParameterParams) WithID ¶
func (o *DeleteNexusParameterParams) WithID(id int64) *DeleteNexusParameterParams
WithID adds the id to the delete nexus parameter params
func (*DeleteNexusParameterParams) WithNexusID ¶
func (o *DeleteNexusParameterParams) WithNexusID(nexusID int32) *DeleteNexusParameterParams
WithNexusID adds the nexusID to the delete nexus parameter params
func (*DeleteNexusParameterParams) WithTimeout ¶
func (o *DeleteNexusParameterParams) WithTimeout(timeout time.Duration) *DeleteNexusParameterParams
WithTimeout adds the timeout to the delete nexus parameter params
func (*DeleteNexusParameterParams) WithXAvalaraClient ¶
func (o *DeleteNexusParameterParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteNexusParameterParams
WithXAvalaraClient adds the xAvalaraClient to the delete nexus parameter params
func (*DeleteNexusParameterParams) WriteToRequest ¶
func (o *DeleteNexusParameterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNexusParameterReader ¶
type DeleteNexusParameterReader struct {
// contains filtered or unexported fields
}
DeleteNexusParameterReader is a Reader for the DeleteNexusParameter structure.
func (*DeleteNexusParameterReader) ReadResponse ¶
func (o *DeleteNexusParameterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNexusParameterUnauthorized ¶
type DeleteNexusParameterUnauthorized struct {
}
DeleteNexusParameterUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteNexusParameterUnauthorized ¶
func NewDeleteNexusParameterUnauthorized() *DeleteNexusParameterUnauthorized
NewDeleteNexusParameterUnauthorized creates a DeleteNexusParameterUnauthorized with default headers values
func (*DeleteNexusParameterUnauthorized) Error ¶
func (o *DeleteNexusParameterUnauthorized) Error() string
type DeleteNexusParametersOK ¶
type DeleteNexusParametersOK struct {
Payload []*models.ErrorDetail
}
DeleteNexusParametersOK describes a response with status code 200, with default header values.
Success
func NewDeleteNexusParametersOK ¶
func NewDeleteNexusParametersOK() *DeleteNexusParametersOK
NewDeleteNexusParametersOK creates a DeleteNexusParametersOK with default headers values
func (*DeleteNexusParametersOK) Error ¶
func (o *DeleteNexusParametersOK) Error() string
func (*DeleteNexusParametersOK) GetPayload ¶
func (o *DeleteNexusParametersOK) GetPayload() []*models.ErrorDetail
type DeleteNexusParametersParams ¶
type DeleteNexusParametersParams 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 ID of the company that owns this nexus.
Format: int32
*/
CompanyID int32
/* NexusID.
The ID of the nexus you wish to delete the parameters.
Format: int32
*/
NexusID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteNexusParametersParams contains all the parameters to send to the API endpoint
for the delete nexus parameters operation. Typically these are written to a http.Request.
func NewDeleteNexusParametersParams ¶
func NewDeleteNexusParametersParams() *DeleteNexusParametersParams
NewDeleteNexusParametersParams creates a new DeleteNexusParametersParams 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 NewDeleteNexusParametersParamsWithContext ¶
func NewDeleteNexusParametersParamsWithContext(ctx context.Context) *DeleteNexusParametersParams
NewDeleteNexusParametersParamsWithContext creates a new DeleteNexusParametersParams object with the ability to set a context for a request.
func NewDeleteNexusParametersParamsWithHTTPClient ¶
func NewDeleteNexusParametersParamsWithHTTPClient(client *http.Client) *DeleteNexusParametersParams
NewDeleteNexusParametersParamsWithHTTPClient creates a new DeleteNexusParametersParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNexusParametersParamsWithTimeout ¶
func NewDeleteNexusParametersParamsWithTimeout(timeout time.Duration) *DeleteNexusParametersParams
NewDeleteNexusParametersParamsWithTimeout creates a new DeleteNexusParametersParams object with the ability to set a timeout on a request.
func (*DeleteNexusParametersParams) SetCompanyID ¶
func (o *DeleteNexusParametersParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the delete nexus parameters params
func (*DeleteNexusParametersParams) SetContext ¶
func (o *DeleteNexusParametersParams) SetContext(ctx context.Context)
SetContext adds the context to the delete nexus parameters params
func (*DeleteNexusParametersParams) SetDefaults ¶
func (o *DeleteNexusParametersParams) SetDefaults()
SetDefaults hydrates default values in the delete nexus parameters params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNexusParametersParams) SetHTTPClient ¶
func (o *DeleteNexusParametersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete nexus parameters params
func (*DeleteNexusParametersParams) SetNexusID ¶
func (o *DeleteNexusParametersParams) SetNexusID(nexusID int32)
SetNexusID adds the nexusId to the delete nexus parameters params
func (*DeleteNexusParametersParams) SetTimeout ¶
func (o *DeleteNexusParametersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete nexus parameters params
func (*DeleteNexusParametersParams) SetXAvalaraClient ¶
func (o *DeleteNexusParametersParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the delete nexus parameters params
func (*DeleteNexusParametersParams) WithCompanyID ¶
func (o *DeleteNexusParametersParams) WithCompanyID(companyID int32) *DeleteNexusParametersParams
WithCompanyID adds the companyID to the delete nexus parameters params
func (*DeleteNexusParametersParams) WithContext ¶
func (o *DeleteNexusParametersParams) WithContext(ctx context.Context) *DeleteNexusParametersParams
WithContext adds the context to the delete nexus parameters params
func (*DeleteNexusParametersParams) WithDefaults ¶
func (o *DeleteNexusParametersParams) WithDefaults() *DeleteNexusParametersParams
WithDefaults hydrates default values in the delete nexus parameters params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNexusParametersParams) WithHTTPClient ¶
func (o *DeleteNexusParametersParams) WithHTTPClient(client *http.Client) *DeleteNexusParametersParams
WithHTTPClient adds the HTTPClient to the delete nexus parameters params
func (*DeleteNexusParametersParams) WithNexusID ¶
func (o *DeleteNexusParametersParams) WithNexusID(nexusID int32) *DeleteNexusParametersParams
WithNexusID adds the nexusID to the delete nexus parameters params
func (*DeleteNexusParametersParams) WithTimeout ¶
func (o *DeleteNexusParametersParams) WithTimeout(timeout time.Duration) *DeleteNexusParametersParams
WithTimeout adds the timeout to the delete nexus parameters params
func (*DeleteNexusParametersParams) WithXAvalaraClient ¶
func (o *DeleteNexusParametersParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteNexusParametersParams
WithXAvalaraClient adds the xAvalaraClient to the delete nexus parameters params
func (*DeleteNexusParametersParams) WriteToRequest ¶
func (o *DeleteNexusParametersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNexusParametersReader ¶
type DeleteNexusParametersReader struct {
// contains filtered or unexported fields
}
DeleteNexusParametersReader is a Reader for the DeleteNexusParameters structure.
func (*DeleteNexusParametersReader) ReadResponse ¶
func (o *DeleteNexusParametersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNexusParams ¶
type DeleteNexusParams 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
/* CascadeDelete.
If true, deletes all the child nexus if they exist along with parent nexus
*/
CascadeDelete *bool
/* CompanyID.
The ID of the company that owns this nexus.
Format: int32
*/
CompanyID int32
/* ID.
The ID of the nexus you wish to delete.
Format: int32
*/
ID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteNexusParams contains all the parameters to send to the API endpoint
for the delete nexus operation. Typically these are written to a http.Request.
func NewDeleteNexusParams ¶
func NewDeleteNexusParams() *DeleteNexusParams
NewDeleteNexusParams creates a new DeleteNexusParams 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 NewDeleteNexusParamsWithContext ¶
func NewDeleteNexusParamsWithContext(ctx context.Context) *DeleteNexusParams
NewDeleteNexusParamsWithContext creates a new DeleteNexusParams object with the ability to set a context for a request.
func NewDeleteNexusParamsWithHTTPClient ¶
func NewDeleteNexusParamsWithHTTPClient(client *http.Client) *DeleteNexusParams
NewDeleteNexusParamsWithHTTPClient creates a new DeleteNexusParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNexusParamsWithTimeout ¶
func NewDeleteNexusParamsWithTimeout(timeout time.Duration) *DeleteNexusParams
NewDeleteNexusParamsWithTimeout creates a new DeleteNexusParams object with the ability to set a timeout on a request.
func (*DeleteNexusParams) SetCascadeDelete ¶
func (o *DeleteNexusParams) SetCascadeDelete(cascadeDelete *bool)
SetCascadeDelete adds the cascadeDelete to the delete nexus params
func (*DeleteNexusParams) SetCompanyID ¶
func (o *DeleteNexusParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the delete nexus params
func (*DeleteNexusParams) SetContext ¶
func (o *DeleteNexusParams) SetContext(ctx context.Context)
SetContext adds the context to the delete nexus params
func (*DeleteNexusParams) SetDefaults ¶
func (o *DeleteNexusParams) SetDefaults()
SetDefaults hydrates default values in the delete nexus params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNexusParams) SetHTTPClient ¶
func (o *DeleteNexusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete nexus params
func (*DeleteNexusParams) SetID ¶
func (o *DeleteNexusParams) SetID(id int32)
SetID adds the id to the delete nexus params
func (*DeleteNexusParams) SetTimeout ¶
func (o *DeleteNexusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete nexus params
func (*DeleteNexusParams) SetXAvalaraClient ¶
func (o *DeleteNexusParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the delete nexus params
func (*DeleteNexusParams) WithCascadeDelete ¶
func (o *DeleteNexusParams) WithCascadeDelete(cascadeDelete *bool) *DeleteNexusParams
WithCascadeDelete adds the cascadeDelete to the delete nexus params
func (*DeleteNexusParams) WithCompanyID ¶
func (o *DeleteNexusParams) WithCompanyID(companyID int32) *DeleteNexusParams
WithCompanyID adds the companyID to the delete nexus params
func (*DeleteNexusParams) WithContext ¶
func (o *DeleteNexusParams) WithContext(ctx context.Context) *DeleteNexusParams
WithContext adds the context to the delete nexus params
func (*DeleteNexusParams) WithDefaults ¶
func (o *DeleteNexusParams) WithDefaults() *DeleteNexusParams
WithDefaults hydrates default values in the delete nexus params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNexusParams) WithHTTPClient ¶
func (o *DeleteNexusParams) WithHTTPClient(client *http.Client) *DeleteNexusParams
WithHTTPClient adds the HTTPClient to the delete nexus params
func (*DeleteNexusParams) WithID ¶
func (o *DeleteNexusParams) WithID(id int32) *DeleteNexusParams
WithID adds the id to the delete nexus params
func (*DeleteNexusParams) WithTimeout ¶
func (o *DeleteNexusParams) WithTimeout(timeout time.Duration) *DeleteNexusParams
WithTimeout adds the timeout to the delete nexus params
func (*DeleteNexusParams) WithXAvalaraClient ¶
func (o *DeleteNexusParams) WithXAvalaraClient(xAvalaraClient *string) *DeleteNexusParams
WithXAvalaraClient adds the xAvalaraClient to the delete nexus params
func (*DeleteNexusParams) WriteToRequest ¶
func (o *DeleteNexusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNexusReader ¶
type DeleteNexusReader struct {
// contains filtered or unexported fields
}
DeleteNexusReader is a Reader for the DeleteNexus structure.
func (*DeleteNexusReader) ReadResponse ¶
func (o *DeleteNexusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNexusUnauthorized ¶
type DeleteNexusUnauthorized struct {
}
DeleteNexusUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteNexusUnauthorized ¶
func NewDeleteNexusUnauthorized() *DeleteNexusUnauthorized
NewDeleteNexusUnauthorized creates a DeleteNexusUnauthorized with default headers values
func (*DeleteNexusUnauthorized) Error ¶
func (o *DeleteNexusUnauthorized) Error() string
type GetNexusBadRequest ¶
type GetNexusBadRequest struct {
}
GetNexusBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetNexusBadRequest ¶
func NewGetNexusBadRequest() *GetNexusBadRequest
NewGetNexusBadRequest creates a GetNexusBadRequest with default headers values
func (*GetNexusBadRequest) Error ¶
func (o *GetNexusBadRequest) Error() string
type GetNexusByFormCodeBadRequest ¶
type GetNexusByFormCodeBadRequest struct {
}
GetNexusByFormCodeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetNexusByFormCodeBadRequest ¶
func NewGetNexusByFormCodeBadRequest() *GetNexusByFormCodeBadRequest
NewGetNexusByFormCodeBadRequest creates a GetNexusByFormCodeBadRequest with default headers values
func (*GetNexusByFormCodeBadRequest) Error ¶
func (o *GetNexusByFormCodeBadRequest) Error() string
type GetNexusByFormCodeNotFound ¶
type GetNexusByFormCodeNotFound struct {
}
GetNexusByFormCodeNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetNexusByFormCodeNotFound ¶
func NewGetNexusByFormCodeNotFound() *GetNexusByFormCodeNotFound
NewGetNexusByFormCodeNotFound creates a GetNexusByFormCodeNotFound with default headers values
func (*GetNexusByFormCodeNotFound) Error ¶
func (o *GetNexusByFormCodeNotFound) Error() string
type GetNexusByFormCodeOK ¶
type GetNexusByFormCodeOK struct {
Payload *models.NexusByTaxFormModel
}
GetNexusByFormCodeOK describes a response with status code 200, with default header values.
Success
func NewGetNexusByFormCodeOK ¶
func NewGetNexusByFormCodeOK() *GetNexusByFormCodeOK
NewGetNexusByFormCodeOK creates a GetNexusByFormCodeOK with default headers values
func (*GetNexusByFormCodeOK) Error ¶
func (o *GetNexusByFormCodeOK) Error() string
func (*GetNexusByFormCodeOK) GetPayload ¶
func (o *GetNexusByFormCodeOK) GetPayload() *models.NexusByTaxFormModel
type GetNexusByFormCodeParams ¶
type GetNexusByFormCodeParams struct {
// DollarInclude.
DollarInclude *string
/* XAvalaraClient.
Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
Default: "Swagger UI; 21.12.0; Custom; 1.0"
*/
XAvalaraClient *string
/* CompanyID.
The ID of the company that owns this nexus object
Format: int32
*/
CompanyID int32
/* FormCode.
The form code that we are looking up the nexus for
*/
FormCode string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetNexusByFormCodeParams contains all the parameters to send to the API endpoint
for the get nexus by form code operation. Typically these are written to a http.Request.
func NewGetNexusByFormCodeParams ¶
func NewGetNexusByFormCodeParams() *GetNexusByFormCodeParams
NewGetNexusByFormCodeParams creates a new GetNexusByFormCodeParams 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 NewGetNexusByFormCodeParamsWithContext ¶
func NewGetNexusByFormCodeParamsWithContext(ctx context.Context) *GetNexusByFormCodeParams
NewGetNexusByFormCodeParamsWithContext creates a new GetNexusByFormCodeParams object with the ability to set a context for a request.
func NewGetNexusByFormCodeParamsWithHTTPClient ¶
func NewGetNexusByFormCodeParamsWithHTTPClient(client *http.Client) *GetNexusByFormCodeParams
NewGetNexusByFormCodeParamsWithHTTPClient creates a new GetNexusByFormCodeParams object with the ability to set a custom HTTPClient for a request.
func NewGetNexusByFormCodeParamsWithTimeout ¶
func NewGetNexusByFormCodeParamsWithTimeout(timeout time.Duration) *GetNexusByFormCodeParams
NewGetNexusByFormCodeParamsWithTimeout creates a new GetNexusByFormCodeParams object with the ability to set a timeout on a request.
func (*GetNexusByFormCodeParams) SetCompanyID ¶
func (o *GetNexusByFormCodeParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the get nexus by form code params
func (*GetNexusByFormCodeParams) SetContext ¶
func (o *GetNexusByFormCodeParams) SetContext(ctx context.Context)
SetContext adds the context to the get nexus by form code params
func (*GetNexusByFormCodeParams) SetDefaults ¶
func (o *GetNexusByFormCodeParams) SetDefaults()
SetDefaults hydrates default values in the get nexus by form code params (not the query body).
All values with no default are reset to their zero value.
func (*GetNexusByFormCodeParams) SetDollarInclude ¶
func (o *GetNexusByFormCodeParams) SetDollarInclude(dollarInclude *string)
SetDollarInclude adds the dollarInclude to the get nexus by form code params
func (*GetNexusByFormCodeParams) SetFormCode ¶
func (o *GetNexusByFormCodeParams) SetFormCode(formCode string)
SetFormCode adds the formCode to the get nexus by form code params
func (*GetNexusByFormCodeParams) SetHTTPClient ¶
func (o *GetNexusByFormCodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nexus by form code params
func (*GetNexusByFormCodeParams) SetTimeout ¶
func (o *GetNexusByFormCodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nexus by form code params
func (*GetNexusByFormCodeParams) SetXAvalaraClient ¶
func (o *GetNexusByFormCodeParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the get nexus by form code params
func (*GetNexusByFormCodeParams) WithCompanyID ¶
func (o *GetNexusByFormCodeParams) WithCompanyID(companyID int32) *GetNexusByFormCodeParams
WithCompanyID adds the companyID to the get nexus by form code params
func (*GetNexusByFormCodeParams) WithContext ¶
func (o *GetNexusByFormCodeParams) WithContext(ctx context.Context) *GetNexusByFormCodeParams
WithContext adds the context to the get nexus by form code params
func (*GetNexusByFormCodeParams) WithDefaults ¶
func (o *GetNexusByFormCodeParams) WithDefaults() *GetNexusByFormCodeParams
WithDefaults hydrates default values in the get nexus by form code params (not the query body).
All values with no default are reset to their zero value.
func (*GetNexusByFormCodeParams) WithDollarInclude ¶
func (o *GetNexusByFormCodeParams) WithDollarInclude(dollarInclude *string) *GetNexusByFormCodeParams
WithDollarInclude adds the dollarInclude to the get nexus by form code params
func (*GetNexusByFormCodeParams) WithFormCode ¶
func (o *GetNexusByFormCodeParams) WithFormCode(formCode string) *GetNexusByFormCodeParams
WithFormCode adds the formCode to the get nexus by form code params
func (*GetNexusByFormCodeParams) WithHTTPClient ¶
func (o *GetNexusByFormCodeParams) WithHTTPClient(client *http.Client) *GetNexusByFormCodeParams
WithHTTPClient adds the HTTPClient to the get nexus by form code params
func (*GetNexusByFormCodeParams) WithTimeout ¶
func (o *GetNexusByFormCodeParams) WithTimeout(timeout time.Duration) *GetNexusByFormCodeParams
WithTimeout adds the timeout to the get nexus by form code params
func (*GetNexusByFormCodeParams) WithXAvalaraClient ¶
func (o *GetNexusByFormCodeParams) WithXAvalaraClient(xAvalaraClient *string) *GetNexusByFormCodeParams
WithXAvalaraClient adds the xAvalaraClient to the get nexus by form code params
func (*GetNexusByFormCodeParams) WriteToRequest ¶
func (o *GetNexusByFormCodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNexusByFormCodeReader ¶
type GetNexusByFormCodeReader struct {
// contains filtered or unexported fields
}
GetNexusByFormCodeReader is a Reader for the GetNexusByFormCode structure.
func (*GetNexusByFormCodeReader) ReadResponse ¶
func (o *GetNexusByFormCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNexusByFormCodeUnauthorized ¶
type GetNexusByFormCodeUnauthorized struct {
}
GetNexusByFormCodeUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetNexusByFormCodeUnauthorized ¶
func NewGetNexusByFormCodeUnauthorized() *GetNexusByFormCodeUnauthorized
NewGetNexusByFormCodeUnauthorized creates a GetNexusByFormCodeUnauthorized with default headers values
func (*GetNexusByFormCodeUnauthorized) Error ¶
func (o *GetNexusByFormCodeUnauthorized) Error() string
type GetNexusNotFound ¶
type GetNexusNotFound struct {
}
GetNexusNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetNexusNotFound ¶
func NewGetNexusNotFound() *GetNexusNotFound
NewGetNexusNotFound creates a GetNexusNotFound with default headers values
func (*GetNexusNotFound) Error ¶
func (o *GetNexusNotFound) Error() string
type GetNexusOK ¶
type GetNexusOK struct {
Payload *models.NexusModel
}
GetNexusOK describes a response with status code 200, with default header values.
Success
func NewGetNexusOK ¶
func NewGetNexusOK() *GetNexusOK
NewGetNexusOK creates a GetNexusOK with default headers values
func (*GetNexusOK) Error ¶
func (o *GetNexusOK) Error() string
func (*GetNexusOK) GetPayload ¶
func (o *GetNexusOK) GetPayload() *models.NexusModel
type GetNexusParameterBadRequest ¶
type GetNexusParameterBadRequest struct {
}
GetNexusParameterBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetNexusParameterBadRequest ¶
func NewGetNexusParameterBadRequest() *GetNexusParameterBadRequest
NewGetNexusParameterBadRequest creates a GetNexusParameterBadRequest with default headers values
func (*GetNexusParameterBadRequest) Error ¶
func (o *GetNexusParameterBadRequest) Error() string
type GetNexusParameterNotFound ¶
type GetNexusParameterNotFound struct {
}
GetNexusParameterNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetNexusParameterNotFound ¶
func NewGetNexusParameterNotFound() *GetNexusParameterNotFound
NewGetNexusParameterNotFound creates a GetNexusParameterNotFound with default headers values
func (*GetNexusParameterNotFound) Error ¶
func (o *GetNexusParameterNotFound) Error() string
type GetNexusParameterOK ¶
type GetNexusParameterOK struct {
Payload *models.NexusParameterDetailModel
}
GetNexusParameterOK describes a response with status code 200, with default header values.
Success
func NewGetNexusParameterOK ¶
func NewGetNexusParameterOK() *GetNexusParameterOK
NewGetNexusParameterOK creates a GetNexusParameterOK with default headers values
func (*GetNexusParameterOK) Error ¶
func (o *GetNexusParameterOK) Error() string
func (*GetNexusParameterOK) GetPayload ¶
func (o *GetNexusParameterOK) GetPayload() *models.NexusParameterDetailModel
type GetNexusParameterParams ¶
type GetNexusParameterParams struct {
/* XAvalaraClient.
Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
Default: "Swagger UI; 21.12.0; Custom; 1.0"
*/
XAvalaraClient *string
/* CompanyID.
The company id
Format: int32
*/
CompanyID int32
/* ID.
The parameter id
Format: int64
*/
ID int64
/* NexusID.
The nexus id
Format: int32
*/
NexusID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetNexusParameterParams contains all the parameters to send to the API endpoint
for the get nexus parameter operation. Typically these are written to a http.Request.
func NewGetNexusParameterParams ¶
func NewGetNexusParameterParams() *GetNexusParameterParams
NewGetNexusParameterParams creates a new GetNexusParameterParams 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 NewGetNexusParameterParamsWithContext ¶
func NewGetNexusParameterParamsWithContext(ctx context.Context) *GetNexusParameterParams
NewGetNexusParameterParamsWithContext creates a new GetNexusParameterParams object with the ability to set a context for a request.
func NewGetNexusParameterParamsWithHTTPClient ¶
func NewGetNexusParameterParamsWithHTTPClient(client *http.Client) *GetNexusParameterParams
NewGetNexusParameterParamsWithHTTPClient creates a new GetNexusParameterParams object with the ability to set a custom HTTPClient for a request.
func NewGetNexusParameterParamsWithTimeout ¶
func NewGetNexusParameterParamsWithTimeout(timeout time.Duration) *GetNexusParameterParams
NewGetNexusParameterParamsWithTimeout creates a new GetNexusParameterParams object with the ability to set a timeout on a request.
func (*GetNexusParameterParams) SetCompanyID ¶
func (o *GetNexusParameterParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the get nexus parameter params
func (*GetNexusParameterParams) SetContext ¶
func (o *GetNexusParameterParams) SetContext(ctx context.Context)
SetContext adds the context to the get nexus parameter params
func (*GetNexusParameterParams) SetDefaults ¶
func (o *GetNexusParameterParams) SetDefaults()
SetDefaults hydrates default values in the get nexus parameter params (not the query body).
All values with no default are reset to their zero value.
func (*GetNexusParameterParams) SetHTTPClient ¶
func (o *GetNexusParameterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nexus parameter params
func (*GetNexusParameterParams) SetID ¶
func (o *GetNexusParameterParams) SetID(id int64)
SetID adds the id to the get nexus parameter params
func (*GetNexusParameterParams) SetNexusID ¶
func (o *GetNexusParameterParams) SetNexusID(nexusID int32)
SetNexusID adds the nexusId to the get nexus parameter params
func (*GetNexusParameterParams) SetTimeout ¶
func (o *GetNexusParameterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nexus parameter params
func (*GetNexusParameterParams) SetXAvalaraClient ¶
func (o *GetNexusParameterParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the get nexus parameter params
func (*GetNexusParameterParams) WithCompanyID ¶
func (o *GetNexusParameterParams) WithCompanyID(companyID int32) *GetNexusParameterParams
WithCompanyID adds the companyID to the get nexus parameter params
func (*GetNexusParameterParams) WithContext ¶
func (o *GetNexusParameterParams) WithContext(ctx context.Context) *GetNexusParameterParams
WithContext adds the context to the get nexus parameter params
func (*GetNexusParameterParams) WithDefaults ¶
func (o *GetNexusParameterParams) WithDefaults() *GetNexusParameterParams
WithDefaults hydrates default values in the get nexus parameter params (not the query body).
All values with no default are reset to their zero value.
func (*GetNexusParameterParams) WithHTTPClient ¶
func (o *GetNexusParameterParams) WithHTTPClient(client *http.Client) *GetNexusParameterParams
WithHTTPClient adds the HTTPClient to the get nexus parameter params
func (*GetNexusParameterParams) WithID ¶
func (o *GetNexusParameterParams) WithID(id int64) *GetNexusParameterParams
WithID adds the id to the get nexus parameter params
func (*GetNexusParameterParams) WithNexusID ¶
func (o *GetNexusParameterParams) WithNexusID(nexusID int32) *GetNexusParameterParams
WithNexusID adds the nexusID to the get nexus parameter params
func (*GetNexusParameterParams) WithTimeout ¶
func (o *GetNexusParameterParams) WithTimeout(timeout time.Duration) *GetNexusParameterParams
WithTimeout adds the timeout to the get nexus parameter params
func (*GetNexusParameterParams) WithXAvalaraClient ¶
func (o *GetNexusParameterParams) WithXAvalaraClient(xAvalaraClient *string) *GetNexusParameterParams
WithXAvalaraClient adds the xAvalaraClient to the get nexus parameter params
func (*GetNexusParameterParams) WriteToRequest ¶
func (o *GetNexusParameterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNexusParameterReader ¶
type GetNexusParameterReader struct {
// contains filtered or unexported fields
}
GetNexusParameterReader is a Reader for the GetNexusParameter structure.
func (*GetNexusParameterReader) ReadResponse ¶
func (o *GetNexusParameterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNexusParameterUnauthorized ¶
type GetNexusParameterUnauthorized struct {
}
GetNexusParameterUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetNexusParameterUnauthorized ¶
func NewGetNexusParameterUnauthorized() *GetNexusParameterUnauthorized
NewGetNexusParameterUnauthorized creates a GetNexusParameterUnauthorized with default headers values
func (*GetNexusParameterUnauthorized) Error ¶
func (o *GetNexusParameterUnauthorized) Error() string
type GetNexusParams ¶
type GetNexusParams struct {
// DollarInclude.
DollarInclude *string
/* XAvalaraClient.
Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
Default: "Swagger UI; 21.12.0; Custom; 1.0"
*/
XAvalaraClient *string
/* CompanyID.
The ID of the company that owns this nexus object
Format: int32
*/
CompanyID int32
/* ID.
The primary key of this nexus
Format: int32
*/
ID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetNexusParams contains all the parameters to send to the API endpoint
for the get nexus operation. Typically these are written to a http.Request.
func NewGetNexusParams ¶
func NewGetNexusParams() *GetNexusParams
NewGetNexusParams creates a new GetNexusParams 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 NewGetNexusParamsWithContext ¶
func NewGetNexusParamsWithContext(ctx context.Context) *GetNexusParams
NewGetNexusParamsWithContext creates a new GetNexusParams object with the ability to set a context for a request.
func NewGetNexusParamsWithHTTPClient ¶
func NewGetNexusParamsWithHTTPClient(client *http.Client) *GetNexusParams
NewGetNexusParamsWithHTTPClient creates a new GetNexusParams object with the ability to set a custom HTTPClient for a request.
func NewGetNexusParamsWithTimeout ¶
func NewGetNexusParamsWithTimeout(timeout time.Duration) *GetNexusParams
NewGetNexusParamsWithTimeout creates a new GetNexusParams object with the ability to set a timeout on a request.
func (*GetNexusParams) SetCompanyID ¶
func (o *GetNexusParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the get nexus params
func (*GetNexusParams) SetContext ¶
func (o *GetNexusParams) SetContext(ctx context.Context)
SetContext adds the context to the get nexus params
func (*GetNexusParams) SetDefaults ¶
func (o *GetNexusParams) SetDefaults()
SetDefaults hydrates default values in the get nexus params (not the query body).
All values with no default are reset to their zero value.
func (*GetNexusParams) SetDollarInclude ¶
func (o *GetNexusParams) SetDollarInclude(dollarInclude *string)
SetDollarInclude adds the dollarInclude to the get nexus params
func (*GetNexusParams) SetHTTPClient ¶
func (o *GetNexusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nexus params
func (*GetNexusParams) SetID ¶
func (o *GetNexusParams) SetID(id int32)
SetID adds the id to the get nexus params
func (*GetNexusParams) SetTimeout ¶
func (o *GetNexusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nexus params
func (*GetNexusParams) SetXAvalaraClient ¶
func (o *GetNexusParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the get nexus params
func (*GetNexusParams) WithCompanyID ¶
func (o *GetNexusParams) WithCompanyID(companyID int32) *GetNexusParams
WithCompanyID adds the companyID to the get nexus params
func (*GetNexusParams) WithContext ¶
func (o *GetNexusParams) WithContext(ctx context.Context) *GetNexusParams
WithContext adds the context to the get nexus params
func (*GetNexusParams) WithDefaults ¶
func (o *GetNexusParams) WithDefaults() *GetNexusParams
WithDefaults hydrates default values in the get nexus params (not the query body).
All values with no default are reset to their zero value.
func (*GetNexusParams) WithDollarInclude ¶
func (o *GetNexusParams) WithDollarInclude(dollarInclude *string) *GetNexusParams
WithDollarInclude adds the dollarInclude to the get nexus params
func (*GetNexusParams) WithHTTPClient ¶
func (o *GetNexusParams) WithHTTPClient(client *http.Client) *GetNexusParams
WithHTTPClient adds the HTTPClient to the get nexus params
func (*GetNexusParams) WithID ¶
func (o *GetNexusParams) WithID(id int32) *GetNexusParams
WithID adds the id to the get nexus params
func (*GetNexusParams) WithTimeout ¶
func (o *GetNexusParams) WithTimeout(timeout time.Duration) *GetNexusParams
WithTimeout adds the timeout to the get nexus params
func (*GetNexusParams) WithXAvalaraClient ¶
func (o *GetNexusParams) WithXAvalaraClient(xAvalaraClient *string) *GetNexusParams
WithXAvalaraClient adds the xAvalaraClient to the get nexus params
func (*GetNexusParams) WriteToRequest ¶
func (o *GetNexusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNexusReader ¶
type GetNexusReader struct {
// contains filtered or unexported fields
}
GetNexusReader is a Reader for the GetNexus structure.
func (*GetNexusReader) ReadResponse ¶
func (o *GetNexusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNexusUnauthorized ¶
type GetNexusUnauthorized struct {
}
GetNexusUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetNexusUnauthorized ¶
func NewGetNexusUnauthorized() *GetNexusUnauthorized
NewGetNexusUnauthorized creates a GetNexusUnauthorized with default headers values
func (*GetNexusUnauthorized) Error ¶
func (o *GetNexusUnauthorized) Error() string
type ListNexusByCompanyAndTaxTypeGroupBadRequest ¶
type ListNexusByCompanyAndTaxTypeGroupBadRequest struct {
}
ListNexusByCompanyAndTaxTypeGroupBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListNexusByCompanyAndTaxTypeGroupBadRequest ¶
func NewListNexusByCompanyAndTaxTypeGroupBadRequest() *ListNexusByCompanyAndTaxTypeGroupBadRequest
NewListNexusByCompanyAndTaxTypeGroupBadRequest creates a ListNexusByCompanyAndTaxTypeGroupBadRequest with default headers values
func (*ListNexusByCompanyAndTaxTypeGroupBadRequest) Error ¶
func (o *ListNexusByCompanyAndTaxTypeGroupBadRequest) Error() string
type ListNexusByCompanyAndTaxTypeGroupNotFound ¶
type ListNexusByCompanyAndTaxTypeGroupNotFound struct {
}
ListNexusByCompanyAndTaxTypeGroupNotFound describes a response with status code 404, with default header values.
Not Found
func NewListNexusByCompanyAndTaxTypeGroupNotFound ¶
func NewListNexusByCompanyAndTaxTypeGroupNotFound() *ListNexusByCompanyAndTaxTypeGroupNotFound
NewListNexusByCompanyAndTaxTypeGroupNotFound creates a ListNexusByCompanyAndTaxTypeGroupNotFound with default headers values
func (*ListNexusByCompanyAndTaxTypeGroupNotFound) Error ¶
func (o *ListNexusByCompanyAndTaxTypeGroupNotFound) Error() string
type ListNexusByCompanyAndTaxTypeGroupOK ¶
type ListNexusByCompanyAndTaxTypeGroupOK struct {
Payload *models.NexusModelFetchResult
}
ListNexusByCompanyAndTaxTypeGroupOK describes a response with status code 200, with default header values.
Success
func NewListNexusByCompanyAndTaxTypeGroupOK ¶
func NewListNexusByCompanyAndTaxTypeGroupOK() *ListNexusByCompanyAndTaxTypeGroupOK
NewListNexusByCompanyAndTaxTypeGroupOK creates a ListNexusByCompanyAndTaxTypeGroupOK with default headers values
func (*ListNexusByCompanyAndTaxTypeGroupOK) Error ¶
func (o *ListNexusByCompanyAndTaxTypeGroupOK) Error() string
func (*ListNexusByCompanyAndTaxTypeGroupOK) GetPayload ¶
func (o *ListNexusByCompanyAndTaxTypeGroupOK) GetPayload() *models.NexusModelFetchResult
type ListNexusByCompanyAndTaxTypeGroupParams ¶
type ListNexusByCompanyAndTaxTypeGroupParams 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
*/
DollarFilter *string
/* DollarInclude.
A comma separated list of additional data to retrieve.
*/
DollarInclude *string
/* DollarOrderBy.
A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
*/
DollarOrderBy *string
/* DollarSkip.
If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
Format: int32
*/
DollarSkip *int32
/* DollarTop.
If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
Format: int32
*/
DollarTop *int32
/* XAvalaraClient.
Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
Default: "Swagger UI; 21.12.0; Custom; 1.0"
*/
XAvalaraClient *string
/* CompanyID.
The ID of the company that owns these nexus objects
Format: int32
*/
CompanyID int32
/* TaxTypeGroup.
Name of TaxTypeGroup to filter by
*/
TaxTypeGroup string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListNexusByCompanyAndTaxTypeGroupParams contains all the parameters to send to the API endpoint
for the list nexus by company and tax type group operation. Typically these are written to a http.Request.
func NewListNexusByCompanyAndTaxTypeGroupParams ¶
func NewListNexusByCompanyAndTaxTypeGroupParams() *ListNexusByCompanyAndTaxTypeGroupParams
NewListNexusByCompanyAndTaxTypeGroupParams creates a new ListNexusByCompanyAndTaxTypeGroupParams 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 NewListNexusByCompanyAndTaxTypeGroupParamsWithContext ¶
func NewListNexusByCompanyAndTaxTypeGroupParamsWithContext(ctx context.Context) *ListNexusByCompanyAndTaxTypeGroupParams
NewListNexusByCompanyAndTaxTypeGroupParamsWithContext creates a new ListNexusByCompanyAndTaxTypeGroupParams object with the ability to set a context for a request.
func NewListNexusByCompanyAndTaxTypeGroupParamsWithHTTPClient ¶
func NewListNexusByCompanyAndTaxTypeGroupParamsWithHTTPClient(client *http.Client) *ListNexusByCompanyAndTaxTypeGroupParams
NewListNexusByCompanyAndTaxTypeGroupParamsWithHTTPClient creates a new ListNexusByCompanyAndTaxTypeGroupParams object with the ability to set a custom HTTPClient for a request.
func NewListNexusByCompanyAndTaxTypeGroupParamsWithTimeout ¶
func NewListNexusByCompanyAndTaxTypeGroupParamsWithTimeout(timeout time.Duration) *ListNexusByCompanyAndTaxTypeGroupParams
NewListNexusByCompanyAndTaxTypeGroupParamsWithTimeout creates a new ListNexusByCompanyAndTaxTypeGroupParams object with the ability to set a timeout on a request.
func (*ListNexusByCompanyAndTaxTypeGroupParams) SetCompanyID ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) SetContext ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) SetDefaults ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDefaults()
SetDefaults hydrates default values in the list nexus by company and tax type group params (not the query body).
All values with no default are reset to their zero value.
func (*ListNexusByCompanyAndTaxTypeGroupParams) SetDollarFilter ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) SetDollarInclude ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDollarInclude(dollarInclude *string)
SetDollarInclude adds the dollarInclude to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) SetDollarOrderBy ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDollarOrderBy(dollarOrderBy *string)
SetDollarOrderBy adds the dollarOrderBy to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) SetDollarSkip ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) SetDollarTop ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) SetHTTPClient ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) SetTaxTypeGroup ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetTaxTypeGroup(taxTypeGroup string)
SetTaxTypeGroup adds the taxTypeGroup to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) SetTimeout ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) SetXAvalaraClient ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) WithCompanyID ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithCompanyID(companyID int32) *ListNexusByCompanyAndTaxTypeGroupParams
WithCompanyID adds the companyID to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) WithContext ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithContext(ctx context.Context) *ListNexusByCompanyAndTaxTypeGroupParams
WithContext adds the context to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) WithDefaults ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithDefaults() *ListNexusByCompanyAndTaxTypeGroupParams
WithDefaults hydrates default values in the list nexus by company and tax type group params (not the query body).
All values with no default are reset to their zero value.
func (*ListNexusByCompanyAndTaxTypeGroupParams) WithDollarFilter ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithDollarFilter(dollarFilter *string) *ListNexusByCompanyAndTaxTypeGroupParams
WithDollarFilter adds the dollarFilter to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) WithDollarInclude ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithDollarInclude(dollarInclude *string) *ListNexusByCompanyAndTaxTypeGroupParams
WithDollarInclude adds the dollarInclude to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) WithDollarOrderBy ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithDollarOrderBy(dollarOrderBy *string) *ListNexusByCompanyAndTaxTypeGroupParams
WithDollarOrderBy adds the dollarOrderBy to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) WithDollarSkip ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithDollarSkip(dollarSkip *int32) *ListNexusByCompanyAndTaxTypeGroupParams
WithDollarSkip adds the dollarSkip to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) WithDollarTop ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithDollarTop(dollarTop *int32) *ListNexusByCompanyAndTaxTypeGroupParams
WithDollarTop adds the dollarTop to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) WithHTTPClient ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithHTTPClient(client *http.Client) *ListNexusByCompanyAndTaxTypeGroupParams
WithHTTPClient adds the HTTPClient to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) WithTaxTypeGroup ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithTaxTypeGroup(taxTypeGroup string) *ListNexusByCompanyAndTaxTypeGroupParams
WithTaxTypeGroup adds the taxTypeGroup to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) WithTimeout ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithTimeout(timeout time.Duration) *ListNexusByCompanyAndTaxTypeGroupParams
WithTimeout adds the timeout to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) WithXAvalaraClient ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WithXAvalaraClient(xAvalaraClient *string) *ListNexusByCompanyAndTaxTypeGroupParams
WithXAvalaraClient adds the xAvalaraClient to the list nexus by company and tax type group params
func (*ListNexusByCompanyAndTaxTypeGroupParams) WriteToRequest ¶
func (o *ListNexusByCompanyAndTaxTypeGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListNexusByCompanyAndTaxTypeGroupReader ¶
type ListNexusByCompanyAndTaxTypeGroupReader struct {
// contains filtered or unexported fields
}
ListNexusByCompanyAndTaxTypeGroupReader is a Reader for the ListNexusByCompanyAndTaxTypeGroup structure.
func (*ListNexusByCompanyAndTaxTypeGroupReader) ReadResponse ¶
func (o *ListNexusByCompanyAndTaxTypeGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListNexusByCompanyAndTaxTypeGroupUnauthorized ¶
type ListNexusByCompanyAndTaxTypeGroupUnauthorized struct {
}
ListNexusByCompanyAndTaxTypeGroupUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListNexusByCompanyAndTaxTypeGroupUnauthorized ¶
func NewListNexusByCompanyAndTaxTypeGroupUnauthorized() *ListNexusByCompanyAndTaxTypeGroupUnauthorized
NewListNexusByCompanyAndTaxTypeGroupUnauthorized creates a ListNexusByCompanyAndTaxTypeGroupUnauthorized with default headers values
func (*ListNexusByCompanyAndTaxTypeGroupUnauthorized) Error ¶
func (o *ListNexusByCompanyAndTaxTypeGroupUnauthorized) Error() string
type ListNexusByCompanyBadRequest ¶
type ListNexusByCompanyBadRequest struct {
}
ListNexusByCompanyBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListNexusByCompanyBadRequest ¶
func NewListNexusByCompanyBadRequest() *ListNexusByCompanyBadRequest
NewListNexusByCompanyBadRequest creates a ListNexusByCompanyBadRequest with default headers values
func (*ListNexusByCompanyBadRequest) Error ¶
func (o *ListNexusByCompanyBadRequest) Error() string
type ListNexusByCompanyNotFound ¶
type ListNexusByCompanyNotFound struct {
}
ListNexusByCompanyNotFound describes a response with status code 404, with default header values.
Not Found
func NewListNexusByCompanyNotFound ¶
func NewListNexusByCompanyNotFound() *ListNexusByCompanyNotFound
NewListNexusByCompanyNotFound creates a ListNexusByCompanyNotFound with default headers values
func (*ListNexusByCompanyNotFound) Error ¶
func (o *ListNexusByCompanyNotFound) Error() string
type ListNexusByCompanyOK ¶
type ListNexusByCompanyOK struct {
Payload *models.NexusModelFetchResult
}
ListNexusByCompanyOK describes a response with status code 200, with default header values.
Success
func NewListNexusByCompanyOK ¶
func NewListNexusByCompanyOK() *ListNexusByCompanyOK
NewListNexusByCompanyOK creates a ListNexusByCompanyOK with default headers values
func (*ListNexusByCompanyOK) Error ¶
func (o *ListNexusByCompanyOK) Error() string
func (*ListNexusByCompanyOK) GetPayload ¶
func (o *ListNexusByCompanyOK) GetPayload() *models.NexusModelFetchResult
type ListNexusByCompanyParams ¶
type ListNexusByCompanyParams 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
*/
DollarFilter *string
/* DollarInclude.
A comma separated list of additional data to retrieve.
*/
DollarInclude *string
/* DollarOrderBy.
A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
*/
DollarOrderBy *string
/* DollarSkip.
If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
Format: int32
*/
DollarSkip *int32
/* DollarTop.
If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
Format: int32
*/
DollarTop *int32
/* XAvalaraClient.
Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
Default: "Swagger UI; 21.12.0; Custom; 1.0"
*/
XAvalaraClient *string
/* CompanyID.
The ID of the company that owns these nexus objects
Format: int32
*/
CompanyID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListNexusByCompanyParams contains all the parameters to send to the API endpoint
for the list nexus by company operation. Typically these are written to a http.Request.
func NewListNexusByCompanyParams ¶
func NewListNexusByCompanyParams() *ListNexusByCompanyParams
NewListNexusByCompanyParams creates a new ListNexusByCompanyParams 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 NewListNexusByCompanyParamsWithContext ¶
func NewListNexusByCompanyParamsWithContext(ctx context.Context) *ListNexusByCompanyParams
NewListNexusByCompanyParamsWithContext creates a new ListNexusByCompanyParams object with the ability to set a context for a request.
func NewListNexusByCompanyParamsWithHTTPClient ¶
func NewListNexusByCompanyParamsWithHTTPClient(client *http.Client) *ListNexusByCompanyParams
NewListNexusByCompanyParamsWithHTTPClient creates a new ListNexusByCompanyParams object with the ability to set a custom HTTPClient for a request.
func NewListNexusByCompanyParamsWithTimeout ¶
func NewListNexusByCompanyParamsWithTimeout(timeout time.Duration) *ListNexusByCompanyParams
NewListNexusByCompanyParamsWithTimeout creates a new ListNexusByCompanyParams object with the ability to set a timeout on a request.
func (*ListNexusByCompanyParams) SetCompanyID ¶
func (o *ListNexusByCompanyParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the list nexus by company params
func (*ListNexusByCompanyParams) SetContext ¶
func (o *ListNexusByCompanyParams) SetContext(ctx context.Context)
SetContext adds the context to the list nexus by company params
func (*ListNexusByCompanyParams) SetDefaults ¶
func (o *ListNexusByCompanyParams) SetDefaults()
SetDefaults hydrates default values in the list nexus by company params (not the query body).
All values with no default are reset to their zero value.
func (*ListNexusByCompanyParams) SetDollarFilter ¶
func (o *ListNexusByCompanyParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the list nexus by company params
func (*ListNexusByCompanyParams) SetDollarInclude ¶
func (o *ListNexusByCompanyParams) SetDollarInclude(dollarInclude *string)
SetDollarInclude adds the dollarInclude to the list nexus by company params
func (*ListNexusByCompanyParams) SetDollarOrderBy ¶
func (o *ListNexusByCompanyParams) SetDollarOrderBy(dollarOrderBy *string)
SetDollarOrderBy adds the dollarOrderBy to the list nexus by company params
func (*ListNexusByCompanyParams) SetDollarSkip ¶
func (o *ListNexusByCompanyParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the list nexus by company params
func (*ListNexusByCompanyParams) SetDollarTop ¶
func (o *ListNexusByCompanyParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the list nexus by company params
func (*ListNexusByCompanyParams) SetHTTPClient ¶
func (o *ListNexusByCompanyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list nexus by company params
func (*ListNexusByCompanyParams) SetTimeout ¶
func (o *ListNexusByCompanyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list nexus by company params
func (*ListNexusByCompanyParams) SetXAvalaraClient ¶
func (o *ListNexusByCompanyParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the list nexus by company params
func (*ListNexusByCompanyParams) WithCompanyID ¶
func (o *ListNexusByCompanyParams) WithCompanyID(companyID int32) *ListNexusByCompanyParams
WithCompanyID adds the companyID to the list nexus by company params
func (*ListNexusByCompanyParams) WithContext ¶
func (o *ListNexusByCompanyParams) WithContext(ctx context.Context) *ListNexusByCompanyParams
WithContext adds the context to the list nexus by company params
func (*ListNexusByCompanyParams) WithDefaults ¶
func (o *ListNexusByCompanyParams) WithDefaults() *ListNexusByCompanyParams
WithDefaults hydrates default values in the list nexus by company params (not the query body).
All values with no default are reset to their zero value.
func (*ListNexusByCompanyParams) WithDollarFilter ¶
func (o *ListNexusByCompanyParams) WithDollarFilter(dollarFilter *string) *ListNexusByCompanyParams
WithDollarFilter adds the dollarFilter to the list nexus by company params
func (*ListNexusByCompanyParams) WithDollarInclude ¶
func (o *ListNexusByCompanyParams) WithDollarInclude(dollarInclude *string) *ListNexusByCompanyParams
WithDollarInclude adds the dollarInclude to the list nexus by company params
func (*ListNexusByCompanyParams) WithDollarOrderBy ¶
func (o *ListNexusByCompanyParams) WithDollarOrderBy(dollarOrderBy *string) *ListNexusByCompanyParams
WithDollarOrderBy adds the dollarOrderBy to the list nexus by company params
func (*ListNexusByCompanyParams) WithDollarSkip ¶
func (o *ListNexusByCompanyParams) WithDollarSkip(dollarSkip *int32) *ListNexusByCompanyParams
WithDollarSkip adds the dollarSkip to the list nexus by company params
func (*ListNexusByCompanyParams) WithDollarTop ¶
func (o *ListNexusByCompanyParams) WithDollarTop(dollarTop *int32) *ListNexusByCompanyParams
WithDollarTop adds the dollarTop to the list nexus by company params
func (*ListNexusByCompanyParams) WithHTTPClient ¶
func (o *ListNexusByCompanyParams) WithHTTPClient(client *http.Client) *ListNexusByCompanyParams
WithHTTPClient adds the HTTPClient to the list nexus by company params
func (*ListNexusByCompanyParams) WithTimeout ¶
func (o *ListNexusByCompanyParams) WithTimeout(timeout time.Duration) *ListNexusByCompanyParams
WithTimeout adds the timeout to the list nexus by company params
func (*ListNexusByCompanyParams) WithXAvalaraClient ¶
func (o *ListNexusByCompanyParams) WithXAvalaraClient(xAvalaraClient *string) *ListNexusByCompanyParams
WithXAvalaraClient adds the xAvalaraClient to the list nexus by company params
func (*ListNexusByCompanyParams) WriteToRequest ¶
func (o *ListNexusByCompanyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListNexusByCompanyReader ¶
type ListNexusByCompanyReader struct {
// contains filtered or unexported fields
}
ListNexusByCompanyReader is a Reader for the ListNexusByCompany structure.
func (*ListNexusByCompanyReader) ReadResponse ¶
func (o *ListNexusByCompanyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListNexusByCompanyUnauthorized ¶
type ListNexusByCompanyUnauthorized struct {
}
ListNexusByCompanyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListNexusByCompanyUnauthorized ¶
func NewListNexusByCompanyUnauthorized() *ListNexusByCompanyUnauthorized
NewListNexusByCompanyUnauthorized creates a ListNexusByCompanyUnauthorized with default headers values
func (*ListNexusByCompanyUnauthorized) Error ¶
func (o *ListNexusByCompanyUnauthorized) Error() string
type ListNexusParametersBadRequest ¶
type ListNexusParametersBadRequest struct {
}
ListNexusParametersBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListNexusParametersBadRequest ¶
func NewListNexusParametersBadRequest() *ListNexusParametersBadRequest
NewListNexusParametersBadRequest creates a ListNexusParametersBadRequest with default headers values
func (*ListNexusParametersBadRequest) Error ¶
func (o *ListNexusParametersBadRequest) Error() string
type ListNexusParametersNotFound ¶
type ListNexusParametersNotFound struct {
}
ListNexusParametersNotFound describes a response with status code 404, with default header values.
Not Found
func NewListNexusParametersNotFound ¶
func NewListNexusParametersNotFound() *ListNexusParametersNotFound
NewListNexusParametersNotFound creates a ListNexusParametersNotFound with default headers values
func (*ListNexusParametersNotFound) Error ¶
func (o *ListNexusParametersNotFound) Error() string
type ListNexusParametersOK ¶
type ListNexusParametersOK struct {
Payload *models.NexusParameterDetailModelFetchResult
}
ListNexusParametersOK describes a response with status code 200, with default header values.
Success
func NewListNexusParametersOK ¶
func NewListNexusParametersOK() *ListNexusParametersOK
NewListNexusParametersOK creates a ListNexusParametersOK with default headers values
func (*ListNexusParametersOK) Error ¶
func (o *ListNexusParametersOK) Error() string
func (*ListNexusParametersOK) GetPayload ¶
func (o *ListNexusParametersOK) GetPayload() *models.NexusParameterDetailModelFetchResult
type ListNexusParametersParams ¶
type ListNexusParametersParams 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:* name, unit
*/
DollarFilter *string
/* DollarOrderBy.
A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
*/
DollarOrderBy *string
/* DollarSkip.
If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
Format: int32
*/
DollarSkip *int32
/* DollarTop.
If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
Format: int32
*/
DollarTop *int32
/* XAvalaraClient.
Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
Default: "Swagger UI; 21.12.0; Custom; 1.0"
*/
XAvalaraClient *string
/* CompanyID.
The company id
Format: int32
*/
CompanyID int32
/* NexusID.
The nexus id
Format: int32
*/
NexusID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListNexusParametersParams contains all the parameters to send to the API endpoint
for the list nexus parameters operation. Typically these are written to a http.Request.
func NewListNexusParametersParams ¶
func NewListNexusParametersParams() *ListNexusParametersParams
NewListNexusParametersParams creates a new ListNexusParametersParams 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 NewListNexusParametersParamsWithContext ¶
func NewListNexusParametersParamsWithContext(ctx context.Context) *ListNexusParametersParams
NewListNexusParametersParamsWithContext creates a new ListNexusParametersParams object with the ability to set a context for a request.
func NewListNexusParametersParamsWithHTTPClient ¶
func NewListNexusParametersParamsWithHTTPClient(client *http.Client) *ListNexusParametersParams
NewListNexusParametersParamsWithHTTPClient creates a new ListNexusParametersParams object with the ability to set a custom HTTPClient for a request.
func NewListNexusParametersParamsWithTimeout ¶
func NewListNexusParametersParamsWithTimeout(timeout time.Duration) *ListNexusParametersParams
NewListNexusParametersParamsWithTimeout creates a new ListNexusParametersParams object with the ability to set a timeout on a request.
func (*ListNexusParametersParams) SetCompanyID ¶
func (o *ListNexusParametersParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the list nexus parameters params
func (*ListNexusParametersParams) SetContext ¶
func (o *ListNexusParametersParams) SetContext(ctx context.Context)
SetContext adds the context to the list nexus parameters params
func (*ListNexusParametersParams) SetDefaults ¶
func (o *ListNexusParametersParams) SetDefaults()
SetDefaults hydrates default values in the list nexus parameters params (not the query body).
All values with no default are reset to their zero value.
func (*ListNexusParametersParams) SetDollarFilter ¶
func (o *ListNexusParametersParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the list nexus parameters params
func (*ListNexusParametersParams) SetDollarOrderBy ¶
func (o *ListNexusParametersParams) SetDollarOrderBy(dollarOrderBy *string)
SetDollarOrderBy adds the dollarOrderBy to the list nexus parameters params
func (*ListNexusParametersParams) SetDollarSkip ¶
func (o *ListNexusParametersParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the list nexus parameters params
func (*ListNexusParametersParams) SetDollarTop ¶
func (o *ListNexusParametersParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the list nexus parameters params
func (*ListNexusParametersParams) SetHTTPClient ¶
func (o *ListNexusParametersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list nexus parameters params
func (*ListNexusParametersParams) SetNexusID ¶
func (o *ListNexusParametersParams) SetNexusID(nexusID int32)
SetNexusID adds the nexusId to the list nexus parameters params
func (*ListNexusParametersParams) SetTimeout ¶
func (o *ListNexusParametersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list nexus parameters params
func (*ListNexusParametersParams) SetXAvalaraClient ¶
func (o *ListNexusParametersParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the list nexus parameters params
func (*ListNexusParametersParams) WithCompanyID ¶
func (o *ListNexusParametersParams) WithCompanyID(companyID int32) *ListNexusParametersParams
WithCompanyID adds the companyID to the list nexus parameters params
func (*ListNexusParametersParams) WithContext ¶
func (o *ListNexusParametersParams) WithContext(ctx context.Context) *ListNexusParametersParams
WithContext adds the context to the list nexus parameters params
func (*ListNexusParametersParams) WithDefaults ¶
func (o *ListNexusParametersParams) WithDefaults() *ListNexusParametersParams
WithDefaults hydrates default values in the list nexus parameters params (not the query body).
All values with no default are reset to their zero value.
func (*ListNexusParametersParams) WithDollarFilter ¶
func (o *ListNexusParametersParams) WithDollarFilter(dollarFilter *string) *ListNexusParametersParams
WithDollarFilter adds the dollarFilter to the list nexus parameters params
func (*ListNexusParametersParams) WithDollarOrderBy ¶
func (o *ListNexusParametersParams) WithDollarOrderBy(dollarOrderBy *string) *ListNexusParametersParams
WithDollarOrderBy adds the dollarOrderBy to the list nexus parameters params
func (*ListNexusParametersParams) WithDollarSkip ¶
func (o *ListNexusParametersParams) WithDollarSkip(dollarSkip *int32) *ListNexusParametersParams
WithDollarSkip adds the dollarSkip to the list nexus parameters params
func (*ListNexusParametersParams) WithDollarTop ¶
func (o *ListNexusParametersParams) WithDollarTop(dollarTop *int32) *ListNexusParametersParams
WithDollarTop adds the dollarTop to the list nexus parameters params
func (*ListNexusParametersParams) WithHTTPClient ¶
func (o *ListNexusParametersParams) WithHTTPClient(client *http.Client) *ListNexusParametersParams
WithHTTPClient adds the HTTPClient to the list nexus parameters params
func (*ListNexusParametersParams) WithNexusID ¶
func (o *ListNexusParametersParams) WithNexusID(nexusID int32) *ListNexusParametersParams
WithNexusID adds the nexusID to the list nexus parameters params
func (*ListNexusParametersParams) WithTimeout ¶
func (o *ListNexusParametersParams) WithTimeout(timeout time.Duration) *ListNexusParametersParams
WithTimeout adds the timeout to the list nexus parameters params
func (*ListNexusParametersParams) WithXAvalaraClient ¶
func (o *ListNexusParametersParams) WithXAvalaraClient(xAvalaraClient *string) *ListNexusParametersParams
WithXAvalaraClient adds the xAvalaraClient to the list nexus parameters params
func (*ListNexusParametersParams) WriteToRequest ¶
func (o *ListNexusParametersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListNexusParametersReader ¶
type ListNexusParametersReader struct {
// contains filtered or unexported fields
}
ListNexusParametersReader is a Reader for the ListNexusParameters structure.
func (*ListNexusParametersReader) ReadResponse ¶
func (o *ListNexusParametersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListNexusParametersUnauthorized ¶
type ListNexusParametersUnauthorized struct {
}
ListNexusParametersUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListNexusParametersUnauthorized ¶
func NewListNexusParametersUnauthorized() *ListNexusParametersUnauthorized
NewListNexusParametersUnauthorized creates a ListNexusParametersUnauthorized with default headers values
func (*ListNexusParametersUnauthorized) Error ¶
func (o *ListNexusParametersUnauthorized) Error() string
type QueryNexusBadRequest ¶
type QueryNexusBadRequest struct {
}
QueryNexusBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryNexusBadRequest ¶
func NewQueryNexusBadRequest() *QueryNexusBadRequest
NewQueryNexusBadRequest creates a QueryNexusBadRequest with default headers values
func (*QueryNexusBadRequest) Error ¶
func (o *QueryNexusBadRequest) Error() string
type QueryNexusOK ¶
type QueryNexusOK struct {
Payload *models.NexusModelFetchResult
}
QueryNexusOK describes a response with status code 200, with default header values.
Success
func NewQueryNexusOK ¶
func NewQueryNexusOK() *QueryNexusOK
NewQueryNexusOK creates a QueryNexusOK with default headers values
func (*QueryNexusOK) Error ¶
func (o *QueryNexusOK) Error() string
func (*QueryNexusOK) GetPayload ¶
func (o *QueryNexusOK) GetPayload() *models.NexusModelFetchResult
type QueryNexusParams ¶
type QueryNexusParams 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus
*/
DollarFilter *string
/* DollarInclude.
A comma separated list of additional data to retrieve.
*/
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
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
QueryNexusParams contains all the parameters to send to the API endpoint
for the query nexus operation. Typically these are written to a http.Request.
func NewQueryNexusParams ¶
func NewQueryNexusParams() *QueryNexusParams
NewQueryNexusParams creates a new QueryNexusParams 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 NewQueryNexusParamsWithContext ¶
func NewQueryNexusParamsWithContext(ctx context.Context) *QueryNexusParams
NewQueryNexusParamsWithContext creates a new QueryNexusParams object with the ability to set a context for a request.
func NewQueryNexusParamsWithHTTPClient ¶
func NewQueryNexusParamsWithHTTPClient(client *http.Client) *QueryNexusParams
NewQueryNexusParamsWithHTTPClient creates a new QueryNexusParams object with the ability to set a custom HTTPClient for a request.
func NewQueryNexusParamsWithTimeout ¶
func NewQueryNexusParamsWithTimeout(timeout time.Duration) *QueryNexusParams
NewQueryNexusParamsWithTimeout creates a new QueryNexusParams object with the ability to set a timeout on a request.
func (*QueryNexusParams) SetContext ¶
func (o *QueryNexusParams) SetContext(ctx context.Context)
SetContext adds the context to the query nexus params
func (*QueryNexusParams) SetDefaults ¶
func (o *QueryNexusParams) SetDefaults()
SetDefaults hydrates default values in the query nexus params (not the query body).
All values with no default are reset to their zero value.
func (*QueryNexusParams) SetDollarFilter ¶
func (o *QueryNexusParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the query nexus params
func (*QueryNexusParams) SetDollarInclude ¶
func (o *QueryNexusParams) SetDollarInclude(dollarInclude *string)
SetDollarInclude adds the dollarInclude to the query nexus params
func (*QueryNexusParams) SetDollarOrderBy ¶
func (o *QueryNexusParams) SetDollarOrderBy(dollarOrderBy *string)
SetDollarOrderBy adds the dollarOrderBy to the query nexus params
func (*QueryNexusParams) SetDollarSkip ¶
func (o *QueryNexusParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the query nexus params
func (*QueryNexusParams) SetDollarTop ¶
func (o *QueryNexusParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the query nexus params
func (*QueryNexusParams) SetHTTPClient ¶
func (o *QueryNexusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query nexus params
func (*QueryNexusParams) SetTimeout ¶
func (o *QueryNexusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query nexus params
func (*QueryNexusParams) SetXAvalaraClient ¶
func (o *QueryNexusParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the query nexus params
func (*QueryNexusParams) WithContext ¶
func (o *QueryNexusParams) WithContext(ctx context.Context) *QueryNexusParams
WithContext adds the context to the query nexus params
func (*QueryNexusParams) WithDefaults ¶
func (o *QueryNexusParams) WithDefaults() *QueryNexusParams
WithDefaults hydrates default values in the query nexus params (not the query body).
All values with no default are reset to their zero value.
func (*QueryNexusParams) WithDollarFilter ¶
func (o *QueryNexusParams) WithDollarFilter(dollarFilter *string) *QueryNexusParams
WithDollarFilter adds the dollarFilter to the query nexus params
func (*QueryNexusParams) WithDollarInclude ¶
func (o *QueryNexusParams) WithDollarInclude(dollarInclude *string) *QueryNexusParams
WithDollarInclude adds the dollarInclude to the query nexus params
func (*QueryNexusParams) WithDollarOrderBy ¶
func (o *QueryNexusParams) WithDollarOrderBy(dollarOrderBy *string) *QueryNexusParams
WithDollarOrderBy adds the dollarOrderBy to the query nexus params
func (*QueryNexusParams) WithDollarSkip ¶
func (o *QueryNexusParams) WithDollarSkip(dollarSkip *int32) *QueryNexusParams
WithDollarSkip adds the dollarSkip to the query nexus params
func (*QueryNexusParams) WithDollarTop ¶
func (o *QueryNexusParams) WithDollarTop(dollarTop *int32) *QueryNexusParams
WithDollarTop adds the dollarTop to the query nexus params
func (*QueryNexusParams) WithHTTPClient ¶
func (o *QueryNexusParams) WithHTTPClient(client *http.Client) *QueryNexusParams
WithHTTPClient adds the HTTPClient to the query nexus params
func (*QueryNexusParams) WithTimeout ¶
func (o *QueryNexusParams) WithTimeout(timeout time.Duration) *QueryNexusParams
WithTimeout adds the timeout to the query nexus params
func (*QueryNexusParams) WithXAvalaraClient ¶
func (o *QueryNexusParams) WithXAvalaraClient(xAvalaraClient *string) *QueryNexusParams
WithXAvalaraClient adds the xAvalaraClient to the query nexus params
func (*QueryNexusParams) WriteToRequest ¶
func (o *QueryNexusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryNexusReader ¶
type QueryNexusReader struct {
// contains filtered or unexported fields
}
QueryNexusReader is a Reader for the QueryNexus structure.
func (*QueryNexusReader) ReadResponse ¶
func (o *QueryNexusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryNexusUnauthorized ¶
type QueryNexusUnauthorized struct {
}
QueryNexusUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewQueryNexusUnauthorized ¶
func NewQueryNexusUnauthorized() *QueryNexusUnauthorized
NewQueryNexusUnauthorized creates a QueryNexusUnauthorized with default headers values
func (*QueryNexusUnauthorized) Error ¶
func (o *QueryNexusUnauthorized) Error() string
type UpdateNexusBadRequest ¶
type UpdateNexusBadRequest struct {
}
UpdateNexusBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUpdateNexusBadRequest ¶
func NewUpdateNexusBadRequest() *UpdateNexusBadRequest
NewUpdateNexusBadRequest creates a UpdateNexusBadRequest with default headers values
func (*UpdateNexusBadRequest) Error ¶
func (o *UpdateNexusBadRequest) Error() string
type UpdateNexusNotFound ¶
type UpdateNexusNotFound struct {
}
UpdateNexusNotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdateNexusNotFound ¶
func NewUpdateNexusNotFound() *UpdateNexusNotFound
NewUpdateNexusNotFound creates a UpdateNexusNotFound with default headers values
func (*UpdateNexusNotFound) Error ¶
func (o *UpdateNexusNotFound) Error() string
type UpdateNexusOK ¶
type UpdateNexusOK struct {
Payload *models.NexusModel
}
UpdateNexusOK describes a response with status code 200, with default header values.
Success
func NewUpdateNexusOK ¶
func NewUpdateNexusOK() *UpdateNexusOK
NewUpdateNexusOK creates a UpdateNexusOK with default headers values
func (*UpdateNexusOK) Error ¶
func (o *UpdateNexusOK) Error() string
func (*UpdateNexusOK) GetPayload ¶
func (o *UpdateNexusOK) GetPayload() *models.NexusModel
type UpdateNexusParameterBadRequest ¶
type UpdateNexusParameterBadRequest struct {
}
UpdateNexusParameterBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUpdateNexusParameterBadRequest ¶
func NewUpdateNexusParameterBadRequest() *UpdateNexusParameterBadRequest
NewUpdateNexusParameterBadRequest creates a UpdateNexusParameterBadRequest with default headers values
func (*UpdateNexusParameterBadRequest) Error ¶
func (o *UpdateNexusParameterBadRequest) Error() string
type UpdateNexusParameterNotFound ¶
type UpdateNexusParameterNotFound struct {
}
UpdateNexusParameterNotFound describes a response with status code 404, with default header values.
Not Found
func NewUpdateNexusParameterNotFound ¶
func NewUpdateNexusParameterNotFound() *UpdateNexusParameterNotFound
NewUpdateNexusParameterNotFound creates a UpdateNexusParameterNotFound with default headers values
func (*UpdateNexusParameterNotFound) Error ¶
func (o *UpdateNexusParameterNotFound) Error() string
type UpdateNexusParameterOK ¶
type UpdateNexusParameterOK struct {
Payload *models.NexusParameterDetailModel
}
UpdateNexusParameterOK describes a response with status code 200, with default header values.
Success
func NewUpdateNexusParameterOK ¶
func NewUpdateNexusParameterOK() *UpdateNexusParameterOK
NewUpdateNexusParameterOK creates a UpdateNexusParameterOK with default headers values
func (*UpdateNexusParameterOK) Error ¶
func (o *UpdateNexusParameterOK) Error() string
func (*UpdateNexusParameterOK) GetPayload ¶
func (o *UpdateNexusParameterOK) GetPayload() *models.NexusParameterDetailModel
type UpdateNexusParameterParams ¶
type UpdateNexusParameterParams 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 nexus object you wish to update.
*/
Body *models.NexusParameterDetailModel
/* CompanyID.
The company id.
Format: int32
*/
CompanyID int32
/* ID.
The nexus parameter id
Format: int64
*/
ID int64
/* NexusID.
The nexus id
Format: int32
*/
NexusID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateNexusParameterParams contains all the parameters to send to the API endpoint
for the update nexus parameter operation. Typically these are written to a http.Request.
func NewUpdateNexusParameterParams ¶
func NewUpdateNexusParameterParams() *UpdateNexusParameterParams
NewUpdateNexusParameterParams creates a new UpdateNexusParameterParams 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 NewUpdateNexusParameterParamsWithContext ¶
func NewUpdateNexusParameterParamsWithContext(ctx context.Context) *UpdateNexusParameterParams
NewUpdateNexusParameterParamsWithContext creates a new UpdateNexusParameterParams object with the ability to set a context for a request.
func NewUpdateNexusParameterParamsWithHTTPClient ¶
func NewUpdateNexusParameterParamsWithHTTPClient(client *http.Client) *UpdateNexusParameterParams
NewUpdateNexusParameterParamsWithHTTPClient creates a new UpdateNexusParameterParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNexusParameterParamsWithTimeout ¶
func NewUpdateNexusParameterParamsWithTimeout(timeout time.Duration) *UpdateNexusParameterParams
NewUpdateNexusParameterParamsWithTimeout creates a new UpdateNexusParameterParams object with the ability to set a timeout on a request.
func (*UpdateNexusParameterParams) SetBody ¶
func (o *UpdateNexusParameterParams) SetBody(body *models.NexusParameterDetailModel)
SetBody adds the body to the update nexus parameter params
func (*UpdateNexusParameterParams) SetCompanyID ¶
func (o *UpdateNexusParameterParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the update nexus parameter params
func (*UpdateNexusParameterParams) SetContext ¶
func (o *UpdateNexusParameterParams) SetContext(ctx context.Context)
SetContext adds the context to the update nexus parameter params
func (*UpdateNexusParameterParams) SetDefaults ¶
func (o *UpdateNexusParameterParams) SetDefaults()
SetDefaults hydrates default values in the update nexus parameter params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNexusParameterParams) SetHTTPClient ¶
func (o *UpdateNexusParameterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update nexus parameter params
func (*UpdateNexusParameterParams) SetID ¶
func (o *UpdateNexusParameterParams) SetID(id int64)
SetID adds the id to the update nexus parameter params
func (*UpdateNexusParameterParams) SetNexusID ¶
func (o *UpdateNexusParameterParams) SetNexusID(nexusID int32)
SetNexusID adds the nexusId to the update nexus parameter params
func (*UpdateNexusParameterParams) SetTimeout ¶
func (o *UpdateNexusParameterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update nexus parameter params
func (*UpdateNexusParameterParams) SetXAvalaraClient ¶
func (o *UpdateNexusParameterParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the update nexus parameter params
func (*UpdateNexusParameterParams) WithBody ¶
func (o *UpdateNexusParameterParams) WithBody(body *models.NexusParameterDetailModel) *UpdateNexusParameterParams
WithBody adds the body to the update nexus parameter params
func (*UpdateNexusParameterParams) WithCompanyID ¶
func (o *UpdateNexusParameterParams) WithCompanyID(companyID int32) *UpdateNexusParameterParams
WithCompanyID adds the companyID to the update nexus parameter params
func (*UpdateNexusParameterParams) WithContext ¶
func (o *UpdateNexusParameterParams) WithContext(ctx context.Context) *UpdateNexusParameterParams
WithContext adds the context to the update nexus parameter params
func (*UpdateNexusParameterParams) WithDefaults ¶
func (o *UpdateNexusParameterParams) WithDefaults() *UpdateNexusParameterParams
WithDefaults hydrates default values in the update nexus parameter params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNexusParameterParams) WithHTTPClient ¶
func (o *UpdateNexusParameterParams) WithHTTPClient(client *http.Client) *UpdateNexusParameterParams
WithHTTPClient adds the HTTPClient to the update nexus parameter params
func (*UpdateNexusParameterParams) WithID ¶
func (o *UpdateNexusParameterParams) WithID(id int64) *UpdateNexusParameterParams
WithID adds the id to the update nexus parameter params
func (*UpdateNexusParameterParams) WithNexusID ¶
func (o *UpdateNexusParameterParams) WithNexusID(nexusID int32) *UpdateNexusParameterParams
WithNexusID adds the nexusID to the update nexus parameter params
func (*UpdateNexusParameterParams) WithTimeout ¶
func (o *UpdateNexusParameterParams) WithTimeout(timeout time.Duration) *UpdateNexusParameterParams
WithTimeout adds the timeout to the update nexus parameter params
func (*UpdateNexusParameterParams) WithXAvalaraClient ¶
func (o *UpdateNexusParameterParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateNexusParameterParams
WithXAvalaraClient adds the xAvalaraClient to the update nexus parameter params
func (*UpdateNexusParameterParams) WriteToRequest ¶
func (o *UpdateNexusParameterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNexusParameterReader ¶
type UpdateNexusParameterReader struct {
// contains filtered or unexported fields
}
UpdateNexusParameterReader is a Reader for the UpdateNexusParameter structure.
func (*UpdateNexusParameterReader) ReadResponse ¶
func (o *UpdateNexusParameterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNexusParameterUnauthorized ¶
type UpdateNexusParameterUnauthorized struct {
}
UpdateNexusParameterUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateNexusParameterUnauthorized ¶
func NewUpdateNexusParameterUnauthorized() *UpdateNexusParameterUnauthorized
NewUpdateNexusParameterUnauthorized creates a UpdateNexusParameterUnauthorized with default headers values
func (*UpdateNexusParameterUnauthorized) Error ¶
func (o *UpdateNexusParameterUnauthorized) Error() string
type UpdateNexusParams ¶
type UpdateNexusParams 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 nexus object you wish to update.
*/
Body *models.NexusModel
/* CompanyID.
The ID of the company that this nexus belongs to.
Format: int32
*/
CompanyID int32
/* ID.
The ID of the nexus you wish to update
Format: int32
*/
ID int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateNexusParams contains all the parameters to send to the API endpoint
for the update nexus operation. Typically these are written to a http.Request.
func NewUpdateNexusParams ¶
func NewUpdateNexusParams() *UpdateNexusParams
NewUpdateNexusParams creates a new UpdateNexusParams 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 NewUpdateNexusParamsWithContext ¶
func NewUpdateNexusParamsWithContext(ctx context.Context) *UpdateNexusParams
NewUpdateNexusParamsWithContext creates a new UpdateNexusParams object with the ability to set a context for a request.
func NewUpdateNexusParamsWithHTTPClient ¶
func NewUpdateNexusParamsWithHTTPClient(client *http.Client) *UpdateNexusParams
NewUpdateNexusParamsWithHTTPClient creates a new UpdateNexusParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNexusParamsWithTimeout ¶
func NewUpdateNexusParamsWithTimeout(timeout time.Duration) *UpdateNexusParams
NewUpdateNexusParamsWithTimeout creates a new UpdateNexusParams object with the ability to set a timeout on a request.
func (*UpdateNexusParams) SetBody ¶
func (o *UpdateNexusParams) SetBody(body *models.NexusModel)
SetBody adds the body to the update nexus params
func (*UpdateNexusParams) SetCompanyID ¶
func (o *UpdateNexusParams) SetCompanyID(companyID int32)
SetCompanyID adds the companyId to the update nexus params
func (*UpdateNexusParams) SetContext ¶
func (o *UpdateNexusParams) SetContext(ctx context.Context)
SetContext adds the context to the update nexus params
func (*UpdateNexusParams) SetDefaults ¶
func (o *UpdateNexusParams) SetDefaults()
SetDefaults hydrates default values in the update nexus params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNexusParams) SetHTTPClient ¶
func (o *UpdateNexusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update nexus params
func (*UpdateNexusParams) SetID ¶
func (o *UpdateNexusParams) SetID(id int32)
SetID adds the id to the update nexus params
func (*UpdateNexusParams) SetTimeout ¶
func (o *UpdateNexusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update nexus params
func (*UpdateNexusParams) SetXAvalaraClient ¶
func (o *UpdateNexusParams) SetXAvalaraClient(xAvalaraClient *string)
SetXAvalaraClient adds the xAvalaraClient to the update nexus params
func (*UpdateNexusParams) WithBody ¶
func (o *UpdateNexusParams) WithBody(body *models.NexusModel) *UpdateNexusParams
WithBody adds the body to the update nexus params
func (*UpdateNexusParams) WithCompanyID ¶
func (o *UpdateNexusParams) WithCompanyID(companyID int32) *UpdateNexusParams
WithCompanyID adds the companyID to the update nexus params
func (*UpdateNexusParams) WithContext ¶
func (o *UpdateNexusParams) WithContext(ctx context.Context) *UpdateNexusParams
WithContext adds the context to the update nexus params
func (*UpdateNexusParams) WithDefaults ¶
func (o *UpdateNexusParams) WithDefaults() *UpdateNexusParams
WithDefaults hydrates default values in the update nexus params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNexusParams) WithHTTPClient ¶
func (o *UpdateNexusParams) WithHTTPClient(client *http.Client) *UpdateNexusParams
WithHTTPClient adds the HTTPClient to the update nexus params
func (*UpdateNexusParams) WithID ¶
func (o *UpdateNexusParams) WithID(id int32) *UpdateNexusParams
WithID adds the id to the update nexus params
func (*UpdateNexusParams) WithTimeout ¶
func (o *UpdateNexusParams) WithTimeout(timeout time.Duration) *UpdateNexusParams
WithTimeout adds the timeout to the update nexus params
func (*UpdateNexusParams) WithXAvalaraClient ¶
func (o *UpdateNexusParams) WithXAvalaraClient(xAvalaraClient *string) *UpdateNexusParams
WithXAvalaraClient adds the xAvalaraClient to the update nexus params
func (*UpdateNexusParams) WriteToRequest ¶
func (o *UpdateNexusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNexusReader ¶
type UpdateNexusReader struct {
// contains filtered or unexported fields
}
UpdateNexusReader is a Reader for the UpdateNexus structure.
func (*UpdateNexusReader) ReadResponse ¶
func (o *UpdateNexusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNexusUnauthorized ¶
type UpdateNexusUnauthorized struct {
}
UpdateNexusUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateNexusUnauthorized ¶
func NewUpdateNexusUnauthorized() *UpdateNexusUnauthorized
NewUpdateNexusUnauthorized creates a UpdateNexusUnauthorized with default headers values
func (*UpdateNexusUnauthorized) Error ¶
func (o *UpdateNexusUnauthorized) Error() string
Source Files
¶
- create_nexus_parameters.go
- create_nexus_parameters_parameters.go
- create_nexus_parameters_responses.go
- create_nexus_responses.go
- declare_nexus_by_address_parameters.go
- declare_nexus_by_address_responses.go
- delete_nexus_parameter_parameters.go
- delete_nexus_parameter_responses.go
- delete_nexus_parameters.go
- delete_nexus_parameters_parameters.go
- delete_nexus_parameters_responses.go
- delete_nexus_responses.go
- get_nexus_by_form_code_parameters.go
- get_nexus_by_form_code_responses.go
- get_nexus_parameter_parameters.go
- get_nexus_parameter_responses.go
- get_nexus_parameters.go
- get_nexus_responses.go
- list_nexus_by_company_and_tax_type_group_parameters.go
- list_nexus_by_company_and_tax_type_group_responses.go
- list_nexus_by_company_parameters.go
- list_nexus_by_company_responses.go
- list_nexus_parameters_parameters.go
- list_nexus_parameters_responses.go
- nexus_client.go
- query_nexus_parameters.go
- query_nexus_responses.go
- update_nexus_parameter_parameters.go
- update_nexus_parameter_responses.go
- update_nexus_parameters.go
- update_nexus_responses.go