cancel
Showing results for 
Search instead for 
Did you mean: 

Migrating Hybris 5.7 to 6.4 Missing classes

0 Kudos

Hello

I am trying to migrate my code to 6.4 but I am founding trouble to find some classes/methods

Missing Class: FindBundlePricingWithCurrentPriceFactoryStrategy

Methods:

protected void reduceOneTimePrice(@Nonnull SubscriptionPricePlanModel pricePlan, @Nonnull ChangeProductPriceBundleRuleModel priceRule, @Nonnull List discountValues, @Nonnull CurrencyModel currency, @Nonnull AbstractOrderEntryModel entry)

protected void reduceRecurringPrice(SubscriptionProductModel subscriptionProduct, ChangeProductPriceBundleRuleModel priceRule, List discountValues, AbstractOrderEntryModel entry, SubscriptionPricePlanModel pricePlan)

protected DiscountValue createDiscountValue(double discountPrice, double basePrice, String id, CurrencyModel currency)

Does these class/methods still exist in 6.4 or do I need to rewrite my code?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Class FindBundlePricingWithCurrentPriceFactoryStrategy is placed in subscriptionbundlesservices extension in de.hybris.platform.configurablebundleservices.bundle.impl package with methods:

protected void reduceOneTimePrice(@Nonnull final SubscriptionPricePlanModel pricePlan, @Nonnull final ChangeProductPriceBundleRuleModel priceRule, @Nonnull final List discountValues, @Nonnull final CurrencyModel currency, @Nonnull final AbstractOrderEntryModel entry)

protected void reduceRecurringPrice(final ProductModel subscriptionProduct, final ChangeProductPriceBundleRuleModel priceRule, final List discountValues, final AbstractOrderEntryModel entry, final SubscriptionPricePlanModel pricePlan)

protected DiscountValue createDiscountValue(final double discountPrice, final double basePrice, final String id, final CurrencyModel currency)

Regards,

Former Member
0 Kudos

The wiki reference to subscriptionbundleservices contains a UML class diagram.