PromoCodeRecord Members

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Represents the results of the PromoCode Pipeline Components execution.

The PromoCodeRecord type exposes the following members.

Constructors

  Name Description
Aa138751.pubmethod(en-US,CS.70).gif PromoCodeRecord Overloaded. Initializes a new instance of the PromoCodeRecord class.

Top

Methods

  Name Description
Aa138751.pubmethod(en-US,CS.70).gif Equals Returns a value that indicates if the specified PromoCode record has the same PromoCode value as the current instance. (Overrides Object..::.Equals(Object).)
Aa138751.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa138751.pubmethod(en-US,CS.70).gif GetEnumerator Returns an enumerator that can be used to enumerate over all the weakly-typed properties of the current payment method.
Aa138751.pubmethod(en-US,CS.70).gif GetHashCode Returns a hash code for the current instance based on the PromoCode. (Overrides Object..::.GetHashCode()()().)
Aa138751.pubmethod(en-US,CS.70).gif GetObjectData Populates the SerializationInfo with the data needed to serialize the PromoCodeRecord.
Aa138751.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa138751.pubmethod(en-US,CS.70).gif LoadedFromStorage Called after the entire class graph is loaded from mapped storage to allow custom post-load marshaling. (Inherited from MappedStorageBase.)
Aa138751.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa138751.pubmethod(en-US,CS.70).gif SavedToStorage Called after saving a mapped class instance to storage to allow custom post-save marshaling. (Inherited from MappedStorageBase.)
Aa138751.pubmethod(en-US,CS.70).gif SavingToStorage Called prior to saving a mapped class instance to storage to allow custom pre-save marshaling. (Inherited from MappedStorageBase.)
Aa138751.pubmethod(en-US,CS.70).gif SetChildDirty Overloaded. Called by child class instances to propagate change notifications when a change occurs to child data members that are mapped to SQL storage.
Aa138751.pubmethod(en-US,CS.70).gif SetDirty Called by local class property set accessors when a change occurs to data members that are mapped to SQL storage. (Overrides MappedStorageBase..::.SetDirty(Object).)
Aa138751.pubmethod(en-US,CS.70).gif SetParent Called whenever this object is associated with a new order group. (Overrides MappedStorageBase..::.SetParent(Object).)
Aa138751.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa138751.pubproperty(en-US,CS.70).gif Item Gets or sets weakly-typed property storage for the current instance.
Aa138751.pubproperty(en-US,CS.70).gif OrderFormId Gets the order form identifier of the parent order form that contains the current PromoCode instance.
Aa138751.pubproperty(en-US,CS.70).gif OrderGroupId Gets the identifier of the grandparent order group to which the current instance belongs.
Aa138751.pubproperty(en-US,CS.70).gif ParentOrderForm Gets the parent order form for which the current instance belongs.
Aa138751.pubproperty(en-US,CS.70).gif PromoApplied Gets or sets a value that indicates if one or more discounts associated with the current PromoCode definition is actually applied to the Order.
Aa138751.pubproperty(en-US,CS.70).gif PromoCode Gets or sets a Promo code entered by the end-user.
Aa138751.pubproperty(en-US,CS.70).gif PromoCodeDefinitionId Gets the identifier of the promo code definition.
Aa138751.pubproperty(en-US,CS.70).gif PromoCodeLookupDate Gets or sets the date and time when the promo code was last validated or reserved.
Aa138751.pubproperty(en-US,CS.70).gif PromoCodeReserved Gets or sets a value that indicates the reservation for the current instance was successful.
Aa138751.pubproperty(en-US,CS.70).gif PromoCodeStatus Gets or sets the status of the current instance.
Aa138751.pubproperty(en-US,CS.70).gif StorageLoadInProgress Gets a value indicating whether a storage load is in progress. (Inherited from MappedStorageBase.)

Top

See Also

Reference

PromoCodeRecord Class

Microsoft.CommerceServer.Runtime.Orders Namespace