|
|||||||||
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.Storage
public class Charge.Storage
An inner class that contains the remaining properties of the Usage.
Field Summary | |
---|---|
java.lang.String |
currency
|
java.lang.String |
description
|
java.lang.String |
name
|
java.lang.Double |
price
|
java.lang.Double |
space
|
java.lang.String |
state
|
java.lang.String |
unit
|
Constructor Summary | |
---|---|
Charge.Storage()
This is a constructor that takes no parameter |
Method Summary | |
---|---|
java.lang.String |
getCurrency()
Returns the type of the currency in which bill is generated. |
java.lang.String |
getDescription()
Returns the description of the storage. |
java.lang.String |
getName()
Returns the name of the storage unit for the bill to be generated. |
java.lang.Double |
getPrice()
Returns the price computed as per the storage of an app. |
java.lang.Double |
getSpace()
Returns the space taken for an app. |
java.lang.String |
getState()
Returns the state of the storage. |
java.lang.String |
getUnit()
Returns the storage unit taken by an app whether its KB, MB, GB or TB. |
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 storage. |
void |
setName(java.lang.String name)
Sets the name of the storage unit for the bill to be generated. |
void |
setPrice(java.lang.Double price)
Sets the price as per the storage |
void |
setSpace(java.lang.Double space)
Sets the space for an app. |
void |
setState(java.lang.String state)
Sets the state of the storage. |
void |
setUnit(java.lang.String unit)
Sets the storage 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.String currency
public java.lang.String description
public java.lang.String name
public java.lang.Double price
public java.lang.Double space
public java.lang.String state
public java.lang.String unit
Constructor Detail |
---|
public Charge.Storage()
Method Detail |
---|
public java.lang.String getCurrency()
public java.lang.String getDescription()
public java.lang.String getName()
public java.lang.Double getPrice()
public java.lang.Double getSpace()
public java.lang.String getState()
public java.lang.String getUnit()
public void setCurrency(java.lang.String currency)
currency
- - type of the currencypublic void setDescription(java.lang.String description)
description
- - description of the storagepublic void setName(java.lang.String name)
name
- - name of the storage unitpublic void setPrice(java.lang.Double price)
price
- - price as per the storagepublic void setSpace(java.lang.Double space)
space
- - space for an app.public void setState(java.lang.String state)
state
- - state of the storagepublic void setUnit(java.lang.String unit)
unit
- - storage 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 |