Uses of Class
de.hybris.platform.order.exceptions.CalculationException
-
-
Uses of CalculationException in de.hybris.basecommerce.jalo
Methods in de.hybris.basecommerce.jalo that throw CalculationException Modifier and Type Method Description protected OrderModelAbstractOrderManagementTest. placeTestOrder() -
Uses of CalculationException in de.hybris.platform
Methods in de.hybris.platform that throw CalculationException Modifier and Type Method Description voidBasePriceWithUnitConversionTest. basePriceWithUnitConversion()voidBasePriceWithUnitConversionTest. preferredPricePerUnitTest() -
Uses of CalculationException in de.hybris.platform.acceleratorservices.promotions
Methods in de.hybris.platform.acceleratorservices.promotions that throw CalculationException Modifier and Type Method Description voidAcceleratorPromotionsTest. shouldPlaceOrderWithPromotions() -
Uses of CalculationException in de.hybris.platform.b2b
Methods in de.hybris.platform.b2b that throw CalculationException Modifier and Type Method Description OrderModelB2BIntegrationTest. createOrder(int quantity)OrderModelB2BIntegrationTest. createOrder(UserModel user, int quantity, OrderStatus status, ProductModel product)OrderModelB2BIntegrationTest. createOrder(java.lang.String uid, int quantity, OrderStatus status) -
Uses of CalculationException in de.hybris.platform.b2b.services.impl
Methods in de.hybris.platform.b2b.services.impl that throw CalculationException Modifier and Type Method Description voidB2BCommentServiceTest. shouldGetAllB2BComments()voidB2BCommentServiceTest. shouldGetCommentByUser() -
Uses of CalculationException in de.hybris.platform.b2bacceleratorservices.jalo.promotions
Methods in de.hybris.platform.b2bacceleratorservices.jalo.promotions that throw CalculationException Modifier and Type Method Description voidProductThresholdPriceDiscountPromotionTest. shouldApplyPromotion()Entry total 253.0d is greater than threshold 100.voidProductThresholdPriceDiscountPromotionTest. shouldNotApplyPromotion()Entry total 29.90d is less than threshold 100. -
Uses of CalculationException in de.hybris.platform.catalog
Methods in de.hybris.platform.catalog that throw CalculationException Modifier and Type Method Description voidTaxRowCachingForMultipleCatalogVersionsTest. testTaxRowCacheByProductMatch()voidTaxRowCachingForMultipleCatalogVersionsTest. testTaxRowCacheByProductTaxGroupMatch()voidTaxRowCachingForMultipleCatalogVersionsTest. testTaxRowCacheWithNoCatalogVersions()voidCatalogAwareEurope1PriceFactoryTest. testTaxValue() -
Uses of CalculationException in de.hybris.platform.chineselogisticservices.strategies.impl
Methods in de.hybris.platform.chineselogisticservices.strategies.impl that throw CalculationException Modifier and Type Method Description protected PriceValueChineseSLFindDeliveryCostStrategy. getDeliveryCostValue(AbstractOrderModel order) -
Uses of CalculationException in de.hybris.platform.commercefacades.order.impl
Methods in de.hybris.platform.commercefacades.order.impl that throw CalculationException Modifier and Type Method Description voidDefaultQuoteFacadeDiscountIntegrationTest. shouldApplyDiscount() -
Uses of CalculationException in de.hybris.platform.commercefacades.promotion.impl
Methods in de.hybris.platform.commercefacades.promotion.impl that throw CalculationException Modifier and Type Method Description voidDefaultCommercePromotionRestrictionFacadeTest. testEnablePromotionForCurrentCart() -
Uses of CalculationException in de.hybris.platform.commercefacades.storesession.impl
Methods in de.hybris.platform.commercefacades.storesession.impl that throw CalculationException Modifier and Type Method Description voidDefaultStoreSessionFacadeTest. testInitializeSession() -
Uses of CalculationException in de.hybris.platform.commerceservices.order
Methods in de.hybris.platform.commerceservices.order that throw CalculationException Modifier and Type Method Description voidCommerceCartService. recalculateCart(CommerceCartParameter parameter)Recalculates the whole cart and all its entries.voidCommerceCartService. recalculateCart(CartModel cartModel)Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.voidDefaultCommerceCartServiceIntegrationTest. testPreviewTime()voidDefaultCommerceCartServiceIntegrationTest. testRecalculateCart() -
Uses of CalculationException in de.hybris.platform.commerceservices.order.hook.impl
Methods in de.hybris.platform.commerceservices.order.hook.impl that throw CalculationException Modifier and Type Method Description voidDefaultCommerceQuoteCartCalculationMethodHookTest. shouldAddQuoteDiscounts() -
Uses of CalculationException in de.hybris.platform.commerceservices.order.impl
Methods in de.hybris.platform.commerceservices.order.impl that throw CalculationException Modifier and Type Method Description voidDefaultCommerceCartService. recalculateCart(CartModel cartModel)Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.voidDefaultCommerceCartServiceTest. testAddToCart()voidDefaultCommerceCartServiceTest. testAddToCartLowerStock()voidDefaultCommerceCartServiceTest. testAddToCartWhenNoCartWasPassed()voidDefaultCommerceCartServiceTest. testAddToCartWithMethodHooksDisabled()voidDefaultCommerceCartServiceTest. testAddToCartWithMethodHooksEnabled()voidDefaultCommerceCartServiceTest. testAddToCartWithMethodHooksWithPropertyDisabled()voidDefaultCommerceCartServiceTest. testCalculateCart()voidDefaultCommerceCheckoutServiceTest. testPlaceOrder()voidDefaultCommerceCartServiceTest. testRecalculateCart()voidDefaultCommerceCartServiceTest. testRecalculateCartWhenCartIsNull() -
Uses of CalculationException in de.hybris.platform.commerceservices.promotion
Methods in de.hybris.platform.commerceservices.promotion that throw CalculationException Modifier and Type Method Description voidPromotionOrderRestrictionTest. testMultipleRestrictionsForProductPromotion()voidPromotionOrderRestrictionTest. testSingleOrderRestrictionForOrderPromotion()voidPromotionOrderRestrictionTest. testSingleOrderRestrictionForProductPromotion() -
Uses of CalculationException in de.hybris.platform.commercewebservices.core.exceptions
Constructors in de.hybris.platform.commercewebservices.core.exceptions with parameters of type CalculationException Constructor Description RecalculationException(CalculationException exception, java.lang.String currencyIso) -
Uses of CalculationException in de.hybris.platform.commercewebservicescommons.strategies.impl
Methods in de.hybris.platform.commercewebservicescommons.strategies.impl that throw CalculationException Modifier and Type Method Description voidDefaultCartLoaderStrategyTest. testApplyCurrencyToCartAndNoRecalculate()Deprecated, for removal: This API element is subject to removal in a future version.not usedvoidDefaultCartLoaderStrategyTest. testApplyCurrencyToCartAndRecalculate()Deprecated, for removal: This API element is subject to removal in a future version.not usedvoidDefaultCartLoaderStrategyTest. testApplyCurrencyToCartAndRecalculateWithException()Deprecated, for removal: This API element is subject to removal in a future version.not used -
Uses of CalculationException in de.hybris.platform.configurablebundleservices.bundle.impl
Methods in de.hybris.platform.configurablebundleservices.bundle.impl that throw CalculationException Modifier and Type Method Description java.util.List<DiscountValue>BundleCurrentFactoryFindPricingStrategy. findDiscountValues(AbstractOrderEntryModel entry)java.util.List<DiscountValue>FindBundlePricingWithCurrentPriceFactoryStrategy. findDiscountValues(AbstractOrderEntryModel entry)For non Bundle products it should work as is, so the DiscountValues should result from the DiscountRows defined at the product.voidBundleOrderEntryRemoveableCheckerNestedIntegrationTest. shouldDeleteItemsWhichSatisfyMinCondition()voidBundleOrderEntryRemoveableCheckerNestedIntegrationTest. shouldNotDeleteItemsWhichDontSatisfyMinCondition()voidBundleOrderEntryRemoveableCheckerNestedIntegrationTest. shouldRemoveNonBundleEntry()voidFindBundlePricingWithCurrentPriceFactoryStrategyTest. testFindDiscountValuesNoPrice()voidFindBundlePricingWithCurrentPriceFactoryStrategyTest. testFindDiscountValuesNoPricePlan()voidFindBundlePricingWithCurrentPriceFactoryStrategyTest. testFindDiscountValuesPlanWinsAgainstRule()voidFindBundlePricingWithCurrentPriceFactoryStrategyTest. testFindDiscountValuesPlanWinsNoRule()voidFindBundlePricingWithCurrentPriceFactoryStrategyTest. testFindDiscountValuesPriceWrongCartBillingFrequency()voidFindBundlePricingWithCurrentPriceFactoryStrategyTest. testFindDiscountValuesRuleWinsAgainstPlan() -
Uses of CalculationException in de.hybris.platform.couponservices.services.impl
Methods in de.hybris.platform.couponservices.services.impl that throw CalculationException Modifier and Type Method Description voidDefaultCouponServiceUnitTest. testRedeemCouponInCart() -
Uses of CalculationException in de.hybris.platform.order
Methods in de.hybris.platform.order that throw CalculationException Modifier and Type Method Description voidCalculationService. calculate(AbstractOrderModel order)Calculates the given order and all its entries unless they're already calculated and the order has not been modified.voidCalculationService. calculate(AbstractOrderModel order, java.util.Date date)Calculates the given order and all its entries unless they're already calculated and the order has not been modified.voidCalculationService. calculateTotals(AbstractOrderModel order, boolean recalculate)(re)calculates all totals for the given order.voidSyncDiscountRowsTest. checkDiscountRowAssignedByUserAndProductGroupsIsVisibleViaPriceFactoryAfterSynchronization()PriceValueTestPriceFactory. findBasePrice(AbstractOrderEntryModel entry)java.util.List<DiscountValue>TestPriceFactory. findDiscountValues(AbstractOrderEntryModel entry)java.util.List<DiscountValue>TestPriceFactory. findDiscountValues(AbstractOrderModel order)java.util.Collection<TaxValue>TestPriceFactory. findTaxValues(AbstractOrderEntryModel entry)default java.util.List<DiscountInformation>DiscountService. getDiscountInformation(BaseCriteria baseCriteria)Get discountsDiscountInformations for given criteria.default java.util.List<TaxInformation>TaxService. getTaxInformation(BaseCriteria baseCriteria)Get taxes informationTaxInformationfor given criteria.voidCalculationService. recalculate(AbstractOrderEntryModel entry)Calculates this entry even if the entry was calculated before.voidCalculationService. recalculate(AbstractOrderModel order)recalculates the whole order and all its entries.voidCalculationService. recalculate(AbstractOrderModel order, java.util.Date date)recalculates the whole order and all its entries.voidFetchPricingInfoTest. testCalculateAbstractOrderModel()voidCartServiceTest. testChangeSomeQuantitiesInCart()voidUntaxedEntriesCalculationTest. testGrossMixedTaxEntries()Test gross mixed tax for different entries: creates 2 taxes: 10% and 20%, creates 2 product tax group with 10% and 20% as well, add product01 (110 Euro gross) including 10% tax ==> 100(net) + 10(tax) = 110 Euro, add product02 (240 Euro gross) including 20% tax ==> 200(net) + 40(tax) = 240 Euro, add product03 (300 Euro gross) with NO tax ==> 300(net) = 300 Euro, delivery cost is 10 Euro gross, checks that the sub total (gross) is 650,(110 + 240 + 300) checks that 10% tax has value 10.29 and 20% tax has value 41.14.voidUntaxedEntriesCalculationTest. testGrossNormalTaxEntries()voidCalculationServiceMixedTaxTest. testMixedTaxedEntriesGross()voidEurope1TargetPriceDiscountsTest. testNegativeTargetPriceDiscount()voidUntaxedEntriesCalculationTest. testNetMixedTaxEntries()Test net mixed tax for different entries: creates 2 taxes: 10% and 20%, creates 2 product tax group with 10% and 20% as well, add product41 (110 Euro net) with extra 10% tax ==> 110(net) + 11(tax) = 121 Euro, add product42 (240 Euro net) with extra 20% tax ==> 240(net) + 44(tax) = 288 Euro, add product43 (300 Euro net) with NO tax ==> 300(net) = 300 Euro, delivery cost is 10 Euro net, checks that the sub total (net) is 650,(110 + 240 + 300) checks that 10% tax has value 10.31 and 20% tax has value 49.37.voidUntaxedEntriesCalculationTest. testNetNormalTaxEntries()voidEurope1TargetPriceDiscountsTest. testNoDiscounts()voidEurope1TargetPriceDiscountsTest. testTargetPriceDiscount()voidEurope1TargetPriceDiscountsTest. testTargetPriceDiscountAboveBasePrice()voidEurope1TargetPriceDiscountsTest. testTargetPriceDiscountMixed()voidEurope1TargetPriceDiscountsTest. testTargetPriceDiscountMultipleTimes()voidEurope1TargetPriceDiscountsTest. testTargetPriceDiscountOverridePDG() -
Uses of CalculationException in de.hybris.platform.order.calculation
Methods in de.hybris.platform.order.calculation that throw CalculationException Modifier and Type Method Description voidAbstractCalculationServiceTest. shouldCalculateOrderWithGivenDateWithTaxesWithDateRange()voidCalculationServiceSaveTest. shouldNotSaveDuringCalculateInSl()voidCalculationServiceSaveTest. shouldNotSaveDuringCalculateWithDateInSl()voidCalculationServiceSaveTest. shouldNotSaveDuringRecalculateInSl()voidCalculationServiceSaveTest. shouldNotSaveDuringRecalculateWithDateInSl()voidAbstractCalculationServiceTest. shouldRecalculateEntryEvenWhenItIsAlreadyCalculated()voidAbstractCalculationServiceTest. shouldRecalculateOrderWithGivenDateWhenQuantityChanged()voidAbstractCalculationServiceTest. shouldRecalculateOrderWithGivenDateWithTaxesWithDateRange()voidCalculationServiceSaveTest. shouldSaveDuringCalculateInJalo()voidCalculationServiceSaveTest. shouldSaveDuringCalculateWithDateInJalo()voidCalculationServiceSaveTest. shouldSaveDuringRecalculateInJalo()voidCalculationServiceSaveTest. shouldSaveDuringRecalculateWithDateInJalo()voidAbstractCalculationServiceTest. shouldSetBackOrderDateWhenCalculationExceptionOccours()voidAbstractCalculationServiceTest. testApplyDiscounts()voidAbstractCalculationServiceTest. testApplyGlobalDiscounts()voidAbstractCalculationServiceTest. testApplyTaxes()voidAbstractCalculationServiceTest. testCalculateAbstractOrderModel()voidAbstractCalculationServiceTest. testRecalculateOrderEntry()voidAbstractCalculationServiceTest. testRequiresCalculation() -
Uses of CalculationException in de.hybris.platform.order.impl
Methods in de.hybris.platform.order.impl that throw CalculationException Modifier and Type Method Description voidDefaultCalculationService. calculate(AbstractOrderModel order)voidDefaultCalculationService. calculate(AbstractOrderModel order, java.util.Date date)voidDefaultCalculationService. calculateEntries(AbstractOrderModel order, boolean forceRecalculate)voidDefaultCalculationService. calculateTotals(AbstractOrderModel order, boolean recalculate)protected voidDefaultCalculationService. calculateTotals(AbstractOrderModel order, boolean recalculate, java.util.Map<TaxValue,java.util.Map<java.util.Set<TaxValue>,java.lang.Double>> taxValueMap)calculates all totals.protected PriceValueDefaultCalculationService. findBasePrice(AbstractOrderEntryModel entry)protected java.util.List<DiscountValue>DefaultCalculationService. findDiscountValues(AbstractOrderEntryModel entry)protected java.util.List<DiscountValue>DefaultCalculationService. findGlobalDiscounts(AbstractOrderModel order)protected java.util.Collection<TaxValue>DefaultCalculationService. findTaxValues(AbstractOrderEntryModel entry)java.util.List<DiscountInformation>DefaultDiscountService. getDiscountInformation(BaseCriteria baseCriteria)protected doubleDefaultCalculationService. getTaxCorrectionFactor(java.util.Map<TaxValue,java.util.Map<java.util.Set<TaxValue>,java.lang.Double>> taxValueMap, double subtotal, double total, AbstractOrderModel order)java.util.List<TaxInformation>DefaultTaxService. getTaxInformation(BaseCriteria baseCriteria)voidDefaultCalculationService. recalculate(AbstractOrderEntryModel entry)voidDefaultCalculationService. recalculate(AbstractOrderModel order)voidDefaultCalculationService. recalculate(AbstractOrderModel order, java.util.Date date)protected voidDefaultCalculationService. recalculateOrderEntryIfNeeded(AbstractOrderEntryModel entry, boolean forceRecalculation)protected voidDefaultCalculationService. resetAllValues(AbstractOrderEntryModel entry)protected java.util.MapDefaultCalculationService. resetAllValues(AbstractOrderModel order) -
Uses of CalculationException in de.hybris.platform.order.interceptors
Methods in de.hybris.platform.order.interceptors that throw CalculationException Modifier and Type Method Description voidAbstractOrderEntryPreparerIntegrationTest. testAddNewEntry()voidAbstractOrderEntryPreparerIntegrationTest. testChangeEntry()voidAbstractOrderEntryPreparerIntegrationTest. testNewOrderAddNewEntry() -
Uses of CalculationException in de.hybris.platform.order.strategies.calculation
Methods in de.hybris.platform.order.strategies.calculation that throw CalculationException Modifier and Type Method Description PriceValueFindPriceStrategy. findBasePrice(AbstractOrderEntryModel entry)Resolves price value for the givenAbstractOrderEntryModel.java.util.List<DiscountValue>FindDiscountValuesStrategy. findDiscountValues(AbstractOrderEntryModel entry)Find applicableDiscountValues for the target order entry.java.util.List<DiscountValue>FindDiscountValuesStrategy. findDiscountValues(AbstractOrderModel order)Find applicable globalDiscountValues for the target order.java.util.Collection<TaxValue>FindTaxValuesStrategy. findTaxValues(AbstractOrderEntryModel entry)Resolves tax value for the givenAbstractOrderEntryModelbasing on the underlying implementation.default java.util.List<DiscountInformation>FindDiscountValuesStrategy. getDiscountInformation(BaseCriteria baseCriteria)Get discountsDiscountInformations for given criteria.default java.util.List<PriceInformation>FindPriceStrategy. getPriceInformation(BaseCriteria baseCriteria)Get prices informationPriceInformationfor given criteria.default java.util.List<TaxInformation>FindTaxValuesStrategy. getTaxInformation(BaseCriteria baseCriteria)Get taxes informationTaxInformationfor given criteria. -
Uses of CalculationException in de.hybris.platform.order.strategies.calculation.impl
Methods in de.hybris.platform.order.strategies.calculation.impl that throw CalculationException Modifier and Type Method Description PriceValueFindPricingWithCurrentPriceFactoryStrategy. findBasePrice(AbstractOrderEntryModel entry)java.util.List<DiscountValue>FindOrderDiscountValuesStrategy. findDiscountValues(AbstractOrderEntryModel entry)java.util.List<DiscountValue>FindOrderDiscountValuesStrategy. findDiscountValues(AbstractOrderModel order)java.util.List<DiscountValue>FindPricingWithCurrentPriceFactoryStrategy. findDiscountValues(AbstractOrderEntryModel entry)java.util.List<DiscountValue>FindPricingWithCurrentPriceFactoryStrategy. findDiscountValues(AbstractOrderModel order)java.util.CollectionFindPricingWithCurrentPriceFactoryStrategy. findTaxValues(AbstractOrderEntryModel entry)voidFindDiscountValuesStrategySLOnlyTest. shouldReturnDiscountInformations() -
Uses of CalculationException in de.hybris.platform.order.strategies.calculation.impl.servicelayer
Methods in de.hybris.platform.order.strategies.calculation.impl.servicelayer that throw CalculationException Modifier and Type Method Description PriceValueDefaultSLFindPriceStrategy. findBasePrice(AbstractOrderEntryModel entry)java.util.List<DiscountValue>DefaultSLFindDiscountValuesStrategy. findDiscountValues(AbstractOrderEntryModel entry)java.util.List<DiscountValue>DefaultSLFindDiscountValuesStrategy. findDiscountValues(AbstractOrderModel order)java.util.List<DiscountValue>DefaultSLFindOrderDiscountValuesStrategy. findDiscountValues(AbstractOrderEntryModel entry)java.util.List<DiscountValue>DefaultSLFindOrderDiscountValuesStrategy. findDiscountValues(AbstractOrderModel order)java.util.Collection<TaxValue>DefaultSLFindTaxValuesStrategy. findTaxValues(AbstractOrderEntryModel entry)protected PriceValueDefaultSLFindDeliveryCostStrategy. getDeliveryCostValue(AbstractOrderModel order)java.util.List<DiscountInformation>DefaultSLFindDiscountValuesStrategy. getDiscountInformation(BaseCriteria baseCriteria)protected PriceValueDefaultSLFindPaymentCostStrategy. getPaymentCostValue(AbstractOrderModel order)java.util.List<PriceInformation>DefaultSLFindPriceStrategy. getPriceInformation(BaseCriteria priceCriteria)java.util.List<TaxInformation>DefaultSLFindTaxValuesStrategy. getTaxInformation(BaseCriteria baseCriteria)voidDefaultSLFindPriceStrategyTest. setup()voidDefaultSLFindPriceStrategyTest. testFindBasePriceCustom()voidDefaultSLFindPriceStrategyTest. testFindBasePriceCustomNotApplicable()voidDefaultSLFindPriceStrategyTest. testFindBasePriceCustomNull()voidDefaultSLFindPriceStrategyTest. testFindBasePriceCustomTwoApplicable()voidDefaultSLFindPriceStrategyTest. testFindBasePriceCustomTwoApplicableReverseOrder()voidDefaultSLFindPriceStrategyTest. testFindBasePriceDefault()protected voidDefaultSLFindDeliveryCostStrategy. validateOrder(AbstractOrderModel order) -
Uses of CalculationException in de.hybris.platform.order.strategies.calculation.pdt
Methods in de.hybris.platform.order.strategies.calculation.pdt that throw CalculationException Modifier and Type Method Description java.util.List<INFO>FindPDTValueInfoStrategy. getPDTInformation(CRITERIA criteria)Gets the price/discount/tax information.java.util.List<VALUE>FindPDTValueInfoStrategy. getPDTValues(CRITERIA criteria)Gets the price/discount/tax values.PriceValueDefaultFindPriceValuesServiceIntegrationTest. matchPriceRowForPrice(java.lang.Object product, java.lang.Object user)voidGenericFindDiscountValuesStrategyTest. shouldReturnEmptyListsWhenNoDiscountInSystem()voidAbstractFindTaxValuesStrategyTest. shouldReturnEmptyListsWhenNoTaxInSystem()voidAbstractFindTaxValuesStrategyTest. shouldReturnTaxInformations() -
Uses of CalculationException in de.hybris.platform.order.strategies.calculation.pdt.criteria
Methods in de.hybris.platform.order.strategies.calculation.pdt.criteria that throw CalculationException Modifier and Type Method Description DiscountValueInfoCriteriaPDTCriteriaFactory. discountInfoCriteriaFromBaseCriteria(BaseCriteria baseCriteria)Creates DiscountValueInfoCriteria from BaseCriteriaDiscountValueInfoCriteriaPDTCriteriaFactory. discountValueCriteriaFromOrder(AbstractOrderModel order)Creates DiscountValueInfoCriteria from AbstractOrderModelDiscountValueInfoCriteriaPDTCriteriaFactory. discountValueCriteriaFromOrderEntry(AbstractOrderEntryModel orderEntry)Creates DiscountValueInfoCriteria from AbstractOrderEntryModelPriceValueInfoCriteriaPDTCriteriaFactory. priceInfoCriteriaFromBaseCriteria(BaseCriteria baseCriteria)Creates PriceValueInfoCriteria from BaseCriteriaPriceValueInfoCriteriaPDTCriteriaFactory. priceValueCriteriaFromOrderEntry(AbstractOrderEntryModel orderEntry)Creates PriceValueInfoCriteria from AbstractOrderEntryModelTaxValueInfoCriteriaPDTCriteriaFactory. taxInfoCriteriaFromPriceCriteria(BaseCriteria baseCriteria)Creates TaxValueInfoCriteria from BaseCriteriaTaxValueInfoCriteriaPDTCriteriaFactory. taxValueCriteriaFromOrderEntry(AbstractOrderEntryModel orderEntry)Creates TaxValueInfoCriteria from AbstractOrderEntryModeldefault voidPriceValueInfoCriteria. validateForInfo()default voidPriceValueInfoCriteria. validateForRows() -
Uses of CalculationException in de.hybris.platform.order.strategies.calculation.pdt.criteria.impl
Methods in de.hybris.platform.order.strategies.calculation.pdt.criteria.impl that throw CalculationException Modifier and Type Method Description DiscountValueInfoCriteriaDefaultPDTCriteriaFactory. discountInfoCriteriaFromBaseCriteria(BaseCriteria baseCriteria)DiscountValueInfoCriteriaDefaultPDTCriteriaFactory. discountValueCriteriaFromOrder(AbstractOrderModel order)DiscountValueInfoCriteriaDefaultPDTCriteriaFactory. discountValueCriteriaFromOrderEntry(AbstractOrderEntryModel orderEntry)PriceValueInfoCriteriaDefaultPDTCriteriaFactory. priceInfoCriteriaFromBaseCriteria(BaseCriteria baseCriteria)PriceValueInfoCriteriaDefaultPDTCriteriaFactory. priceValueCriteriaFromOrderEntry(AbstractOrderEntryModel orderEntry)TaxValueInfoCriteriaDefaultPDTCriteriaFactory. taxInfoCriteriaFromPriceCriteria(BaseCriteria baseCriteria)TaxValueInfoCriteriaDefaultPDTCriteriaFactory. taxValueCriteriaFromOrderEntry(AbstractOrderEntryModel orderEntry) -
Uses of CalculationException in de.hybris.platform.order.strategies.calculation.pdt.impl
Methods in de.hybris.platform.order.strategies.calculation.pdt.impl that throw CalculationException Modifier and Type Method Description voidPDTEnumGroupsHelperTest. getEnumDiscountFromGroups()protected <T extends HybrisEnumValue>
TPDTEnumGroupsHelper. getEnumFromGroups(UserModel user, java.lang.String attribute)Tries to find enums connected with User or its User Groups.voidPDTEnumGroupsHelperTest. getEnumTaxFromGroups()java.util.List<TaxInformation>DefaultFindTaxValueInfoStrategy. getPDTInformation(TaxValueInfoCriteria criteria)java.util.List<INFO>GenericPDTFindValueInfoStrategy. getPDTInformation(CRITERIA criteria)java.util.List<PriceValue>DefaultFindPriceValueInfoStrategy. getPDTValues(PriceValueInfoCriteria criteria)java.util.List<TaxValue>DefaultFindTaxValueInfoStrategy. getPDTValues(TaxValueInfoCriteria criteria)java.util.List<VALUE>GenericPDTFindValueInfoStrategy. getPDTValues(CRITERIA criteria)voidPDTEnumGroupsHelperTest. getPtgFromProduct()UserDiscountGroupPDTEnumGroupsHelper. getUDG(AbstractOrderEntryModel entry)Gets User Discount Group for Order Entry.UserDiscountGroupPDTEnumGroupsHelper. getUDG(AbstractOrderModel order)Gets User Discount Group for Order.UserDiscountGroupPDTEnumGroupsHelper. getUDG(UserModel user)Gets the User Discount Group from the User Model.voidPDTEnumGroupsHelperTest. getUdgFromUser()UserPriceGroupPDTEnumGroupsHelper. getUPG(AbstractOrderEntryModel entry)Gets the UserPriceGroup from Order Entry.protected UserPriceGroupPDTEnumGroupsHelper. getUPG(AbstractOrderModel order)UserPriceGroupPDTEnumGroupsHelper. getUPG(UserModel user)Gets the User Price Group from the User Model.UserTaxGroupPDTEnumGroupsHelper. getUTG(AbstractOrderEntryModel entry)Gets User Tax Group for Order Entry.UserTaxGroupPDTEnumGroupsHelper. getUTG(AbstractOrderModel order)Gets User Tax Group for Order.UserTaxGroupPDTEnumGroupsHelper. getUTG(UserModel user)Gets the User Tax Group from the User Model.voidPDTEnumGroupsHelperTest. getUtgFromUser()voidFindTaxValuesStrategySLOnlyWithCacheTest. testTaxCaching() -
Uses of CalculationException in de.hybris.platform.order.strategies.calculation.pdt.postmatcher
Methods in de.hybris.platform.order.strategies.calculation.pdt.postmatcher that throw CalculationException Modifier and Type Method Description java.util.Collection<MODEL>PDTPostMatcher. process(java.util.Collection<MODEL> models, CRITERIA criteria)Process the custom post matcher logic. -
Uses of CalculationException in de.hybris.platform.order.strategies.calculation.pdt.postmatcher.impl
Methods in de.hybris.platform.order.strategies.calculation.pdt.postmatcher.impl that throw CalculationException Modifier and Type Method Description java.util.Collection<PriceRowModel>DefaultPriceInfoPostMatcher. process(java.util.Collection<PriceRowModel> models, PriceValueInfoCriteria criteria)java.util.Collection<PriceRowModel>DefaultPriceValuePostMatcher. process(java.util.Collection<PriceRowModel> models, PriceValueInfoCriteria criteria)java.util.CollectionNoOpPDTPostMatcher. process(java.util.Collection models, PDTCriteria criteria) -
Uses of CalculationException in de.hybris.platform.order.strategies.calculation.pdt.processor
Methods in de.hybris.platform.order.strategies.calculation.pdt.processor that throw CalculationException Modifier and Type Method Description voidPDTProcessor. doProcess(PDTContext context, PDTProcessorChain chain)ThedoProcessmethod of the PDTProcessor is called by the application if price/discount/tax information or values are needed to be resolved.voidPDTProcessorChain. doProcess(PDTContext context)Causes the next processor in the chain to be invokedvoidDefaultFindValuesStrategyProcessorDecoratorTest. shouldCompleteResponseWhenResponseIsEmpty()voidFindValuesStrategyProcessorChainExecutorTest. shouldHaveResultsFromTwoProcessors()voidDefaultFindValuesStrategyProcessorDecoratorTest. shouldNotOverrideResponseWhenResponseIsNotEmpty()voidDefaultPDTProcessorTest. shouldNotProcessIfCollectionsEmptyListSetInContextForValues()voidFindValuesStrategyProcessorChainExecutorTest. shouldNotProcessSecondProcessorWhenFirstProcessorIsNotCallingChain()voidFindValuesStrategyProcessorChainExecutorTest. shouldPassThroughWithoutResult()voidDefaultPDTProcessorTest. shouldProcessIfNoResultConstantSetInContextForInformations()voidDefaultPDTProcessorTest. shouldProcessIfNoResultConstantSetInContextForValues()voidDefaultPDTProcessorTest. shouldProcessIfNullConstantSetInContextForValues()voidFindValuesStrategyProcessorChainExecutorTest. shouldProcessSecondProcessorWhenFirstProcessorIsCallingChain() -
Uses of CalculationException in de.hybris.platform.order.strategies.calculation.pdt.processor.impl
Methods in de.hybris.platform.order.strategies.calculation.pdt.processor.impl that throw CalculationException Modifier and Type Method Description voidDefaultPDTProcessor. doProcess(PDTContext context, PDTProcessorChain chain)java.util.List<INFO>DefaultPDTProcessorChainExecutor. getPDTInformation(CRITERIA criteria)java.util.List<VALUE>DefaultPDTProcessorChainExecutor. getPDTValues(CRITERIA criteria) -
Uses of CalculationException in de.hybris.platform.ordercancel
Methods in de.hybris.platform.ordercancel that throw CalculationException Modifier and Type Method Description voidOrderCancelCompleteTest. customSetUp()voidOrderCancelPossibilityTest. customSetUp()protected OrderModelAbstractOrderCancelTest. placeTestOrder() -
Uses of CalculationException in de.hybris.platform.ordermanagementfacades.order.impl
Methods in de.hybris.platform.ordermanagementfacades.order.impl that throw CalculationException Modifier and Type Method Description voidDefaultOmsOrderFacadeTest. cancelOrder_MultiEntry_Success_CalculateTotals()voidDefaultOmsOrderFacadeTest. cancelOrder_SingleEntry_Success_CalculateTotals() -
Uses of CalculationException in de.hybris.platform.orderscheduling
Methods in de.hybris.platform.orderscheduling that throw CalculationException Modifier and Type Method Description voidOrderUtilityTest. testCreateOrderFromOrderTemplate() -
Uses of CalculationException in de.hybris.platform.payment.impl
Methods in de.hybris.platform.payment.impl that throw CalculationException Modifier and Type Method Description voidPaymentTest. testCapture() -
Uses of CalculationException in de.hybris.platform.promotions
Methods in de.hybris.platform.promotions that throw CalculationException Modifier and Type Method Description voidOrderPromotionWithProductRestrictionTest. testMoreProductsOrderPromotionWithoutRestriction()Creates an orderThresholdFreeGiftPromotion without product restriction, and the cart contains proudct2 which is not restricted.voidOrderPromotionWithProductRestrictionTest. testMoreProductsOrderPromotionWithRestriction()Creates an orderThresholdFreeGiftPromotion WITH product restriction, and the cart contains proudct2 which is not restricted, so the free gift product should be added to the cart.voidOrder2PromotionResultRelationTest. testOrderPromotionResultRelationTest()Tests the relation betweenAbstractOrderModelandPromotionResultModel, and betweenPromotionResultModelandAbstractPromotionActionModel.voidOrderPromotionWithProductRestrictionTest. testOrderPromotionWithoutRestriction()Creates an orderThresholdFreeGiftPromotion without product restriction, and the cart contains only product1 which is restricted.voidOrderPromotionWithProductRestrictionTest. testOrderPromotionWithRestriction()Creates an orderThresholdFreeGiftPromotion WITH product restriction, and the cart contains only product1 which is restricted.voidProductBOGOFPromotionTest. testProductBOGOFPromotion()HW1210-3411: 253 Euro, HW1100-0023: 523.99 Euro, HW2310-1001: 29.90 Euro, and HW2320-1009: 99.80 Euro.voidProductBundlePromotionTest. testProductBundlePromotion()HW1210-3411: 253 Euro, HW1100-0023: 523.99 Euro, HW2310-1001: 29.90 Euro, and HW2320-1009: 99.80 Euro.voidProductFixedPricePromotionTest. testProductFixedPricePromotion()Quite straightforward test.voidProductMultiBuyPromotionTest. testProductMultiBuyPromotion()HW1210-3411: 253.0 Euro, HW1100-0023: 523.99 Euro, and HW2310-1001: 29.90 Euro.voidProductOneToOnePerfectPartnerPromotionTest. testProductOneToOnePerfectPartnerPromotion()HW2110-0019(base product): 381.64 Euro, and HW2200-0561(partner product): 86.80 Euro.voidProductPercentageDiscountPromotionTest. testProductPercentageDiscountPromotionForDefaultPrefetch()voidProductPercentageDiscountPromotionTest. testProductPercentageDiscountPromotionForLiteral()voidPromotionOrderEntryAdjustActionTest. testPromotionOrderEntryAdjustAction()Tests PromotionOrderEntryAdjustAction with the same product in different cart entries.voidPromotionUserRestrictionTest. testPromotionUserRestriction()Tests the user restriction under different circumstances.voidPromotionWithVoucherTest. testPromotionWithProductRestrictionVoucher()Tests promotion with voucher that has product restriction.voidOrderThresholdChangeDeliveryModePromotionTest. testUpgradeDeliveryMode()Puts product HW1230-0001 in the cart, sets the delivery mode to "ups" and updates the promotions in "prGroup4" which has an OrderThresholdChangeDeliveryModePromotion. -
Uses of CalculationException in de.hybris.platform.promotions.backoffice.actions
Methods in de.hybris.platform.promotions.backoffice.actions that throw CalculationException Modifier and Type Method Description protected voidCalculateWithPromotionsAction. calculateIfNeeded(AbstractOrderModel order, PromotionOrderResults promotionOrderResults)protected voidCalculateWithPromotionsAction. updatePromotions(AbstractOrderModel order) -
Uses of CalculationException in de.hybris.platform.returns
Methods in de.hybris.platform.returns that throw CalculationException Modifier and Type Method Description voidReturnsServiceTest. createOrder() -
Uses of CalculationException in de.hybris.platform.ruleengineservices.util
Methods in de.hybris.platform.ruleengineservices.util that throw CalculationException Modifier and Type Method Description voidOrderUtilsIT. testChangeSomeQuantitiesInOrder() -
Uses of CalculationException in de.hybris.platform.subscriptionservices.subscription.impl
Methods in de.hybris.platform.subscriptionservices.subscription.impl that throw CalculationException Modifier and Type Method Description PriceValueFindSubscriptionPricingWithCurrentPriceFactoryStrategy. findBasePrice(AbstractOrderEntryModel entry)Resolves the subscription price value for the given AbstractOrderEntryModel by searching aProductModelthat is applicable for the entry's subscription product.java.util.List<DiscountValue>FindSubscriptionPricingWithCurrentPriceFactoryStrategy. findDiscountValues(AbstractOrderEntryModel entry)Find applicable DiscountValues for the target order entry.voidDefaultSubscriptionCommerceCartService. recalculateCart(CartModel masterCartModel)Overrides the super class' method to make sure that in a multi-cart system the master cart and its child carts are re-calculated.voidDefaultSubscriptionCommerceCartServiceTest. testAddToCart()voidDefaultSubscriptionCommerceCartServiceTest. testAddToCartProductNoStock()voidDefaultSubscriptionCommerceCartServiceTest. testAddToCartSubscriptionProductNoStock()voidDefaultSubscriptionCommerceCartServiceTest. testRecalculateCartEntry()voidDefaultSubscriptionCommerceCartServiceTest. testRecalculateCartEntryWhenCartIsNotMasterCart()voidDefaultSubscriptionCommerceCartServiceTest. testRecalculateCartEntryWhenCartIsNull()voidDefaultSubscriptionCommerceCartServiceTest. testRemoveAllEntriesChildCart()voidDefaultSubscriptionCommerceCartServiceTest. testRemoveAllEntriesMasterCart()voidDefaultSubscriptionCommerceCartServiceTest. testUpdateQuantityForCartEntrySubscriptionProduct() -
Uses of CalculationException in de.hybris.platform.voucher.jalo
Methods in de.hybris.platform.voucher.jalo that throw CalculationException Modifier and Type Method Description voidVoucherDeliveryCostBug_PLA_10914_SLayerTest. testServiceLayerBehaviour() -
Uses of CalculationException in de.hybris.platform.yacceleratorfulfilmentprocess.test
Methods in de.hybris.platform.yacceleratorfulfilmentprocess.test that throw CalculationException Modifier and Type Method Description protected voidFraudCheckIntegrationTest. placeTestOrder()protected OrderModelPaymentIntegrationTest. placeTestOrder(boolean valid)voidPaymentIntegrationTest. testPaymentIntegrationAccepted()voidPaymentIntegrationTest. testPaymentIntegrationDeclined()voidFraudCheckIntegrationTest. testUsersOrderIsEvaluatedAsFraudAndIsCleanedUp()Test scenario: fraudCheck node return FRAUD, and after specific period of time order should have status CANCELLEDvoidFraudCheckIntegrationTest. testUsersOrderIsEvaluatedAsFraudButUserIntervene()Test scenario: fraudCheckNode return FRAUD, but customer intervene and csAgent mark order as no fraudulentvoidFraudCheckIntegrationTest. testUsersOrderIsEvaluatedAsPotentialFraudAndCsAgentDecideThatOrderIsFraudulent()Test scenario: TODOvoidFraudCheckIntegrationTest. testUsersOrderIsEvaluatedAsPotentialFraudButCsAgentDecideThatOrderIsCorrect()Test scenario: Users order is evaluated as a potential, but CS Agent decide that order is correct -
Uses of CalculationException in de.hybris.platform.ycommercewebservices.exceptions
Constructors in de.hybris.platform.ycommercewebservices.exceptions with parameters of type CalculationException Constructor Description RecalculationException(CalculationException exception, java.lang.String currencyIso)
-