Class Fee

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class Fee
    extends BaseFee
    A fee, in currency units specified elsewhere in the xml, with type of the fee an optional fee description.
    • Field Detail

      • FEE_EXTENSION_URIS

        public static final com.google.common.collect.ImmutableSet<java.lang.String> FEE_EXTENSION_URIS
    • Constructor Detail

      • Fee

        public Fee()
    • Method Detail

      • create

        public static Fee create​(java.math.BigDecimal cost,
                                 BaseFee.FeeType type,
                                 boolean isPremium,
                                 java.lang.Object... descriptionArgs)
        Creates a Fee for the given cost and type with the default description.
      • create

        public static Fee create​(java.math.BigDecimal cost,
                                 BaseFee.FeeType type,
                                 boolean isPremium,
                                 com.google.common.collect.Range<org.joda.time.DateTime> validDateRange,
                                 java.lang.Object... descriptionArgs)
        Creates a Fee for the given cost, type, and valid date range with the default description.