com.cloudcontrolled.api.model
Class BilledBoxes

java.lang.Object
  extended by com.cloudcontrolled.api.model.AbstractModel
      extended by com.cloudcontrolled.api.model.BilledBoxes

public class BilledBoxes
extends AbstractModel

The billed boxed object contains informations about the amount of hours and boxes you used whithin the last invoice period of the concerning deployment. It also contains the amount of free to use boxes you still own.

Author:
Denis Neuling (denisneuling@gmail.com)

Constructor Summary
BilledBoxes()
           Constructor for BilledBoxes.
 
Method Summary
 double getBoxes()
           Getter for the field boxes.
 double getCosts()
           Getter for the field costs.
 double getFreeBoxes()
           getFreeBoxes.
 String getUntil()
           Getter for the field until.
 void setBoxes(double boxes)
           Setter for the field boxes.
 void setCosts(double costs)
           Setter for the field costs.
 void setFreeBoxes(double free_boxes)
           setFreeBoxes.
 void setUntil(String until)
           Setter for the field until.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BilledBoxes

public BilledBoxes()

Constructor for BilledBoxes.

Method Detail

getCosts

public double getCosts()

Getter for the field costs.

Returns:
costs the costs of the billed boxes

setCosts

public void setCosts(double costs)

Setter for the field costs.

Parameters:
costs - the costs to set

getFreeBoxes

public double getFreeBoxes()

getFreeBoxes.

Returns:
free the free boxes

setFreeBoxes

public void setFreeBoxes(double free_boxes)

setFreeBoxes.

Parameters:
free_boxes - the free boxes to set

getUntil

public String getUntil()

Getter for the field until.

Returns:
until the datetime when the boxes were started to be billed

setUntil

public void setUntil(String until)

Setter for the field until.

Parameters:
until - the date to set

getBoxes

public double getBoxes()

Getter for the field boxes.

Returns:
a double.

setBoxes

public void setBoxes(double boxes)

Setter for the field boxes.

Parameters:
boxes - the boxes to set

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.