By "key", I am assuming you want this in a map.... well, then, the answer is "it depends".
If you want it in a hashing map, then you need to implement the equals() and hashCode() method. And if you want it in a treemap, then you either need to make your instance implement Comparable, or write a Comparator class for it.
. . . and it ought to be immutable, if you ever want to find it again
Joined: Apr 23, 2011
This interface should be used to retrieve details regarding an payment. A JNDI lookup will result in a suitable implementation being returned (assume that it is bound to the JNDI_NAME supplied below). The interface has been simplified to exclude and remote method invocation concepts.