@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Taxes
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
put
Tax
Tax
Response
Taxes
Options
Taxes
Query
Taxes
Response
Jurisdictions
Rate
Classes
Tax
Type
Hierarchy
ThBaseHandler
Taxes
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
put
Constructors
constructor
new
Taxes
(
options
:
TaxesOptions
, http
:
Client
)
:
Taxes
Parameters
options:
TaxesOptions
http:
Client
Returns
Taxes
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
TaxesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/taxes'
Methods
create
create
(
tax
:
Tax
)
:
Promise
<
TaxResponse
>
Parameters
tax:
Tax
Returns
Promise
<
TaxResponse
>
delete
delete
(
taxId
:
string
)
:
Promise
<
TaxResponse
>
Parameters
taxId:
string
Returns
Promise
<
TaxResponse
>
get
get
(
taxId
:
string
)
:
Promise
<
TaxResponse
>
Parameters
taxId:
string
Returns
Promise
<
TaxResponse
>
get
All
get
All
(
queryOrOptions
?:
TaxesQuery
)
:
Promise
<
TaxesResponse
>
Parameters
Optional
queryOrOptions:
TaxesQuery
Returns
Promise
<
TaxesResponse
>
put
put
(
taxId
:
string
, tax
:
Tax
)
:
Promise
<
TaxResponse
>
Parameters
taxId:
string
tax:
Tax
Returns
Promise
<
TaxResponse
>
Generated using
TypeDoc