|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakart.wsapp.Promotion
public class Promotion
Constructor Summary | |
---|---|
Promotion()
|
|
Promotion(boolean active,
OrderProduct[] applicableProducts,
int categoryRule,
Coupon coupon,
boolean cumulative,
java.lang.String custom1,
java.lang.String custom10,
java.lang.String custom2,
java.lang.String custom3,
java.lang.String custom4,
java.lang.String custom5,
java.lang.String custom6,
java.lang.String custom7,
java.lang.String custom8,
java.lang.String custom9,
int customerGroupRule,
int customerRule,
java.util.Calendar dateAdded,
java.lang.String description,
java.util.Calendar endDate,
int id,
java.util.Calendar lastModified,
int manufacturerRule,
int maxUse,
java.lang.String name,
java.lang.String orderTotalCode,
int productRule,
boolean requiresCoupon,
java.util.Calendar startDate)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
OrderProduct[] |
getApplicableProducts()
Gets the applicableProducts value for this Promotion. |
int |
getCategoryRule()
Gets the categoryRule value for this Promotion. |
Coupon |
getCoupon()
Gets the coupon value for this Promotion. |
java.lang.String |
getCustom1()
Gets the custom1 value for this Promotion. |
java.lang.String |
getCustom10()
Gets the custom10 value for this Promotion. |
java.lang.String |
getCustom2()
Gets the custom2 value for this Promotion. |
java.lang.String |
getCustom3()
Gets the custom3 value for this Promotion. |
java.lang.String |
getCustom4()
Gets the custom4 value for this Promotion. |
java.lang.String |
getCustom5()
Gets the custom5 value for this Promotion. |
java.lang.String |
getCustom6()
Gets the custom6 value for this Promotion. |
java.lang.String |
getCustom7()
Gets the custom7 value for this Promotion. |
java.lang.String |
getCustom8()
Gets the custom8 value for this Promotion. |
java.lang.String |
getCustom9()
Gets the custom9 value for this Promotion. |
int |
getCustomerGroupRule()
Gets the customerGroupRule value for this Promotion. |
int |
getCustomerRule()
Gets the customerRule value for this Promotion. |
java.util.Calendar |
getDateAdded()
Gets the dateAdded value for this Promotion. |
java.lang.String |
getDescription()
Gets the description value for this Promotion. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Get Custom Deserializer |
java.util.Calendar |
getEndDate()
Gets the endDate value for this Promotion. |
int |
getId()
Gets the id value for this Promotion. |
java.util.Calendar |
getLastModified()
Gets the lastModified value for this Promotion. |
int |
getManufacturerRule()
Gets the manufacturerRule value for this Promotion. |
int |
getMaxUse()
Gets the maxUse value for this Promotion. |
java.lang.String |
getName()
Gets the name value for this Promotion. |
java.lang.String |
getOrderTotalCode()
Gets the orderTotalCode value for this Promotion. |
int |
getProductRule()
Gets the productRule value for this Promotion. |
static org.apache.axis.encoding.Serializer |
getSerializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Get Custom Serializer |
java.util.Calendar |
getStartDate()
Gets the startDate value for this Promotion. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
boolean |
isActive()
Gets the active value for this Promotion. |
boolean |
isCumulative()
Gets the cumulative value for this Promotion. |
boolean |
isRequiresCoupon()
Gets the requiresCoupon value for this Promotion. |
void |
setActive(boolean active)
Sets the active value for this Promotion. |
void |
setApplicableProducts(OrderProduct[] applicableProducts)
Sets the applicableProducts value for this Promotion. |
void |
setCategoryRule(int categoryRule)
Sets the categoryRule value for this Promotion. |
void |
setCoupon(Coupon coupon)
Sets the coupon value for this Promotion. |
void |
setCumulative(boolean cumulative)
Sets the cumulative value for this Promotion. |
void |
setCustom1(java.lang.String custom1)
Sets the custom1 value for this Promotion. |
void |
setCustom10(java.lang.String custom10)
Sets the custom10 value for this Promotion. |
void |
setCustom2(java.lang.String custom2)
Sets the custom2 value for this Promotion. |
void |
setCustom3(java.lang.String custom3)
Sets the custom3 value for this Promotion. |
void |
setCustom4(java.lang.String custom4)
Sets the custom4 value for this Promotion. |
void |
setCustom5(java.lang.String custom5)
Sets the custom5 value for this Promotion. |
void |
setCustom6(java.lang.String custom6)
Sets the custom6 value for this Promotion. |
void |
setCustom7(java.lang.String custom7)
Sets the custom7 value for this Promotion. |
void |
setCustom8(java.lang.String custom8)
Sets the custom8 value for this Promotion. |
void |
setCustom9(java.lang.String custom9)
Sets the custom9 value for this Promotion. |
void |
setCustomerGroupRule(int customerGroupRule)
Sets the customerGroupRule value for this Promotion. |
void |
setCustomerRule(int customerRule)
Sets the customerRule value for this Promotion. |
void |
setDateAdded(java.util.Calendar dateAdded)
Sets the dateAdded value for this Promotion. |
void |
setDescription(java.lang.String description)
Sets the description value for this Promotion. |
void |
setEndDate(java.util.Calendar endDate)
Sets the endDate value for this Promotion. |
void |
setId(int id)
Sets the id value for this Promotion. |
void |
setLastModified(java.util.Calendar lastModified)
Sets the lastModified value for this Promotion. |
void |
setManufacturerRule(int manufacturerRule)
Sets the manufacturerRule value for this Promotion. |
void |
setMaxUse(int maxUse)
Sets the maxUse value for this Promotion. |
void |
setName(java.lang.String name)
Sets the name value for this Promotion. |
void |
setOrderTotalCode(java.lang.String orderTotalCode)
Sets the orderTotalCode value for this Promotion. |
void |
setProductRule(int productRule)
Sets the productRule value for this Promotion. |
void |
setRequiresCoupon(boolean requiresCoupon)
Sets the requiresCoupon value for this Promotion. |
void |
setStartDate(java.util.Calendar startDate)
Sets the startDate value for this Promotion. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Promotion()
public Promotion(boolean active, OrderProduct[] applicableProducts, int categoryRule, Coupon coupon, boolean cumulative, java.lang.String custom1, java.lang.String custom10, java.lang.String custom2, java.lang.String custom3, java.lang.String custom4, java.lang.String custom5, java.lang.String custom6, java.lang.String custom7, java.lang.String custom8, java.lang.String custom9, int customerGroupRule, int customerRule, java.util.Calendar dateAdded, java.lang.String description, java.util.Calendar endDate, int id, java.util.Calendar lastModified, int manufacturerRule, int maxUse, java.lang.String name, java.lang.String orderTotalCode, int productRule, boolean requiresCoupon, java.util.Calendar startDate)
Method Detail |
---|
public boolean isActive()
public void setActive(boolean active)
active
- public OrderProduct[] getApplicableProducts()
public void setApplicableProducts(OrderProduct[] applicableProducts)
applicableProducts
- public int getCategoryRule()
public void setCategoryRule(int categoryRule)
categoryRule
- public Coupon getCoupon()
public void setCoupon(Coupon coupon)
coupon
- public boolean isCumulative()
public void setCumulative(boolean cumulative)
cumulative
- public java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- public java.lang.String getCustom10()
public void setCustom10(java.lang.String custom10)
custom10
- public java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- public java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- public java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- public java.lang.String getCustom5()
public void setCustom5(java.lang.String custom5)
custom5
- public java.lang.String getCustom6()
public void setCustom6(java.lang.String custom6)
custom6
- public java.lang.String getCustom7()
public void setCustom7(java.lang.String custom7)
custom7
- public java.lang.String getCustom8()
public void setCustom8(java.lang.String custom8)
custom8
- public java.lang.String getCustom9()
public void setCustom9(java.lang.String custom9)
custom9
- public int getCustomerGroupRule()
public void setCustomerGroupRule(int customerGroupRule)
customerGroupRule
- public int getCustomerRule()
public void setCustomerRule(int customerRule)
customerRule
- public java.util.Calendar getDateAdded()
public void setDateAdded(java.util.Calendar dateAdded)
dateAdded
- public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- public java.util.Calendar getEndDate()
public void setEndDate(java.util.Calendar endDate)
endDate
- public int getId()
public void setId(int id)
id
- public java.util.Calendar getLastModified()
public void setLastModified(java.util.Calendar lastModified)
lastModified
- public int getManufacturerRule()
public void setManufacturerRule(int manufacturerRule)
manufacturerRule
- public int getMaxUse()
public void setMaxUse(int maxUse)
maxUse
- public java.lang.String getName()
public void setName(java.lang.String name)
name
- public java.lang.String getOrderTotalCode()
public void setOrderTotalCode(java.lang.String orderTotalCode)
orderTotalCode
- public int getProductRule()
public void setProductRule(int productRule)
productRule
- public boolean isRequiresCoupon()
public void setRequiresCoupon(boolean requiresCoupon)
requiresCoupon
- public java.util.Calendar getStartDate()
public void setStartDate(java.util.Calendar startDate)
startDate
- public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |