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

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

public class Charge.Feature
extends java.lang.Object

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.String state
           
 
Constructor Summary
Charge.Feature()
          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 features.
 java.lang.String getName()
          Returns the name of the feature.
 java.lang.Double getPrice()
          Returns the price computed as per the features of an app.
 java.lang.String getState()
          Returns the state of the features.
 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 features.
 void setName(java.lang.String name)
          Sets the name of the feature for the bill to be generated.
 void setPrice(java.lang.Double price)
          Sets the price as per the features
 void setState(java.lang.String state)
          Sets the state of the features.
 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

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
Constructor Detail

Charge.Feature

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

Method Detail

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 features.

Returns:
the description of the features.

getName

public java.lang.String getName()
Returns the name of the feature.

Returns:
the name of the feature.

getPrice

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

Returns:
the price computed as per the features

getState

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

Returns:
the state of the features.

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 features.

Parameters:
description - - description of the features

setName

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

Parameters:
name - - name of the feature

setPrice

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

Parameters:
price - - price as per the features

setState

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

Parameters:
state - - state of the features

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.