Dynamicweb 8 Documentation
OrderLineCollection Class Members
Properties  Methods 


The following tables list the members exposed by OrderLineCollection.

Public Properties
 NameDescription
Public PropertyCountGets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Public PropertyCountOnlyBOMGets the count of BOM.  
Public PropertyCountOnlyDiscountsGets the number of OrderLines of type "Discount" and "ProductDiscount".  
Public PropertyCountOnlyProductsGets the count of products.  
Public PropertyCountOnlyTaxesGets the number of OrderLines of type "Tax".  
Public PropertyItemGets or sets the element at the specified index.  
Public PropertyOrderGets or sets the order.  
Public PropertyPriceGets the price.  
Top
Protected Properties
 NameDescription
Protected PropertyItemsGets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Top
Public Methods
 NameDescription
Public MethodAddAdds the specified order line.  
Public MethodClearRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Public MethodContainsDetermines whether an element is in the Collection. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Public MethodCopyToCopies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Public MethodGetEnumeratorReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Public MethodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Public MethodInsertInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Public MethodLoadLoads the specified order lines.  
Public MethodRemoveRemoves the specified order line.  
Public MethodRemoveAtRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Public MethodRemoveDiscountsRemoves the discounts.  
Public MethodRemoveLineRemoves the order line.  
Public MethodRemoveTaxesRemoves all Tax OrderLines from the collection.  
Public MethodSaveSaves the specified order ID.  
Public MethodUpdateBOMOrderLineUpdates the BOM order line.  
Public MethodUpdateQuantityUpdates the quantity.  
Top
Protected Methods
 NameDescription
Protected MethodClearItemsRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Protected MethodInsertItemInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Protected MethodRemoveItemRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Protected MethodSetItemReplaces the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<OrderLine>)
Top
See Also

Reference

OrderLineCollection Class
Dynamicweb.eCommerce.Orders Namespace

Send Feedback