saasus-sdk / Pricing/api / TaxRateApi
Pricing/api.TaxRateApi
TaxRateApi - object-oriented interface
Export
TaxRateApi
-
↳
TaxRateApi
• new TaxRateApi(configuration?
, basePath?
, axios?
): TaxRateApi
Name | Type | Default value |
---|---|---|
configuration? |
Configuration |
undefined |
basePath |
string |
BASE_PATH |
axios |
AxiosInstance |
globalAxios |
src/generated/Pricing/base.ts:52
• Protected
axios: AxiosInstance
= globalAxios
src/generated/Pricing/base.ts:52
• Protected
basePath: string
= BASE_PATH
src/generated/Pricing/base.ts:52
• Protected
configuration: undefined
| Configuration
src/generated/Pricing/base.ts:50
▸ createTaxRate(body?
, options?
): Promise
<AxiosResponse
<TaxRate
, any
>>
Creates a tax rate.
Name | Type | Description |
---|---|---|
body? |
TaxRateProps |
|
options? |
AxiosRequestConfig <any > |
Override http request option. |
Promise
<AxiosResponse
<TaxRate
, any
>>
Summary
Create Tax Rate
Throws
Memberof
TaxRateApi
src/generated/Pricing/api.ts:4595
▸ getTaxRates(options?
): Promise
<AxiosResponse
<TaxRates
, any
>>
Get all Tax Rates
Name | Type | Description |
---|---|---|
options? |
AxiosRequestConfig <any > |
Override http request option. |
Promise
<AxiosResponse
<TaxRates
, any
>>
Summary
Get Tax Rates
Throws
Memberof
TaxRateApi
src/generated/Pricing/api.ts:4606
▸ updateTaxRate(taxRateId
, updateTaxRateParam?
, options?
): Promise
<AxiosResponse
<void
, any
>>
Update tax rate.
Name | Type | Description |
---|---|---|
taxRateId |
string |
Tax Rate ID |
updateTaxRateParam? |
UpdateTaxRateParam |
|
options? |
AxiosRequestConfig <any > |
Override http request option. |
Promise
<AxiosResponse
<void
, any
>>
Summary
Update Tax Rate
Throws
Memberof
TaxRateApi