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

Constructor Index

 o ecashTransactionRecord()
 o ecashTransactionRecord(AccessName)

Method Index

 o getEvidence()
Get the evidence object
 o myStreamSize()
Implementing the Streamable interface
 o readObject(StreamInputInterface)
Implementing the Streamable interface
 o setAmount(Amount)
set the amount
 o setPeer(PaymentEntity)
set the peer
 o setState(PaymentTransactionState)
set the state of the transaction
 o setType(ServiceType)
Set the service type
 o toString()
Re-write the toString() method for pretty printing
 o writeObject(StreamOutputInterface)
Implementing the Streamable interface

Constructors

 o ecashTransactionRecord
  public ecashTransactionRecord()
 o ecashTransactionRecord
  public ecashTransactionRecord(AccessName handle)

Methods

 o setType
  protected synchronized void setType(ServiceType type)
Set the service type
Overrides:
setType in class PaymentTransactionRecord
See Also:
setType
 o setPeer
  protected synchronized void setPeer(PaymentEntity peer)
set the peer
Overrides:
setPeer in class PaymentTransactionRecord
See Also:
setPeer
 o setAmount
  protected synchronized void setAmount(Amount amount)
set the amount
Overrides:
setAmount in class PaymentTransactionRecord
See Also:
setAmount
 o setState
  protected synchronized void setState(PaymentTransactionState state)
set the state of the transaction
Overrides:
setState in class PaymentTransactionRecord
See Also:
setState
 o getEvidence
  public ecashEvidence getEvidence()
Get the evidence object
Returns:
evidence object
 o toString
  public String toString()
Re-write the toString() method for pretty printing
Overrides:
toString in class PaymentTransactionRecord
 o writeObject
  public void writeObject(StreamOutputInterface s) throws StreamIOException
Implementing the Streamable interface
Throws: StreamIOException
as usual
Overrides:
writeObject in class PaymentTransactionRecord
 o readObject
  public void readObject(StreamInputInterface s) throws StreamIOException
Implementing the Streamable interface
Throws: StreamIOException
as usual
Overrides:
readObject in class PaymentTransactionRecord
 o myStreamSize
  public int myStreamSize() throws StreamIOException
Implementing the Streamable interface
Overrides:
myStreamSize in class PaymentTransactionRecord

All Packages  Class Hierarchy  This Package  Previous  Next  Index