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.

OrderLineCalculator

API reference for OrderLineCalculator in Vendr, the eCommerce solution for Umbraco v8+

OrderLineCalculator

public class OrderLineCalculator : OrderLineCalculatorBase

Inheritance

Namespace

Constructors

OrderLineCalculator

public OrderLineCalculator(ITaxService taxService, IStoreService storeService, 
    IProductPriceFreezerService productPriceFreezerService)

Methods

CalculateOrderLineTaxRate

public override TaxRate CalculateOrderLineTaxRate(OrderReadOnly order, OrderLineReadOnly orderLine, 
    TaxSource taxSource, TaxRate fallbackTaxRate)

CalculateOrderLineUnitPrice

public override Price CalculateOrderLineUnitPrice(OrderReadOnly order, OrderLineReadOnly orderLine, 
    Guid currencyId, TaxRate taxRate)

Edit this page on GitHub

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