ca.mint.mintchip.contract

Class LogType

  • java.lang.Object
    • ca.mint.mintchip.contract.LogType

public final class LogType extends java.lang.Object

This class represents the type of MintChip transaction log entry.

Fields
Modifier and Type Field and Description
static LogType CREDIT

Represents a credit transaction, a deposit.

static LogType DEBIT

Represents a debit transaction, a withdrawal.

Methods
Modifier and Type Method and Description
boolean equals(java.lang.Object that) 
int getValue()

Gets the value.

java.lang.String toString() 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Field Detail

CREDIT

public static final LogType CREDIT

Represents a credit transaction, a deposit.

DEBIT

public static final LogType DEBIT

Represents a debit transaction, a withdrawal.

Method Detail

getValue

public int getValue()

Gets the value.

Returns:
an integer representation of this LogType

equals

public boolean equals(java.lang.Object that)

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object