com.cloudcontrolled.api.model
Class BilledAddon

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

public class BilledAddon
extends AbstractModel

The billed add-on model contains informations about the usage of the concerning addon and which price you have to offer since the addon was added to your deployment.

Author:
Denis Neuling (denisneuling@gmail.com)

Constructor Summary
BilledAddon()
           Constructor for BilledAddon.
 
Method Summary
 String getAddon()
           Getter for the field addon.
 double getCosts()
           Getter for the field costs.
 double getHours()
           Getter for the field hours.
 String getUntil()
           Getter for the field until.
 void setAddon(String addon)
           Setter for the field addon.
 void setCosts(double costs)
           Setter for the field costs.
 void setHours(double hours)
           Setter for the field hours.
 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

BilledAddon

public BilledAddon()

Constructor for BilledAddon.

Method Detail

getCosts

public double getCosts()

Getter for the field costs.

Returns:
costs the costs of the billed addon

setCosts

public void setCosts(double costs)

Setter for the field costs.

Parameters:
costs - the costs to set

getHours

public double getHours()

Getter for the field hours.

Returns:
hours the hours which were billed

setHours

public void setHours(double hours)

Setter for the field hours.

Parameters:
hours - the hours to set

getUntil

public String getUntil()

Getter for the field until.

Returns:
until the datetime when the addon was started to be billed

setUntil

public void setUntil(String until)

Setter for the field until.

Parameters:
until - the date to set

getAddon

public String getAddon()

Getter for the field addon.

Returns:
the addon to be billed

setAddon

public void setAddon(String addon)

Setter for the field addon.

Parameters:
addon - the addon to set

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.