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 |
|---|---|
boolean |
equals(Object obj)
Determines whether the specified
Object, is equal to this instance. |
static BigDecimal |
getConsumptionCredit()
Gets consumption credit
|
static BigDecimal |
getConsumptionQuantity()
Gets consumption file size
|
void |
setMeteredKey(String publicKey,
String privateKey)
Sets metered public and private key
|
public void setMeteredKey(String publicKey, String privateKey)
publicKey - public keyprivateKey - private keypublic boolean equals(Object obj)
Determines whether the specified Object, is equal to this instance.
public static BigDecimal getConsumptionQuantity()
public static BigDecimal getConsumptionCredit()
Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.