public class DefaultPriceOverride extends Object implements PriceOverride
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
CUSTOM_PLAN_NAME_PATTERN |
| Constructor and Description |
|---|
DefaultPriceOverride(CatalogOverrideDao overrideDao,
OverriddenPlanCache overriddenPlanCache) |
| Modifier and Type | Method and Description |
|---|---|
DefaultPlan |
getOrCreateOverriddenPlan(Plan parentPlan,
org.joda.time.DateTime catalogEffectiveDate,
List<PlanPhasePriceOverride> overrides,
InternalCallContext context) |
DefaultPlan |
getOverriddenPlan(String planName,
StaticCatalog catalog,
InternalTenantContext context) |
public static final Pattern CUSTOM_PLAN_NAME_PATTERN
@Inject public DefaultPriceOverride(CatalogOverrideDao overrideDao, OverriddenPlanCache overriddenPlanCache)
public DefaultPlan getOrCreateOverriddenPlan(Plan parentPlan, org.joda.time.DateTime catalogEffectiveDate, List<PlanPhasePriceOverride> overrides, @Nullable InternalCallContext context) throws CatalogApiException
getOrCreateOverriddenPlan in interface PriceOverrideCatalogApiExceptionpublic DefaultPlan getOverriddenPlan(String planName, StaticCatalog catalog, InternalTenantContext context) throws CatalogApiException
getOverriddenPlan in interface PriceOverrideCatalogApiExceptionCopyright © 2010-2016. All Rights Reserved.