public abstract class PriceProcessor<T extends mobi.designmyapp.common.engine.model.Template,P extends mobi.designmyapp.common.engine.model.Pricing> extends Object
| Constructor and Description |
|---|
PriceProcessor(Class<P> type) |
| Modifier and Type | Method and Description |
|---|---|
abstract BigDecimal |
computePrice(T template)
Called by the engine to compute the price of a template.
|
Class<? extends mobi.designmyapp.common.engine.model.Pricing> |
getPricingType() |
public Class<? extends mobi.designmyapp.common.engine.model.Pricing> getPricingType()
public abstract BigDecimal computePrice(T template)
template - the requested template object, used to determine the price depending on the options chosen.Copyright © 2015. All rights reserved.