Click or drag to resize
DiscountInfo Properties

The DiscountInfo type exposes the following members.

Properties
  NameDescription
Protected propertyAllowClone
Indicates if the object supports cloning.
(Inherited from BaseInfo.)
Public propertyAllowPartialUpdate
If true, the object allows partial updates.
(Inherited from AbstractInfoBaseTInfo.)
Protected propertyAllowRestore
Indicates if the object supports deleting to recycle bin.
(Inherited from BaseInfo.)
Protected propertyAllowTouchParent
Indicates if parent is allowed to be touched, if exists.
(Inherited from BaseInfo.)
Public propertyApplyFurtherDiscounts
Indicates that discounts following this one in order of increasing DiscountOrder value are to be applied.
Public propertyAssignedSites
Collection of the sites to which the object is associated via site bindings (M:N relationships).
(Inherited from BaseInfo.)
Public propertyBindings
Collection of the binding objects for the given object where the current object is a parent of the binding.
(Inherited from BaseInfo.)
Protected propertyCacheParentData
If true, the parent object data is cached within object.
(Inherited from BaseInfo.)
Protected propertyCheckUnique
If true, the code name is checked for uniqueness upon saving.
(Inherited from BaseInfo.)
Protected propertyChildDependencies
Collection of the child dependencies for the given object. These are objects which should be included into the parent data (for example class data for BizForms), but aren't direct child of the object.
(Inherited from BaseInfo.)
Public propertyChildren
Collection of the child objects for the given object.
(Inherited from BaseInfo.)
Public propertyClassName
Returns the class name of this object
(Inherited from AbstractInfoBaseTInfo.)
Protected propertyClearCacheMethods
Dictionary with the methods for clearing the internal object cache [columnName] => [clearCacheAction]
(Inherited from AbstractInfoBaseTInfo.)
Protected propertyCodeNameChanged
Returns whether the object code name changed or not
(Inherited from AbstractInfoBaseTInfo.)
Protected propertyCodeNameColumn
Code name column name of the info record.
(Inherited from BaseInfo.)
Public propertyColumnNames
Column names.
(Inherited from AbstractInfoBaseTInfo.)
Public propertyCouponsUseLimitExceeded
Indicates that all coupon codes has exceeded its use limitation. Returns false for discounts without coupon codes.
Protected propertyCustomizedColumns
Gets the list of customized columns in current object
(Inherited from BaseInfo.)
Protected propertyDataClass
Data class with the info object data.
(Inherited from AbstractInfoBaseTInfo.)
Protected propertyDataClassDataStore
Gets the IDataClassDataStore to be used when storing the data.
(Inherited from AbstractInfoBaseTInfo.)
Protected propertyDeleteFiles
Indicates if all physical files should be deleted when object will be deleted.
(Inherited from AbstractInfoBaseTInfo.)
Public propertyDiscountApplyFurtherDiscounts
Indicates that further discounts (in order of DiscountOrder) are to be processed.
Public propertyDiscountApplyTo
Indicates what kind of objects are the discounts applicable to. Discount can be applied to orders or products.
Public propertyDiscountCartCondition
Macro condition to restrict this discount based on shopping cart.
Public propertyDiscountCustomerRestriction
Type of discount customer restriction.
Public propertyDiscountDescription
Discount description.
Public propertyDiscountDisplayName
Discount display name.
Public propertyDiscountEnabled
Discount enabled.
Public propertyDiscountGUID
Discount GUID.
Public propertyDiscountID
Discount ID.
Public propertyDiscountIsFlat
True - discount value is flat, False - discount value is relative. Used for discount calculation in the shopping cart.
Public propertyDiscountItemMinOrderAmount
Order price to limit application of discount.
Public propertyDiscountItemOrder
Discount order used to define its priority (1 is the highest priority). Corresponds to DiscountOrder property.
Public propertyDiscountLastModified
Discount last modified date and time.
Public propertyDiscountName
Discount name.
Public propertyDiscountOrder
Order of this discount among other discounts.
Public propertyDiscountOrderAmount
Order price to limit application of discount.
Public propertyDiscountProductCondition
Macro condition to restrict this discount to particular products only.
Public propertyDiscountRoles
Discount roles to apply discount for. Is dependable on DiscountCustomerRestriction configuration.
Public propertyDiscountSiteID
Discount site ID.
Public propertyDiscountStatus
Discount status.
Public propertyDiscountUsesCoupons
Indicates if this discount is applicable only with discount coupon.
Public propertyDiscountValidFrom
Discount valid from.
Public propertyDiscountValidTo
Discount valid to.
Public propertyDiscountValue
Discount value.
Protected propertyDisplayNameColumn
Display name column name of the info record.
(Inherited from BaseInfo.)
Public propertyGeneralized
Generalized interface of this object.
(Inherited from AbstractInfoBaseTInfo.)
Public propertyHasChanged
Returns true if the object changed.
(Inherited from AbstractInfoBaseTInfo.)
Public propertyHasCoupons
Indicates if discount has some coupons defined.
Protected propertyHasData
Returns true if the object has it's data storage initialized already
(Inherited from AbstractInfoBaseTInfo.)
Public propertyHasOrUsesCoupon
Indicates if discount uses coupon or has some coupons defined.
Public propertyIcon
Object icon
(Inherited from BaseInfo.)
Protected propertyIgnoreExternalColumns
If true, externally stored columns are ignored and are stored normally in DB.
(Inherited from BaseInfo.)
Protected propertyInstanceGUID
Returns the object instance GUID
(Inherited from BaseInfo.)
Public propertyIsApplicableToOrders
Indicates whether this discount can be applied to whole orders.
Public propertyIsApplicableToShipping
Indicates whether this discount can be applied to shipping price.
Protected propertyIsCachedObject
If true, the object is cached within the system for later use
(Inherited from BaseInfo.)
Public propertyIsCatalogDiscount
Indicates that this discount is catalog kind of discount. This means that discount does not need shopping cart data to be applied.
Protected propertyIsCheckedOut
Indicates if the object is checked out.
(Inherited from BaseInfo.)
Protected propertyIsCheckedOutByUserID
Gets ID of the user who checked the object out.
(Inherited from BaseInfo.)
Protected propertyIsClone
Indicates if the object is clone.
(Inherited from BaseInfo.)
Public propertyIsComplete
Returns true if the object is complete (has all columns).
(Inherited from AbstractInfoBaseTInfo.)
Protected propertyIsDisconnected
Returns true if this collection is disconnected from the database
(Inherited from BaseInfo.)
Public propertyIsGlobal
Returns true if the object is global object. False if the object belongs to specific site only.
(Inherited from BaseInfo.)
Protected propertyIsObjectValid
Returns true if the object is considered valid.
(Inherited from BaseInfo.)
Public propertyIsRunning
Determines whether discount is currently running. ValidFrom and ValidTo properties are compared to current date/time.
Public propertyItem
Gets or sets the value of the column.
(Inherited from BaseInfo.)
Public propertyItemDiscountDisplayName
Discount display name. Used for discount calculation in the shopping cart.
Public propertyItemDiscountIsFlat
True - discount value is flat, False - discount value is relative. Used for discount calculation in the shopping cart.
Public propertyItemDiscountIsGlobal
True - says that discounts value is set in global main currency, False - says that discounts value is set in site main currency. Takes effect only if discount value is flat. Used for discount calculation in the shopping cart.
Public propertyItemDiscountType
Discount type. Used for discount calculation in the shopping cart.
Public propertyItemDiscountValue
Discount value. Used for discount calculation in the shopping cart.
Protected propertyLogEvents
If true, Events tasks are logged on the object update.
(Inherited from BaseInfo.)
Protected propertyLogExport
If true, export tasks are logged on the object update.
(Inherited from BaseInfo.)
Protected propertyLogIntegration
If true, integration tasks are being logged.
(Inherited from BaseInfo.)
Protected propertyLogSynchronization
Indicates how should be handled the logging of synchronization tasks on the object update.
(Inherited from BaseInfo.)
Protected propertyLogWebFarmTasks
If true, web farm tasks are logged on the object update.
(Inherited from BaseInfo.)
Public propertyMetaFiles
Collection of the metafiles belonging to the object.
(Inherited from BaseInfo.)
Protected propertyName
Returns the code name of the object
(Inherited from BaseInfo.)
Protected propertyObjectCategory
Object category.
(Inherited from BaseInfo.)
Protected propertyObjectCodeName
Object code name.
(Inherited from BaseInfo.)
Protected propertyObjectDisplayName
Object display name.
(Inherited from BaseInfo.)
Protected propertyObjectFullName
Object full name if exists
(Inherited from BaseInfo.)
Protected propertyObjectGroupID
Object community group ID.
(Inherited from BaseInfo.)
Protected propertyObjectGUID
Object GUID.
(Inherited from BaseInfo.)
Protected propertyObjectIcon
Object icon metafile.
(Inherited from BaseInfo.)
Protected propertyObjectIconGUID
Object icon GUID.
(Inherited from BaseInfo.)
Protected propertyObjectID
Object ID.
(Inherited from BaseInfo.)
Protected propertyObjectIsCustom
Indicates if object is custom.
(Inherited from BaseInfo.)
Protected propertyObjectIsCustomized
Indicates if object is customized.
(Inherited from BaseInfo.)
Protected propertyObjectLastModified
Last modified time.
(Inherited from BaseInfo.)
Protected propertyObjectOrder
Returns the order of the object among the other objects.
(Inherited from BaseInfo.)
Protected propertyObjectParent
Object parent.
(Inherited from BaseInfo.)
Protected propertyObjectParentID
Object parent ID.
(Inherited from BaseInfo.)
Public propertyObjectSettings
Object settings
(Inherited from BaseInfo.)
Protected propertyObjectSite
Returns the object site.
(Inherited from BaseInfo.)
Protected propertyObjectSiteID
Object site ID.
(Inherited from BaseInfo.)
Protected propertyObjectSiteName
Object site name.
(Inherited from BaseInfo.)
Protected propertyObjectStatus
Returns the current status of the object.
(Inherited from BaseInfo.)
Protected propertyObjectThumbnail
Object thumbnail metafile.
(Inherited from BaseInfo.)
Protected propertyObjectThumbnailGUID
Object thumbnail GUID.
(Inherited from BaseInfo.)
Protected propertyObjectVersionGUID
Object version GUID.
(Inherited from BaseInfo.)
Protected propertyOriginalObjectCodeName
Returns the original object code name
(Inherited from AbstractInfoBaseTInfo.)
Public propertyOtherBindings
Collection of the binding objects for the given object where the current object is not a parent of the binding (parent object is on the second side).
(Inherited from BaseInfo.)
Public propertyParent
Object parent
(Inherited from BaseInfo.)
Protected propertyParentObjectType
Parent object type.
(Inherited from BaseInfo.)
Protected propertyPrioritizedProperties
Gets the list of properties which should be prioritized in the macro controls (IntelliSense, MacroTree).
(Inherited from BaseInfo.)
Public propertyPriority
Discount priority.
Public propertyProcesses
Collection of the processes belonging to the object.
(Inherited from BaseInfo.)
Public propertyProperties
Properties of the object
(Inherited from AbstractInfoBaseTInfo.)
Protected propertyReferringObjects
Collection of the objects depending on this object (object which have FK to this object).
(Inherited from BaseInfo.)
Protected propertyRegisteredProperties
Registered properties
(Inherited from AbstractInfoBaseTInfo.)
Public propertyRelatedData
Custom data connected to the object.
(Inherited from BaseInfo.)
Public propertyScheduledTasks
Collection of the scheduled tasks belonging to the object.
(Inherited from BaseInfo.)
Public propertySearchType
Gets the search type name.
(Inherited from AbstractInfoBaseTInfo.)
Public propertySite
Object site
(Inherited from BaseInfo.)
Protected propertySupportsVersioning
Indicates if the object versioning is supported. Default false
(Inherited from BaseInfo.)
Public propertyThumbnail
Object thumbnail
(Inherited from BaseInfo.)
Protected propertyTouchCacheDependencies
If true, cache dependencies are touched when the object is changed.
(Inherited from BaseInfo.)
Public propertyTypeInfo
Object type information.
(Inherited from BaseInfo.)
Protected propertyUpdateTimeStamp
If true, timestamp of the object is updated when saved.
(Inherited from BaseInfo.)
Protected propertyUpdateVersionGUID
If true, version GUID of the object is updated when saved.
(Inherited from AbstractInfoBaseTInfo.)
Protected propertyValidateCodeName
If true, the code name is validated upon saving.
(Inherited from BaseInfo.)
Protected propertyVersioningEnabled
Indicates if the object versioning is enabled by the settings.
(Inherited from BaseInfo.)
Top
See Also