mirror of
https://github.com/google/nomulus.git
synced 2025-07-23 19:20:44 +02:00
Rename PricingEngine to PremiumPricingEngine
This properly reflects the fact that other, separate things will now be responsible both for EAP and for per-TLD custom pricing. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124558165
This commit is contained in:
parent
366c5a344d
commit
6ba1d5e6df
11 changed files with 45 additions and 52 deletions
|
@ -57,7 +57,7 @@ import google.registry.model.ImmutableObject;
|
|||
import google.registry.model.common.EntityGroupRoot;
|
||||
import google.registry.model.common.TimedTransitionProperty;
|
||||
import google.registry.model.common.TimedTransitionProperty.TimedTransition;
|
||||
import google.registry.model.pricing.PricingEngine;
|
||||
import google.registry.model.pricing.PremiumPricingEngine;
|
||||
import google.registry.model.pricing.StaticPremiumListPricingEngine;
|
||||
import google.registry.model.registry.label.PremiumList;
|
||||
import google.registry.model.registry.label.ReservedList;
|
||||
|
@ -533,7 +533,7 @@ public class Registry extends ImmutableObject implements Buildable {
|
|||
return claimsPeriodEnd;
|
||||
}
|
||||
|
||||
public String getPricingEngineClassName() {
|
||||
public String getPremiumPricingEngineClassName() {
|
||||
return pricingEngineClassName;
|
||||
}
|
||||
|
||||
|
@ -603,7 +603,8 @@ public class Registry extends ImmutableObject implements Buildable {
|
|||
return this;
|
||||
}
|
||||
|
||||
public Builder setPricingEngineClass(Class<? extends PricingEngine> pricingEngineClass) {
|
||||
public Builder setPremiumPricingEngineClass(
|
||||
Class<? extends PremiumPricingEngine> pricingEngineClass) {
|
||||
getInstance().pricingEngineClassName =
|
||||
checkArgumentNotNull(pricingEngineClass).getCanonicalName();
|
||||
return this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue