SaaS CMS has officially launched! Learn more now.

Interface IReturnLineItemCalculator

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version.

Calculates the extended price for an IReturnLineItem

Namespace: EPiServer.Commerce.Order
Assembly: Mediachase.Commerce.dll
Version: 11.8.3
Syntax
public interface IReturnLineItemCalculator

Methods

GetDiscountedPrice(IReturnLineItem, Currency)

Gets the discounted price for an IReturnLineItem.

Declaration
Money GetDiscountedPrice(IReturnLineItem returnLineItem, Currency currency)
Parameters
Type Name Description
IReturnLineItem returnLineItem

The return line item.

Currency currency

The currency to be used in the calculations.

Returns
Type Description
Money

The discounted price of the return line item.

GetExtendedPrice(IReturnLineItem, Currency)

Gets the extended price for an IReturnLineItem.

Declaration
Money GetExtendedPrice(IReturnLineItem returnLineItem, Currency currency)
Parameters
Type Name Description
IReturnLineItem returnLineItem

The return line item.

Currency currency

The currency to be used in the calculations.

Returns
Type Description
Money

The extended price of the return line item.