Package google.registry.model.billing
Enum Class BillingBase.Flag
- All Implemented Interfaces:
Serializable
,Comparable<BillingBase.Flag>
,Constable
- Enclosing class:
BillingBase
Set of flags that can be applied to billing events.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionLandrush billing events are historical only and are no longer created.This flag is used on createBillingEvent
billing events for domains that were reserved.This flag will be added to anyBillingEvent
events that are created via, e.g., an automated process to expandBillingRecurrence
events. -
Method Summary
Modifier and TypeMethodDescriptionstatic BillingBase.Flag
Returns the enum constant of this class with the specified name.static BillingBase.Flag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALLOCATION
-
ANCHOR_TENANT
-
AUTO_RENEW
-
LANDRUSH
Landrush billing events are historical only and are no longer created. -
RESERVED
This flag is used on createBillingEvent
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
-
SYNTHETIC
This flag will be added to anyBillingEvent
events that are created via, e.g., an automated process to expandBillingRecurrence
events.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-