Interface TypeFulfillmentGroupSubmitValidator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String HINT_FORCE_ADDRESS_VALIDATION
      Hint to the validator to force address validation regardless of whether the type this validator supports typically does fulfillment address validation.
      static String HINT_SKIP_ADDRESS_VALIDATION
      Hint to the validator to skip the address validation regardless of whether the type this validator supports typically does fulfillment address validation.
    • Field Detail

      • HINT_SKIP_ADDRESS_VALIDATION

        static final String HINT_SKIP_ADDRESS_VALIDATION
        Hint to the validator to skip the address validation regardless of whether the type this validator supports typically does fulfillment address validation.
        See Also:
        Constant Field Values
      • HINT_FORCE_ADDRESS_VALIDATION

        static final String HINT_FORCE_ADDRESS_VALIDATION
        Hint to the validator to force address validation regardless of whether the type this validator supports typically does fulfillment address validation.
        See Also:
        Constant Field Values
    • Method Detail

      • supports

        boolean supports​(com.broadleafcommerce.cart.client.domain.FulfillmentGroup group)
        Tells if this validator supports the given fulfillment group. This is typically determined by the FulfillmentGroup.getType().
        Parameters:
        group - the fulfillment group to test support of
        Returns:
        true if this supports validation of the given fulfillment group, false otherwise