Enum FilePurpose

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<FilePurpose>

    public enum FilePurpose
    extends java.lang.Enum<FilePurpose>
    FilePurpose

    The file's purpose.

    • Enum Constant Detail

      • BUSINESS_VERIFICATION

        public static final FilePurpose BUSINESS_VERIFICATION
      • REPRESENTATIVE_VERIFICATION

        public static final FilePurpose REPRESENTATIVE_VERIFICATION
      • INDIVIDUAL_VERIFICATION

        public static final FilePurpose INDIVIDUAL_VERIFICATION
      • MERCHANT_UNDERWRITING

        public static final FilePurpose MERCHANT_UNDERWRITING
      • ACCOUNT_REQUIREMENT

        public static final FilePurpose ACCOUNT_REQUIREMENT
      • IDENTITY_VERIFICATION

        public static final FilePurpose IDENTITY_VERIFICATION
    • Method Detail

      • values

        public static FilePurpose[] 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 (FilePurpose c : FilePurpose.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FilePurpose 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 name
        java.lang.NullPointerException - if the argument is null
      • value

        public java.lang.String value()
      • fromValue

        public static java.util.Optional<FilePurpose> fromValue​(java.lang.String value)