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

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

public class DiscountData
extends App42Response

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


Nested Class Summary
 class DiscountData.Discount
          An inner class that contains the remaining properties of the DiscountData.
 
Field Summary
 java.lang.String description
           
 DiscountData.Discount discountDetails
           
 java.lang.String name
           
 java.lang.String promoCode
           
 
Constructor Summary
DiscountData()
           
 
Method Summary
 java.lang.String getDescription()
          Return the description of discount
 DiscountData.Discount getDiscount()
          Return the details of discount
 java.lang.String getName()
          Return the name of discount
 java.lang.String getPromoCode()
          Return the promoCode of discount
 void setDescription(java.lang.String description)
          Sets the description of discount
 void setDiscount(DiscountData.Discount discountDetails)
          Sets the details of discount
 void setName(java.lang.String name)
          Sets the name of discount
 void setPromoCode(java.lang.String promoCode)
          Sets the promoCode for discount
 
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

description

public java.lang.String description

discountDetails

public DiscountData.Discount discountDetails

name

public java.lang.String name

promoCode

public java.lang.String promoCode
Constructor Detail

DiscountData

public DiscountData()
Method Detail

getDescription

public java.lang.String getDescription()
Return the description of discount

Returns:
the description of discount

getDiscount

public DiscountData.Discount getDiscount()
Return the details of discount

Returns:
the details of discount

getName

public java.lang.String getName()
Return the name of discount

Returns:
the name of discount

getPromoCode

public java.lang.String getPromoCode()
Return the promoCode of discount

Returns:
the promoCode of discount

setDescription

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

Parameters:
discountDescription - -Description of discount

setDiscount

public void setDiscount(DiscountData.Discount discountDetails)
Sets the details of discount

Parameters:
discountDetails - - Details of discount

setName

public void setName(java.lang.String name)
Sets the name of discount

Parameters:
discountName - - Name of discount

setPromoCode

public void setPromoCode(java.lang.String promoCode)
Sets the promoCode for discount

Parameters:
promoCoode - - PromoCode of discount