Enum Class BaseFee.FeeType

java.lang.Object
java.lang.Enum<BaseFee.FeeType>
google.registry.model.domain.fee.BaseFee.FeeType
All Implemented Interfaces:
Serializable, Comparable<BaseFee.FeeType>, Constable
Enclosing class:
BaseFee

public static enum BaseFee.FeeType extends Enum<BaseFee.FeeType>
Enum for the type of the fee.
  • Enum Constant Details

    • CREATE

      public static final BaseFee.FeeType CREATE
    • EAP

      public static final BaseFee.FeeType EAP
    • RENEW

      public static final BaseFee.FeeType RENEW
    • RESTORE

      public static final BaseFee.FeeType RESTORE
    • TRANSFER

      public static final BaseFee.FeeType TRANSFER
      A transfer fee.

      These are not used by the default system, in which the only fee associated with a transfer is the RENEW fee. These exist so that custom pricing logic can create a custom transfer fee if desired.

    • UPDATE

      public static final BaseFee.FeeType UPDATE
    • CREDIT

      public static final BaseFee.FeeType CREDIT
  • Method Details

    • values

      public static BaseFee.FeeType[] 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 BaseFee.FeeType 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