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.2 $ $Date: 1996/12/24 10:39:57 $
- Author:
- N. Asokan ([email protected])
- See Also:
- AccountBasedPurseServices, CashLikePurseServices
-
doMicropayment(Amount)
- Do a single micropayment operation.
-
receiveMicropayment(Amount)
- Receive a single micropayment.
-
startMicropayment(PaymentEntity, Amount, Vector, String)
- Prepare for a series of subsequent micropayment operations.
-
startReceiveMicropayment(PaymentEntity, Vector, String)
- Prepare for a series of subsequent micropayment operations.
-
stopMicropayment()
- Stop making micropayments.
-
stopReceiveMicropayment()
- Stop receiving micropayments.
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
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
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
stopMicropayment
public abstract void stopMicropayment()
- Stop making micropayments.
- Returns:
- none
- See Also:
- startMicropayment
receiveMicropayment
public abstract void receiveMicropayment(Amount amount)
- Receive a single micropayment.
- Parameters:
- amount - amount received in this tick
- See Also:
- startReceiveMicropayment
stopReceiveMicropayment
public abstract void stopReceiveMicropayment()
- Stop receiving micropayments.
- See Also:
- startReceiveMicropayment
All Packages Class Hierarchy This Package Previous Next Index