Class semper.payment.PaymentInformationMessage
All Packages Class Hierarchy This Package Previous Next Index
Class semper.payment.PaymentInformationMessage
java.lang.Object
|
+----semper.payment.PaymentInformationMessage
- public class PaymentInformationMessage
- extends Object
- implements Streamable
A message containing all the information necessary during the
negotiation phase about a specific potential payment using a
specific payment system.
- Version:
- $Revision: 1.4 $ $Date: 1996/07/19 15:00:23 $
- Author:
- N. Asokan ([email protected])
-
PaymentInformationMessage()
- constructor
-
PaymentInformationMessage(String)
- constructor
-
PaymentInformationMessage(String, Amount)
- constructor
-
equals(PaymentInformationMessage)
- redefine equals to suit our needs
-
getAmount()
- Get the amount
-
getPaymentSystemName()
- Retrieve the payment system name (can be null -- so check for it)
-
hashCode()
- redefine hashCode to suit our needs
-
myStreamSize()
- Implementing the Streamable interface
-
readObject(StreamInputInterface)
- Implementing the Streamable interface
-
setAmount(Amount)
- Set the amount
-
toString()
- redefine toString to suit our needs
-
writeObject(StreamOutputInterface)
- Implementing the Streamable interface
PaymentInformationMessage
public PaymentInformationMessage(String payment_system_name,
Amount amount)
- constructor
PaymentInformationMessage
public PaymentInformationMessage(String payment_system_name)
- constructor
PaymentInformationMessage
public PaymentInformationMessage()
- constructor
equals
public boolean equals(PaymentInformationMessage other)
- redefine equals to suit our needs
hashCode
public int hashCode()
- redefine hashCode to suit our needs
- Overrides:
- hashCode in class Object
toString
public String toString()
- redefine toString to suit our needs
- Overrides:
- toString in class Object
getPaymentSystemName
public String getPaymentSystemName()
- Retrieve the payment system name (can be null -- so check for it)
- Returns:
- payment system name
getAmount
public Amount getAmount()
- Get the amount
- Returns:
- Amount
setAmount
public synchronized void setAmount(Amount amount)
- Set the amount
- Parameters:
- amount - Amount
- Returns:
- nothing
writeObject
public void writeObject(StreamOutputInterface s) throws StreamIOException
- Implementing the Streamable interface
- Throws: StreamIOException
- as usual
readObject
public void readObject(StreamInputInterface s) throws StreamIOException
- Implementing the Streamable interface
- Throws: StreamIOException
- as usual
myStreamSize
public int myStreamSize() throws StreamIOException
- Implementing the Streamable interface
All Packages Class Hierarchy This Package Previous Next Index