isActive()
:
boolean
Returns 'true' if the campaign is currently active, otherwise 'false'.
isApplicableInStore()
:
boolean
Returns true if campaign is applicable to store, otherwise false.
isApplicableOnline()
:
boolean
Returns true if campaign is applicable to online site, otherwise false.
isEnabled()
:
boolean
Returns true if campaign is enabled, otherwise false.
getCoupons
Returns the coupons assigned to the campaign.
Returns:
All coupons assigned to the campaign.
getCustomerGroups
Returns the customer groups assigned to the campaign.
Returns:
Customer groups assigned to campaign.
getDescription
Returns the internal description of the campaign.
Returns:
Internal description of campaign.
getEndDate
Returns the end date of the campaign. If no end date is defined for the
campaign, null is returned. A campaign w/o end date will run forever.
Returns:
End date of campaign.
getID
Returns the unique campaign ID.
Returns:
ID of the campaign.
getPromotions
Returns promotions defined in this campaign in no particular order.
Returns:
All promotions defined in campaign.
getSourceCodeGroups
Returns the source codes assigned to the campaign.
Returns:
All source code groups assigned to campaign.
getStartDate
Returns the start date of the campaign. If no start date is defined for the
campaign, null is returned. A campaign w/o start date is immediately
effective.
Returns:
Start date of campaign.
getStoreGroups
Returns store groups assigned to the campaign.
Returns:
All store groups assigned to the campaign.
getStores
Returns stores assigned to the campaign.
Returns:
All stores assigned to the campaign.
isActive
isActive()
:
boolean
Returns 'true' if the campaign is currently active, otherwise
'false'.
A campaign is active if it is enabled and scheduled for now.
Returns:
true of campaign is active, otherwise false.
isApplicableInStore
isApplicableInStore()
:
boolean
Returns true if campaign is applicable to store, otherwise false.
Returns:
true if campaign is applicable to store, otherwise false.
isApplicableOnline
isApplicableOnline()
:
boolean
Returns true if campaign is applicable to online site, otherwise false.
Returns:
true if campaign is applicable to online site, otherwise false.
isEnabled
isEnabled()
:
boolean
Returns true if campaign is enabled, otherwise false.
Returns:
true if campaign is enabled, otherwise false.