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: 10.8.0
Syntax
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