Name | Description | |
---|---|---|
Coupon Constructor | Overloaded. |
The following tables list the members exposed by Coupon.
Name | Description | |
---|---|---|
Coupon Constructor | Overloaded. |
Name | Description | |
---|---|---|
AllowCombine | Gets or sets a value indicating whether AllowCombine | |
BasketCoupons | Gets or sets the BasketCoupons | |
CouponCode | Gets or sets the CouponCode | |
CouponCombos | Gets or sets the CouponCombos | |
CouponId | Gets or sets the identity of this entity. | |
CouponType | Gets or sets the type of this coupon. | |
CouponTypeId | Gets or sets the CouponTypeId | |
DiscountAmount | Gets or sets the DiscountAmount | |
EndDate | Gets or sets the EndDate | |
ExtendedFields | Gets a manager that provides strongly typed access to extended fields. (Inherited from CommerceBuilder.DomainModel.Entity) | |
Groups | Gets or sets the Groups | |
HasExtendedFields | Gets a value indicating whether the entity have extended fields or not (Inherited from CommerceBuilder.DomainModel.Entity) | |
Id | Overridden. Gets or sets the Id for the entity. | |
IsPercent | Gets or sets a value indicating whether IsPercent | |
MaxQuantity | Gets or sets the MaxQuantity | |
MaxUses | Gets or sets the MaxUses | |
MaxUsesPerCustomer | Gets or sets the MaxUsesPerCustomer | |
MaxValue | Gets or sets the MaxValue | |
MinPurchase | Gets or sets the MinPurchase | |
MinQuantity | Gets or sets the MinQuantity | |
Name | Gets or sets the Name | |
ProductRule | Gets or sets the product rule for this coupon. | |
ProductRuleId | Gets or sets the ProductRuleId | |
Products | Gets or sets the Products | |
QuantityInterval | Gets or sets the QuantityInterval | |
Repository | Gets or sets an instance of the repository for this entity (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>) | |
ShipMethods | Gets or sets the ShipMethods | |
StartDate | Gets or sets the StartDate | |
Store | Gets or sets the Store |
Name | Description | |
---|---|---|
AppliesToProduct | Checks if coupon can be applied on given product | |
AppliesToShipment | Determines if a coupon applies to a shipment | |
AppliesToShipMethod | Indicates whether a coupon applies to the given shipping method. | |
CalculateValue | Calculate the value of the coupon | |
Clone | Creates a clone of this Coupon object | |
Equals | Determines if this object instance is equal to another. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>) | |
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) | |
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>) |
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 |