MeteredBillingService

Inheritance: java.lang.Object

public class MeteredBillingService

This internal class is used to handle customer’s matering state

Constructors

Constructor Description
MeteredBillingService()

Methods

Method Description
equals(Object arg0)
getClass()
getCustomerCredit()
getCustomerData()
getInstance()
getMeteredState() Gets metered state
getMeteredState(Tup1 func)
hashCode()
notify()
notifyAll()
setkey(String subscriptionPublicKey, String subscriptionPrivateKey) Sets the subscription public and private key
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

MeteredBillingService()

public MeteredBillingService()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCustomerCredit()

public double getCustomerCredit()

Returns: double

getCustomerData()

public double getCustomerData()

Returns: double

getInstance()

public static MeteredBillingService getInstance()

Returns: MeteredBillingService

getMeteredState()

public static int getMeteredState()

Gets metered state

Returns: int - matered state

getMeteredState(Tup1 func)

public static int getMeteredState(Tup1<String> func)

Parameters:

Parameter Type Description
func com.aspose.barcode.common.generic.types.Tup1<java.lang.String>

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setkey(String subscriptionPublicKey, String subscriptionPrivateKey)

public boolean setkey(String subscriptionPublicKey, String subscriptionPrivateKey)

Sets the subscription public and private key

Parameters:

Parameter Type Description
subscriptionPublicKey java.lang.String subscription public key
subscriptionPrivateKey java.lang.String subscription private key

Returns: boolean -

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int