Package google.registry.model.pricing
Class StaticPremiumListPricingEngine
java.lang.Object
google.registry.model.pricing.StaticPremiumListPricingEngine
- All Implemented Interfaces:
PremiumPricingEngine
A premium list pricing engine that stores static pricing information in database entities.
-
Nested Class Summary
Nested classes/interfaces inherited from interface google.registry.model.pricing.PremiumPricingEngine
PremiumPricingEngine.DomainPrices
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDomainPrices
(String domainName, org.joda.time.DateTime priceTime) Returns the prices for the given fully qualified domain name at the given time.
-
Field Details
-
NAME
The name of the pricing engine, as used inRegistry.pricingEngineClassName
.- See Also:
-
-
Method Details
-
getDomainPrices
public PremiumPricingEngine.DomainPrices getDomainPrices(String domainName, 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 domainName 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 interfacePremiumPricingEngine
-