java.lang.Object
ru.bitel.bgbilling.modules.npay.server.bean.amount.ModuleAmount
All Implemented Interfaces:
ListItem
Direct Known Subclasses:
DialUpModuleAmount, InetModuleAmount, IPNModuleAmount, PhoneModuleAmount, VoiceModuleAmount, VoipModuleAmount

public abstract class ModuleAmount
extends java.lang.Object
implements ListItem
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String sids  
  • Constructor Summary

    Constructors
    Constructor Description
    ModuleAmount()  
  • Method Summary

    Modifier and Type Method Description
    abstract long getDayAmount​(java.sql.Connection con, int contractId, java.util.Calendar day)  
    int getId()  
    int getModuleId()  
    abstract long getPeriodAmount​(java.sql.Connection con, int contractId, java.util.Calendar from, java.util.Calendar to)  
    java.lang.String getSids()  
    java.lang.String getTitle()  
    void setId​(int id)  
    void setModleId​(int moduleId)  
    void setSids​(java.lang.String sids)  
    void setTitle​(java.lang.String title)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • sids

      protected java.lang.String sids
  • Constructor Details

    • ModuleAmount

      public ModuleAmount()
  • Method Details

    • getSids

      public java.lang.String getSids()
    • setSids

      public void setSids​(java.lang.String sids)
    • getId

      public int getId()
      Specified by:
      getId in interface ListItem
    • setId

      public void setId​(int id)
    • getModuleId

      public int getModuleId()
    • setModleId

      public void setModleId​(int moduleId)
    • getTitle

      public java.lang.String getTitle()
      Specified by:
      getTitle in interface ListItem
    • setTitle

      public void setTitle​(java.lang.String title)
    • getDayAmount

      public abstract long getDayAmount​(java.sql.Connection con, int contractId, java.util.Calendar day)
    • getPeriodAmount

      public abstract long getPeriodAmount​(java.sql.Connection con, int contractId, java.util.Calendar from, java.util.Calendar to)