java.lang.Object
java.lang.Enum<CurrencyEnum>
es.kukenan.smartfi.microservice.transfer.service.enums.CurrencyEnum
All Implemented Interfaces:
Serializable, Comparable<CurrencyEnum>, Constable

public enum CurrencyEnum extends Enum<CurrencyEnum>
Values of currency types.
  • Enum Constant Details

    • EUR

      public static final CurrencyEnum EUR
      Cancel State imposition.
  • Field Details

    • id

      private final int id
      Status value.
    • name

      private final String name
      Name value.
    • code

      private final String code
      Code value.
  • Constructor Details

    • CurrencyEnum

      private CurrencyEnum(int id, String name, String code)
      Constructor CurrencyEnum.
      Parameters:
      id - value
      name - value
      code - value
  • Method Details

    • values

      public static CurrencyEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CurrencyEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getTransferValues

      public static CurrencyEnum[] getTransferValues()
      Get enum for origin and destination for transfer.
      Returns:
      origins
    • getCode

      public String getCode()
      Get Value.
      Returns:
      code
    • getId

      public int getId()
      Get Id.
      Returns:
      id
    • getName

      public String getName()
      Get Name.
      Returns:
      name