| Modifier and Type | Method and Description |
|---|---|
protected OrderModel |
AbstractOrderManagementTest.placeTestOrder() |
| Modifier and Type | Method and Description |
|---|---|
void |
BasePriceWithUnitConversionTest.basePriceWithUnitConversion() |
void |
BasePriceWithUnitConversionTest.preferredPricePerUnitTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
AcceleratorPromotionsTest.shouldPlaceOrderWithPromotions() |
| Modifier and Type | Method and Description |
|---|---|
OrderModel |
B2BIntegrationTest.createOrder(int quantity) |
OrderModel |
B2BIntegrationTest.createOrder(java.lang.String uid,
int quantity,
OrderStatus status) |
OrderModel |
B2BIntegrationTest.createOrder(UserModel user,
int quantity,
OrderStatus status,
ProductModel product) |
| Modifier and Type | Method and Description |
|---|---|
void |
B2BCommentServiceTest.shouldGetAllB2BComments() |
void |
B2BCommentServiceTest.shouldGetCommentByUser() |
| Modifier and Type | Method and Description |
|---|---|
void |
ProductThresholdPriceDiscountPromotionTest.shouldApplyPromotion()
Entry total 253.0d is greater than threshold 100.
|
void |
ProductThresholdPriceDiscountPromotionTest.shouldNotApplyPromotion()
Entry total 29.90d is less than threshold 100.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TaxRowCachingForMultipleCatalogVersionsTest.testTaxRowCacheByProductMatch() |
void |
TaxRowCachingForMultipleCatalogVersionsTest.testTaxRowCacheByProductTaxGroupMatch() |
void |
TaxRowCachingForMultipleCatalogVersionsTest.testTaxRowCacheWithNoCatalogVersions() |
void |
CatalogAwareEurope1PriceFactoryTest.testTaxValue() |
| Modifier and Type | Method and Description |
|---|---|
protected PriceValue |
ChineseSLFindDeliveryCostStrategy.getDeliveryCostValue(AbstractOrderModel order) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCisSapDigitalPaymentFacadeTest.checkIfPaymentAddressAddedToCart() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultQuoteFacadeDiscountIntegrationTest.shouldApplyDiscount() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCommercePromotionRestrictionFacadeTest.testEnablePromotionForCurrentCart() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultStoreSessionFacadeTest.testInitializeSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
CommerceCartService.recalculateCart(CartModel cartModel)
Deprecated.
|
void |
CommerceCartService.recalculateCart(CommerceCartParameter parameter)
Recalculates the whole cart and all its entries.
|
void |
DefaultCommerceCartServiceIntegrationTest.testPreviewTime() |
void |
DefaultCommerceCartServiceIntegrationTest.testRecalculateCart() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCommerceQuoteCartCalculationMethodHookTest.shouldAddQuoteDiscounts() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCommerceCartService.recalculateCart(CartModel cartModel)
Deprecated.
Since 5.2.
|
void |
DefaultCommerceCartServiceTest.testAddToCart() |
void |
DefaultCommerceCartServiceTest.testAddToCartLowerStock() |
void |
DefaultCommerceCartServiceTest.testAddToCartWhenNoCartWasPassed() |
void |
DefaultCommerceCartServiceTest.testAddToCartWithMethodHooksDisabled() |
void |
DefaultCommerceCartServiceTest.testAddToCartWithMethodHooksEnabled() |
void |
DefaultCommerceCartServiceTest.testAddToCartWithMethodHooksWithPropertyDisabled() |
void |
DefaultCommerceCartServiceTest.testCalculateCart() |
void |
DefaultCommerceCheckoutServiceTest.testPlaceOrder() |
void |
DefaultCommerceCartServiceTest.testRecalculateCart() |
void |
DefaultCommerceCartServiceTest.testRecalculateCartWhenCartIsNull() |
| Modifier and Type | Method and Description |
|---|---|
void |
PromotionOrderRestrictionTest.testMultipleRestrictionsForProductPromotion() |
void |
PromotionOrderRestrictionTest.testSingleOrderRestrictionForOrderPromotion() |
void |
PromotionOrderRestrictionTest.testSingleOrderRestrictionForProductPromotion() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCartLoaderStrategyTest.testApplyCurrencyToCartAndNoRecalculate() |
void |
DefaultCartLoaderStrategyTest.testApplyCurrencyToCartAndRecalculate() |
void |
DefaultCartLoaderStrategyTest.testApplyCurrencyToCartAndRecalculateWithException() |
| Modifier and Type | Method and Description |
|---|---|
void |
BundleCartPopulatorIntegrationTest.firstIsBundleSecondIsRegularProductEntriesOrderTest() |
void |
BundleCartPopulatorIntegrationTest.firstIsRegularProductSecondIsBundleEntriesOrderTest() |
void |
BundleCartPopulatorIntegrationTest.oneBundleEntriesOrderTest() |
void |
BundleCartPopulatorIntegrationTest.regularProductsOrderShouldBeTheSameTest() |
void |
BundleCartPopulatorIntegrationTest.twoBundleEntriesOrderTest() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DiscountValue> |
BundleCurrentFactoryFindPricingStrategy.findDiscountValues(AbstractOrderEntryModel entry) |
java.util.List<DiscountValue> |
FindBundlePricingWithCurrentPriceFactoryStrategy.findDiscountValues(AbstractOrderEntryModel entry)
For non Bundle products (no bundleNo set or bundleNo=0) it should work as is, so the DiscountValues should result
from the DiscountRows defined at the product.
|
void |
DefaultBundleCommerceCartServiceNestedIntegrationTest.populateBundleBoxEntryForNotRemovableProducts() |
void |
BundleOrderEntryRemoveableCheckerNestedIntegrationTest.shouldDeleteItemsWhichSatisfyMinCondition() |
void |
BundleOrderEntryRemoveableCheckerNestedIntegrationTest.shouldNotDeleteItemsWhichDontSatisfyMinCondition() |
void |
DefaultBundleCommerceCartServiceNestedIntegrationTest.shouldNotDeleteItemsWhichDontSatisfyMinCondition() |
void |
DefaultBundleCommerceCartServiceNestedIntegrationTest.shouldNotUpdateExistingBundles() |
void |
BundleOrderEntryRemoveableCheckerNestedIntegrationTest.shouldRemoveNonBundleEntry() |
void |
DefaultBundleCommerceCartServiceNestedIntegrationTest.shouldUpdateRegularProduct() |
void |
DefaultBundleCartServiceNestedIntegrationTest.testAdd2Cart2Products() |
void |
DefaultBundleRuleServiceIntegrationTest.testAdd2Cart2Products() |
void |
DefaultBundleRuleServiceIntegrationTest.testAdd2CartWithSmartPhonePackage() |
void |
DefaultBundleRuleServiceIntegrationTest.testAdd2CartWithSmartPhonePackageAndStandalone() |
void |
DefaultBundleCommerceCartServiceTest.testAddToCartNewBundle() |
void |
DefaultBundleCommerceCartServiceTest.testAddToCartNoBundleParamsNewMethod() |
void |
DefaultBundleCommerceCartServiceTest.testAddToCartNoBundleParamsOldMethod() |
void |
DefaultBundleCommerceCartServiceTest.testCheckIsComponentEditableWhenCartIsNull() |
void |
DefaultBundleCommerceCartServiceTest.testCheckIsComponentSelectionCriteriaMetWhenCartIsNull() |
void |
FindBundlePricingWithCurrentPriceFactoryStrategyTest.testFindDiscountValuesNoPrice() |
void |
FindBundlePricingWithCurrentPriceFactoryStrategyTest.testFindDiscountValuesNoPricePlan() |
void |
FindBundlePricingWithCurrentPriceFactoryStrategyTest.testFindDiscountValuesPlanWinsAgainstRule() |
void |
FindBundlePricingWithCurrentPriceFactoryStrategyTest.testFindDiscountValuesPlanWinsNoRule() |
void |
FindBundlePricingWithCurrentPriceFactoryStrategyTest.testFindDiscountValuesPriceWrongCartBillingFrequency() |
void |
FindBundlePricingWithCurrentPriceFactoryStrategyTest.testFindDiscountValuesRuleWinsAgainstPlan() |
void |
DefaultBundleRuleServiceIntegrationTest.testGetChangePriceBundleRuleWhenBundleExists() |
void |
DefaultBundleCommerceCheckoutServiceIntegrationTest.testPlaceOrder() |
void |
DefaultBundleCommerceCheckoutServiceIntegrationTest.testPlaceOrderInvalid() |
void |
DefaultBundleCommerceCartServiceIntegrationTest.testRemoveAllEntriesBundle() |
void |
DefaultBundleCartServiceNestedIntegrationTest.testRemoveAllEntriesBundle() |
void |
DefaultBundleCommerceCartServiceTest.testRemoveAllEntriesBundle() |
void |
DefaultBundleCartServiceNestedIntegrationTest.testRemoveAllEntriesBundleBundleDoesNotExist() |
void |
DefaultBundleCartServiceNestedIntegrationTest.testRemoveAllEntriesBundleBundleNoIsNegative() |
void |
DefaultBundleCartServiceNestedIntegrationTest.testRemoveAllEntriesBundleBundleNoIsZero() |
void |
DefaultBundleCartServiceNestedIntegrationTest.testRemoveAllEntriesBundleNullCart() |
void |
DefaultBundleCommerceCartServiceTest.testRemoveAllEntriesFromUnknownBundle() |
void |
DefaultBundleCommerceCartServiceTest.testRemoveAllEntriesWhenCartIsNull() |
void |
DefaultBundleCommerceCartServiceTest.testUpdateQuantityForCartEntryBundle() |
void |
DefaultBundleCommerceCartServiceTest.testUpdateQuantityForCartEntryStandalone() |
void |
DefaultBundleCommerceCartServiceTest.testUpdateQuantityForCartEntryWhenCartIsNull() |
void |
DefaultBundleCommerceCartServiceTest.testUpdateQuantityForCartEntryWhenNoMasterCartIsGiven() |
void |
DefaultBundleCommerceCartServiceTest.testUpdateQuantityForCartEntryWrongQuantity() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCouponServiceUnitTest.testRedeemCouponInCart() |
| Modifier and Type | Method and Description |
|---|---|
void |
CalculationService.calculate(AbstractOrderModel order)
Calculates the given order and all its entries unless they're already calculated and the order has not been
modified.
|
void |
CalculationService.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.
|
void |
CalculationService.calculateTotals(AbstractOrderModel order,
boolean recalculate)
(re)calculates all totals for the given order.
|
void |
SyncDiscountRowsTest.checkDiscountRowAssignedByUserAndProductGroupsIsVisibleViaPriceFactoryAfterSynchronization() |
PriceValue |
TestPriceFactory.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 discounts
DiscountInformations for given criteria. |
default java.util.List<TaxInformation> |
TaxService.getTaxInformation(BaseCriteria baseCriteria)
Get taxes information
TaxInformation for given criteria. |
void |
CalculationService.recalculate(AbstractOrderEntryModel entry)
Calculates this entry even if the entry was calculated before.
|
void |
CalculationService.recalculate(AbstractOrderModel order)
recalculates the whole order and all its entries.
|
void |
CalculationService.recalculate(AbstractOrderModel order,
java.util.Date date)
recalculates the whole order and all its entries.
|
void |
FetchPricingInfoTest.testCalculateAbstractOrderModel() |
void |
CartServiceTest.testChangeSomeQuantitiesInCart() |
void |
UntaxedEntriesCalculationTest.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.
|
void |
UntaxedEntriesCalculationTest.testGrossNormalTaxEntries() |
void |
CalculationServiceMixedTaxTest.testMixedTaxedEntriesGross() |
void |
Europe1TargetPriceDiscountsTest.testNegativeTargetPriceDiscount() |
void |
UntaxedEntriesCalculationTest.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.
|
void |
UntaxedEntriesCalculationTest.testNetNormalTaxEntries() |
void |
Europe1TargetPriceDiscountsTest.testNoDiscounts() |
void |
Europe1TargetPriceDiscountsTest.testTargetPriceDiscount() |
void |
Europe1TargetPriceDiscountsTest.testTargetPriceDiscountAboveBasePrice() |
void |
Europe1TargetPriceDiscountsTest.testTargetPriceDiscountMixed() |
void |
Europe1TargetPriceDiscountsTest.testTargetPriceDiscountMultipleTimes() |
void |
Europe1TargetPriceDiscountsTest.testTargetPriceDiscountOverridePDG() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractCalculationServiceTest.shouldCalculateOrderWithGivenDateWithTaxesWithDateRange() |
void |
CalculationServiceSaveTest.shouldNotSaveDuringCalculateInSl() |
void |
CalculationServiceSaveTest.shouldNotSaveDuringCalculateWithDateInSl() |
void |
CalculationServiceSaveTest.shouldNotSaveDuringRecalculateInSl() |
void |
CalculationServiceSaveTest.shouldNotSaveDuringRecalculateWithDateInSl() |
void |
AbstractCalculationServiceTest.shouldRecalculateEntryEvenWhenItIsAlreadyCalculated() |
void |
AbstractCalculationServiceTest.shouldRecalculateOrderWithGivenDateWhenQuantityChanged() |
void |
AbstractCalculationServiceTest.shouldRecalculateOrderWithGivenDateWithTaxesWithDateRange() |
void |
CalculationServiceSaveTest.shouldSaveDuringCalculateInJalo() |
void |
CalculationServiceSaveTest.shouldSaveDuringCalculateWithDateInJalo() |
void |
CalculationServiceSaveTest.shouldSaveDuringRecalculateInJalo() |
void |
CalculationServiceSaveTest.shouldSaveDuringRecalculateWithDateInJalo() |
void |
AbstractCalculationServiceTest.shouldSetBackOrderDateWhenCalculationExceptionOccours() |
void |
AbstractCalculationServiceTest.testApplyDiscounts() |
void |
AbstractCalculationServiceTest.testApplyGlobalDiscounts() |
void |
AbstractCalculationServiceTest.testApplyTaxes() |
void |
AbstractCalculationServiceTest.testCalculateAbstractOrderModel()
|
void |
AbstractCalculationServiceTest.testRecalculateOrderEntry() |
void |
AbstractCalculationServiceTest.testRequiresCalculation() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCalculationService.calculate(AbstractOrderModel order) |
void |
DefaultCalculationService.calculate(AbstractOrderModel order,
java.util.Date date) |
void |
DefaultCalculationService.calculateEntries(AbstractOrderModel order,
boolean forceRecalculate) |
void |
DefaultCalculationService.calculateTotals(AbstractOrderModel order,
boolean recalculate) |
protected void |
DefaultCalculationService.calculateTotals(AbstractOrderModel order,
boolean recalculate,
java.util.Map<TaxValue,java.util.Map<java.util.Set<TaxValue>,java.lang.Double>> taxValueMap)
calculates all totals.
|
protected PriceValue |
DefaultCalculationService.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 double |
DefaultCalculationService.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) |
void |
DefaultCalculationService.recalculate(AbstractOrderEntryModel entry) |
void |
DefaultCalculationService.recalculate(AbstractOrderModel order) |
void |
DefaultCalculationService.recalculate(AbstractOrderModel order,
java.util.Date date) |
protected void |
DefaultCalculationService.recalculateOrderEntryIfNeeded(AbstractOrderEntryModel entry,
boolean forceRecalculation) |
protected void |
DefaultCalculationService.resetAllValues(AbstractOrderEntryModel entry) |
protected java.util.Map |
DefaultCalculationService.resetAllValues(AbstractOrderModel order) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractOrderEntryPreparerIntegrationTest.testAddNewEntry() |
void |
AbstractOrderEntryPreparerIntegrationTest.testChangeEntry() |
void |
AbstractOrderEntryPreparerIntegrationTest.testNewOrderAddNewEntry() |
| Modifier and Type | Method and Description |
|---|---|
PriceValue |
FindPriceStrategy.findBasePrice(AbstractOrderEntryModel entry)
Resolves price value for the given
AbstractOrderEntryModel. |
java.util.List<DiscountValue> |
FindDiscountValuesStrategy.findDiscountValues(AbstractOrderEntryModel entry)
Find applicable
DiscountValues for the target order entry. |
java.util.List<DiscountValue> |
FindDiscountValuesStrategy.findDiscountValues(AbstractOrderModel order)
Find applicable global
DiscountValues for the target order. |
java.util.Collection<TaxValue> |
FindTaxValuesStrategy.findTaxValues(AbstractOrderEntryModel entry)
Resolves tax value for the given
AbstractOrderEntryModel basing on the underlying implementation. |
default java.util.List<DiscountInformation> |
FindDiscountValuesStrategy.getDiscountInformation(BaseCriteria baseCriteria)
Get discounts
DiscountInformations for given criteria. |
default java.util.List<PriceInformation> |
FindPriceStrategy.getPriceInformation(BaseCriteria baseCriteria)
Get prices information
PriceInformation for given criteria. |
default java.util.List<TaxInformation> |
FindTaxValuesStrategy.getTaxInformation(BaseCriteria baseCriteria)
Get taxes information
TaxInformation for given criteria. |
| Modifier and Type | Method and Description |
|---|---|
PriceValue |
FindPricingWithCurrentPriceFactoryStrategy.findBasePrice(AbstractOrderEntryModel entry) |
java.util.List<DiscountValue> |
FindPricingWithCurrentPriceFactoryStrategy.findDiscountValues(AbstractOrderEntryModel entry) |
java.util.List<DiscountValue> |
FindOrderDiscountValuesStrategy.findDiscountValues(AbstractOrderEntryModel entry) |
java.util.List<DiscountValue> |
FindPricingWithCurrentPriceFactoryStrategy.findDiscountValues(AbstractOrderModel order) |
java.util.List<DiscountValue> |
FindOrderDiscountValuesStrategy.findDiscountValues(AbstractOrderModel order) |
java.util.Collection |
FindPricingWithCurrentPriceFactoryStrategy.findTaxValues(AbstractOrderEntryModel entry) |
void |
FindDiscountValuesStrategySLOnlyTest.shouldReturnDiscountInformations() |
| Modifier and Type | Method and Description |
|---|---|
PriceValue |
DefaultSLFindPriceStrategy.findBasePrice(AbstractOrderEntryModel entry) |
java.util.List<DiscountValue> |
DefaultSLFindDiscountValuesStrategy.findDiscountValues(AbstractOrderEntryModel entry) |
java.util.List<DiscountValue> |
DefaultSLFindOrderDiscountValuesStrategy.findDiscountValues(AbstractOrderEntryModel entry) |
java.util.List<DiscountValue> |
DefaultSLFindDiscountValuesStrategy.findDiscountValues(AbstractOrderModel order) |
java.util.List<DiscountValue> |
DefaultSLFindOrderDiscountValuesStrategy.findDiscountValues(AbstractOrderModel order) |
java.util.Collection<TaxValue> |
DefaultSLFindTaxValuesStrategy.findTaxValues(AbstractOrderEntryModel entry) |
protected PriceValue |
DefaultSLFindDeliveryCostStrategy.getDeliveryCostValue(AbstractOrderModel order) |
java.util.List<DiscountInformation> |
DefaultSLFindDiscountValuesStrategy.getDiscountInformation(BaseCriteria baseCriteria) |
protected PriceValue |
DefaultSLFindPaymentCostStrategy.getPaymentCostValue(AbstractOrderModel order) |
java.util.List<PriceInformation> |
DefaultSLFindPriceStrategy.getPriceInformation(BaseCriteria priceCriteria) |
java.util.List<TaxInformation> |
DefaultSLFindTaxValuesStrategy.getTaxInformation(BaseCriteria baseCriteria) |
protected void |
DefaultSLFindDeliveryCostStrategy.validateOrder(AbstractOrderModel order) |
| Modifier and Type | Method and 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.
|
PriceValue |
DefaultFindPriceValuesServiceIntegrationTest.matchPriceRowForPrice(java.lang.Object product,
java.lang.Object user) |
void |
GenericFindDiscountValuesStrategyTest.shouldReturnEmptyListsWhenNoDiscountInSystem() |
void |
AbstractFindTaxValuesStrategyTest.shouldReturnEmptyListsWhenNoTaxInSystem() |
void |
AbstractFindTaxValuesStrategyTest.shouldReturnTaxInformations() |
| Modifier and Type | Method and Description |
|---|---|
DiscountValueInfoCriteria |
PDTCriteriaFactory.discountInfoCriteriaFromBaseCriteria(BaseCriteria baseCriteria)
Creates DiscountValueInfoCriteria from BaseCriteria
|
DiscountValueInfoCriteria |
PDTCriteriaFactory.discountValueCriteriaFromOrder(AbstractOrderModel order)
Creates DiscountValueInfoCriteria from AbstractOrderModel
|
DiscountValueInfoCriteria |
PDTCriteriaFactory.discountValueCriteriaFromOrderEntry(AbstractOrderEntryModel orderEntry)
Creates DiscountValueInfoCriteria from AbstractOrderEntryModel
|
PriceValueInfoCriteria |
PDTCriteriaFactory.priceInfoCriteriaFromBaseCriteria(BaseCriteria baseCriteria)
Creates PriceValueInfoCriteria from BaseCriteria
|
PriceValueInfoCriteria |
PDTCriteriaFactory.priceValueCriteriaFromOrderEntry(AbstractOrderEntryModel orderEntry)
Creates PriceValueInfoCriteria from AbstractOrderEntryModel
|
TaxValueInfoCriteria |
PDTCriteriaFactory.taxInfoCriteriaFromPriceCriteria(BaseCriteria baseCriteria)
Creates TaxValueInfoCriteria from BaseCriteria
|
TaxValueInfoCriteria |
PDTCriteriaFactory.taxValueCriteriaFromOrderEntry(AbstractOrderEntryModel orderEntry)
Creates TaxValueInfoCriteria from AbstractOrderEntryModel
|
default void |
PriceValueInfoCriteria.validateForInfo() |
default void |
PriceValueInfoCriteria.validateForRows() |
| Modifier and Type | Method and Description |
|---|---|
DiscountValueInfoCriteria |
DefaultPDTCriteriaFactory.discountInfoCriteriaFromBaseCriteria(BaseCriteria baseCriteria) |
DiscountValueInfoCriteria |
DefaultPDTCriteriaFactory.discountValueCriteriaFromOrder(AbstractOrderModel order) |
DiscountValueInfoCriteria |
DefaultPDTCriteriaFactory.discountValueCriteriaFromOrderEntry(AbstractOrderEntryModel orderEntry) |
PriceValueInfoCriteria |
DefaultPDTCriteriaFactory.priceInfoCriteriaFromBaseCriteria(BaseCriteria baseCriteria) |
PriceValueInfoCriteria |
DefaultPDTCriteriaFactory.priceValueCriteriaFromOrderEntry(AbstractOrderEntryModel orderEntry) |
TaxValueInfoCriteria |
DefaultPDTCriteriaFactory.taxInfoCriteriaFromPriceCriteria(BaseCriteria baseCriteria) |
TaxValueInfoCriteria |
DefaultPDTCriteriaFactory.taxValueCriteriaFromOrderEntry(AbstractOrderEntryModel orderEntry) |
| Modifier and Type | Method and Description |
|---|---|
void |
PDTEnumGroupsHelperTest.getEnumDiscountFromGroups() |
protected <T extends HybrisEnumValue> |
PDTEnumGroupsHelper.getEnumFromGroups(UserModel user,
java.lang.String attribute)
Tries to find enums connected with User or its User Groups.
|
void |
PDTEnumGroupsHelperTest.getEnumTaxFromGroups() |
java.util.List<INFO> |
GenericPDTFindValueInfoStrategy.getPDTInformation(CRITERIA criteria) |
java.util.List<TaxInformation> |
DefaultFindTaxValueInfoStrategy.getPDTInformation(TaxValueInfoCriteria criteria) |
java.util.List<VALUE> |
GenericPDTFindValueInfoStrategy.getPDTValues(CRITERIA criteria) |
java.util.List<PriceValue> |
DefaultFindPriceValueInfoStrategy.getPDTValues(PriceValueInfoCriteria criteria) |
java.util.List<TaxValue> |
DefaultFindTaxValueInfoStrategy.getPDTValues(TaxValueInfoCriteria criteria) |
void |
PDTEnumGroupsHelperTest.getPtgFromProduct() |
UserDiscountGroup |
PDTEnumGroupsHelper.getUDG(AbstractOrderEntryModel entry)
Gets User Discount Group for Order Entry.
|
UserDiscountGroup |
PDTEnumGroupsHelper.getUDG(AbstractOrderModel order)
Gets User Discount Group for Order.
|
UserDiscountGroup |
PDTEnumGroupsHelper.getUDG(UserModel user)
Gets the User Discount Group from the User Model.
|
void |
PDTEnumGroupsHelperTest.getUdgFromUser() |
UserPriceGroup |
PDTEnumGroupsHelper.getUPG(AbstractOrderEntryModel entry)
Gets the UserPriceGroup from Order Entry.
|
protected UserPriceGroup |
PDTEnumGroupsHelper.getUPG(AbstractOrderModel order) |
UserPriceGroup |
PDTEnumGroupsHelper.getUPG(UserModel user)
Gets the User Price Group from the User Model.
|
UserTaxGroup |
PDTEnumGroupsHelper.getUTG(AbstractOrderEntryModel entry)
Gets User Tax Group for Order Entry.
|
UserTaxGroup |
PDTEnumGroupsHelper.getUTG(AbstractOrderModel order)
Gets User Tax Group for Order.
|
UserTaxGroup |
PDTEnumGroupsHelper.getUTG(UserModel user)
Gets the User Tax Group from the User Model.
|
void |
PDTEnumGroupsHelperTest.getUtgFromUser() |
void |
FindTaxValuesStrategySLOnlyWithCacheTest.testTaxCaching() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<MODEL> |
PDTPostMatcher.process(java.util.Collection<MODEL> models,
CRITERIA criteria)
Process the custom post matcher logic.
|
| Modifier and Type | Method and 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.Collection |
NoOpPDTPostMatcher.process(java.util.Collection models,
PDTCriteria criteria) |
| Modifier and Type | Method and Description |
|---|---|
void |
PDTProcessorChain.doProcess(PDTContext context)
Causes the next processor in the chain to be invoked
|
void |
PDTProcessor.doProcess(PDTContext context,
PDTProcessorChain chain)
The
doProcess method of the PDTProcessor is called by the application if price/discount/tax information
or values are needed to be resolved. |
void |
DefaultFindValuesStrategyProcessorDecoratorTest.shouldCompleteResponseWhenResponseIsEmpty() |
void |
FindValuesStrategyProcessorChainExecutorTest.shouldHaveResultsFromTwoProcessors() |
void |
DefaultFindValuesStrategyProcessorDecoratorTest.shouldNotOverrideResponseWhenResponseIsNotEmpty() |
void |
DefaultPDTProcessorTest.shouldNotProcessIfCollectionsEmptyListSetInContextForValues() |
void |
FindValuesStrategyProcessorChainExecutorTest.shouldNotProcessSecondProcessorWhenFirstProcessorIsNotCallingChain() |
void |
FindValuesStrategyProcessorChainExecutorTest.shouldPassThroughWithoutResult() |
void |
DefaultPDTProcessorTest.shouldProcessIfNoResultConstantSetInContextForInformations() |
void |
DefaultPDTProcessorTest.shouldProcessIfNoResultConstantSetInContextForValues() |
void |
DefaultPDTProcessorTest.shouldProcessIfNullConstantSetInContextForValues() |
void |
FindValuesStrategyProcessorChainExecutorTest.shouldProcessSecondProcessorWhenFirstProcessorIsCallingChain() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultPDTProcessor.doProcess(PDTContext context,
PDTProcessorChain chain) |
java.util.List<INFO> |
DefaultPDTProcessorChainExecutor.getPDTInformation(CRITERIA criteria) |
java.util.List<VALUE> |
DefaultPDTProcessorChainExecutor.getPDTValues(CRITERIA criteria) |
| Modifier and Type | Method and Description |
|---|---|
void |
OrderCancelCompleteTest.customSetUp() |
void |
OrderCancelPossibilityTest.customSetUp() |
protected OrderModel |
AbstractOrderCancelTest.placeTestOrder() |
| Modifier and Type | Method and Description |
|---|---|
void |
OrderUtilityTest.testCreateOrderFromOrderTemplate() |
| Modifier and Type | Method and Description |
|---|---|
void |
PaymentTest.testCapture() |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
PromotionEngineServicesKeywordLibrary.getTotalOfCart(java.lang.String cartId) |
void |
PromotionEngineServicesKeywordLibrary.removeOneItemOfProduct(ProductModel product,
java.lang.String cartId) |
void |
PromotionEngineServicesKeywordLibrary.removeProduct(ProductModel product,
java.lang.String cartId) |
void |
PromotionEngineServicesKeywordLibrary.updateCartQuantity(int entryNo,
long quantity,
java.lang.String cartId) |
| Modifier and Type | Method and Description |
|---|---|
void |
OrderPromotionWithProductRestrictionTest.testMoreProductsOrderPromotionWithoutRestriction()
Creates an orderThresholdFreeGiftPromotion without product restriction, and the cart contains proudct2 which is
not restricted.
|
void |
OrderPromotionWithProductRestrictionTest.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.
|
void |
Order2PromotionResultRelationTest.testOrderPromotionResultRelationTest()
Tests the relation between
AbstractOrderModel and PromotionResultModel, and between
PromotionResultModel and AbstractPromotionActionModel. |
void |
OrderPromotionWithProductRestrictionTest.testOrderPromotionWithoutRestriction()
Creates an orderThresholdFreeGiftPromotion without product restriction, and the cart contains only product1 which
is restricted.
|
void |
OrderPromotionWithProductRestrictionTest.testOrderPromotionWithRestriction()
Creates an orderThresholdFreeGiftPromotion WITH product restriction, and the cart contains only product1 which is
restricted.
|
void |
ProductBOGOFPromotionTest.testProductBOGOFPromotion()
HW1210-3411: 253 Euro, HW1100-0023: 523.99 Euro, HW2310-1001: 29.90 Euro, and HW2320-1009: 99.80 Euro.
|
void |
ProductBundlePromotionTest.testProductBundlePromotion()
HW1210-3411: 253 Euro, HW1100-0023: 523.99 Euro, HW2310-1001: 29.90 Euro, and HW2320-1009: 99.80 Euro.
|
void |
ProductFixedPricePromotionTest.testProductFixedPricePromotion()
Quite straightforward test.
|
void |
ProductMultiBuyPromotionTest.testProductMultiBuyPromotion()
HW1210-3411: 253.0 Euro, HW1100-0023: 523.99 Euro, and HW2310-1001: 29.90 Euro.
|
void |
ProductOneToOnePerfectPartnerPromotionTest.testProductOneToOnePerfectPartnerPromotion()
HW2110-0019(base product): 381.64 Euro, and HW2200-0561(partner product): 86.80 Euro.
|
void |
ProductPercentageDiscountPromotionTest.testProductPercentageDiscountPromotionForDefaultPrefetch() |
void |
ProductPercentageDiscountPromotionTest.testProductPercentageDiscountPromotionForLiteral() |
void |
PromotionOrderEntryAdjustActionTest.testPromotionOrderEntryAdjustAction()
Tests PromotionOrderEntryAdjustAction with the same product in different cart entries.
|
void |
PromotionUserRestrictionTest.testPromotionUserRestriction()
Tests the user restriction under different circumstances.
|
void |
PromotionWithVoucherTest.testPromotionWithProductRestrictionVoucher()
Tests promotion with voucher that has product restriction.
|
void |
OrderThresholdChangeDeliveryModePromotionTest.testUpgradeDeliveryMode()
Puts product HW1230-0001 in the cart, sets the delivery mode to "ups" and updates the promotions in "prGroup4"
which has an OrderThresholdChangeDeliveryModePromotion.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CalculateWithPromotionsAction.calculateIfNeeded(AbstractOrderModel order,
PromotionOrderResults promotionOrderResults) |
protected void |
CalculateWithPromotionsAction.updatePromotions(AbstractOrderModel order) |
| Modifier and Type | Method and Description |
|---|---|
void |
ReturnsServiceTest.createOrder() |
| Modifier and Type | Method and Description |
|---|---|
void |
OrderUtilsIT.testChangeSomeQuantitiesInOrder() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultC4CCalculationService.calculate(AbstractOrderModel order) |
void |
DefaultC4CCalculationService.calculateTotals(AbstractOrderModel order,
boolean recalculate) |
protected void |
DefaultC4CCalculationService.calculateTotals(AbstractOrderModel order,
boolean recalculate,
java.util.Map<TaxValue,java.util.Map<java.util.Set<TaxValue>,java.lang.Double>> taxValueMap) |
void |
DefaultC4CCalculationService.recalculate(AbstractOrderModel order) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProductConfigurationSynchronousPricingStrategyImplTest.testUpdateCartEntryBasePrice_SynchronousPricingActive() |
void |
ProductConfigurationSynchronousPricingStrategyImplTest.testUpdateCartEntryPrices_Exception() |
void |
ProductConfigurationSynchronousPricingStrategyImplTest.testUpdateCartEntryPrices_noCalculation() |
void |
ProductConfigurationSynchronousPricingStrategyImplTest.testUpdateCartEntryPrices_noParameters() |
void |
ProductConfigurationSynchronousPricingStrategyImplTest.testUpdateCartEntryPrices_SynchronousPricingInactive() |
void |
ProductConfigurationSynchronousPricingStrategyImplTest.testUpdateCartEntryPrices() |
| Modifier and Type | Method and Description |
|---|---|
PriceValue |
FindPricingForConfigurableProductsStrategy.findBasePrice(AbstractOrderEntryModel entry) |
void |
FindPricingForConfigurableProductsStrategyTest.testFindBasePriceKMATorChangeableVariant() |
void |
FindPricingForConfigurableProductsStrategyTest.testFindBasePriceNeitherKMATNorChangeableVariant() |
| Modifier and Type | Method and Description |
|---|---|
void |
SapCartCalculationService.calculate(AbstractOrderModel order) |
void |
SapCartCalculationService.calculateTotals(AbstractOrderModel order,
boolean recalculate) |
protected java.util.List<DiscountValue> |
SapCartCalculationService.findDiscountValues(AbstractOrderEntryModel entry) |
void |
SapCartCalculationService.recalculate(AbstractOrderModel order) |
protected void |
SapCartCalculationService.resetAllValues(AbstractOrderEntryModel entry) |
protected java.util.Map |
SapCartCalculationService.resetAllValues(AbstractOrderModel order) |
void |
SapCartCalculationServiceIntegTest.testSapCalculateAbstractOrderModel() |
void |
SapCartCalculationServiceIntegTest.testSapCalculateCart() |
| Modifier and Type | Method and Description |
|---|---|
PriceValue |
FindSubscriptionPricingWithCurrentPriceFactoryStrategy.findBasePrice(AbstractOrderEntryModel entry)
Resolves the subscription price value for the given AbstractOrderEntryModel by searching a
ProductModel
that is applicable for the entry's subscription product. |
java.util.List<DiscountValue> |
FindSubscriptionPricingWithCurrentPriceFactoryStrategy.findDiscountValues(AbstractOrderEntryModel entry)
Find applicable DiscountValues for the target order entry.
|
void |
DefaultSubscriptionCommerceCartService.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.
|
void |
DefaultSubscriptionCommerceCartServiceTest.testAddToCart() |
void |
DefaultSubscriptionCommerceCartServiceTest.testAddToCartProductNoStock() |
void |
DefaultSubscriptionCommerceCartServiceTest.testAddToCartSubscriptionProductNoStock() |
void |
DefaultSubscriptionCommerceCartServiceTest.testRecalculateCartEntry() |
void |
DefaultSubscriptionCommerceCartServiceTest.testRecalculateCartEntryWhenCartIsNotMasterCart() |
void |
DefaultSubscriptionCommerceCartServiceTest.testRecalculateCartEntryWhenCartIsNull() |
void |
DefaultSubscriptionCommerceCartServiceTest.testRemoveAllEntriesChildCart() |
void |
DefaultSubscriptionCommerceCartServiceTest.testRemoveAllEntriesMasterCart() |
void |
DefaultSubscriptionCommerceCartServiceTest.testUpdateQuantityForCartEntrySubscriptionProduct() |
| Modifier and Type | Method and Description |
|---|---|
void |
VoucherDeliveryCostBug_PLA_10914_SLayerTest.testServiceLayerBehaviour() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FraudCheckIntegrationTest.placeTestOrder() |
protected OrderModel |
PaymentIntegrationTest.placeTestOrder(boolean valid) |
void |
PaymentIntegrationTest.testPaymentIntegrationAccepted() |
void |
PaymentIntegrationTest.testPaymentIntegrationDeclined() |
void |
FraudCheckIntegrationTest.testUsersOrderIsEvaluatedAsFraudAndIsCleanedUp()
Test scenario: fraudCheck node return FRAUD, and after specific period of time order should have status CANCELLED
|
void |
FraudCheckIntegrationTest.testUsersOrderIsEvaluatedAsFraudButUserIntervene()
Test scenario: fraudCheckNode return FRAUD, but customer intervene and csAgent mark order as no fraudulent
|
void |
FraudCheckIntegrationTest.testUsersOrderIsEvaluatedAsPotentialFraudAndCsAgentDecideThatOrderIsFraudulent()
Test scenario: TODO
|
void |
FraudCheckIntegrationTest.testUsersOrderIsEvaluatedAsPotentialFraudButCsAgentDecideThatOrderIsCorrect()
Test scenario: Users order is evaluated as a potential, but CS Agent decide that order is correct
|
| Constructor and Description |
|---|
RecalculationException(CalculationException exception,
java.lang.String currencyIso) |
Copyright © 2018 SAP SE. All Rights Reserved.