Enum PurposeType

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

    public enum PurposeType
    extends java.lang.Enum<PurposeType>
    • Enum Constant Detail

      • FAMILY_SUPPORT

        @SerializedName("family_support")
        public static final PurposeType FAMILY_SUPPORT
      • EXPATRIATION

        @SerializedName("expatriation")
        public static final PurposeType EXPATRIATION
      • TRAVEL_AND_TOURISM

        @SerializedName("travel_and_tourism")
        public static final PurposeType TRAVEL_AND_TOURISM
      • EDUCATION

        @SerializedName("education")
        public static final PurposeType EDUCATION
      • MEDICAL_TREATMENT

        @SerializedName("medical_treatment")
        public static final PurposeType MEDICAL_TREATMENT
      • EMERGENCY_NEED

        @SerializedName("emergency_need")
        public static final PurposeType EMERGENCY_NEED
      • LEISURE

        @SerializedName("leisure")
        public static final PurposeType LEISURE
      • SAVINGS

        @SerializedName("savings")
        public static final PurposeType SAVINGS
      • GIFTS

        @SerializedName("gifts")
        public static final PurposeType GIFTS
      • DONATIONS

        @SerializedName("donations")
        public static final PurposeType DONATIONS
      • FINANCIAL_SERVICES

        @SerializedName("financial_services")
        public static final PurposeType FINANCIAL_SERVICES
      • IT_SERVICES

        @SerializedName("it_services")
        public static final PurposeType IT_SERVICES
      • INVESTMENT

        @SerializedName("investment")
        public static final PurposeType INVESTMENT
      • INSURANCE

        @SerializedName("insurance")
        public static final PurposeType INSURANCE
      • LOAN_PAYMENT

        @SerializedName("loan_payment")
        public static final PurposeType LOAN_PAYMENT
      • PENSION

        @SerializedName("pension")
        public static final PurposeType PENSION
      • ROYALTIES

        @SerializedName("royalties")
        public static final PurposeType ROYALTIES
      • OTHER

        @SerializedName("other")
        public static final PurposeType OTHER
      • INCOME

        @SerializedName("income")
        public static final PurposeType INCOME
    • Method Detail

      • values

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

        public static PurposeType 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