com.ibm.etill.framework.admin
Class PaySystemAdmin
java.lang.Object
|
+--com.ibm.etill.framework.admin.AdminObject
|
+--com.ibm.etill.framework.admin.PaySystemAdmin
- All Implemented Interfaces:
- Archivable, PSServerAdminConstants
- public abstract class PaySystemAdmin
- extends AdminObject
Each PaySystemAdmin object describes the Framework roperties of a merchant's
association with a cassette. Cassettes can augment these objects with their
own properties through the use of cassette extensions and MerchantCassetteObjects.
Refer to com.ibm.etill.framework.admin.AdminObject for more
information on extending the Framework's primary administration objects.
Cassettes should NOT extend this class. Instead, augmenting properties are
supported when administration commands for a specific CassetteAdmin object are
forwarded to the Cassette object's service method for processing.
At that time, the cassette decides how to handle the request including which of
its internal objects to update.
MerchantCassetteObjects are primary administration objects defined by the
cassette. These classes extend
com.ibm.etill.framework.admin.AdminObject
and are associated with
the PaySystemAdmin object according to cassette-supplied rules.
The external view of PaySystemAdmin objects is provided through the
com.ibm.etill.framework.xdm.PSServerPaymentSystem
class
- See Also:
AdminObject
,
PSServerAdminObject
,
PSServerPaymentSystem
Methods inherited from class com.ibm.etill.framework.admin.AdminObject |
addCassetteMessage, addFrameworkMessage, getActive, getEnabled, getInvalidList, getPending, processConfigurationChanges, processExtension, setActive, setEnabled, setEnabled, setPending, startObject, stopObject, validateExtension |
toString
public String toString()
- Returns a string representation of this payment system object for tracing purposes.
- Overrides:
toString
in class AdminObject
- Returns:
- String - a string representation of the key elements of this
payment system object.
getCassetteName
public String getCassetteName()
- Returns the name of the cassette with which this payment system is associated.
- Returns:
- String - the cassette name as it appears in the ETCASSETTECFG table
getMerchantNumber
public String getMerchantNumber()
- Returns the merchant number of the merchant with which this payment system is associated.
- Returns:
- String - the merchant number
getMerchantPaySystems
public static Hashtable getMerchantPaySystems(String merchantNumber)
- Returns the set of payment systems configured for the specified merchant.
- Returns:
- Hashtable - contains all of the PaySystemAdmin objects configured
for this merchant. Each key is a cassette name and
the corresponding element is the PaySystemAdmin object.
getCassettePaySystems
public static Hashtable getCassettePaySystems(String cassetteName)
- Returns the set payment systems configured for the specified cassette.
- Returns:
- Hashtable - contains all of the PaySystemAdmin objects configured
for this cassette. Each key is a merchant number and
the corresponding element is the PaySystemAdmin object.