Package google.registry.model.pricing
Class PremiumPricingEngine.DomainPrices
java.lang.Object
google.registry.model.pricing.PremiumPricingEngine.DomainPrices
- Enclosing interface:
PremiumPricingEngine
A class containing information on premium prices for a specific domain name.
Any implementation of PremiumPricingEngine is responsible for determining all of these.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.money.Money
Returns the cost to create the domain.org.joda.money.Money
Returns the cost to renew the domain.boolean
Returns whether the domain is premium.
-
Constructor Details
-
DomainPrices
public DomainPrices()
-
-
Method Details
-
isPremium
public boolean isPremium()Returns whether the domain is premium. -
getCreateCost
public org.joda.money.Money getCreateCost()Returns the cost to create the domain. -
getRenewCost
public org.joda.money.Money getRenewCost()Returns the cost to renew the domain.
-