All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.txlayer.extensions.payment.PaymentNRView

java.lang.Object
   |
   +----semper.txlayer.transaction.NRView
           |
           +----semper.txlayer.extensions.payment.PaymentNRView

public class PaymentNRView
extends NRView
The NRView on a PaymentTransfer consist of the PaymentTransactionRecord. Difficult points in this class are the equals() method.


Constructor Index

 o PaymentNRView(PaymentTransactionRecord, String, String, Date)
Constructor.

Method Index

 o equals(Object)
Currently we compare only the amount.
 o verify()
This method is supposed to do further verification of the NRView.

Constructors

 o PaymentNRView
 public PaymentNRView(PaymentTransactionRecord s,
                      String from,
                      String to,
                      Date date)
Constructor.

Parameters:
s - The PaymentItem that can be used for signing the NRView.
fromtodate - A String containing information regarding sender, receipient and date of the transfer.

Methods

 o verify
 public boolean verify()
This method is supposed to do further verification of the NRView.

Overrides:
verify in class NRView
 o equals
 public boolean equals(Object nrv)
Currently we compare only the amount. TODO: Compare more details of the PaymentTransactionRecord.

Parameters:
nrv - The PaymentNRView to be compared to.
Returns:
true If equal, false otherwise.
Overrides:
equals in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index