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 ([email protected])
-
PaymentDescription(PaymentItem)
- Constructor.
-
compareDescription(Description)
- Compare a description object with this object.
-
getAmount()
- Get the amount of this payment
-
getTransferTransaction()
- Create a transfer transaction to send this description.
-
registerContainer(Container)
- TODO: whatever this method was supposed to do need to be done.
-
toString()
-
PaymentDescription
public PaymentDescription(PaymentItem i)
- Constructor.
- Parameters:
- i - a payment item object
toString
public String toString()
- Overrides:
- toString in class Object
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
registerContainer
public boolean registerContainer(Container c)
- TODO: whatever this method was supposed to do need to be done.
- Returns:
- true/false based on something?
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
getAmount
public Amount getAmount()
- Get the amount of this payment
- Returns:
- an Amount object
All Packages Class Hierarchy This Package Previous Next Index