Class VoiceTariffConfig
java.lang.Object
ru.bitel.bgbilling.kernel.tariff.server.bean.VoiceTariffConfig
public class VoiceTariffConfig
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description VoiceTariffConfig(java.lang.String data)
-
Method Summary
Modifier and Type Method Description int
getFreeLimit()
int
getRoundQuantum(int sessionTime)
int
getRoundTime(int sessionTime)
boolean
isUseForAuth()
boolean
isUseRound()
java.math.BigDecimal
roundCost(java.math.BigDecimal cost, int defaultScale)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
VoiceTariffConfig
public VoiceTariffConfig(java.lang.String data)
-
-
Method Details
-
isUseForAuth
public boolean isUseForAuth() -
isUseRound
public boolean isUseRound() -
getFreeLimit
public int getFreeLimit() -
roundCost
public java.math.BigDecimal roundCost(java.math.BigDecimal cost, int defaultScale) -
getRoundQuantum
public int getRoundQuantum(int sessionTime) -
getRoundTime
public int getRoundTime(int sessionTime) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-