Click or drag to resize

DiscountType Class

Type of discount specified as either a percentage or an amount.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceDiscountType

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class DiscountType : Entity, 
	INotifyPropertyChanging, INotifyPropertyChanged

The DiscountType type exposes the following members.

Constructors
 NameDescription
Public methodDiscountType Default Constructor.
Top
Properties
 NameDescription
Public propertyAttributes
(Inherited from Entity)
Public propertyCreatedBy Unique identifier of the user who created the discount list.
Public propertyCreatedOn Date and time when the discount list was created.
Public propertyCreatedOnBehalfBy Unique identifier of the delegate user who created the discounttype.
Public propertyDescription Description of the discount list.
Public propertydiscount_type_discounts 1:N discount_type_discounts
Public propertydiscount_type_product_price_levels 1:N discount_type_product_price_levels
Public propertyDiscountType_AsyncOperations 1:N DiscountType_AsyncOperations
Public propertyDiscountType_BulkDeleteFailures 1:N DiscountType_BulkDeleteFailures
Public propertyDiscountType_ProcessSessions 1:N DiscountType_ProcessSessions
Public propertyDiscountType_SyncErrors 1:N DiscountType_SyncErrors
Public propertyDiscountTypeId Unique identifier of the discount list.
Public propertyEntityState
(Inherited from Entity)
Public propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyImportSequenceNumber Unique identifier of the data import or data migration that created this record.
Public propertyIsAmountType Information about whether the discount list amounts are specified as monetary amounts or percentages.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertylk_discounttype_createdonbehalfby N:1 lk_discounttype_createdonbehalfby
Public propertylk_discounttype_modifiedonbehalfby N:1 lk_discounttype_modifiedonbehalfby
Public propertylk_discounttypebase_createdby N:1 lk_discounttypebase_createdby
Public propertylk_discounttypebase_modifiedby N:1 lk_discounttypebase_modifiedby
Public propertyLogicalName
(Inherited from Entity)
Public propertyModifiedBy Unique identifier of the user who last modified the discount list.
Public propertyModifiedOn Date and time when the discount list was last modified.
Public propertyModifiedOnBehalfBy Unique identifier of the delegate user who last modified the discounttype.
Public propertyName Name of the discount list.
Public propertyorganization_discount_types N:1 organization_discount_types
Public propertyOrganizationId Unique identifier of the organization associated with the discount list.
Public propertyOverriddenCreatedOn Date and time that the record was migrated.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRowVersion
(Inherited from Entity)
Public propertyStateCode Status of the discount list.
Public propertyStatusCode Reason for the status of the discount list.
Public propertytransactioncurrency_discounttype N:1 transactioncurrency_discounttype
Public propertyTransactionCurrencyId Unique identifier of the currency associated with the discount type.
Public propertyuserentityinstancedata_discounttype 1:N userentityinstancedata_discounttype
Public propertyVersionNumber Version number of the discount type.
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also