Interface IOrderGroupCalculator
The calculator calculates totals on the order group
Namespace: EPiServer.Commerce.Order
Assembly: Mediachase.Commerce.dll
Version: 11.8.3Syntax
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 sub total of all order forms in the order.
Declaration
Money GetSubTotal(IOrderGroup orderGroup)
Parameters
Type | Name | Description |
---|---|---|
IOrderGroup | orderGroup | The order group |
Returns
Type | Description |
---|---|
Money | The total of all order forms 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