PricingUtil

class PricingUtil(decimalFormat: DecimalFormat)

Constructors

Link copied to clipboard
constructor(decimalFormat: DecimalFormat)

Functions

Link copied to clipboard
fun calcTotalPriceForDemo(currentSOC: Float, maxBatteryCapacity: Int): String
Link copied to clipboard
fun getPricePerHour(pricePerHour: String): String
Link copied to clipboard
fun getTotalPrice(pricePerHour: String, transactionFee: Double): String
Link copied to clipboard
fun getTransactionFee(transactionFee: Double): String