Constructor
new FeeCalculatorServer(sdk, serverUrl, opts) → {Promise.<JsonApiResponse>}
Create a new FeeCalculator server instance.
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sdk |
ShelfNetwork
|
Parent SDK instance. |
||||||||||||||||||||
serverUrl |
string
|
FeeCalculator URL. |
||||||||||||||||||||
opts |
Object
|
|
Returns:
- Type:
-
Promise.<JsonApiResponse>
Classes
Methods
getPurchaseFee(query) → {Promise.<JsonApiResponse>}
Get purchase fee (fee charged for just buying a car).
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
query |
object
|
Request query.
|
getRegistrationFeeGe(query) → {Promise.<JsonApiResponse>}
Get registration fee for Georgia.
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
query |
object
|
Request query.
|
getRegistrationFeeUa(query) → {Promise.<JsonApiResponse>}
Get registration fee for Ukraine.
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
query |
object
|
Request query.
|