Class TmaPriceRowMatchComparator

  • All Implemented Interfaces:
    java.util.Comparator<de.hybris.platform.europe1.jalo.PriceRow>

    @Deprecated(since="1903",
                forRemoval=true)
    public class TmaPriceRowMatchComparator
    extends de.hybris.platform.commerceservices.util.AbstractComparator<de.hybris.platform.europe1.jalo.PriceRow>
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 1903
    Custom implementation of the PriceRowMatchComparator from the Europe1PriceFactory for enabling the customisation of the Price Row comparison.
    Since:
    6.7
    • Field Summary

      • Fields inherited from class de.hybris.platform.commerceservices.util.AbstractComparator

        AFTER, BEFORE, EQUAL
    • Constructor Summary

      Constructors 
      Constructor Description
      TmaPriceRowMatchComparator()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected int compareInstances​(de.hybris.platform.europe1.jalo.PriceRow priceRow1, de.hybris.platform.europe1.jalo.PriceRow priceRow2)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      de.hybris.platform.jalo.c2l.Currency getCurrency()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected TmaPriceRowComparator getPriceRowComparator()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      de.hybris.platform.jalo.product.Unit getUnit()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      boolean isNet()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setCurrency​(de.hybris.platform.jalo.c2l.Currency currency)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setNet​(boolean net)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setPriceRowComparator​(TmaPriceRowComparator priceRowComparator)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void setUnit​(de.hybris.platform.jalo.product.Unit unit)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class de.hybris.platform.commerceservices.util.AbstractComparator

        compare, compareValues, compareValues, compareValues, compareValues, compareValues, instanceEquals
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • TmaPriceRowMatchComparator

        public TmaPriceRowMatchComparator()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • compareInstances

        protected int compareInstances​(de.hybris.platform.europe1.jalo.PriceRow priceRow1,
                                       de.hybris.platform.europe1.jalo.PriceRow priceRow2)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        compareInstances in class de.hybris.platform.commerceservices.util.AbstractComparator<de.hybris.platform.europe1.jalo.PriceRow>
      • setCurrency

        public void setCurrency​(de.hybris.platform.jalo.c2l.Currency currency)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getCurrency

        public de.hybris.platform.jalo.c2l.Currency getCurrency()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setNet

        public void setNet​(boolean net)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • isNet

        public boolean isNet()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getUnit

        public de.hybris.platform.jalo.product.Unit getUnit()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setUnit

        public void setUnit​(de.hybris.platform.jalo.product.Unit unit)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getPriceRowComparator

        protected TmaPriceRowComparator getPriceRowComparator()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setPriceRowComparator

        public void setPriceRowComparator​(TmaPriceRowComparator priceRowComparator)
        Deprecated, for removal: This API element is subject to removal in a future version.