123456789101112131415
  1. package com.zipcoder.payment;
  2. import java.util.Locale;
  3. public interface Payment extends Comparable<Payment>
  4. //Comparable<Payment> is a generic abstract class
  5. {
  6. public long getId();
  7. public String getPayerName();
  8. public String getShortDescription();
  9. }