mirror of
https://github.com/google/nomulus
synced 2026-04-13 13:07:16 +00: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:
committed by
Justine Tunney
parent
366c5a344d
commit
6ba1d5e6df
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user