public class Metered extends Object
Metered license class
Constructor and Description |
---|
Metered()
Initializes a new instance of the
Metered class. |
Modifier and Type | Method and Description |
---|---|
static BigDecimal |
getConsumptionQuantity()
Gets consumption quantity
|
void |
setMeteredKey(String publicKey,
String privateKey)
Sets metered public and private key
|
public void setMeteredKey(String publicKey, String privateKey) throws Exception
Sets metered public and private key
publicKey
- public keyprivateKey
- private keyException
public static BigDecimal getConsumptionQuantity() throws Exception
Gets consumption quantity
Exception
Copyright © 2018. All rights reserved.