Class VirtualTypeFulfillmentGroupSubmitValidator

    • Method Detail

      • getSupportedClass

        public Class<?> getSupportedClass()
        Description copied from interface: FulfillmentValidator
        Gets the class that this validator supports.
        Returns:
        the class that this validator support
      • supports

        public boolean supports​(@NonNull
                                @NonNull com.broadleafcommerce.cart.client.domain.FulfillmentGroup group)
        Description copied from interface: TypeFulfillmentGroupSubmitValidator
        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