Class FeeCheckCommandExtensionV06
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.domain.fee06.FeeCheckCommandExtensionV06
- All Implemented Interfaces:
FeeCheckCommandExtension<FeeCheckCommandExtensionItemV06,
,FeeCheckResponseExtensionV06> EppInput.CommandExtension
,Cloneable
public class FeeCheckCommandExtensionV06
extends ImmutableObject
implements FeeCheckCommandExtension<FeeCheckCommandExtensionItemV06,FeeCheckResponseExtensionV06>
Version 0.6 of the fee extension that may be present on domain check commands.
-
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
<FeeCheckCommandExtensionItemV06> getItems()
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
FeeCheckCommandExtensionV06
public FeeCheckCommandExtensionV06()
-
-
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<FeeCheckCommandExtensionItemV06,
FeeCheckResponseExtensionV06>
-
getItems
- Specified by:
getItems
in interfaceFeeCheckCommandExtension<FeeCheckCommandExtensionItemV06,
FeeCheckResponseExtensionV06>
-
createResponse
public FeeCheckResponseExtensionV06 createResponse(com.google.common.collect.ImmutableList<? extends FeeCheckResponseExtensionItem> items) - Specified by:
createResponse
in interfaceFeeCheckCommandExtension<FeeCheckCommandExtensionItemV06,
FeeCheckResponseExtensionV06>
-