Table of Contents

Interface IPromotionCustomerEligibilityOptionsProvider

Namespace
Kentico.Xperience.Admin.DigitalCommerce
Assembly
Kentico.Xperience.Admin.DigitalCommerce.dll

Provides customization of customer eligibility options for promotions in the admin interface.

public interface IPromotionCustomerEligibilityOptionsProvider
Extension Methods

Remarks

Implement this interface to filter, modify, or extend the available customer eligibility options displayed in the promotion edit form. This allows customizing which eligibility options are available based on the specific promotion being edited.

Methods

GetOptions(IEnumerable<PromotionCustomerEligibilityOption>, PromotionType)

Gets the customized customer eligibility options for a promotion.

IEnumerable<PromotionCustomerEligibilityOption> GetOptions(IEnumerable<PromotionCustomerEligibilityOption> options, PromotionType promotionType)

Parameters

options IEnumerable<PromotionCustomerEligibilityOption>

The default system customer eligibility options.

promotionType PromotionType

The type of promotion for which to get the options.

Returns

IEnumerable<PromotionCustomerEligibilityOption>

A collection of PromotionCustomerEligibilityOption representing the customized customer eligibility options available for the specified promotion type.