Interface CommerceCartHashCalculationStrategy

    • Method Detail

      • buildHashForAbstractOrder

        @Deprecated(since="5.2",
                    forRemoval=true)
        java.lang.String buildHashForAbstractOrder​(AbstractOrderModel abstractOrderModel,
                                                   java.util.List<java.lang.String> additionalValues)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Since 5.2. Use buildHashForAbstractOrder(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 for
        additionalValues - the additional values
        Returns:
        the calculated hash
      • buildHashForAbstractOrder

        java.lang.String buildHashForAbstractOrder​(CommerceOrderParameter parameter)
        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