ShippingDiscountRecord Members

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

Provides an interface to the information written by the discount components in the marketing subsystem for shipping discounts.

The ShippingDiscountRecord type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Aa154679.pubmethod(en-US,CS.70).gif Equals Returns a value that indicates whether the specified discount application record has the same discount ID as the current instance. (Inherited from DiscountApplicationRecordBase.)
Aa154679.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa154679.pubmethod(en-US,CS.70).gif GetEnumerator Retrieves an enumerator that is used to enumerate over all weakly-typed properties of the current instance. (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubmethod(en-US,CS.70).gif GetHashCode Returns a hash code based on the discount ID for the current instance. (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubmethod(en-US,CS.70).gif GetObjectData Populates the SerializationInfo with the data needed to serialize the ShippingDiscountRecord. (Overrides DiscountApplicationRecordBase..::.GetObjectData(SerializationInfo, StreamingContext).)
Aa154679.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa154679.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.)
Aa154679.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa154679.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.)
Aa154679.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.)
Aa154679.pubmethod(en-US,CS.70).gif SetChildDirty Overloaded. Called by child class instances when a change occurs to child data members that are mapped to SQL storage.
Aa154679.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 DiscountApplicationRecordBase..::.SetDirty(Object).)
Aa154679.pubmethod(en-US,CS.70).gif SetParent Updates parent and grandparent object references of a child class instance. (Overrides MappedStorageBase..::.SetParent(Object).)
Aa154679.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa154679.pubproperty(en-US,CS.70).gif BasketDisplayMessage Gets or sets the text describing the discount applied to the customer’s order. (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubproperty(en-US,CS.70).gif DiscountAmount Gets or sets the amount deducted from a line item or order. (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubproperty(en-US,CS.70).gif DiscountId Gets and sets the marketing system campaign item identifier. (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubproperty(en-US,CS.70).gif DiscountName Gets or sets the name of the current instance. (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubproperty(en-US,CS.70).gif DiscountValue Gets or sets a currency or percentage value for the discount. (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubproperty(en-US,CS.70).gif Item Gets or sets the DiscountApplicationRecord from the collection, based upon specified name. (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubproperty(en-US,CS.70).gif LastModified Gets or sets the last modified time of the discount in local time. (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubproperty(en-US,CS.70).gif OrderGroupId Gets the grandparent order group to which the current instance belongs. (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubproperty(en-US,CS.70).gif ParentShipment Gets the parent shipment that the current instance is associated with.
Aa154679.pubproperty(en-US,CS.70).gif Priority Gets or sets the discount priority or rank. (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubproperty(en-US,CS.70).gif PromoCode Gets or sets the code that the current discount is associated with (if applicable). (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubproperty(en-US,CS.70).gif PromoCodeDefinitionId Gets or sets the ID of the PromoCodeDefinitionId definition. (Inherited from DiscountApplicationRecordBase.)
Aa154679.pubproperty(en-US,CS.70).gif ShipmentId Gets the shipment identifier of the parent shipment.
Aa154679.pubproperty(en-US,CS.70).gif StorageLoadInProgress Gets a value indicating whether a storage load is in progress. (Inherited from MappedStorageBase.)
Aa154679.pubproperty(en-US,CS.70).gif TypeOfDiscount Gets or sets the meaning of the value stored in the discount value. (Inherited from DiscountApplicationRecordBase.)

Top

See Also

Reference

ShippingDiscountRecord Class

Microsoft.CommerceServer.Runtime.Orders Namespace