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

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.java.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.math.BigDecimal percentage
           
 java.util.Date startDate
           
 java.math.BigDecimal 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.math.BigDecimal getPercentage()
          Return the percentage of the discount
 java.util.Date getStartDate()
          Return the startDate of the discount
 java.math.BigDecimal getUsage()
          Return the usage of the discount
 void setEndDate(java.util.Date endDate)
          Sets the endDate of the discount
 void setPercentage(java.math.BigDecimal percentage)
          Sets the percentage of the discount
 void setStartDate(java.util.Date startDate)
          Sets the startDate of the discount
 void setUsage(java.math.BigDecimal 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.math.BigDecimal percentage

startDate

public java.util.Date startDate

usage

public java.math.BigDecimal 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.math.BigDecimal 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.math.BigDecimal 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.math.BigDecimal 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.math.BigDecimal usage)
Sets the usage of the discount

Parameters:
usage - - Usage of the discount