Class semper.payment.ecash.ecashTransactionRecord
All Packages Class Hierarchy This Package Previous Next Index
Class semper.payment.ecash.ecashTransactionRecord
java.lang.Object
|
+----semper.payment.PaymentTransactionRecord
|
+----semper.payment.ecash.ecashTransactionRecord
- public class ecashTransactionRecord
- extends PaymentTransactionRecord
- implements Streamable
Repository of information related to an ecashTransaction
An ecashTransactionRecord is the record of purse transactions
in the ecash payment system.
- See Also:
- PaymentTransaction, PaymentTransactionRecord
-
ecashTransactionRecord()
-
-
ecashTransactionRecord(AccessName)
-
-
getEvidence()
- Get the evidence object
-
myStreamSize()
- Implementing the Streamable interface
-
readObject(StreamInputInterface)
- Implementing the Streamable interface
-
setAmount(Amount)
- set the amount
-
setPeer(PaymentEntity)
- set the peer
-
setState(PaymentTransactionState)
- set the state of the transaction
-
setType(ServiceType)
- Set the service type
-
toString()
- Re-write the toString() method for pretty printing
-
writeObject(StreamOutputInterface)
- Implementing the Streamable interface
ecashTransactionRecord
public ecashTransactionRecord()
ecashTransactionRecord
public ecashTransactionRecord(AccessName handle)
setType
protected synchronized void setType(ServiceType type)
- Set the service type
- Overrides:
- setType in class PaymentTransactionRecord
- See Also:
- setType
setPeer
protected synchronized void setPeer(PaymentEntity peer)
- set the peer
- Overrides:
- setPeer in class PaymentTransactionRecord
- See Also:
- setPeer
setAmount
protected synchronized void setAmount(Amount amount)
- set the amount
- Overrides:
- setAmount in class PaymentTransactionRecord
- See Also:
- setAmount
setState
protected synchronized void setState(PaymentTransactionState state)
- set the state of the transaction
- Overrides:
- setState in class PaymentTransactionRecord
- See Also:
- setState
getEvidence
public ecashEvidence getEvidence()
- Get the evidence object
- Returns:
- evidence object
toString
public String toString()
- Re-write the toString() method for pretty printing
- Overrides:
- toString in class PaymentTransactionRecord
writeObject
public void writeObject(StreamOutputInterface s) throws StreamIOException
- Implementing the Streamable interface
- Throws: StreamIOException
- as usual
- Overrides:
- writeObject in class PaymentTransactionRecord
readObject
public void readObject(StreamInputInterface s) throws StreamIOException
- Implementing the Streamable interface
- Throws: StreamIOException
- as usual
- Overrides:
- readObject in class PaymentTransactionRecord
myStreamSize
public int myStreamSize() throws StreamIOException
- Implementing the Streamable interface
- Overrides:
- myStreamSize in class PaymentTransactionRecord
All Packages Class Hierarchy This Package Previous Next Index