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: 10.8.0
Syntax
public class ShippingTotals

Constructors

ShippingTotals(Money, Money, Money, IDictionary<ILineItem, Money>)

Creates an instance of ShippingTotals

Declaration
public ShippingTotals(Money total, Money shippingCost, Money shippingTax, IDictionary<ILineItem, Money> extendedPrices)
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, Money> extendedPrices

The extended prices

Properties

Item[ILineItem]

Gets the extended price for a line item

Declaration
public Money? this[ILineItem lineItem] { get; }
Parameters
Type Name Description
ILineItem lineItem

The line item

Property Value
Type Description
System.Nullable<Money>

The extended price 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