public class Metered extends Object
Provides metered methods for integration
In this example, an attempt will be made to set metered public and private key
// the component jar file:
Metered matered = new Metered();
matered.setMeteredKey("PublicKey", "PrivateKey");
Constructor and Description |
---|
Metered() |
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)
publicKey
- public keyprivateKey
- private keypublic static BigDecimal getConsumptionQuantity()
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.