Class WhatsAppConstraintValidator

    • Constructor Detail

      • WhatsAppConstraintValidator

        public WhatsAppConstraintValidator​(boolean withoutPlus,
                                           boolean allowsSpaces)
        Creates the default instance of WhatsAppConstraintValidator with the specified parameters.
        Parameters:
        withoutPlus - value must be without plus or not
        allowsSpaces - allows whitespaces or not