Change second-level domain name to fully-qualified domain name

Second-level domain name isn't accurate because we support multi-part
TLDs, so standardize on the "fullyQualifiedDomainName" name that is
used throughout the code base.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=122693009
This commit is contained in:
mcilwain 2016-05-18 19:16:27 -07:00 committed by Ben McIlwain
parent ca0e546230
commit a2d2764115
14 changed files with 58 additions and 49 deletions

View file

@ -23,9 +23,12 @@ import org.joda.time.DateTime;
public interface PricingEngine {
/**
* Returns the premium price for the given second-level domain name at the given time for the
* given registrar, or absent if the domain name isn't premium.
* Returns the premium price for the given domain name at the given time for the given registrar,
* or absent if the domain name isn't premium.
*
* <p>Note that fullyQualifiedDomainName must not include any subdomains. It should be a single
* level above the TLD (which may be multi-part).
*/
public Optional<Money> getPremiumPrice(
String secondLevelDomainName, DateTime priceTime, String clientIdentifier);
String fullyQualifiedDomainName, DateTime priceTime, String clientIdentifier);
}