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

Class semper.payment.PurseManagement

java.lang.Object
   |
   +----semper.payment.PurseManagement

public class PurseManagement
extends Object
This class provides methods for the management of purses via interaction with the user. These services are used by the special purse management application.

Four

Version:
$Revision: 1.13 $ $Date: 1997/03/14 09:38:04 $
Author:
N. Asokan (aso@zurich.ibm.com)
See Also:
PurseManagementApp

Constructor Index

 o PurseManagement()

Method Index

 o configurePurse()
Present the list of available purses to the user, get them to pick one and then call setup() to configure it.
 o createPurses()
Find the list of installed payment modules, present them to the user, and have them choose one.
 o deletePurses()
Find the list of available purses, present them to the user, and have them choose one.
 o showPurseStatus()
Present the list of available purses to the user, get them to pick one and extract its printable status informationa and show them.

Constructors

 o PurseManagement
  public PurseManagement()

Methods

 o createPurses
  public static void createPurses()
Find the list of installed payment modules, present them to the user, and have them choose one. Then create a purse of that payment system and configure it. The list of availabled payment systems for purse creation are determined using the getListOfEnabledPurseClasses() method of the PaymentManager. In order to be in this list, a Purse subclass must be available and its isEnabled() method should return "true". Names of purse subclasses can be registered with the PaymentManager using the registerPurseClassName method. It is expected that each payment system adapter comes with an installation program which registers its purse classname with the payment manager.
  • Pre-condition: Payment block has been initialised
    See Also:
    registerPurseClassName, getListOfEnabledPurseClasses, createPurse, setup, init, isEnabled
  •  o deletePurses
      public static void deletePurses()
    
    Find the list of available purses, present them to the user, and have them choose one. Then delete that purse.
  • Pre-condition: Payment block has been initialised
    See Also:
    createPurse, deletePurse
  •  o configurePurse
      public static void configurePurse()
    
    Present the list of available purses to the user, get them to pick one and then call setup() to configure it.
  • Pre-condition: Payment block has been initialised
    See Also:
    setup
  •  o showPurseStatus
      public static void showPurseStatus()
    
    Present the list of available purses to the user, get them to pick one and extract its printable status informationa and show them.
  • Pre-condition: Payment block has been initialised
    See Also:
    setup

  • All Packages  Class Hierarchy  This Package  Previous  Next  Index