|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.shephertz.app42.paas.sdk.jme.appTab.Charge.Bandwidth
public class Charge.Bandwidth
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 |
---|
public java.lang.Double bandwidth
public java.lang.String currency
public java.lang.String description
public java.lang.String name
public java.lang.Double price
public java.lang.String state
public java.lang.String unit
Constructor Detail |
---|
public Charge.Bandwidth()
Method Detail |
---|
public java.lang.Double getBandwidth()
public java.lang.String getCurrency()
public java.lang.String getDescription()
public java.lang.String getName()
public java.lang.Double getPrice()
public java.lang.String getState()
public java.lang.String getUnit()
public void setBandwidth(java.lang.Double bandwidth)
bandwidth
- - the bandwidth values and its chargespublic void setCurrency(java.lang.String currency)
currency
- - type of the currencypublic void setDescription(java.lang.String description)
description
- - description of the bandwidthpublic void setName(java.lang.String name)
name
- - name of the bandwidth unitpublic void setPrice(java.lang.Double price)
price
- - price as per the bandwidth unitpublic void setState(java.lang.String state)
state
- - state of the bandwidthpublic void setUnit(java.lang.String unit)
unit
- - bandwidth unit for an apppublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |