Class ShipmentCollection
Collection of shipments.
Inheritance
System.Object
ShipmentCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<Shipment>
System.Collections.IEnumerable
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: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class ShipmentCollection : MetaStorageCollectionBase<Shipment>, IList, ICollection, IEnumerable<Shipment>, IEnumerable
Constructors
ShipmentCollection()
Initializes a new instance of the ShipmentCollection class.
Declaration
public ShipmentCollection()
ShipmentCollection(OrderForm)
Initializes a new instance of the ShipmentCollection class.
Declaration
public ShipmentCollection(OrderForm parent)
Parameters
Type | Name | Description |
---|---|---|
OrderForm | parent | The parent. |
Properties
Parent
Gets the parent Order Form.
Declaration
public OrderForm Parent { get; }
Property Value
Type | Description |
---|---|
OrderForm | The parent. |
Methods
Add(Shipment)
Adds the specified Shipment.
Declaration
public override int Add(Shipment value)
Parameters
Type | Name | Description |
---|---|---|
Shipment | value | The value. |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Mediachase.Commerce.Storage.MetaStorageCollectionBase<Mediachase.Commerce.Orders.Shipment>.Add(Mediachase.Commerce.Orders.Shipment)
AddNew()
Adds the new shipment.
Declaration
public Shipment AddNew()
Returns
Type | Description |
---|---|
Shipment |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable