Class DefaultTmaPriceContextFactory
- java.lang.Object
-
- de.hybris.platform.b2ctelcoservices.pricing.context.impl.DefaultTmaPriceContextFactory
-
- All Implemented Interfaces:
TmaPriceContextFactory
@Deprecated(since="1911") public class DefaultTmaPriceContextFactory extends java.lang.Object implements TmaPriceContextFactory
Deprecated.since 1911. Use insteadTmaPriceContextBuilder.Default implementation of theTmaPriceContextFactory.- Since:
- 6.7
-
-
Constructor Summary
Constructors Constructor Description DefaultTmaPriceContextFactory()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TmaPriceContextcreateBpoPriceContext(ProductModel product, TmaProcessType processType, ProductModel affectedProduct)Deprecated.Creates aTmaPriceContextfor BPO prices with the provided parameters.TmaPriceContextcreateBpoPriceContext(ProductModel product, TmaProcessType processType, SubscriptionTermModel subscriptionTerm, ProductModel applicableProduct, java.util.Set<? extends ProductModel> requiredProducts)Deprecated.Creates aTmaPriceContextfor BPO prices with the provided parameters.TmaPriceContextcreateBpoPriceContext(ProductModel product, java.util.Set<TmaProcessType> processTypes, ProductModel affectedProduct)Deprecated.Creates aTmaPriceContextfor BPO prices with the provided parameters.TmaPriceContextcreateBpoPriceContext(ProductModel product, java.util.Set<TmaProcessType> processTypes, java.util.Set<SubscriptionTermModel> subscriptionTerms, ProductModel affectedProduct, java.util.Set<? extends ProductModel> requiredProducts)Deprecated.Creates aTmaPriceContextfor BPO prices with the provided parameters.TmaPriceContextcreateBpoPriceContext(ProductModel productOffering, java.util.Set<TmaProcessType> processTypes, java.util.Set<SubscriptionTermModel> subscriptionTerms, ProductModel affectedProduct, java.util.Set<? extends ProductModel> requiredProducts, CurrencyModel currency)Deprecated.Creates aTmaPriceContextfor BPO prices with the provided parameters.protected TmaPriceContextcreateEmptyPriceContext()Deprecated.TmaPriceContextcreatePriceContext(ProductModel product, TmaProcessType processType)Deprecated.Creates aTmaPriceContextwith the provided parameters.TmaPriceContextcreatePriceContext(ProductModel product, TmaProcessType processType, CurrencyModel currencyModel)Deprecated.Creates aTmaPriceContextwith the provided parameters.TmaPriceContextcreatePriceContext(ProductModel product, TmaProcessType processType, SubscriptionTermModel subscriptionTerm)Deprecated.Creates aTmaPriceContextwith the provided parameters.TmaPriceContextcreatePriceContext(ProductModel product, java.util.Set<TmaProcessType> processTypes)Deprecated.Creates aTmaPriceContextwith the provided parameters.TmaPriceContextcreatePriceContext(ProductModel product, java.util.Set<TmaProcessType> processTypes, CurrencyModel currencyModel)Deprecated.Creates aTmaPriceContextwith the provided parameters.TmaPriceContextcreatePriceContext(ProductModel product, java.util.Set<TmaProcessType> processTypes, java.util.Set<SubscriptionTermModel> subscriptionTerms)Deprecated.Creates aTmaPriceContextwith the provided parameters.TmaPriceContextcreatePriceContext(ProductModel productOffering, java.util.Set<TmaProcessType> processTypes, java.util.Set<SubscriptionTermModel> subscriptionTerms, CurrencyModel currencyModel)Deprecated.Creates aTmaPriceContextwith the provided parameters.TmaPriceContextcreateSessionAwareBpoPriceContext(ProductModel product, ProductModel applicableProduct, java.util.Set<? extends ProductModel> requiredProducts)Deprecated.Creates aTmaPriceContextfor BPO prices with session data (process type), no subscription term and the provided parameters.TmaPriceContextcreateSessionAwareBpoPriceContext(ProductModel product, SubscriptionTermModel subscriptionTerm, ProductModel applicableProduct, java.util.Set<? extends ProductModel> requiredProducts)Deprecated.Creates aTmaPriceContextfor BPO prices with session data (process type) and the provided parameters.TmaPriceContextcreateSessionAwarePriceContext(ProductModel product, SubscriptionTermModel subscriptionTerm)Deprecated.Creates aTmaPriceContextwith session data (process type) and the provided parameters.protected de.hybris.platform.servicelayer.session.SessionServicegetSessionService()Deprecated, for removal: This API element is subject to removal in a future version.since 1810voidsetSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)Deprecated.
-
-
-
Method Detail
-
createPriceContext
public TmaPriceContext createPriceContext(ProductModel product, java.util.Set<TmaProcessType> processTypes)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextwith the provided parameters.- Specified by:
createPriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredprocessTypes- process types applicable for the price to be identified by the price context- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createPriceContext
public TmaPriceContext createPriceContext(ProductModel product, java.util.Set<TmaProcessType> processTypes, java.util.Set<SubscriptionTermModel> subscriptionTerms)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextwith the provided parameters.- Specified by:
createPriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredprocessTypes- process types applicable for the price to be identified by the price contextsubscriptionTerms- subscription terms applicable for the price to be identified by the price context- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createPriceContext
public TmaPriceContext createPriceContext(ProductModel product, java.util.Set<TmaProcessType> processTypes, CurrencyModel currencyModel)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextwith the provided parameters.- Specified by:
createPriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredprocessTypes- process types applicable for the price to be identified by the price contextcurrencyModel- currency applicable for the price to be identified by the price context- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createPriceContext
public TmaPriceContext createPriceContext(ProductModel productOffering, java.util.Set<TmaProcessType> processTypes, java.util.Set<SubscriptionTermModel> subscriptionTerms, CurrencyModel currencyModel)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextwith the provided parameters.- Specified by:
createPriceContextin interfaceTmaPriceContextFactory- Parameters:
productOffering- product on which the price is configuredprocessTypes- process types applicable for the price to be identified by the price contextsubscriptionTerms- subscription terms applicable for the price to be identified by the price contextcurrencyModel- currency applicable for the price to be identified by the price context- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createBpoPriceContext
public TmaPriceContext createBpoPriceContext(ProductModel product, java.util.Set<TmaProcessType> processTypes, ProductModel affectedProduct)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextfor BPO prices with the provided parameters.- Specified by:
createBpoPriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredprocessTypes- process types applicable for the price to be identified by the price contextaffectedProduct- product for which the price applies- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createBpoPriceContext
public TmaPriceContext createBpoPriceContext(ProductModel product, java.util.Set<TmaProcessType> processTypes, java.util.Set<SubscriptionTermModel> subscriptionTerms, ProductModel affectedProduct, java.util.Set<? extends ProductModel> requiredProducts)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextfor BPO prices with the provided parameters.- Specified by:
createBpoPriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredprocessTypes- process type applicable for the price to be identified by the price contextsubscriptionTerms- subscription term applicable for the price to be identified by the price contextaffectedProduct- product for which the price appliesrequiredProducts- required products for the price to apply- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createBpoPriceContext
public TmaPriceContext createBpoPriceContext(ProductModel productOffering, java.util.Set<TmaProcessType> processTypes, java.util.Set<SubscriptionTermModel> subscriptionTerms, ProductModel affectedProduct, java.util.Set<? extends ProductModel> requiredProducts, CurrencyModel currency)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextfor BPO prices with the provided parameters.- Specified by:
createBpoPriceContextin interfaceTmaPriceContextFactory- Parameters:
productOffering- product on which the price is configuredprocessTypes- process type applicable for the price to be identified by the price contextsubscriptionTerms- subscription term applicable for the price to be identified by the price contextaffectedProduct- product for which the price appliesrequiredProducts- required products for the price to applycurrency- currency for which prices to be searched- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createPriceContext
public TmaPriceContext createPriceContext(ProductModel product, TmaProcessType processType)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextwith the provided parameters.- Specified by:
createPriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredprocessType- process type applicable for the price to be identified by the price context- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createPriceContext
public TmaPriceContext createPriceContext(ProductModel product, TmaProcessType processType, CurrencyModel currencyModel)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextwith the provided parameters.- Specified by:
createPriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredprocessType- process type applicable for the price to be identified by the price contextcurrencyModel- currency applicable for the price to be identified by the price context- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createPriceContext
public TmaPriceContext createPriceContext(ProductModel product, TmaProcessType processType, SubscriptionTermModel subscriptionTerm)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextwith the provided parameters.- Specified by:
createPriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredprocessType- process type applicable for the price to be identified by the price contextsubscriptionTerm- subscription term applicable for the price to be identified by the price context- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createSessionAwarePriceContext
public TmaPriceContext createSessionAwarePriceContext(ProductModel product, SubscriptionTermModel subscriptionTerm)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextwith session data (process type) and the provided parameters.- Specified by:
createSessionAwarePriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredsubscriptionTerm- subscription term applicable for the price to be identified by the price context- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createBpoPriceContext
public TmaPriceContext createBpoPriceContext(ProductModel product, TmaProcessType processType, ProductModel affectedProduct)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextfor BPO prices with the provided parameters.- Specified by:
createBpoPriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredprocessType- process type applicable for the price to be identified by the price contextaffectedProduct- product for which the price applies- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createBpoPriceContext
public TmaPriceContext createBpoPriceContext(ProductModel product, TmaProcessType processType, SubscriptionTermModel subscriptionTerm, ProductModel applicableProduct, java.util.Set<? extends ProductModel> requiredProducts)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextfor BPO prices with the provided parameters.- Specified by:
createBpoPriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredprocessType- process type applicable for the price to be identified by the price contextsubscriptionTerm- subscription term applicable for the price to be identified by the price contextapplicableProduct- product for which the price appliesrequiredProducts- required products for the price to apply- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createSessionAwareBpoPriceContext
public TmaPriceContext createSessionAwareBpoPriceContext(ProductModel product, SubscriptionTermModel subscriptionTerm, ProductModel applicableProduct, java.util.Set<? extends ProductModel> requiredProducts)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextfor BPO prices with session data (process type) and the provided parameters.- Specified by:
createSessionAwareBpoPriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredsubscriptionTerm- subscription term applicable for the price to be identified by the price contextapplicableProduct- product for which the price appliesrequiredProducts- required products for the price to apply- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createSessionAwareBpoPriceContext
public TmaPriceContext createSessionAwareBpoPriceContext(ProductModel product, ProductModel applicableProduct, java.util.Set<? extends ProductModel> requiredProducts)
Deprecated.Description copied from interface:TmaPriceContextFactoryCreates aTmaPriceContextfor BPO prices with session data (process type), no subscription term and the provided parameters.- Specified by:
createSessionAwareBpoPriceContextin interfaceTmaPriceContextFactory- Parameters:
product- product on which the price is configuredapplicableProduct- product for which the price appliesrequiredProducts- required products for the price to apply- Returns:
- newly created
TmaPriceContextwith the configured parameters
-
createEmptyPriceContext
protected TmaPriceContext createEmptyPriceContext()
Deprecated.
-
getSessionService
@Deprecated(since="1810", forRemoval=true) protected de.hybris.platform.servicelayer.session.SessionService getSessionService()Deprecated, for removal: This API element is subject to removal in a future version.since 1810- Returns:
- sessionService
-
setSessionService
public void setSessionService(de.hybris.platform.servicelayer.session.SessionService sessionService)
Deprecated.
-
-