Package google.registry.model.domain.fee
Class FeeQueryCommandExtensionItem
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.domain.fee.FeeQueryCommandExtensionItem
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
FeeCheckCommandExtensionItem
,FeeInfoCommandExtensionV06
Abstract base class for the fee request query items used in Check and Info commands. It handles
the period, which is always present. Derived classes must handle the command, which may be
implemented in different ways, and the currency, which may or may not be present, depending on
the version of the extension being used.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The name of a command that might have an associated fee.Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
Field Summary
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the command being checked.abstract org.joda.money.CurrencyUnit
Three-character ISO4217 currency code.abstract Optional
<org.joda.time.DateTime> The as-of date for the fee extension to run.abstract String
getPhase()
The phase of the command being checked.abstract String
The subphase of the command being checked.abstract String
The command name before being parsed into an enum, for use in error strings.Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
FeeQueryCommandExtensionItem
public FeeQueryCommandExtensionItem()
-
-
Method Details
-
getCurrency
public abstract org.joda.money.CurrencyUnit getCurrency()Three-character ISO4217 currency code.Returns null if this version of the fee extension doesn't specify currency at the top level.
-
getEffectiveDate
The as-of date for the fee extension to run. -
getCommandName
The name of the command being checked. -
getUnparsedCommandName
The command name before being parsed into an enum, for use in error strings. -
getPhase
The phase of the command being checked. -
getSubphase
The subphase of the command being checked. -
getPeriod
-