Classes
| Class | Description | |
|---|---|---|
|
|
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.
|
|
|
CampaignBuyXPayY |
Buy X amount and only pay for Y amount.
|
|
|
CampaignCalculator |
Calculates the campaign price for an order.
|
|
|
CampaignFreeFees |
The order will be free of fees.
|
|
|
CampaignFreeShipping |
The order will be free of shipping charges.
|
|
|
CampaignGiveaway |
When a customer buys product x he or she gets product y for free.
|
|
|
CampaignTypeComparer |
Campagin type comparer.
|
|
|
CampaignTypeFactory |
Creates campaign types.
|
|
|
CampaignVoucherMultiUse |
Gives the customer a percentage or amount discount when he or she is exceeding a certain amount.
|
|
|
CampaignVoucherSingleUse |
Gives the customer a percentage or amount discount when he or she is exceeding a certain amount.
|
|
|
CampaignXAmountOff |
Gives the customer a discount of x amount.
|
|
|
CampaignXPercentOff |
X percentage is taken off from the specified articles, if order total exceeds certain value.
|
Enumerations
| Enumeration | Description | |
|---|---|---|
|
|
CampaignType |
Types of campaigns.
|