code: public static CommerceDiscountUsageEntry findByGroupId_Last(long groupId,
  		OrderByComparator<CommerceDiscountUsageEntry> orderByComparator)
  		throws com.liferay.commerce.discount.exception.NoSuchDiscountUsageEntryException {
  		return getPersistence().findByGroupId_Last(groupId, orderByComparator);
  	}
docs: Returns the last commerce discount usage entry in the ordered set where groupId = &#63;.
  
  @param groupId the group ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the last matching commerce discount usage entry
  @throws NoSuchDiscountUsageEntryException if a matching commerce discount usage entry could not be found