Package com.hellosign.openapi.model
Enum SubFormFieldsPerDocumentText.ValidationTypeEnum
- java.lang.Object
-
- java.lang.Enum<SubFormFieldsPerDocumentText.ValidationTypeEnum>
-
- com.hellosign.openapi.model.SubFormFieldsPerDocumentText.ValidationTypeEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SubFormFieldsPerDocumentText.ValidationTypeEnum>
- Enclosing class:
- SubFormFieldsPerDocumentText
public static enum SubFormFieldsPerDocumentText.ValidationTypeEnum extends java.lang.Enum<SubFormFieldsPerDocumentText.ValidationTypeEnum>
Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values. **NOTE**: When using `custom_regex` you are required to pass a second parameter `validation_custom_regex` and you can optionally provide `validation_custom_regex_format_label` for the error message the user will see in case of an invalid value.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANK_ACCOUNT_NUMBERBANK_ROUTING_NUMBERCUSTOM_REGEXEMAIL_ADDRESSEMPLOYER_IDENTIFICATION_NUMBERLETTERS_ONLYNUMBERS_ONLYPHONE_NUMBERSOCIAL_SECURITY_NUMBERZIP_CODE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubFormFieldsPerDocumentText.ValidationTypeEnumfromValue(java.lang.String value)java.lang.StringgetValue()java.lang.StringtoString()static SubFormFieldsPerDocumentText.ValidationTypeEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SubFormFieldsPerDocumentText.ValidationTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMBERS_ONLY
public static final SubFormFieldsPerDocumentText.ValidationTypeEnum NUMBERS_ONLY
-
LETTERS_ONLY
public static final SubFormFieldsPerDocumentText.ValidationTypeEnum LETTERS_ONLY
-
PHONE_NUMBER
public static final SubFormFieldsPerDocumentText.ValidationTypeEnum PHONE_NUMBER
-
BANK_ROUTING_NUMBER
public static final SubFormFieldsPerDocumentText.ValidationTypeEnum BANK_ROUTING_NUMBER
-
BANK_ACCOUNT_NUMBER
public static final SubFormFieldsPerDocumentText.ValidationTypeEnum BANK_ACCOUNT_NUMBER
-
EMAIL_ADDRESS
public static final SubFormFieldsPerDocumentText.ValidationTypeEnum EMAIL_ADDRESS
-
ZIP_CODE
public static final SubFormFieldsPerDocumentText.ValidationTypeEnum ZIP_CODE
-
SOCIAL_SECURITY_NUMBER
public static final SubFormFieldsPerDocumentText.ValidationTypeEnum SOCIAL_SECURITY_NUMBER
-
EMPLOYER_IDENTIFICATION_NUMBER
public static final SubFormFieldsPerDocumentText.ValidationTypeEnum EMPLOYER_IDENTIFICATION_NUMBER
-
CUSTOM_REGEX
public static final SubFormFieldsPerDocumentText.ValidationTypeEnum CUSTOM_REGEX
-
-
Method Detail
-
values
public static SubFormFieldsPerDocumentText.ValidationTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SubFormFieldsPerDocumentText.ValidationTypeEnum c : SubFormFieldsPerDocumentText.ValidationTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubFormFieldsPerDocumentText.ValidationTypeEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<SubFormFieldsPerDocumentText.ValidationTypeEnum>
-
fromValue
public static SubFormFieldsPerDocumentText.ValidationTypeEnum fromValue(java.lang.String value)
-
-