C# Class Nop.Plugin.DiscountRules.HasAllProducts.HasAllProductsDiscountRequirementRule

Inheritance: Nop.Core.Plugins.BasePlugin, IDiscountRequirementRule
Afficher le fichier Open project: emilianionascu/NopCommerce

Méthodes publiques

Méthode Description
CheckRequirement ( Nop.Services.Discounts.CheckDiscountRequirementRequest request ) : bool

Check discount requirement

GetConfigurationUrl ( int discountId, int discountRequirementId ) : string

Get URL for rule configuration

HasAllProductsDiscountRequirementRule ( ISettingService settingService ) : System
Install ( ) : void
Uninstall ( ) : void

Method Details

CheckRequirement() public méthode

Check discount requirement
public CheckRequirement ( Nop.Services.Discounts.CheckDiscountRequirementRequest request ) : bool
request Nop.Services.Discounts.CheckDiscountRequirementRequest Object that contains all information required to check the requirement (Current customer, discount, etc)
Résultat bool

GetConfigurationUrl() public méthode

Get URL for rule configuration
public GetConfigurationUrl ( int discountId, int discountRequirementId ) : string
discountId int Discount identifier
discountRequirementId int Discount requirement identifier (if editing)
Résultat string

HasAllProductsDiscountRequirementRule() public méthode

public HasAllProductsDiscountRequirementRule ( ISettingService settingService ) : System
settingService ISettingService
Résultat System

Install() public méthode

public Install ( ) : void
Résultat void

Uninstall() public méthode

public Uninstall ( ) : void
Résultat void