org.geebis.books.model.item.retail
Class OtherCharge

java.lang.Object
  extended by org.geebis.books.model.item.Item
      extended by org.geebis.books.model.item.retail.RetailItem
          extended by org.geebis.books.model.item.retail.Service
              extended by org.geebis.books.model.item.retail.OtherCharge
All Implemented Interfaces:
java.io.Serializable

@Name(value="otherCharge")
public class OtherCharge
extends Service
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
OtherCharge()
           
OtherCharge(java.lang.String name)
           
OtherCharge(java.lang.String name, java.lang.Double amount)
           
 
Method Summary
 java.lang.Double getAmount()
          Gets the amount for this charge
 void setAmount(java.lang.Double amount)
          Sets the amount for this charge
 
Methods inherited from class org.geebis.books.model.item.retail.RetailItem
getAverageCost, getRetail, getTrackable, setAverageCost, setRetail, setTrackable
 
Methods inherited from class org.geebis.books.model.item.Item
getDescription, getId, getName, getSalesAccount, getVersion, setDescription, setId, setName, setSalesAccount, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OtherCharge

public OtherCharge()

OtherCharge

public OtherCharge(java.lang.String name)

OtherCharge

public OtherCharge(java.lang.String name,
                   java.lang.Double amount)
Method Detail

getAmount

public java.lang.Double getAmount()
Gets the amount for this charge

Returns:
the amount for this charge

setAmount

public void setAmount(java.lang.Double amount)
Sets the amount for this charge

Parameters:
amount - the new amount for this charge