Enum Class BillingBase.Flag

java.lang.Object
java.lang.Enum<BillingBase.Flag>
google.registry.model.billing.BillingBase.Flag
All Implemented Interfaces:
Serializable, Comparable<BillingBase.Flag>, Constable
Enclosing class:
BillingBase

public static enum BillingBase.Flag extends Enum<BillingBase.Flag>
Set of flags that can be applied to billing events.
  • Enum Constant Details

    • ALLOCATION

      public static final BillingBase.Flag ALLOCATION
    • ANCHOR_TENANT

      public static final BillingBase.Flag ANCHOR_TENANT
    • AUTO_RENEW

      public static final BillingBase.Flag AUTO_RENEW
    • LANDRUSH

      public static final BillingBase.Flag LANDRUSH
      Landrush billing events are historical only and are no longer created.
    • RESERVED

      public static final BillingBase.Flag RESERVED
      This flag is used on create BillingEvent billing events for domains that were reserved.

      This can happen when allocation tokens are used or superusers override a domain reservation. These cases can need special handling in billing/invoicing. Anchor tenants will never have this flag applied; they will have ANCHOR_TENANT instead.

    • SUNRISE

      public static final BillingBase.Flag SUNRISE
    • SYNTHETIC

      public static final BillingBase.Flag SYNTHETIC
      This flag will be added to any BillingEvent events that are created via, e.g., an automated process to expand BillingRecurrence events.
  • Method Details

    • values

      public static BillingBase.Flag[] 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 BillingBase.Flag 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