public class UserGiftCertificateAuthorizer extends GenericService implements UserPaymentTypeAuthorizer
UserGiftCertificateAuthorizer
authorizes a gift certificate
payment type for a particular user.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
UserGiftCertificateAuthorizer()
Creates a new
UserGiftCertificateAuthorizer instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
authorizePaymentType(Profile pProfile)
The
authorizePaymentType method authorizes a gift certificate
payment type for the given Profile. |
java.lang.String |
getGiftCertificateAuthorizedProperty()
Return the GiftCertificateAuthorizedProperty property.
|
void |
setGiftCertificateAuthorizedProperty(java.lang.String pGiftCertificateAuthorizedProperty)
Set the GiftCertificateAuthorizedProperty 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, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public UserGiftCertificateAuthorizer()
UserGiftCertificateAuthorizer
instance.public void setGiftCertificateAuthorizedProperty(java.lang.String pGiftCertificateAuthorizedProperty)
pGiftCertificateAuthorizedProperty
- a String
valuepublic java.lang.String getGiftCertificateAuthorizedProperty()
String
valuepublic boolean authorizePaymentType(Profile pProfile) throws PaymentTypeAuthorizationException
authorizePaymentType
method authorizes a gift certificate
payment type for the given Profile.authorizePaymentType
in interface UserPaymentTypeAuthorizer
pProfile
- a Profile
valueboolean
valuePaymentTypeAuthorizationException
- if an error occurs