Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

OrderLineAmountDiscountRewardProviderBase<TSettings>

API reference for OrderLineAmountDiscountRewardProviderBase<TSettings> in Vendr, the eCommerce solution for Umbraco v8+

OrderLineAmountDiscountRewardProviderBase<TSettings>

public abstract class OrderLineAmountDiscountRewardProviderBase<TSettings> : 
    DiscountRewardProviderBase<TSettings>
    where TSettings : OrderLineAmountDiscountRewardProviderSettingsBase, new()

Inheritance

Namespace

Constructors

OrderLineAmountDiscountRewardProviderBase<TSettings>

The default constructor.

public OrderLineAmountDiscountRewardProviderBase()

Methods

CalculateReward

public override DiscountRewardCalculation CalculateReward(DiscountRewardContext ctx, 
    TSettings settings)

FilterOrderLines

public abstract IEnumerable<OrderLineReadOnly> FilterOrderLines(DiscountRewardContext context, 
    TSettings settings)

Edit this page on GitHub

Site + logo design © 2024 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.