Class FeeCheckCommandExtensionV12
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.domain.fee12.FeeCheckCommandExtensionV12
- All Implemented Interfaces:
FeeCheckCommandExtension<FeeCheckCommandExtensionItemV12,
,FeeCheckResponseExtensionV12> EppInput.CommandExtension
,Cloneable
public class FeeCheckCommandExtensionV12
extends ImmutableObject
implements FeeCheckCommandExtension<FeeCheckCommandExtensionItemV12,FeeCheckResponseExtensionV12>
Version 0.12 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
<FeeCheckCommandExtensionItemV12> getItems()
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
FeeCheckCommandExtensionV12
public FeeCheckCommandExtensionV12()
-
-
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<FeeCheckCommandExtensionItemV12,
FeeCheckResponseExtensionV12>
-
getItems
- Specified by:
getItems
in interfaceFeeCheckCommandExtension<FeeCheckCommandExtensionItemV12,
FeeCheckResponseExtensionV12>
-
createResponse
public FeeCheckResponseExtensionV12 createResponse(com.google.common.collect.ImmutableList<? extends FeeCheckResponseExtensionItem> items) - Specified by:
createResponse
in interfaceFeeCheckCommandExtension<FeeCheckCommandExtensionItemV12,
FeeCheckResponseExtensionV12>
-