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

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

public class DiscountData.Discount
extends java.lang.Object

An inner class that contains the remaining properties of the DiscountData.


Field Summary
 java.util.Date endDate
           
 java.lang.Double percentage
           
 java.util.Date startDate
           
 java.lang.Double usage
           
 
Constructor Summary
DiscountData.Discount()
          This is a constructor that takes no parameter
 
Method Summary
 java.util.Date getEndDate()
          Return the endDate of the discount
 java.lang.Double getPercentage()
          Return the percentage of the discount
 java.util.Date getStartDate()
          Return the startDate of the discount
 java.lang.Double getUsage()
          Return the usage of the discount
 void setEndDate(java.util.Date endDate)
          Sets the endDate of the discount
 void setPercentage(java.lang.Double percentage)
          Sets the percentage of the discount
 void setStartDate(java.util.Date startDate)
          Sets the startDate of the discount
 void setUsage(java.lang.Double usage)
          Sets the usage of the discount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endDate

public java.util.Date endDate

percentage

public java.lang.Double percentage

startDate

public java.util.Date startDate

usage

public java.lang.Double usage
Constructor Detail

DiscountData.Discount

public DiscountData.Discount()
This is a constructor that takes no parameter

Method Detail

getEndDate

public java.util.Date getEndDate()
Return the endDate of the discount

Returns:
the endDate of the discount

getPercentage

public java.lang.Double getPercentage()
Return the percentage of the discount

Returns:
the percentage of the discount

getStartDate

public java.util.Date getStartDate()
Return the startDate of the discount

Returns:
the startDate of the discount

getUsage

public java.lang.Double getUsage()
Return the usage of the discount

Returns:
the usage of the discount

setEndDate

public void setEndDate(java.util.Date endDate)
Sets the endDate of the discount

Parameters:
endDate - - EndDate of the discount

setPercentage

public void setPercentage(java.lang.Double percentage)
Sets the percentage of the discount

Parameters:
discountPercent - - Percentage of the discount

setStartDate

public void setStartDate(java.util.Date startDate)
Sets the startDate of the discount

Parameters:
startDate - - StartDate of the discount

setUsage

public void setUsage(java.lang.Double usage)
Sets the usage of the discount

Parameters:
usage - - Usage of the discount