com.shephertz.app42.paas.sdk.jme.appTab
Class Subscribe

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.App42Response
      extended by com.shephertz.app42.paas.sdk.jme.appTab.Subscribe

public class Subscribe
extends App42Response

This Subscribe object is the value object which contains the properties of Subscribe along with the setter & getter for those properties.


Nested Class Summary
 class Subscribe.SchemeData
          An inner class that contains the remaining properties of the SchemeData.
 
Field Summary
 java.util.Date expiry
           
 Subscribe.SchemeData schemeData
           
 java.lang.String userName
           
 
Constructor Summary
Subscribe()
           
 
Method Summary
 java.util.Date getExpiryDate()
          Return the date of expire
 Subscribe.SchemeData getSchemeData()
          Return the schemeData object for subscribe
 java.lang.String getUserName()
          Return the name of the subscribed user
 void setExpiryDate(java.util.Date expiry)
          Sets the date of package expire
 void setSchemeData(Subscribe.SchemeData schemeData)
          Sets the schemeData object for subscribe
 void setUserName(java.lang.String userName)
          Sets the name of user for subscription
 
Methods inherited from class com.shephertz.app42.paas.sdk.jme.App42Response
getStrResponse, getTotalRecords, isResponseSuccess, setResponseSuccess, setStrResponse, setTotalRecords, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

expiry

public java.util.Date expiry

schemeData

public Subscribe.SchemeData schemeData

userName

public java.lang.String userName
Constructor Detail

Subscribe

public Subscribe()
Method Detail

getExpiryDate

public java.util.Date getExpiryDate()
Return the date of expire

Returns:
the date of expire

getSchemeData

public Subscribe.SchemeData getSchemeData()
Return the schemeData object for subscribe

Returns:
- the schemeData object for subscribe

getUserName

public java.lang.String getUserName()
Return the name of the subscribed user

Returns:
the name of the subscribed user

setExpiryDate

public void setExpiryDate(java.util.Date expiry)
Sets the date of package expire

Parameters:
expiry - - Expire date of the package

setSchemeData

public void setSchemeData(Subscribe.SchemeData schemeData)
Sets the schemeData object for subscribe

Parameters:
schemeData - - SchemeData object for subscribe

setUserName

public void setUserName(java.lang.String userName)
Sets the name of user for subscription

Parameters:
userName - - Name of the user for subscription