com.aspose.omr

Class MeteredBillingService



  • public class MeteredBillingService
    extends Object

    This internal class is used to handle customer's matered state

      In this example, an attempt will be check customer's matered state.
    
    
          MeteredState materedState = MeteredBillingService.getMeteredState();
    
      
    • Constructor Detail

      • MeteredBillingService

        public MeteredBillingService()
    • Method Detail

      • setkey

        public boolean setkey(String subscriptionPublicKey,
                              String subscriptionPrivateKey)

        Sets the subscription public and private key

        Parameters:
        subscriptionPublicKey - subscription public key
        subscriptionPrivateKey - subscription private key
        Returns:
      • getMeteredState

        public static int getMeteredState()

        Gets metered state

        Returns:
        matered state
      • getCustomerData

        public com.aspose.ms.System.Decimal getCustomerData()
      • getCustomerCredit

        public final com.aspose.ms.System.Decimal getCustomerCredit()
      • clear

        public static void clear()