Class BuyQuantityGetSelectedItemsDiscountProcessor
Inheritance
System.Object
BuyQuantityGetSelectedItemsDiscountProcessor
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Marketing.Promotions
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0Syntax
public class BuyQuantityGetSelectedItemsDiscountProcessor : GetItemDiscountProcessorBase<BuyQuantityGetSelectedItemsDiscount>, IPromotionProcessor
Constructors
BuyQuantityGetSelectedItemsDiscountProcessor(CollectionTargetEvaluator, FulfillmentEvaluator, LocalizationService)
Creates an instance of a BuyQuantityGetSelectedItemsDiscountProcessor.
Declaration
public BuyQuantityGetSelectedItemsDiscountProcessor(CollectionTargetEvaluator targetEvaluator, FulfillmentEvaluator fulfillmentEvaluator, LocalizationService localizationService)
Parameters
Type | Name | Description |
---|---|---|
CollectionTargetEvaluator | targetEvaluator | The service that is used to evaluate the target properties. |
FulfillmentEvaluator | fulfillmentEvaluator | The service that is used to evaluate the fulfillment status of the promotion. |
EPiServer.Framework.Localization.LocalizationService | localizationService | The localization service. |
Methods
CanBeFulfilled(BuyQuantityGetSelectedItemsDiscount, PromotionProcessorContext)
Declaration
protected override bool CanBeFulfilled(BuyQuantityGetSelectedItemsDiscount promotionData, PromotionProcessorContext context)
Parameters
Type | Name | Description |
---|---|---|
BuyQuantityGetSelectedItemsDiscount | promotionData | |
PromotionProcessorContext | context |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
EPiServer.Commerce.Marketing.Promotions.GetItemDiscountProcessorBase<EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetSelectedItemsDiscount>.CanBeFulfilled(EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetSelectedItemsDiscount, EPiServer.Commerce.Marketing.PromotionProcessorContext)
GetFulfillmentStatus(BuyQuantityGetSelectedItemsDiscount, PromotionProcessorContext)
Declaration
protected override FulfillmentStatus GetFulfillmentStatus(BuyQuantityGetSelectedItemsDiscount promotionData, PromotionProcessorContext context)
Parameters
Type | Name | Description |
---|---|---|
BuyQuantityGetSelectedItemsDiscount | promotionData | |
PromotionProcessorContext | context |
Returns
Type | Description |
---|---|
FulfillmentStatus |
Overrides
EPiServer.Commerce.Marketing.Promotions.GetItemDiscountProcessorBase<EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetSelectedItemsDiscount>.GetFulfillmentStatus(EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetSelectedItemsDiscount, EPiServer.Commerce.Marketing.PromotionProcessorContext)
GetPromotionItems(BuyQuantityGetSelectedItemsDiscount)
Declaration
protected override PromotionItems GetPromotionItems(BuyQuantityGetSelectedItemsDiscount promotionData)
Parameters
Type | Name | Description |
---|---|---|
BuyQuantityGetSelectedItemsDiscount | promotionData |
Returns
Type | Description |
---|---|
PromotionItems |
Overrides
EPiServer.Commerce.Marketing.PromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetSelectedItemsDiscount>.GetPromotionItems(EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetSelectedItemsDiscount)