public class Metered extends Object
Provides methods to set metered key.
In this example, an attempt will be made to set metered public and private key<java> the component jar file: <pre> Metered matered = new Metered(); matered.setMeteredKey("PublicKey", "PrivateKey"); </pre> </java>
Constructor and Description |
---|
Metered()
Initializes a new instance of this 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 static BigDecimal getConsumptionQuantity()
Gets consumption quantity
Copyright © 2018. All rights reserved.