Interface CommerceCartHashCalculationStrategy
- All Known Implementing Classes:
DefaultCommerceCartHashCalculationStrategy
public interface CommerceCartHashCalculationStrategy
Strategy tp calculate a hash value based on the abstractOrderModel state plus the additionalValues
-
Method Summary
Modifier and TypeMethodDescriptionbuildHashForAbstractOrder(CommerceOrderParameter parameter) Calculate a hash for the order + additional values passed as a parameterbuildHashForAbstractOrder(AbstractOrderModel abstractOrderModel, List<String> additionalValues) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2.
-
Method Details
-
buildHashForAbstractOrder
@Deprecated(since="5.2", forRemoval=true) String buildHashForAbstractOrder(AbstractOrderModel abstractOrderModel, List<String> additionalValues) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.2. UsebuildHashForAbstractOrder(de.hybris.platform.commerceservices.service.data.CommerceOrderParameter)instead Calculate a hash for the order + additional values passed as a parameter- Parameters:
abstractOrderModel- the order to calculate the hash foradditionalValues- the additional values- Returns:
- the calculated hash
-
buildHashForAbstractOrder
Calculate a hash for the order + additional values passed as a parameter- Parameters:
parameter- A parameter object holding the following values - abstractOrderModel the order to calculate the hash for - additionalValues the additional values- Returns:
- the calculated hash
-