info.magnolia.module.shop.validators
Class ShopCustomerCountryValidator

java.lang.Object
  extended by info.magnolia.module.form.validators.Validator
      extended by 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

Constructor Summary
ShopCustomerCountryValidator()
           
 
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
 

Constructor Detail

ShopCustomerCountryValidator

public ShopCustomerCountryValidator()
Method Detail

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.