info.magnolia.module.shop.validators
Class ShopCustomerCountryValidator
java.lang.Object
info.magnolia.module.form.validators.Validator
info.magnolia.module.shop.validators.ShopCustomerCountryValidator
public class ShopCustomerCountryValidator
- extends info.magnolia.module.form.validators.Validator
Not really a validator, but rather a "setter" to update the shipping address' country in the cart.
- Author:
- Will Schheidegger
Method Summary |
boolean |
validate(String value)
This validator method only updates the shopping cart before the confirm
page. |
Methods inherited from class info.magnolia.module.form.validators.Validator |
getI18nBasename, getName, setI18nBasename, setName, validateWithResult |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShopCustomerCountryValidator
public ShopCustomerCountryValidator()
validate
public boolean validate(String value)
- This validator method only updates the shopping cart before the confirm
page.
- Overrides:
validate
in class info.magnolia.module.form.validators.Validator
- Parameters:
value
-
- Returns:
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.