com.konakart.wsapp
Class Coupon

java.lang.Object
  extended by com.konakart.wsapp.Coupon
All Implemented Interfaces:
java.io.Serializable

public class Coupon
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Coupon()
           
Coupon(java.lang.String couponCode, java.lang.String custom1, java.lang.String custom2, java.lang.String custom3, java.lang.String custom4, java.lang.String custom5, java.util.Calendar dateAdded, java.lang.String description, int id, java.util.Calendar lastModified, int maxUse, java.lang.String name, int timesUsed)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCouponCode()
          Gets the couponCode value for this Coupon.
 java.lang.String getCustom1()
          Gets the custom1 value for this Coupon.
 java.lang.String getCustom2()
          Gets the custom2 value for this Coupon.
 java.lang.String getCustom3()
          Gets the custom3 value for this Coupon.
 java.lang.String getCustom4()
          Gets the custom4 value for this Coupon.
 java.lang.String getCustom5()
          Gets the custom5 value for this Coupon.
 java.util.Calendar getDateAdded()
          Gets the dateAdded value for this Coupon.
 java.lang.String getDescription()
          Gets the description value for this Coupon.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 int getId()
          Gets the id value for this Coupon.
 java.util.Calendar getLastModified()
          Gets the lastModified value for this Coupon.
 int getMaxUse()
          Gets the maxUse value for this Coupon.
 java.lang.String getName()
          Gets the name value for this Coupon.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 int getTimesUsed()
          Gets the timesUsed value for this Coupon.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCouponCode(java.lang.String couponCode)
          Sets the couponCode value for this Coupon.
 void setCustom1(java.lang.String custom1)
          Sets the custom1 value for this Coupon.
 void setCustom2(java.lang.String custom2)
          Sets the custom2 value for this Coupon.
 void setCustom3(java.lang.String custom3)
          Sets the custom3 value for this Coupon.
 void setCustom4(java.lang.String custom4)
          Sets the custom4 value for this Coupon.
 void setCustom5(java.lang.String custom5)
          Sets the custom5 value for this Coupon.
 void setDateAdded(java.util.Calendar dateAdded)
          Sets the dateAdded value for this Coupon.
 void setDescription(java.lang.String description)
          Sets the description value for this Coupon.
 void setId(int id)
          Sets the id value for this Coupon.
 void setLastModified(java.util.Calendar lastModified)
          Sets the lastModified value for this Coupon.
 void setMaxUse(int maxUse)
          Sets the maxUse value for this Coupon.
 void setName(java.lang.String name)
          Sets the name value for this Coupon.
 void setTimesUsed(int timesUsed)
          Sets the timesUsed value for this Coupon.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Coupon

public Coupon()

Coupon

public Coupon(java.lang.String couponCode,
              java.lang.String custom1,
              java.lang.String custom2,
              java.lang.String custom3,
              java.lang.String custom4,
              java.lang.String custom5,
              java.util.Calendar dateAdded,
              java.lang.String description,
              int id,
              java.util.Calendar lastModified,
              int maxUse,
              java.lang.String name,
              int timesUsed)
Method Detail

getCouponCode

public java.lang.String getCouponCode()
Gets the couponCode value for this Coupon.

Returns:
couponCode

setCouponCode

public void setCouponCode(java.lang.String couponCode)
Sets the couponCode value for this Coupon.

Parameters:
couponCode -

getCustom1

public java.lang.String getCustom1()
Gets the custom1 value for this Coupon.

Returns:
custom1

setCustom1

public void setCustom1(java.lang.String custom1)
Sets the custom1 value for this Coupon.

Parameters:
custom1 -

getCustom2

public java.lang.String getCustom2()
Gets the custom2 value for this Coupon.

Returns:
custom2

setCustom2

public void setCustom2(java.lang.String custom2)
Sets the custom2 value for this Coupon.

Parameters:
custom2 -

getCustom3

public java.lang.String getCustom3()
Gets the custom3 value for this Coupon.

Returns:
custom3

setCustom3

public void setCustom3(java.lang.String custom3)
Sets the custom3 value for this Coupon.

Parameters:
custom3 -

getCustom4

public java.lang.String getCustom4()
Gets the custom4 value for this Coupon.

Returns:
custom4

setCustom4

public void setCustom4(java.lang.String custom4)
Sets the custom4 value for this Coupon.

Parameters:
custom4 -

getCustom5

public java.lang.String getCustom5()
Gets the custom5 value for this Coupon.

Returns:
custom5

setCustom5

public void setCustom5(java.lang.String custom5)
Sets the custom5 value for this Coupon.

Parameters:
custom5 -

getDateAdded

public java.util.Calendar getDateAdded()
Gets the dateAdded value for this Coupon.

Returns:
dateAdded

setDateAdded

public void setDateAdded(java.util.Calendar dateAdded)
Sets the dateAdded value for this Coupon.

Parameters:
dateAdded -

getDescription

public java.lang.String getDescription()
Gets the description value for this Coupon.

Returns:
description

setDescription

public void setDescription(java.lang.String description)
Sets the description value for this Coupon.

Parameters:
description -

getId

public int getId()
Gets the id value for this Coupon.

Returns:
id

setId

public void setId(int id)
Sets the id value for this Coupon.

Parameters:
id -

getLastModified

public java.util.Calendar getLastModified()
Gets the lastModified value for this Coupon.

Returns:
lastModified

setLastModified

public void setLastModified(java.util.Calendar lastModified)
Sets the lastModified value for this Coupon.

Parameters:
lastModified -

getMaxUse

public int getMaxUse()
Gets the maxUse value for this Coupon.

Returns:
maxUse

setMaxUse

public void setMaxUse(int maxUse)
Sets the maxUse value for this Coupon.

Parameters:
maxUse -

getName

public java.lang.String getName()
Gets the name value for this Coupon.

Returns:
name

setName

public void setName(java.lang.String name)
Sets the name value for this Coupon.

Parameters:
name -

getTimesUsed

public int getTimesUsed()
Gets the timesUsed value for this Coupon.

Returns:
timesUsed

setTimesUsed

public void setTimesUsed(int timesUsed)
Sets the timesUsed value for this Coupon.

Parameters:
timesUsed -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer



Copyright © 2011 DS Data Systems UK Ltd.