All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.txlayer.extensions.payment.PaymentDescription

java.lang.Object
   |
   +----semper.txlayer.extensions.payment.PaymentDescription

public class PaymentDescription
extends Object
implements Containable, Description
Description of a payment item -- simply the amount to be transferred (i.e. value and currency)

Version:
$Revision: 1.1 $ $Date: 1997/10/14 14:54:09 $
Author:
N. Asokan (aso@zurich.ibm.com)

Constructor Index

 o PaymentDescription(PaymentItem)
Constructor.

Method Index

 o compareDescription(Description)
Compare a description object with this object.
 o getAmount()
Get the amount of this payment
 o getTransferTransaction()
Create a transfer transaction to send this description.
 o registerContainer(Container)
TODO: whatever this method was supposed to do need to be done.
 o toString()

Constructors

 o PaymentDescription
 public PaymentDescription(PaymentItem i)
Constructor.

Parameters:
i - a payment item object

Methods

 o toString
 public String toString()
Overrides:
toString in class Object
 o getTransferTransaction
 public TransferTransaction getTransferTransaction()
Create a transfer transaction to send this description. Since the description is serializable, we'll just do that.

Returns:
a SerializingTransfer object
See Also:
SerializingTransfer
 o registerContainer
 public boolean registerContainer(Container c)
TODO: whatever this method was supposed to do need to be done.

Returns:
true/false based on something?
 o compareDescription
 public boolean compareDescription(Description d)
Compare a description object with this object. It returns true if the input parameter is a PaymentDescription with the same amount. Otherwise it returns false.

Parameters:
d - a description item
Returns:
true if the description is identical to our description
 o getAmount
 public Amount getAmount()
Get the amount of this payment

Returns:
an Amount object

All Packages  Class Hierarchy  This Package  Previous  Next  Index