public interface PromotionIf
Modifier and Type | Method and Description |
---|---|
OrderProductIf[] |
getApplicableProducts()
Contains an array of OrderProduct objects to which the promotion can be applied.
|
int |
getCategoryRule()
This is the rule linking categories to the promotion.
|
CouponIf |
getCoupon()
There may be a coupon associated with the promotion.
|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom10() |
java.lang.String |
getCustom11() |
java.lang.String |
getCustom12() |
java.lang.String |
getCustom13() |
java.lang.String |
getCustom14() |
java.lang.String |
getCustom15() |
java.lang.String |
getCustom16() |
java.lang.String |
getCustom17() |
java.lang.String |
getCustom18() |
java.lang.String |
getCustom19() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom20() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.lang.String |
getCustom6() |
java.lang.String |
getCustom7() |
java.lang.String |
getCustom8() |
java.lang.String |
getCustom9() |
int |
getCustomerGroupRule()
This is the rule linking customer groups to the promotion.
|
int |
getCustomerRule()
This is the rule linking customers to the promotion.
|
java.util.Calendar |
getDateAdded() |
java.lang.String |
getDescription()
A description of the promotion.
|
java.util.Calendar |
getEndDate()
After this date the promotion is no longer active.
|
CategoryIf[] |
getExcludedCategories()
An array of categories that the promotion excludes.
|
ManufacturerIf[] |
getExcludedManufacturers()
An array of manufacturers that the promotion excludes.
|
ProductIf[] |
getExcludedProducts()
An array of products that the promotion excludes.
|
int |
getId() |
CategoryIf[] |
getIncludedCategories()
An array of categories that the promotion includes.
|
ManufacturerIf[] |
getIncludedManufacturers()
An array of manufacturers that the promotion includes.
|
ProductIf[] |
getIncludedProducts()
An array of products that the promotion includes.
|
java.util.Calendar |
getLastModified() |
int |
getManufacturerRule()
This is the rule linking manufacturers to the promotion.
|
int |
getMaxUse()
The maximum number of times that the promotion can be used by a single customer
|
java.lang.String |
getName()
The promotion name.
|
java.lang.String |
getOrderTotalCode()
The code of the order total module used to calculate the promotion.
|
int |
getProductRule()
This is the rule linking products to the promotion.
|
java.util.Calendar |
getStartDate()
Before this date the promotion is not active.
|
int |
getTimesUsed()
The number of times that the promotion has been used
|
int |
getTotalMaxUse()
The maximum number of times that the promotion can be used
|
boolean |
isActive()
Set to true if the promotion is active.
|
boolean |
isCumulative()
Set to true if the promotion is cumulative with other promotions.
|
boolean |
isRequiresCoupon()
Does the promotion require a coupon
|
void |
setActive(boolean active)
Set to true if the promotion is active.
|
void |
setApplicableProducts(OrderProductIf[] applicableProducts)
Contains an array of OrderProduct objects to which the promotion can be applied.
|
void |
setCategoryRule(int categoryRule)
This is the rule linking categories to the promotion.
|
void |
setCoupon(CouponIf coupon)
There may be a coupon associated with the promotion.
|
void |
setCumulative(boolean cumulative)
Set to true if the promotion is cumulative with other promotions.
|
void |
setCustom1(java.lang.String custom1) |
void |
setCustom10(java.lang.String custom10) |
void |
setCustom11(java.lang.String custom11) |
void |
setCustom12(java.lang.String custom12) |
void |
setCustom13(java.lang.String custom13) |
void |
setCustom14(java.lang.String custom14) |
void |
setCustom15(java.lang.String custom15) |
void |
setCustom16(java.lang.String custom16) |
void |
setCustom17(java.lang.String custom17) |
void |
setCustom18(java.lang.String custom18) |
void |
setCustom19(java.lang.String custom19) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom20(java.lang.String custom20) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setCustom6(java.lang.String custom6) |
void |
setCustom7(java.lang.String custom7) |
void |
setCustom8(java.lang.String custom8) |
void |
setCustom9(java.lang.String custom9) |
void |
setCustomerGroupRule(int customerGroupRule)
This is the rule linking customer groups to the promotion.
|
void |
setCustomerRule(int customerRule)
This is the rule linking customers to the promotion.
|
void |
setDateAdded(java.util.Calendar dateAdded) |
void |
setDescription(java.lang.String description)
A description of the promotion.
|
void |
setEndDate(java.util.Calendar endDate)
After this date the promotion is no longer active.
|
void |
setExcludedCategories(CategoryIf[] excludedCategories)
An array of categories that the promotion excludes.
|
void |
setExcludedManufacturers(ManufacturerIf[] excludedManufacturers)
An array of manufacturers that the promotion excludes.
|
void |
setExcludedProducts(ProductIf[] excludedProducts)
An array of products that the promotion excludes.
|
void |
setId(int id) |
void |
setIncludedCategories(CategoryIf[] includedCategories)
An array of categories that the promotion includes.
|
void |
setIncludedManufacturers(ManufacturerIf[] includedManufacturers)
An array of manufacturers that the promotion includes.
|
void |
setIncludedProducts(ProductIf[] includedProducts)
An array of products that the promotion includes.
|
void |
setLastModified(java.util.Calendar lastModified) |
void |
setManufacturerRule(int manufacturerRule)
This is the rule linking manufacturers to the promotion.
|
void |
setMaxUse(int maxUse)
The maximum number of times that the promotion can be used by a single customer
|
void |
setName(java.lang.String name)
The promotion name.
|
void |
setOrderTotalCode(java.lang.String orderTotalCode)
The code of the order total module used to calculate the promotion.
|
void |
setProductRule(int productRule)
This is the rule linking products to the promotion.
|
void |
setRequiresCoupon(boolean requiresCoupon)
Does the promotion require a coupon
|
void |
setStartDate(java.util.Calendar startDate)
Before this date the promotion is not active.
|
void |
setTimesUsed(int timesUsed)
The number of times that the promotion has been used
|
void |
setTotalMaxUse(int totalMaxUse)
The maximum number of times that the promotion can be used
|
boolean isActive()
void setActive(boolean active)
active
- The active to set.boolean isCumulative()
void setCumulative(boolean cumulative)
cumulative
- The cumulative to set.java.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1
- The custom1 to set.java.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2
- The custom2 to set.java.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3
- The custom3 to set.java.lang.String getCustom4()
void setCustom4(java.lang.String custom4)
custom4
- The custom4 to set.java.lang.String getCustom5()
void setCustom5(java.lang.String custom5)
custom5
- The custom5 to set.java.lang.String getCustom6()
void setCustom6(java.lang.String custom6)
custom6
- The custom6 to set.java.lang.String getCustom7()
void setCustom7(java.lang.String custom7)
custom7
- The custom7 to set.java.lang.String getCustom8()
void setCustom8(java.lang.String custom8)
custom8
- The custom8 to set.java.lang.String getCustom9()
void setCustom9(java.lang.String custom9)
custom9
- The custom9 to set.java.lang.String getCustom10()
void setCustom10(java.lang.String custom10)
custom10
- The custom10 to set.java.lang.String getCustom11()
void setCustom11(java.lang.String custom11)
custom11
- the custom11 to setjava.lang.String getCustom12()
void setCustom12(java.lang.String custom12)
custom12
- the custom12 to setjava.lang.String getCustom13()
void setCustom13(java.lang.String custom13)
custom13
- the custom13 to setjava.lang.String getCustom14()
void setCustom14(java.lang.String custom14)
custom14
- the custom14 to setjava.lang.String getCustom15()
void setCustom15(java.lang.String custom15)
custom15
- the custom15 to setjava.lang.String getCustom16()
void setCustom16(java.lang.String custom16)
custom16
- the custom16 to setjava.lang.String getCustom17()
void setCustom17(java.lang.String custom17)
custom17
- the custom17 to setjava.lang.String getCustom18()
void setCustom18(java.lang.String custom18)
custom18
- the custom18 to setjava.lang.String getCustom19()
void setCustom19(java.lang.String custom19)
custom19
- the custom19 to setjava.lang.String getCustom20()
void setCustom20(java.lang.String custom20)
custom20
- the custom20 to setint getId()
void setId(int id)
id
- The id to set.java.lang.String getOrderTotalCode()
void setOrderTotalCode(java.lang.String orderTotalCode)
orderTotalCode
- The orderTotalCode to set.java.lang.String getName()
void setName(java.lang.String name)
name
- The name to set.java.lang.String getDescription()
void setDescription(java.lang.String description)
description
- The description to set.int getCategoryRule()
void setCategoryRule(int categoryRule)
categoryRule
- The categoryRule to set.int getCustomerRule()
void setCustomerRule(int customerRule)
customerRule
- The customerRule to set.int getCustomerGroupRule()
void setCustomerGroupRule(int customerGroupRule)
customerGroupRule
- The customerGroupRule to set.int getManufacturerRule()
void setManufacturerRule(int manufacturerRule)
manufacturerRule
- The manufacturerRule to set.int getProductRule()
void setProductRule(int productRule)
productRule
- The productRule to set.OrderProductIf[] getApplicableProducts()
void setApplicableProducts(OrderProductIf[] applicableProducts)
applicableProducts
- The applicableProducts to set.java.util.Calendar getDateAdded()
void setDateAdded(java.util.Calendar dateAdded)
dateAdded
- The dateAdded to set.java.util.Calendar getEndDate()
void setEndDate(java.util.Calendar endDate)
endDate
- The endDate to set.java.util.Calendar getLastModified()
void setLastModified(java.util.Calendar lastModified)
lastModified
- The lastModified to set.java.util.Calendar getStartDate()
void setStartDate(java.util.Calendar startDate)
startDate
- The startDate to set.CouponIf getCoupon()
void setCoupon(CouponIf coupon)
coupon
- The coupon to set.int getMaxUse()
void setMaxUse(int maxUse)
maxUse
- the maxUse to setboolean isRequiresCoupon()
void setRequiresCoupon(boolean requiresCoupon)
requiresCoupon
- The requiresCoupon to set.int getTotalMaxUse()
void setTotalMaxUse(int totalMaxUse)
totalMaxUse
- the totalMaxUse to setint getTimesUsed()
void setTimesUsed(int timesUsed)
timesUsed
- the timesUsed to setProductIf[] getIncludedProducts()
void setIncludedProducts(ProductIf[] includedProducts)
includedProducts
- the includedProducts to setProductIf[] getExcludedProducts()
void setExcludedProducts(ProductIf[] excludedProducts)
excludedProducts
- the excludedProducts to setCategoryIf[] getIncludedCategories()
void setIncludedCategories(CategoryIf[] includedCategories)
includedCategories
- the includedCategories to setCategoryIf[] getExcludedCategories()
void setExcludedCategories(CategoryIf[] excludedCategories)
excludedCategories
- the excludedCategories to setManufacturerIf[] getIncludedManufacturers()
void setIncludedManufacturers(ManufacturerIf[] includedManufacturers)
includedManufacturers
- the includedManufacturers to setManufacturerIf[] getExcludedManufacturers()
void setExcludedManufacturers(ManufacturerIf[] excludedManufacturers)
excludedManufacturers
- the excludedManufacturers to setCopyright © 2018 DS Data Systems UK Ltd.