Interface FeeCheckCommandExtension<C extends FeeCheckCommandExtensionItem,R extends FeeCheckResponseExtension<?>>

All Superinterfaces:
EppInput.CommandExtension
All Known Implementing Classes:
FeeCheckCommandExtensionV06, FeeCheckCommandExtensionV11, FeeCheckCommandExtensionV12

public interface FeeCheckCommandExtension<C extends FeeCheckCommandExtensionItem,R extends FeeCheckResponseExtension<?>> extends EppInput.CommandExtension
Interface for domain check command fee extensions. The check extension will contain some number of items requesting the fees for particular commands and domains. For some versions of the fee extension, the currency is also specified here; for other versions it is contained in the individual items.
Generic Type
C the type of extension item used by this command (e.g. v6 items for a v6 extension), R the type of response returned for for this command (e.g. v6 responses for a v6 extension)
  • Method Summary

    Modifier and Type
    Method
    Description
    createResponse(com.google.common.collect.ImmutableList<? extends FeeCheckResponseExtensionItem> items)
     
    org.joda.money.CurrencyUnit
    Three-character ISO4217 currency code.
    com.google.common.collect.ImmutableList<C>
     
  • Method Details

    • getCurrency

      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.

    • getItems

      com.google.common.collect.ImmutableList<C> getItems()
    • createResponse

      R createResponse(com.google.common.collect.ImmutableList<? extends FeeCheckResponseExtensionItem> items)