Enum PaymentType

    • Enum Constant Detail

      • CASH_ADVANCE

        public static final PaymentType CASH_ADVANCE
      • CASH_DEPOSIT

        public static final PaymentType CASH_DEPOSIT
      • COMPLETION

        public static final PaymentType COMPLETION
      • FIRST_RESERVATION

        public static final PaymentType FIRST_RESERVATION
      • INSTALMENT

        public static final PaymentType INSTALMENT
      • ISSUER_INSTALMENT

        public static final PaymentType ISSUER_INSTALMENT
      • ONE_TIME_RESERVATION

        public static final PaymentType ONE_TIME_RESERVATION
      • UPDATE_RESERVATION

        public static final PaymentType UPDATE_RESERVATION
    • Method Detail

      • values

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

        public static PaymentType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public String getValue()