All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface semper.payment.MicropaymentServices

public interface MicropaymentServices
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.2 $ $Date: 1996/12/24 10:39:57 $
Author:
N. Asokan (aso@zurich.ibm.com)
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 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:
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)
ext_ref - External reference string
Returns:
nothing
See Also:
doMicropayment, stopMicropayment, startReceiveMicropayment, SecurityOption
 o startReceiveMicropayment
 public abstract void startReceiveMicropayment(PaymentEntity payer,
                                               Vector options,
                                               String ext_ref)
Prepare for a series of subsequent micropayment operations.

Parameters:
payer - Object containing necessary information to identify the source purse
options - List of options for the transaction(Vector of SecurityOption objects)
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