Class ValueUnit

java.lang.Object
ru.bitel.bgbilling.modules.subscription.common.bean.ValueUnit

public class ValueUnit
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    ValueUnit()  
    ValueUnit​(long value, Unit unit)  
  • Method Summary

    Modifier and Type Method Description
    Unit getUnit()  
    long getValue()  
    void setUnit​(Unit unit)  
    void setValue​(long value)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getValue

      public long getValue()
    • setValue

      public void setValue​(long value)
    • getUnit

      public Unit getUnit()
    • setUnit

      public void setUnit​(Unit unit)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object