Table of Contents

Class AvaTaxOptions

Namespace
Integrations.Providers.AvaTax
Assembly
Integrations.Providers.AvaTax.dll

AvaTax connection settings (section AvaTax).

public sealed class AvaTaxOptions
Inheritance
AvaTaxOptions
Inherited Members

Fields

Section

Configuration section name.

public const string Section = "AvaTax"

Field Value

string

Properties

AccountId

AvaTax account id.

[Range(1, 2147483647)]
public int AccountId { get; set; }

Property Value

int

AppName

Client name sent to Avalara.

public string AppName { get; set; }

Property Value

string

AttemptTimeout

Per-attempt timeout for AvaTax calls.

public TimeSpan AttemptTimeout { get; set; }

Property Value

TimeSpan

BaseUrl

Overrides Environment (tests point this at a stub server).

public Uri? BaseUrl { get; set; }

Property Value

Uri

Environment

Sandbox (sandbox-rest.avatax.com) or Production (rest.avatax.com).

public string Environment { get; set; }

Property Value

string

LicenseKey

From a Kubernetes secret / environment variable only; never in appsettings.

[Required]
public string LicenseKey { get; set; }

Property Value

string

MaxRetries

Retries on 429/5xx and transport errors.

public int MaxRetries { get; set; }

Property Value

int

TotalTimeout

Overall timeout including retries.

public TimeSpan TotalTimeout { get; set; }

Property Value

TimeSpan