ca.mint.mintchip.contract

Interface IMintChipStatus


public interface IMintChipStatus

This interface represents the current status of the MintChip. All the values returned by the methods of the interface are current as of the moment an instance of the IMintChipStatus was created. To refresh the MintChip status a new instance of the IMintChipStatus should be created.

Methods
Modifier and Type Method and Description
int getBalance()
Gets the balance.
int getCreditLogCount()
Gets the credit log count.
int getCreditLogCountRemaining()
Gets the credit log count remaining.
int getDebitLogCount()
Gets the debit log count.
int getDebitLogCountRemaining()
Gets the debit log count remaining.
int getMaxCreditAllowed()
Gets the max credit allowed.
int getMaxDebitAllowed()
Gets the max debit allowed.
Method Detail

getBalance

int getBalance()

Gets the balance.

Returns:
the balance (total value remaining) on this MintChip

getCreditLogCountRemaining

int getCreditLogCountRemaining()

Gets the credit log count remaining.

Returns:
the remaining number of credit transactions that can be processed by this MintChip

getCreditLogCount

int getCreditLogCount()

Gets the credit log count.

Returns:
the total number of credit log entries on this MintChip

getDebitLogCountRemaining

int getDebitLogCountRemaining()

Gets the debit log count remaining.

Returns:
the remaining number of debit transactions that can be processed by this MintChip

getDebitLogCount

int getDebitLogCount()

Gets the debit log count.

Returns:
the total number of debit log entries on this MintChip

getMaxCreditAllowed

int getMaxCreditAllowed()

Gets the max credit allowed.

Returns:
the maximum amount of a single credit Value Message that can be loaded onto this this MintChip

getMaxDebitAllowed

int getMaxDebitAllowed()

Gets the max debit allowed.

Returns:
the maximum amount of a single debit Value Message that can be created from this MintChip