Class PremiumPricingEngine.DomainPrices

java.lang.Object
google.registry.model.pricing.PremiumPricingEngine.DomainPrices
Enclosing interface:
PremiumPricingEngine

public static class PremiumPricingEngine.DomainPrices extends Object
A class containing information on premium prices for a specific domain name.

Any implementation of PremiumPricingEngine is responsible for determining all of these.

  • Constructor Details

    • DomainPrices

      public DomainPrices()
  • Method Details

    • create

      public static PremiumPricingEngine.DomainPrices create(boolean isPremium, org.joda.money.Money createCost, org.joda.money.Money renewCost)
    • 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.