public class Metered
Constructor Summary |
---|
Metered()
Initializes a new instance of this class. |
Method Summary | ||
---|---|---|
static java.math.BigDecimal | getConsumptionCredit() | |
Gets consumption credit
|
||
static java.math.BigDecimal | getConsumptionQuantity() | |
Gets consumption file size
|
||
void | setMeteredKey(java.lang.String publicKey, java.lang.String privateKey) | |
Sets metered public and private key
|
public void setMeteredKey(java.lang.String publicKey, java.lang.String privateKey) throws java.lang.Exception
publicKey
- public keyprivateKey
- private keypublic static java.math.BigDecimal getConsumptionQuantity() throws java.lang.Exception
public static java.math.BigDecimal getConsumptionCredit() throws java.lang.Exception