Class StaticPremiumListPricingEngine

  • All Implemented Interfaces:
    PremiumPricingEngine

    public final class StaticPremiumListPricingEngine
    extends java.lang.Object
    implements PremiumPricingEngine
    A premium list pricing engine that stores static pricing information in Datastore entities.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAME
      The name of the pricing engine, as used in Registry.pricingEngineClassName.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PremiumPricingEngine.DomainPrices getDomainPrices​(java.lang.String fullyQualifiedDomainName, org.joda.time.DateTime priceTime)
      Returns the prices for the given fully qualified domain name at the given time.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NAME

        public static final java.lang.String NAME
        The name of the pricing engine, as used in Registry.pricingEngineClassName.
        See Also:
        Constant Field Values
    • Method Detail

      • getDomainPrices

        public PremiumPricingEngine.DomainPrices getDomainPrices​(java.lang.String fullyQualifiedDomainName,
                                                                 org.joda.time.DateTime priceTime)
        Description copied from interface: PremiumPricingEngine
        Returns the prices for the given fully qualified domain name at the given time.

        Note that the fullyQualifiedDomainName must only contain a single part left of the TLD, i.e. subdomains are not allowed, but multi-part TLDs are.

        Specified by:
        getDomainPrices in interface PremiumPricingEngine