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

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

    Fields
    Modifier and Type Field Description
    protected int mid  
    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 getMid()  
    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 setMid​(int mid)  
    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

    • mid

      protected int mid
    • 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)
    • getMid

      public int getMid()
    • setMid

      public void setMid​(int mid)
    • 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)