toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-ev-core
/
com.mapbox.ev.core.checkout.util
/
PricingUtil
Pricing
Util
class
PricingUtil
(
decimalFormat
:
DecimalFormat
)
Members
Constructors
Pricing
Util
Link copied to clipboard
constructor
(
decimalFormat
:
DecimalFormat
)
Functions
calc
Total
Price
For
Demo
Link copied to clipboard
fun
calcTotalPriceForDemo
(
currentSOC
:
Float
,
maxBatteryCapacity
:
Int
)
:
String
get
Price
Per
Hour
Link copied to clipboard
fun
getPricePerHour
(
pricePerHour
:
String
)
:
String
get
Total
Price
Link copied to clipboard
fun
getTotalPrice
(
pricePerHour
:
String
,
transactionFee
:
Double
)
:
String