Repository navigation
4.4.0
Included commits: 4.3.0...4.4.0
Improvements
-
Introduced ItemTransfer.isOrdered property to store when the item transfer is already ordered.
-
Introduced ExpenseTransfer.isOrdered property to store when the expense is already ordered.
-
Introduced ProductOptionTransfer.isOrdered property to store when the product option related item is already ordered.
-
Introduced CalculationFacadeInterface::removeCanceledAmount() facade method to allow reseting canceled amount for items.
-
Introduced RemoveCanceledAmountCalculatorPlugin to allow reset canceled amount for items.
-
Adjusted CalculationFacadeInterface::calculateDiscountAmountAggregationForGenericAmount() so CalculatedDiscountTransfer sum prices are only re-calculated when missing; impacts DiscountAmountAggregatorForGenericAmountPlugin.
-
Adjusted CalculationFacadeInterface::calculateItemPrice() so sum prices for ItemTransfer, ProductOptionTransfer, ExpenseTransfer are only re-calculated when their isOrdered property is false; impacts PriceCalculatorPlugin.
-
Fixed CalculationFacadeInterface::calculateOrderTaxTotal() so sum tax amounts are used instead of unit tax amounts (in previous version: for quantity = 1 they should have the same value and be provided) and sum tax amounts are explicitly marked as required; impacts OrderTaxTotalCalculationPlugin.
-
Fixed CalculationFacadeInterface::calculateRefundTotal() so the refundable amount is not further multiplied with quantity - the "refundableAmount" will always store the complete refundable amount; impacts RefundTotalCalculatorPlugin.
-
Fixed CalculationFacadeInterface::calculateRefundableAmount() so it sets the refundable amount as the complete refundable amount for the given item; additionally the "SumPriceToPayAggregation" is explicitly marked as required; impacts RefundableAmountCalculatorPlugin.