November Happy Hour will be moved to Thursday December 5th.

Class ShipmentDiscountCollection

Shipment Discount Collection.

Inheritance
System.Object
ShipmentDiscountCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<ShipmentDiscount>
System.Collections.IEnumerable
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
[Obsolete("Use promotion system in EPiServer.Commerce.Marketing instead. Will be removed in a future major release, but not earlier than August 2018.")]
public class ShipmentDiscountCollection : SimpleObjectCollectionBase<ShipmentDiscount>, IList, ICollection, IEnumerable<ShipmentDiscount>, IEnumerable

Constructors

ShipmentDiscountCollection()

Initializes a new instance of the ShipmentDiscountCollection class.

Declaration
public ShipmentDiscountCollection()

ShipmentDiscountCollection(Shipment)

Initializes a new instance of the ShipmentDiscountCollection class.

Declaration
public ShipmentDiscountCollection(Shipment parent)
Parameters
Type Name Description
Shipment parent

The parent.

Properties

Parent

Gets the parent Shipment.

Declaration
public Shipment Parent { get; }
Property Value
Type Description
Shipment

The parent.

Methods

Add(ShipmentDiscount)

Adds the specified value.

Declaration
public override int Add(ShipmentDiscount value)
Parameters
Type Name Description
ShipmentDiscount value

The value.

Returns
Type Description
System.Int32
Overrides
Mediachase.Commerce.Storage.SimpleObjectCollectionBase<Mediachase.Commerce.Orders.ShipmentDiscount>.Add(Mediachase.Commerce.Orders.ShipmentDiscount)

Implements

System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable