Interface IOrderGroupCalculator

Tax calculator calculates totals on the order group

Namespace: EPiServer.Commerce.Order
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public interface IOrderGroupCalculator

Methods

GetHandlingTotal(IOrderGroup)

Gets the handling total for the order

Declaration
Money GetHandlingTotal(IOrderGroup orderGroup)
Parameters
Type Name Description
IOrderGroup orderGroup

The order group

Returns
Type Description
Money

The handling total for the order group

Examples

GetOrderDiscountTotal(IOrderGroup, Currency)

Gets the order discount price.

Declaration
Money GetOrderDiscountTotal(IOrderGroup orderGroup, Currency currency)
Parameters
Type Name Description
IOrderGroup orderGroup

The order group.

Currency currency

The currency.

Returns
Type Description
Money

The order discount price.

GetSubTotal(IOrderGroup)

Gets the total of extended prices for all line items in the order.

Declaration
Money GetSubTotal(IOrderGroup orderGroup)
Parameters
Type Name Description
IOrderGroup orderGroup

The order group

Returns
Type Description
Money

The total of extended prices for all line items in the order.

Examples

GetTotal(IOrderGroup)

Gets the total for the order.

Declaration
Money GetTotal(IOrderGroup orderGroup)
Parameters
Type Name Description
IOrderGroup orderGroup

The order group

Returns
Type Description
Money

The total for the order group

Examples