public class MeteredBillingService extends Object
Constructor and Description |
---|
MeteredBillingService() |
Modifier and Type | Method and Description |
---|---|
static void |
clear() |
double |
getCustomerCredit() |
double |
getCustomerData() |
static MeteredBillingService |
getInstance() |
static int |
getMeteredState()
Gets metered state
|
boolean |
setkey(String subscriptionPublicKey,
String subscriptionPrivateKey)
Sets the subscription public and private key
|
void |
uploadCustomerData()
Uploads customer consumption data
|
public static MeteredBillingService getInstance()
public boolean setkey(String subscriptionPublicKey, String subscriptionPrivateKey)
subscriptionPublicKey
- subscription public keysubscriptionPrivateKey
- subscription private keypublic static int getMeteredState()
public void uploadCustomerData()
public static void clear()
Copyright © 2022 Aspose. All Rights Reserved.