Name | Description | |
---|---|---|
Basket Constructor | Overloaded. |
The following tables list the members exposed by Basket.
Name | Description | |
---|---|---|
Basket Constructor | Overloaded. |
Name | Description | |
---|---|---|
BasketCoupons | Gets or sets the BasketCoupons | |
BasketId | Gets or sets the identity of this entity. | |
ContentHash | Gets or sets the ContentHash | |
ExtendedFields | Gets a manager that provides strongly typed access to extended fields. (Inherited from CommerceBuilder.DomainModel.Entity) | |
HasExtendedFields | Gets a value indicating whether the entity have extended fields or not (Inherited from CommerceBuilder.DomainModel.Entity) | |
HasShippableItems | Gets a value indicating whether the basket contains shippable items | |
Id | Overridden. Gets or sets the Id for the entity. | |
IsPackaged | Gets a value indicating whether this basket been packaged. | |
Items | Gets or sets the Items | |
Repository | Gets or sets an instance of the repository for this entity (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>) | |
Shipments | Gets or sets the Shipments | |
User | Gets or sets the User | |
UserId | Gets or sets the User for this entity. |
Name | Description | |
---|---|---|
Checkout | Commits the contents of a basket to an order. | |
Clear | Completely clears all contents of the basket. | |
Combine | Combines any shipments or items that have equivalent properties. | |
ContainsProduct | Indicates whether a product with given product id exists in this basket | |
DeleteItem | Deletes an item from the basket, including all associated child items. | |
Equals | Determines if this object instance is equal to another. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>) | |
GetContentHash | Overloaded. Generates a hash of the basket contents | |
GetHashCode | Serves as the default hash function. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>) | |
GetSignatureProperties | Gets the signature properties for the class type. (Inherited from CommerceBuilder.DomainModel.BaseObject) | |
HasProducts | Gets a value indicating whether this basket contains any products. | |
HasSameObjectSignatureAs | You may override this method to provide your own comparison routine. (Inherited from CommerceBuilder.DomainModel.BaseObject) | |
IsTransient | 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>) | |
Package | Organizes the basket items into default shipments in preparation for checkout. | |
Recalculate | Recalculates shipping, coupons, discounts, taxes for the basket. | |
Transfer | Moves the source basket to the target basket. | |
Validate | Validates the contents of this basket |
Name | Description | |
---|---|---|
GetTypeSpecificSignatureProperties | 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>) | |
GetTypeUnproxied | 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) |
Name | Description | |
---|---|---|
Delete | Delete the entity from the database | |
Save | Save the entity to the database | |
ToQueryString | Overloaded. Use this method to bulid query string from NameValueCollection |