Class FeeCheckCommandExtensionV11
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.domain.fee11.FeeCheckCommandExtensionV11
- All Implemented Interfaces:
FeeCheckCommandExtension<google.registry.model.domain.fee11.FeeCheckCommandExtensionV11.FeeCheckCommandExtensionItemV11,
,FeeCheckResponseExtensionV11> EppInput.CommandExtension
,Cloneable
public class FeeCheckCommandExtensionV11
extends ImmutableObject
implements FeeCheckCommandExtension<google.registry.model.domain.fee11.FeeCheckCommandExtensionV11.FeeCheckCommandExtensionItemV11,FeeCheckResponseExtensionV11>
Version 0.11 of the fee extension that may be present on domain check commands. Unlike other
versions, there is only one check item; things are nested one level less. However, the response
will have multiple items, one for each domain in the check command.
-
Nested Class Summary
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 TypeMethodDescriptioncreateResponse
(com.google.common.collect.ImmutableList<? extends FeeCheckResponseExtensionItem> items) org.joda.money.CurrencyUnit
Three-character ISO4217 currency code.com.google.common.collect.ImmutableList
<google.registry.model.domain.fee11.FeeCheckCommandExtensionV11.FeeCheckCommandExtensionItemV11> getItems()
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
FeeCheckCommandExtensionV11
public FeeCheckCommandExtensionV11()
-
-
Method Details
-
getCurrency
public org.joda.money.CurrencyUnit getCurrency()Description copied from interface:FeeCheckCommandExtension
Three-character ISO4217 currency code.Returns null if this version of the fee extension doesn't specify currency at the top level.
- Specified by:
getCurrency
in interfaceFeeCheckCommandExtension<google.registry.model.domain.fee11.FeeCheckCommandExtensionV11.FeeCheckCommandExtensionItemV11,
FeeCheckResponseExtensionV11>
-
getItems
public com.google.common.collect.ImmutableList<google.registry.model.domain.fee11.FeeCheckCommandExtensionV11.FeeCheckCommandExtensionItemV11> getItems()- Specified by:
getItems
in interfaceFeeCheckCommandExtension<google.registry.model.domain.fee11.FeeCheckCommandExtensionV11.FeeCheckCommandExtensionItemV11,
FeeCheckResponseExtensionV11>
-
createResponse
public FeeCheckResponseExtensionV11 createResponse(com.google.common.collect.ImmutableList<? extends FeeCheckResponseExtensionItem> items) - Specified by:
createResponse
in interfaceFeeCheckCommandExtension<google.registry.model.domain.fee11.FeeCheckCommandExtensionV11.FeeCheckCommandExtensionItemV11,
FeeCheckResponseExtensionV11>
-