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])

Constructor Index

 o PaymentInformationMessage()
constructor
 o PaymentInformationMessage(String)
constructor
 o PaymentInformationMessage(String, Amount)
constructor

Method Index

 o equals(PaymentInformationMessage)
redefine equals to suit our needs
 o getAmount()
Get the amount
 o getPaymentSystemName()
Retrieve the payment system name (can be null -- so check for it)
 o hashCode()
redefine hashCode to suit our needs
 o myStreamSize()
Implementing the Streamable interface
 o readObject(StreamInputInterface)
Implementing the Streamable interface
 o setAmount(Amount)
Set the amount
 o toString()
redefine toString to suit our needs
 o writeObject(StreamOutputInterface)
Implementing the Streamable interface

Constructors

 o PaymentInformationMessage
  public PaymentInformationMessage(String payment_system_name,
                                   Amount amount)
constructor
 o PaymentInformationMessage
  public PaymentInformationMessage(String payment_system_name)
constructor
 o PaymentInformationMessage
  public PaymentInformationMessage()
constructor

Methods

 o equals
  public boolean equals(PaymentInformationMessage other)
redefine equals to suit our needs
 o hashCode
  public int hashCode()
redefine hashCode to suit our needs
Overrides:
hashCode in class Object
 o toString
  public String toString()
redefine toString to suit our needs
Overrides:
toString in class Object
 o getPaymentSystemName
  public String getPaymentSystemName()
Retrieve the payment system name (can be null -- so check for it)
Returns:
payment system name
 o getAmount
  public Amount getAmount()
Get the amount
Returns:
Amount
 o setAmount
  public synchronized void setAmount(Amount amount)
Set the amount
Parameters:
amount - Amount
Returns:
nothing
 o writeObject
  public void writeObject(StreamOutputInterface s) throws StreamIOException
Implementing the Streamable interface
Throws: StreamIOException
as usual
 o readObject
  public void readObject(StreamInputInterface s) throws StreamIOException
Implementing the Streamable interface
Throws: StreamIOException
as usual
 o myStreamSize
  public int myStreamSize() throws StreamIOException
Implementing the Streamable interface

All Packages  Class Hierarchy  This Package  Previous  Next  Index