Interface semper.payment.MicropaymentServices
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface semper.payment.MicropaymentServices

public interface MicropaymentServices
extends Object
This interface defines all the generic micropayment services that a payment system would typically provide. They have been separated from the PurseServices interface only because they are optional. This interface may be implemented by leaf subclasses of the PaymentTransaction class.
Version:
$Revision: 1.1 $ $Date: 1996/08/07 12:14:54 $
Author:
N. Asokan ([email protected])
See Also:
AccountBasedPurseServices, CashLikePurseServices

Method Index

 o doMicropayment(Amount)
Do a single micropayment operation.
 o receiveMicropayment(Amount)
Receive a single micropayment.
 o startMicropayment(PaymentEntity, Amount, Vector, String[])
Prepare for a series of subsequent micropayment operations.
 o startReceiveMicropayment(PaymentEntity, Vector, String[])
Prepare for a series of subsequent micropayment operations.
 o stopMicropayment()
Stop making micropayments.
 o stopReceiveMicropayment()
Stop receiving micropayments.

Methods

 o startMicropayment
  public abstract void startMicropayment(PaymentEntity payee,
                                         Amount max_amount,
                                         Vector options,
                                         String a_ext_ref[])
Prepare for a series of subsequent micropayment operations. Subsequently, doMicropayment operations can be performed on the same PaymentTransaction object on which this method has been invoked. Parameters with names beginning with an "a_" are one-element arrays used to pass their elements by reference.
Parameters:
payee - Object containing necessary information to identify the recipient address
max_amount - Maximum limit for the amount to be paid
options - List of options for the transaction (Vector of SecurityOption objects)
a_ext_ref - External reference string
Returns:
nothing
See Also:
doMicropayment, stopMicropayment, startReceiveMicropayment, SecurityOption
 o startReceiveMicropayment
  public abstract void startReceiveMicropayment(PaymentEntity payer,
                                                Vector options,
                                                String a_ext_ref[])
Prepare for a series of subsequent micropayment operations. Parameters with names beginning with an "a_" are one-element arrays used to pass their elements by reference.
Parameters:
payer - Object containing necessary information to identify the source purse
options - List of options for the transaction(Vector of SecurityOption objects)
a_ext_ref - External reference string
Returns:
nothing
See Also:
doMicropayment, stopMicropayment, startMicropayment, SecurityOption
 o doMicropayment
  public abstract void doMicropayment(Amount amount)
Do a single micropayment operation.
Parameters:
amount - amount to be paid in this tick
Returns:
none
See Also:
startMicropayment
 o stopMicropayment
  public abstract void stopMicropayment()
Stop making micropayments.
Returns:
none
See Also:
startMicropayment
 o receiveMicropayment
  public abstract void receiveMicropayment(Amount amount)
Receive a single micropayment.
Parameters:
amount - amount received in this tick
See Also:
startReceiveMicropayment
 o stopReceiveMicropayment
  public abstract void stopReceiveMicropayment()
Stop receiving micropayments.
See Also:
startReceiveMicropayment

All Packages  Class Hierarchy  This Package  Previous  Next  Index