Package google.registry.model.pricing
Interface PremiumPricingEngine
- All Known Implementing Classes:
StaticPremiumListPricingEngine
public interface PremiumPricingEngine
A plugin interface for premium pricing engines.
A premium pricing engine is responsible solely for determining whether a given label is premium or not, and if it is, how much it should cost.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
A class containing information on premium prices for a specific domain name. -
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.
-
Method Details
-
getDomainPrices
PremiumPricingEngine.DomainPrices getDomainPrices(String domainName, org.joda.time.DateTime priceTime) 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.
-