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


In This Topic
    Order Class Members
    In This Topic

    The following tables list the members exposed by Order.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets the Affiliate  
    Public Property Gets or sets the Affiliate for this entity.  
    Public Property Gets or sets the BillToAddress1  
    Public Property Gets or sets the BillToAddress2  
    Public Property Gets or sets the BillToCity  
    Public Property Gets or sets the BillToCompany  
    Public Property Gets or sets the country of the billing address  
    Public Property Gets or sets the BillToCountryCode  
    Public Property Gets or sets the BillToEmail  
    Public Property Gets or sets the BillToFax  
    Public Property Gets or sets the BillToFirstName  
    Public Property Gets or sets the BillToLastName  
    Public Property Gets or sets the BillToPhone  
    Public Property Gets or sets the BillToPostalCode  
    Public Property Gets or sets the BillToProvince  
    Public Property Gets or sets the Coupons  
    Public Property Gets or sets a value indicating whether Exported  
    Public Property Gets a manager that provides strongly typed access to extended fields. (Inherited from CommerceBuilder.DomainModel.Entity)
    Public Property Gets a list of all gift certificates attached to this order (attached to order items of this order)  
    Public Property Gets or sets the GiftCertificateTransactions  
    Public Property Gets or sets the GoogleOrderNumber  
    Public Property Gets a value indicating whether the entity have extended fields or not (Inherited from CommerceBuilder.DomainModel.Entity)
    Public Property Gets a value indicating whether the order contains shippable items.  
    Public PropertyOverridden.  Gets or sets the Id for the entity.  
    Public Property Gets or sets a value indicating whether IsSubscriptionGenerated  
    Public Property Gets or sets the Items  
    Public Property Gets or sets the Notes  
    Public Property Gets or sets the OrderDate  
    Public Property Gets or sets the identity of this entity.  
    Public Property Gets or sets the OrderNumber  
    Public Property Gets or sets the OrderStatus  
    Public Property Gets or sets the OrderStatus for this entity.  
    Public Property Gets or sets the Payments  
    Public Property Gets or sets a value indicating the overall payment status of an order.  
    Public Property Gets or sets the PaymentStatusId  
    Public Property Gets or sets the ProductSubtotal  
    Public Property Gets or sets the Referrer  
    Public Property Gets or sets the RemoteIP  
    Public Property Gets or sets an instance of the repository for this entity (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Property Gets or sets the Shipments  
    Public Property Gets a value indicating the overall shipment status of an order.  
    Public Property Gets the ShipmentStatusId  
    Public Property Gets or sets the Store  
    Public Property Gets or sets the Stpre for this entity.  
    Public Property Gets or sets the SubscriptionOrders  
    Public Property Gets or sets a reference number that applies to the tax exemption  
    Public Property Gets or sets the type of tax exemption that applies to this order  
    Public Property Gets or sets the TotalCharges  
    Public Property Gets or sets the TotalPayments  
    Public Property Gets or sets the User  
    Public Property Gets or sets the User for this entity.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded.  Cancel this order.  
    Public Method Create a shallow copy of this Order instance.  
    Public Method Determines if this object instance is equal to another. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public MethodOverloaded.  Gets a formatted billing address  
    Public MethodOverloaded.  Gets the remaining balance for this order.  
    Public Method Gets the order balance that should be displayed to a customer.  
    Public MethodServes as the default hash function. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Gets the last public note entered for this order  
    Public Method Gets the last tracking number entered for this order  
    Public Method Gets the signature properties for the class type. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public Method Gets the summary of order totals  
    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 Prints the message  
    Public Method Recalculates the stored values of the order  
    Public MethodOverloaded.  Save this order to database  
    Public MethodOverloaded.  Update the order status for this order  
    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 MethodOverloaded.  Use this method to bulid query string from NameValueCollection
    Top
    See Also