Enum Class FungibleHookType

java.lang.Object
java.lang.Enum<FungibleHookType>
com.hedera.hashgraph.sdk.FungibleHookType
All Implemented Interfaces:
Serializable, Comparable<FungibleHookType>, Constable

public enum FungibleHookType extends Enum<FungibleHookType>
Hook type for fungible (HBAR and FT) transfers.
  • Enum Constant Details

    • PRE_TX_ALLOWANCE_HOOK

      public static final FungibleHookType PRE_TX_ALLOWANCE_HOOK
    • PRE_POST_TX_ALLOWANCE_HOOK

      public static final FungibleHookType PRE_POST_TX_ALLOWANCE_HOOK
  • Method Details

    • values

      public static FungibleHookType[] 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 FungibleHookType 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