public class UserCreditCardAuthorizer extends GenericService implements UserPaymentTypeAuthorizer
UserCreditCardAuthorizer authorizes a credit card
payment type for a particular user.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
UserCreditCardAuthorizer()
Creates a new
UserCreditCardAuthorizer instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authorizePaymentType(Profile pProfile)
The
authorizePaymentType method authorizes a credit card
payment type for the given Profile. |
java.lang.String |
getCreditCardAuthorizedProperty()
Return the CreditCardAuthorizedProperty property.
|
void |
setCreditCardAuthorizedProperty(java.lang.String pCreditCardAuthorizedProperty)
Set the CreditCardAuthorizedProperty property.
|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic UserCreditCardAuthorizer()
UserCreditCardAuthorizer instance.public void setCreditCardAuthorizedProperty(java.lang.String pCreditCardAuthorizedProperty)
pCreditCardAuthorizedProperty - a String valuepublic java.lang.String getCreditCardAuthorizedProperty()
String valuepublic boolean authorizePaymentType(Profile pProfile) throws PaymentTypeAuthorizationException
authorizePaymentType method authorizes a credit card
payment type for the given Profile.authorizePaymentType in interface UserPaymentTypeAuthorizerpProfile - a Profile valueboolean valuePaymentTypeAuthorizationException - if an error occurs