Interface FulfillmentAddressSubmitValidator

All Superinterfaces:
FulfillmentValidator, org.springframework.validation.SmartValidator, org.springframework.validation.Validator
All Known Implementing Classes:
DefaultFulfillmentAddressSubmitValidator

public interface FulfillmentAddressSubmitValidator extends FulfillmentValidator
Validates a submitted address of a fulfillment group.
Author:
Jacob Mitash
See Also:
  • Field Details

    • HINT_VALIDATE_FIRST_AND_LAST

      static final String HINT_VALIDATE_FIRST_AND_LAST
      Hint to the validator to validate the first and last name individually as opposed to the full name.
      See Also:
    • HINT_EMAIL_REQUIRED

      static final String HINT_EMAIL_REQUIRED
      Hint to the validator that the email address is required.
      See Also:
    • HINT_COMPANY_NAME_REQUIRED

      static final String HINT_COMPANY_NAME_REQUIRED
      Hint to the validator that the company name is required.
      See Also:
    • HINT_CITY_NOT_REQUIRED

      static final String HINT_CITY_NOT_REQUIRED
      Hint to the validator that the city name is not required.
      See Also:
    • HINT_COUNTY_REQUIRED

      static final String HINT_COUNTY_REQUIRED
      Hint to the validator that the county is required.
      See Also:
    • HINT_COUNTRY_NOT_REQUIRED

      static final String HINT_COUNTRY_NOT_REQUIRED
      Hint to the validator that the country is not required.
      See Also:
    • HINT_STATE_PROVINCE_REGION_NOT_REQUIRED

      static final String HINT_STATE_PROVINCE_REGION_NOT_REQUIRED
      Hint to the validator that the state province region is not required.
      See Also:
    • HINT_POSTAL_CODE_NOT_REQUIRED

      static final String HINT_POSTAL_CODE_NOT_REQUIRED
      Hint to the validator that the postal code is not required.
      See Also:
    • HINT_PHONE_PRIMARY_NOT_REQUIRED

      static final String HINT_PHONE_PRIMARY_NOT_REQUIRED
      Hint to the validator the the primary phone number is not required.
      See Also:
  • Method Details

    • supports

      boolean supports(com.broadleafcommerce.order.common.domain.Address address)
      Tells if this validator supports the given fulfillment group address.
      Parameters:
      address - the fulfillment group address to test support of
      Returns:
      true if this supports validation of the given address, false otherwise