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.
-
PaymentNRView(PaymentTransactionRecord, String, String, Date)
- Constructor.
-
equals(Object)
- Currently we compare only the amount.
-
verify()
- This method is supposed to do further verification
of the NRView.
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.
verify
public boolean verify()
- This method is supposed to do further verification
of the NRView.
- Overrides:
- verify in class NRView
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