Class OrderGroupTotals
The calculated totals for an order
Inheritance
System.Object
OrderGroupTotals
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Order
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public class OrderGroupTotals
Constructors
OrderGroupTotals(Money, Money, Money, Money, Money, IDictionary<IOrderForm, OrderFormTotals>)
Creates an instance of OrderGroupTotals
Declaration
public OrderGroupTotals(Money subTotal, Money total, Money shippingTotal, Money taxTotal, Money handlingTotal, IDictionary<IOrderForm, OrderFormTotals> orderFormTotals)
Parameters
| Type | Name | Description |
|---|---|---|
| Money | subTotal | The order sub total |
| Money | total | The order total |
| Money | shippingTotal | The order shipping total |
| Money | taxTotal | The order tax total |
| Money | handlingTotal | The order handling total |
| System.Collections.Generic.IDictionary<IOrderForm, OrderFormTotals> | orderFormTotals | The order form totals |
Properties
HandlingTotal
The handling total for the order
Declaration
public Money HandlingTotal { get; }
Property Value
| Type | Description |
|---|---|
| Money |
Item[IOrderForm]
Gets the totals for an order form
Declaration
public OrderFormTotals this[IOrderForm orderForm] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| IOrderForm | orderForm | The order form |
Property Value
| Type | Description |
|---|---|
| OrderFormTotals | The totals for the order form |
ShippingTotal
The shipping total for the order
Declaration
public Money ShippingTotal { get; }
Property Value
| Type | Description |
|---|---|
| Money |
SubTotal
The total of discounted prices for all line items in the order.
Declaration
public Money SubTotal { get; }
Property Value
| Type | Description |
|---|---|
| Money |
TaxTotal
The tax total for the order
Declaration
public Money TaxTotal { get; }
Property Value
| Type | Description |
|---|---|
| Money |
Total
The total for the order
Declaration
public Money Total { get; }
Property Value
| Type | Description |
|---|---|
| Money |