com.shephertz.app42.paas.sdk.jme.appTab
Class Charge.Bandwidth

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.appTab.Charge.Bandwidth
Enclosing class:
Charge

public class Charge.Bandwidth
extends java.lang.Object

An inner class that contains the remaining properties of the Usage.


Field Summary
 java.lang.Double bandwidth
           
 java.lang.String currency
           
 java.lang.String description
           
 java.lang.String name
           
 java.lang.Double price
           
 java.lang.String state
           
 java.lang.String unit
           
 
Constructor Summary
Charge.Bandwidth()
          This is a constructor that takes no parameter
 
Method Summary
 java.lang.Double getBandwidth()
          Returns the bandwidth values and its charges for an app.
 java.lang.String getCurrency()
          Returns the type of the currency in which bill is generated.
 java.lang.String getDescription()
          Returns the description of the bandwidth.
 java.lang.String getName()
          Returns the name of the bandwidth unit for the bill to be generated.
 java.lang.Double getPrice()
          Returns the price computed as per the bandwidth unit of an app.
 java.lang.String getState()
          Returns the state of the bandwidth.
 java.lang.String getUnit()
          Returns the bandwidth unit taken by an app whether its KB, MB, GB or TB.
 void setBandwidth(java.lang.Double bandwidth)
          Sets the bandwidth values and its charges for an app.
 void setCurrency(java.lang.String currency)
          Sets the type of the currency in which bill has to be generated.
 void setDescription(java.lang.String description)
          Sets the description of the bandwidth.
 void setName(java.lang.String name)
          Sets the name of the bandwidth unit for the bill to be generated.
 void setPrice(java.lang.Double price)
          Sets the price as per the bandwidth unit
 void setState(java.lang.String state)
          Sets the state of the bandwidth.
 void setUnit(java.lang.String unit)
          Sets the bandwidth unit for an app
 java.lang.String toString()
          Returns the Usage Response in JSON format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bandwidth

public java.lang.Double bandwidth

currency

public java.lang.String currency

description

public java.lang.String description

name

public java.lang.String name

price

public java.lang.Double price

state

public java.lang.String state

unit

public java.lang.String unit
Constructor Detail

Charge.Bandwidth

public Charge.Bandwidth()
This is a constructor that takes no parameter

Method Detail

getBandwidth

public java.lang.Double getBandwidth()
Returns the bandwidth values and its charges for an app.

Returns:
the bandwidth values and its charges for an app.

getCurrency

public java.lang.String getCurrency()
Returns the type of the currency in which bill is generated.

Returns:
the type of the currency in which bill is generated.

getDescription

public java.lang.String getDescription()
Returns the description of the bandwidth.

Returns:
the description of the bandwidth.

getName

public java.lang.String getName()
Returns the name of the bandwidth unit for the bill to be generated.

Returns:
the name of the bandwidth unit.

getPrice

public java.lang.Double getPrice()
Returns the price computed as per the bandwidth unit of an app.

Returns:
the price computed as per the bandwidth unit

getState

public java.lang.String getState()
Returns the state of the bandwidth.

Returns:
the state of the bandwidth.

getUnit

public java.lang.String getUnit()
Returns the bandwidth unit taken by an app whether its KB, MB, GB or TB.

Returns:
the bandwidth unit taken by an app

setBandwidth

public void setBandwidth(java.lang.Double bandwidth)
Sets the bandwidth values and its charges for an app.

Parameters:
bandwidth - - the bandwidth values and its charges

setCurrency

public void setCurrency(java.lang.String currency)
Sets the type of the currency in which bill has to be generated.

Parameters:
currency - - type of the currency

setDescription

public void setDescription(java.lang.String description)
Sets the description of the bandwidth.

Parameters:
description - - description of the bandwidth

setName

public void setName(java.lang.String name)
Sets the name of the bandwidth unit for the bill to be generated.

Parameters:
name - - name of the bandwidth unit

setPrice

public void setPrice(java.lang.Double price)
Sets the price as per the bandwidth unit

Parameters:
price - - price as per the bandwidth unit

setState

public void setState(java.lang.String state)
Sets the state of the bandwidth.

Parameters:
state - - state of the bandwidth

setUnit

public void setUnit(java.lang.String unit)
Sets the bandwidth unit for an app

Parameters:
unit - - bandwidth unit for an app

toString

public java.lang.String toString()
Returns the Usage Response in JSON format.

Overrides:
toString in class java.lang.Object
Returns:
the response in JSON format.