Home | Trees | Indices | Help |
|
---|
|
object --+ | Call
The class Call
represents billing information of phone
calls. Each phone call is defined by its duration, its price per minute,
and the price to start the call. A phone call object's state is immutable
once the object has been created.
The class's methods automatically take into account the network usage component of a phone calls (paikallisverkkomaksu). These are assumed to be constants irrespective of location.
|
|||
|
|||
boolean |
|
||
float |
|
||
string |
|
||
Inherited from |
|
|||
NETWORK_START_COST = 0.0099
|
|||
NETWORK_MINUTE_COST = 0.0199
|
|
|||
Inherited from |
|
Creates a new phone call object with the given attributes.
|
Determines if the phone call has a higher total cost than another given phone call.
|
Returns the full price of the phone call, including network usage costs (paikallisverkkomaksu).
|
Returns a string description of the phone call, detailing the duration and price of the call.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Aug 22 12:06:37 2012 | http://epydoc.sourceforge.net |