Class SubscriptionPricePlanModelComparator
java.lang.Object
de.hybris.platform.commerceservices.util.AbstractComparator<SubscriptionPricePlanModel>
de.hybris.platform.b2ctelcoservices.pricing.comparator.SubscriptionPricePlanModelComparator
- All Implemented Interfaces:
Comparator<SubscriptionPricePlanModel>
@Deprecated(since="2007")
public class SubscriptionPricePlanModelComparator
extends de.hybris.platform.commerceservices.util.AbstractComparator<SubscriptionPricePlanModel>
Deprecated.
since 2007
Comparator for determining an order of prices. The priority is as follows:
- first recurring charge
- price value
- first one time charge
- Since:
- 6.7
-
Field Summary
Fields inherited from class de.hybris.platform.commerceservices.util.AbstractComparator
AFTER, BEFORE, EQUAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends ChargeEntryModel>
intcompareCharges(Collection<T> charges1, Collection<T> charges2) Deprecated.protected intcompareInstances(SubscriptionPricePlanModel instance1, SubscriptionPricePlanModel instance2) Deprecated.protected DoubleDeprecated.Methods inherited from class de.hybris.platform.commerceservices.util.AbstractComparator
compare, compareValues, compareValues, compareValues, compareValues, compareValues, instanceEqualsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SubscriptionPricePlanModelComparator
public SubscriptionPricePlanModelComparator()Deprecated.
-
-
Method Details
-
compareInstances
protected int compareInstances(SubscriptionPricePlanModel instance1, SubscriptionPricePlanModel instance2) Deprecated.- Specified by:
compareInstancesin classde.hybris.platform.commerceservices.util.AbstractComparator<SubscriptionPricePlanModel>
-
getStandAlonePriceFromSppData
Deprecated. -
compareCharges
protected <T extends ChargeEntryModel> int compareCharges(Collection<T> charges1, Collection<T> charges2) Deprecated.
-