public abstract class AbstractShoppingCartValidator extends Object implements IShoppingCartValidator
| Constructor and Description |
|---|
AbstractShoppingCartValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getEnabled()
Check if this validator is enabled
|
String |
getSecurityKeyForItems(List<ShoppingCartItem> listItems)
Get a unique security key of the given list for this validator.
|
void |
setEnabled(boolean bEnabled)
Enable or disable this validator
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValidationFormHtml, getValidatorDescription, getValidatorId, hasValidationForm, validateShoppingCartpublic boolean getEnabled()
getEnabled in interface IShoppingCartValidatorpublic void setEnabled(boolean bEnabled)
setEnabled in interface IShoppingCartValidatorbEnabled - True to enable this validator, false to disable itpublic String getSecurityKeyForItems(List<ShoppingCartItem> listItems)
getSecurityKeyForItems in interface IShoppingCartValidatorlistItems - The list of itemsCopyright © 2014 Mairie de Paris. All rights reserved.