Class FeeQueryCommandExtensionItem

  • All Implemented Interfaces:
    Direct Known Subclasses:
    FeeCheckCommandExtensionItem, FeeInfoCommandExtensionV06

    public abstract class FeeQueryCommandExtensionItem
    extends ImmutableObject
    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.
    • Constructor Detail

      • FeeQueryCommandExtensionItem

        public FeeQueryCommandExtensionItem()
    • Method Detail

      • getCurrency

        public abstract getCurrency()
        Three-character ISO4217 currency code.

        Returns null if this version of the fee extension doesn't specify currency at the top level.

      • getEffectiveDate

        public abstract java.util.Optional<org.joda.time.DateTime> getEffectiveDate()
        The as-of date for the fee extension to run.
      • getUnparsedCommandName

        public abstract java.lang.String getUnparsedCommandName()
        The command name before being parsed into an enum, for use in error strings.
      • getPhase

        public abstract java.lang.String getPhase()
        The phase of the command being checked.
      • getSubphase

        public abstract java.lang.String getSubphase()
        The subphase of the command being checked.
      • getPeriod

        public Period getPeriod()