return clazz.equals(GiftCardInfoForm.class);
}
@Override
public void validate(Object target, Errors errors) {
GiftCardInfoForm giftCardInfoForm = (GiftCardInfoForm) target;
ValidationUtils.rejectIfEmptyOrWhitespace(errors, "giftCardNumber", "giftCardNumber.required");
//ValidationUtils.rejectIfEmptyOrWhitespace(errors, "giftCardEmailAddress", "giftCardEmailAddress.required");
//if (!errors.hasErrors()) {
// if (!GenericValidator.isEmail(giftCardInfoForm.getGiftCardEmailAddress())) {