Discount Members
MSDN Home
MSDN
MSDN Library
Servers and Enterprise Develop ...
Commerce Server
Microsoft Commerce Server 2009
Development
Developing with Commerce Serve ...
Commerce Server Core Systems D ...
Developer's .NET Class Referen ...
Microsoft.CommerceServer.Marke ...
Discount Class
Discount Class
Discount Members
Discount Constructor
Discount Methods
Discount Properties
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
Collapse AllExpand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: J# Code: JScript Members: Show All Members: Filtered Members: Filtered Members: Filtered
Discount Members
Defines a single discount within a campaign.
The
Discount
type exposes the following members.
Constructors
Name
Description
Discount
Initializes a new instance of the
Discount
class.
Top
Methods
Name
Description
Dispose
Releases the unmanaged resources used by this object and optionally releases the managed resources.
(Inherited from
MarketingServices
.)
DoAbortListOperation
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoActivateCampaign
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoActivateCampaignItem
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoAddUserToList
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoAppendExpressionToList
Reserved for internal use only.
(Inherited from
MarketingServices
.)
DoAppendLists
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoBeginExportList
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoBeginExportPromoCodesForDefinition
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoCancelExport
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoCancelGeneration
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoCopyCampaignItem
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoCopyExpression
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoCreateListCopy
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoDeleteBatch
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoDeleteCampaign
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoDeleteCampaignEventType
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoDeleteCampaignItem
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoDeleteCustomer
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoDeleteDisplaySize
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoDeleteDisplayTemplate
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoDeleteExpression
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoDeleteIndustryCode
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoDeleteList
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoDeletePageGroup
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoDeletePromoCodeDefinition
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoEndExportList
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoEndExportPromoCodes
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoExecuteSearch
Overloaded.
DoExportList
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoExportPromoCodesForDefinition
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGeneratePreview
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGenerateRandomCodes
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetAllCampaignEventTypes
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetAllDisplaySizes
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetAllDisplayTemplates
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetAllExpressionCategories
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetAllIndustryCodes
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetAllLanguagesInUse
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetAllMailingLists
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetAllowedProfileDefinition
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetAllPageGroups
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetAuthorizedTasks
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetBatchInfosForDefinition
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetCampaign
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetCampaignEventType
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetCampaignItem
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetCustomer
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetDefaultLanguage
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetDisplaySize
Overloaded.
DoGetDisplayTemplate
Overloaded.
DoGetExportStatus
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetExpression
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetIndustryCode
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetLastGenerationStatusForUser
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetListOperation
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetListOperationHistory
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetMailingList
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetMaximumPromoCodeBatchSize
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetMostRecentListOperation
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetPageGroup
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetProfileDefinitions
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetPromoCodeDefinition
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetSearchableProperties
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetServiceVersion
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetSiteTerms
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoGetUserFromList
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoImportPromoCodes
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoImportTargetUsers
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoImportToList
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoIsSafeToExit
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoLookupPromoCodeDefinitionByCode
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoMoveCampaignItemToCampaign
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoMoveCampaignToCustomer
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoNewCampaign
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoNewCampaignEventType
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoNewCampaignItem
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoNewCustomer
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoNewDisplaySize
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoNewDisplayTemplate
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoNewExpression
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoNewPageGroup
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoNewPromoCodeDefinition
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoPrioritizeDiscount
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoRefreshCache
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoRemoveUserFromList
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoRestoreCampaign
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoRestoreCampaignItem
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoRestoreCustomer
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoRevertPromoCodeRedemption
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSaveCampaign
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSaveCampaignEventType
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSaveCampaignItem
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSaveCustomer
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSaveDisplaySize
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSaveDisplayTemplate
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSaveExpression
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSaveExpressionCategories
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSaveIndustryCode
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSaveMailingList
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSavePageGroup
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSavePromoCodeDefinition
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoSubtractLists
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoTestDirectMail
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoUpdateDiscountPriorities
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
DoUpdateUserInList
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
(Inherited from
MarketingServices
.)
Equals
(Inherited from
Object
.)
Finalize
(Inherited from
Object
.)
GetAllExpressionReferences
Returns a list of all expression references associated with this object.
(Overrides
DisplayableCampaignItem
.
.
::
.
GetAllExpressionReferences
()
()
()
.)
GetHashCode
(Inherited from
Object
.)
GetType
(Inherited from
Object
.)
InitializeExpressions
Initializes all object members that contain expression references.
(Overrides
DisplayableCampaignItem
.
.
::
.
InitializeExpressions(DisplayableCampaignItemData, Dictionary
<
(Of
<
(
String, Expression
>
)
>
)
, Boolean)
.)
MemberwiseClone
(Inherited from
Object
.)
OnAsynchronousUploadFailed
Raises the
OnAsynchronousUploadFailed
event.
(Inherited from
MarketingServices
.)
Save
Saves changes made to the current
Discount
object.
(Overrides
CampaignItem
.
.
::
.
Save(Boolean)
.)
SetHasChanges
This internal method is used to clean the HasChanged flag in the local expression objects which are embedded in
Discount
object.
ToString
Returns a string representation of the current
CampaignItem
, including the campaign item Id and Name.
(Inherited from
CampaignItem
.)
ValidateLocalExpressionNames
Validates that all local expressions have unique names within the scope of this displayable campaign item.
(Inherited from
DisplayableCampaignItem
.)
Top
Properties
Name
Description
Active
Gets or sets a value that indicates whether the campaign item is currently active.
(Inherited from
CampaignItem
.)
AutoAddAward
Gets or sets the flag indicating if the discount award is automatically applied.
AwardExpression
Gets or sets the expression reference that identifies what a user receives if he/she qualifies for the discount.
CampaignId
Gets or sets the unique identifier of the containing campaign.
(Inherited from
CampaignItem
.)
CampaignName
Gets the name of the containing campaign.
(Inherited from
CampaignItem
.)
ClickRequired
Gets or sets the flag indicating that a user must click the advertisement associated with this discount to be eligible for the discount.
Condition
Gets the buy condition that must be satisfied to qualify for the discount.
CreatedDate
Gets the date the current
CampaignItem
was first created.
(Inherited from
CampaignItem
.)
CustomOrderLevelOfferType
Gets or sets the value of the discount type.
DateReceived
Gets or sets the DateTime when the current
DisplayableCampaignItem
object was received from customer.
(Inherited from
DisplayableCampaignItem
.)
DeletedDate
Gets the date and time that the current
CampaignItem
was deleted.
(Inherited from
CampaignItem
.)
Description
Gets or sets a free-form description (comment) string for the current
CampaignItem
.
(Inherited from
CampaignItem
.)
DiscountType
Gets or sets the type of this discount.
EligibilityRequirements
Gets the collection of references to expressions that indicate to whom a discount applies.
EndDate
Gets or sets the date and time, in the local time zone, the current
CampaignItem
is set to end.
(Inherited from
CampaignItem
.)
ExposureLimit
Gets or sets the exposure limit of the current
DisplayableCampaignItem
object.
(Inherited from
DisplayableCampaignItem
.)
Expressions
Gets the
ExpressionManager
associated with this
DisplayableCampaignItem
object.
(Inherited from
DisplayableCampaignItem
.)
HasChanges
Gets a value indicating whether the
discount
has unsaved changes.
(Overrides
DisplayableCampaignItem
.
.
::
.
HasChanges
.)
Id
Gets the unique identifier of the current
CampaignItem
object.
(Inherited from
CampaignItem
.)
IsDeleted
Gets a value indicating whether the current
CampaignItem
object has been deleted.
(Inherited from
CampaignItem
.)
ItemType
Gets the type of a
CampaignItem
object.
(Inherited from
CampaignItem
.)
LastModifiedBy
Gets the name of the user that last modified the current
CampaignItem
object.
(Inherited from
CampaignItem
.)
LastModifiedDate
Gets the date the current
CampaignItem
object was last modified.
(Inherited from
CampaignItem
.)
MaxAwards
Gets or sets the maximum number of awards for the discount.
MultilingualBasketDisplay
Gets or sets the text or HTML that is displayed to users to explain this discount.
Name
Gets or sets the name of the current
CampaignItem
object.
(Inherited from
CampaignItem
.)
OfferAmount
Gets or sets the amount of the discount offer.
OfferDisjoint
Gets or sets the flag indicating whether items used to qualify for the discount (
DiscountCondition
) can be reused as awards for this discount.
OfferType
Gets or sets the enumeration that determines how the discount offer amount is applied.
PageGroups
Gets or sets the collection of
PageGroup
objects associated with the current
DisplayableCampaignItem
instance.
(Inherited from
DisplayableCampaignItem
.)
PerOrderLimit
Gets or sets the maximum number of times this discount can be applied to a basket.
Priority
Gets the priority of this discount.
PromoCodeDefinitionId
Gets or sets the Id of the
PromoCodeDefinition
associated with this discount.
PropertyValues
Gets a collection of
DisplayPropertyValue
objects associated with the
DisplayableCampaignItem
instance.
(Inherited from
DisplayableCampaignItem
.)
ReuseAwardsAsAwards
Gets or sets the discount interaction policy flag indicating if awards of this discount can enjoy awards of other discounts.
ReuseAwardsAsConditions
Gets or sets the discount interaction policy flag indicating if awards of this discount can be used as conditions of other discounts.
ReuseConditionsAsAwards
Gets or sets the discount interaction policy flag indicating if conditions of this discount can enjoy awards of other discounts.
ReuseConditionsAsConditions
Gets or sets the discount interaction policy flag indicating if conditions of this discount can be reused as conditions of other discounts.
ServiceAgent
Gets the ServiceAgent implementation, when running in Agent mode, else returns
null
Nothing
nullptr
a null reference (
Nothing
in Visual Basic)
.
(Inherited from
MarketingServices
.)
SizeName
Gets or sets the Display Size name of the current
DisplayableCampaignItem
instance.
(Inherited from
DisplayableCampaignItem
.)
StartDate
Gets or sets the date and time, in the local time zone, the current
CampaignItem
is set to start.
(Inherited from
CampaignItem
.)
Targets
Gets or sets the collection of
ExpressionTargets
associated with the current
DisplayableCampaignItem
instance.
(Inherited from
DisplayableCampaignItem
.)
TemplateName
Gets or sets the Display Template name of the current instance.
(Inherited from
DisplayableCampaignItem
.)
UseEligibilityRequirementForTargeting
Gets or sets the value indicating if eligibility requirement may be used for targeting this discount in addition to target groups.
WizardType
Gets or sets the wizard type of this discount.
Top
See Also
Reference
Discount Class
Microsoft.CommerceServer.Marketing Namespace