Class ShippingTotals
The calculated totals for a shipment
Inheritance
System.Object
ShippingTotals
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: 13.30.0Syntax
public class ShippingTotals
Constructors
ShippingTotals(Money, Money, Money, IDictionary<ILineItem, LineItemPrices>)
Creates an instance of ShippingTotals.
Declaration
public ShippingTotals(Money total, Money shippingCost, Money shippingTax, IDictionary<ILineItem, LineItemPrices> lineItemPrices)
Parameters
Type | Name | Description |
---|---|---|
Money | total | The total for the items in the shipment. |
Money | shippingCost | The shipping cost. |
Money | shippingTax | The shipping tax. |
System.Collections.Generic.IDictionary<ILineItem, LineItemPrices> | lineItemPrices | The line item prices. |
Properties
Item[ILineItem]
Gets the prices for a line item.
Declaration
public LineItemPrices this[ILineItem lineItem] { get; }
Parameters
Type | Name | Description |
---|---|---|
ILineItem | lineItem | The line item. |
Property Value
Type | Description |
---|---|
LineItemPrices | The prices for the line item. |
ItemsTotal
The extended price total for the line items in the shipment.
Declaration
public Money ItemsTotal { get; }
Property Value
Type | Description |
---|---|
Money |
ShippingCost
The shipping cost.
Declaration
public Money ShippingCost { get; }
Property Value
Type | Description |
---|---|
Money |
ShippingTax
The shipping tax.
Declaration
public Money ShippingTax { get; }
Property Value
Type | Description |
---|---|
Money |