Namespace EPiServer.Commerce.Marketing
Classes
AdditionalPromotionInformationContext
Context object passed into IAdditionalPromotionInformationCreator
AffectedEntries
Used for handling redemption calculations on entry promotions.
AffectedOrder
The affected order of the promotion evaluation, used by order promotions.
AffectedShipments
The affected shipment of the promotion evaluation.
CampaignInfoExtractor
Helper class to work with campaign item info
CampaignVisitorGroupFilter
A filter that filters on if the current user is part of any visitor groups required by a campaign.
CatalogItemSelection
All valid condition and reward catalog content items for a specific promotion.
CollectionTargetEvaluator
Used by the promotion processors to identify which of the ILineItem that are included in the target property (that is exposed as an System.Collections.Generic.IEnumerable<T>).
CouponData
Contains information regarding coupons on PromotionData.
DefaultCouponFilter
Default implementation of ICouponFilter.
DefaultCouponUsage
Default implementation which doesn't do anything.
DiscountedEntry
An entry being affected by one or more promotions.
DiscountPrice
The representation of a price resulted by an EntryPromotion.
DiscountUpdater
Handles the final calculation and setting of discount amounts.
EntryFilterHandler
Handles excluded entries of order form from promotion engine.
EntryFilterSettings
The entry filter settings which can be use for EntryFilter.
EntryPromotion
Represents a content based entry promotion item.
EntryPromotionProcessorBase<TEntryPromotion>
Responsible for evaluating if an entry promotion is valid for a specific IOrderForm.
EntryRewardApplicator
Modifies entry prices in a OrderFormPriceMatrix.
FreeShippingPromotionProcessorBase<TFreeShippingPromotion>
Base class for processors of shipping promotions which giving a free shipping as reward.
FulfillmentEvaluator
Used by the promotion processors to get the FulfillmentStatus.
GiftItemFactory
Class to get the applicable gift items for the given promotion.
IPromotionEngineExtensions
Extension methods for IPromotionEngine.
MonetaryReward
Promotion reward that can be either percentage of the purchase amount, or an absolute amount of for a given currency.
MonetaryRewardExtensions
Extension methods for MonetaryReward
OrderFormPriceMatrix
Container for all prices that can be associated with the line items in the referenced order form.
OrderPromotion
Represents a content based order promotion item.
OrderPromotionProcessorBase<TOrderPromotion>
Responsible for evaluating if an order promotion is valid for a specific IOrderForm.
OrderRewardApplicator
Modifies OrderAmount on a ILineItem.
PriceEntry
This class is used to hold information about prices in the OrderFormPriceMatrix. PriceEntry objects should never be created, they should always be fetched from the OrderFormPriceMatrix.
PromotionApplicator
Evaluates promotions, and applies the reward.
PromotionData
Represents a content based promotion item.
PromotionDataExtensions
Extensions for PromotionData
PromotionEngine
Evaluates the condition on all active promotions and gives reward to specific orders when the conditions are fulfilled.
PromotionEngineSettings
Instructions for how the PromotionEngine should behave.
PromotionExclusionHandler
Keeps track of promotion exclusion.
PromotionFilterContext
Contains a collection of PromotionData that multiple filters can act on while leaving additional meta data in the context for later use.
PromotionFilters
Filters for removing not available promotions. Used by the PromotionEngine.
PromotionInformation
Information about an applied promotion.
PromotionInformationEntry
Information about an applied promotion of individual entry.
PromotionInformationExtensions
Extension methods for PromotionInformation.
PromotionInformationOrderForm
Information about an applied promotion of type order promotion.
PromotionInformationRepository
PromotionInformation repository for the content promotion system.
PromotionInformationShipment
Information about an applied promotion of individual shipment.
PromotionItems
All valid condition and reward catalog content items for a specific promotion.
PromotionPrioritizer
Represents a class to set default priority value for a promotion to the lowest if it's not set.
PromotionProcessorBase<TPromotionData>
Responsible for evaluating if a promotion is valid for a specific IOrderForm.
PromotionProcessorContext
Context object passed into promotion processors and reward applicators, which contains discount information about the affected items.
PromotionProcessorResolver
Finds the supported IPromotionProcessor type for a PromotionData, and returns an instance of that type.
PromotionRedemption
Class representing how many times a promotion has been redeemed by customers.
PromotionRegionName
Names of available promotion regions.
PromotionSchedule
Represents a content based promotion schedule item.
PromotionTypeHandler
Provides the capability to show or hide specific promotion types that inherit from PromotionData.
RedemptionDescription
The representation of a redeemed promotion's affected ILineItems, affected IOrderForms or affected IShipments.
RedemptionDescriptionFactory
Factory for creating RedemptionDescriptions.
RedemptionLimits
Tracks redemption limits for promotions.
RedemptionLimitsData
Contains information regarding Redemption Limits on PromotionData.
RedemptionLimitService
Class to get the remaining redemption of given promotions for a given customer.
RewardApplicatorBase
Update and Apply rewards.
RewardApplicatorBase<TAffectedObject>
When implemented, modifies discounts on a ILineItem or a IShipment. It also modifies saved amount of the applying reward.
RewardApplicatorResolver
Resolves the implementation of EntryRewardApplicator, OrderRewardApplicator, and ShippingRewardApplicator.
RewardDescription
Description object representing the result of a promotion evaluation. Provides information to the caller about reward type, amount and whether the promotion was fulfilled or not.
SalesCampaign
Represents a campaign in Commerce, i.e. a campaign which has related promotions (discounts)
SalesCampaignFolder
Represents a campaign folder to structure campaign items
ShipmentPrice
This class is used to hold information about prices in the ShipmentPriceMatrix.
ShipmentPriceMatrix
Container for all prices that can be associated with the shipment.
ShippingPromotion
Represents a content based shipping promotion item.
ShippingPromotionProcessorBase<TShippingPromotion>
Responsible for evaluating if a shipping promotion is valid for a specific IOrderForm.
ShippingRewardApplicator
Modifies ShipmentDiscount on a Shipment.
Interfaces
IAdditionalPromotionInformationCreator
Creates additional promotion information.
IAffectedObject
Affected base class of the promotion evaluation.
ICouponFilter
Responsible handling promotions that are only applicable when a coupon code is supplied.
ICouponUsage
Tracks coupon usage for promotions.
IEntryFilter
The filter to exclude entries from the promotion engine. Such entries will be ignored when evaluating promotions and applying discounts.
IPromotionEngine
Evaluates the condition on all active promotions, and gives award to specific orders when the conditions are fulfilled.
IPromotionExcludedCatalogItemService
Gets the line items that should be excluded by settings of a specific promotion.
IPromotionProcessor
Responsible for evaluation if a promotions is valid for a specific IOrderGroup
IRedemptionLimitService
Interface to get the remaining redemption of given promotions for a given customer.
Enums
CampaignItemStatus
Status values for campaign items
CatalogItemSelectionType
Type of catalog item selection.
DiscountType
Type of discount amount.
ExclusionLevel
Specifies whether promotion excludes from being applied per order or per unit.
FulfillmentStatus
The fulfillment level of a promotion. Only promotions with the status Fulfilled will have their rewards applied.
RequestFulfillmentStatus
The fulfillment level of a promotion that is requested to be returned from the Run(IOrderGroup, PromotionEngineSettings) method.
RewardType
The type of reward a promotion will give.