Class UsageChargeEntryModelSortService

java.lang.Object
de.hybris.platform.subscriptionservices.model.impl.UsageChargeEntryModelSortService
All Implemented Interfaces:
ModelSortService<UsageChargeEntryModel>

public class UsageChargeEntryModelSortService extends Object implements ModelSortService<UsageChargeEntryModel>
This service provides functionality for sorting collections of UsageChargeEntryModel instances. It sorts instances of TierUsageChargeEntryModel by their "tierStart" attribute (ascending) and adds any instance of OverageUsageChargeEntryModel to the end of the sorted list.