Classes

  Class Description
Public class BaseCampaign
Class acts as the base for all campaigns. This class is a collection of helper methods and functions common to all default campaigns provided.
Public class CampaignBuyXPayY
Buy X amount and only pay for Y amount.
Public class CampaignCalculator
Calculates the campaign price for an order.
Public class CampaignFreeFees
The order will be free of fees.
Public class CampaignFreeShipping
The order will be free of shipping charges.
Public class CampaignGiveaway
When a customer buys product x he or she gets product y for free.
Public class CampaignTypeComparer
Campagin type comparer.
Public class CampaignTypeFactory
Creates campaign types.
Public class CampaignVoucherMultiUse
Gives the customer a percentage or amount discount when he or she is exceeding a certain amount.
Public class CampaignVoucherSingleUse
Gives the customer a percentage or amount discount when he or she is exceeding a certain amount.
Public class CampaignXAmountOff
Gives the customer a discount of x amount.
Public class CampaignXPercentOff
X percentage is taken off from the specified articles, if order total exceeds certain value.

Enumerations

  Enumeration Description
Public enumeration CampaignType
Types of campaigns.