Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderItem Class
Properties Methods


In This Topic
    OrderItem Class Members
    In This Topic

    The following tables list the members exposed by OrderItem.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Gets the child kit items  
    Public Property Gets or sets the CostOfGoods  
    Public Property Gets or sets the CustomFields  
    Public Property Gets or sets the DigitalGoods  
    Public Property Gets a manager that provides strongly typed access to extended fields. (Inherited from CommerceBuilder.DomainModel.Entity)
    Public Property Gets the total price of the line item (quantity * price)  
    Public Property Gets the total weight of the line item (quantity * weight)  
    Public Property Gets or sets the frequency  
    Public Property Gets or sets the FrequencyUnit.  
    Public Property Gets or sets frequency unit id  
    Public Property Gets or sets the GiftCertificates  
    Public Property Gets or sets the GiftMessage  
    Public Property Gets a value indicating whether the entity have extended fields or not (Inherited from CommerceBuilder.DomainModel.Entity)
    Public PropertyOverridden.  Gets or sets the Id for the entity.  
    Public Property Gets or sets the Inputs  
    Public Property Gets or sets a value indicating whether inventory has been destocked for the item.  
    Public Property Gets or sets the InventoryStatusId  
    Public Property Gets a value indicating whether the item is a child of another item.  
    Public Property Gets or sets a value indicating whether this item should be hidden from the customer on invoices  
    Public Property Gets a value indicating whether item is kit item or not  
    Public Property Gets or sets a value indicating whether this order item is order coupon or not  
    Public Property Gets or sets a value indicating whether subscription or not  
    Public Property Gets or sets a value indicating whether child products should be itemized on order invoices  
    Public Property Gets or sets the KitList  
    Public Property Gets or sets the LineMessage  
    Public Property Gets or sets the Name  
    Public Property Gets the net extended price (this item less any child coupons or discounts in the associated order)  
    Public Property Gets the net price (unit price less any child coupons or discounts in the associated order)  
    Public Property Gets or sets the OptionList  
    Public Property Gets or sets the Order  
    Public Property Gets or sets the OrderBy  
    Public Property Gets or sets the Order for this entity.  
    Public Property Gets or sets the identity of this entity.  
    Public Property Gets or sets the order item type.  
    Public Property Gets or sets the OrderItemTypeId  
    Public Property Gets or sets the OrderShipment  
    Public Property Gets or sets the OrderShipment for this entity.  
    Public Property Gets or sets the ParentItem  
    Public Property Gets or sets the ParentItemId  
    Public Property Gets or sets the Price  
    Public Property Gets or sets the Product  
    Public Property Gets or sets the Product for this entity.  
    Public Property Gets the product variant for this order item.  
    Public Property Gets or sets the Quantity  
    Public Property Gets or sets an instance of the repository for this entity (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Property Gets or sets a value indicating whether the item is shippable.  
    Public Property Gets or sets the ShippableId  
    Public Property Gets or sets the Sku  
    Public Property Gets or sets the Subscriptions  
    Public Property Gets or sets the TaxAmount  
    Public Property Gets or sets the TaxCode  
    Public Property Gets or sets the TaxCode for this entity.  
    Public Property Gets or sets the TaxRate  
    Public Property Gets or sets the VariantName  
    Public Property Gets or sets the Weight  
    Public Property Gets or sets the WishlistItem  
    Public Property Gets or sets the WishlistItem for this entity.  
    Public Property Gets or sets the WrapStyle  
    Public Property Gets or sets the WrapStyle for this entity.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Overloaded.  Create a copy of this order item  
    Public Method Determines if this object instance is equal to another. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Generates the gift certificates associated with this order item.  
    Public MethodOverloaded.  Generates the subscriptions associated with this order item.  
    Public MethodServes as the default hash function. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Get the invoice price for order item  
    Public Method Gets the parent item for this order item.  
    Public Method Gets the path for this basket item  
    Public Method Gets the signature properties for the class type. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public Method You may override this method to provide your own comparison routine. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public Method Transient objects are not associated with an item already in storage. For instance, a Customer is transient if its Id is 0. It's virtual to allow NHibernate-backed objects to be lazily loaded. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Finds out whether subscriptions for this order item are generated per quantity or per order item  
    Top
    Protected Methods
     NameDescription
    Protected Method Enforces the template method pattern to have child objects determine which specific properties should and should not be included in the object signature comparison. Note that the the BaseObject already takes care of performance caching, so this method shouldn't worry about caching...just return the goods man! (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Protected Method

    When NHibernate proxies objects, it masks the type of the actual entity object. This wrapper burrows into the proxied object to get its actual type.

    Although this assumes NHibernate is being used, it doesn't require any NHibernate related dependencies and has no bad side effects if NHibernate isn't being used.

    Related discussion is at http://groups.google.com/group/sharp-architecture/browse_thread/thread/ddd05f9baede023a ...thanks Jay Oliver!

    (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Top
    Extension Methods
     NameDescription
    Public Extension Method Delete the entity from the database
    Public Extension Method Save the entity to the database
    Public Extension MethodOverloaded.  Use this method to bulid query string from NameValueCollection
    Top
    See Also