Class OrderFormDiscount
Order form discount class.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
[Obsolete("Use promotion system in EPiServer.Commerce.Marketing instead. Will be removed in a future major release, but not earlier than August 2018.")]
public class OrderFormDiscount : Discount, IStorageObject, ICloneable, ISerializable
Constructors
OrderFormDiscount()
Initializes a new instance of the OrderFormDiscount class.
Declaration
public OrderFormDiscount()
OrderFormDiscount(SerializationInfo, StreamingContext)
Initializes a new instance of the OrderFormDiscount class.
Declaration
protected OrderFormDiscount(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The info. |
System.Runtime.Serialization.StreamingContext | context | The context. |
Properties
OrderFormDiscountId
Gets or sets the order form discount id.
Declaration
public int OrderFormDiscountId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The order form discount id. |
OrderFormId
Gets or sets the order form id.
Declaration
public int OrderFormId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The order form id. |
Parent
Gets the parent OrderForm.
Declaration
public OrderForm Parent { get; }
Property Value
Type | Description |
---|---|
OrderForm | The parent. |
Methods
AcceptChanges()
Accepts the changes.
Declaration
public override void AcceptChanges()
Overrides
CreateParameters(DataCommand)
Creates the parameters.
Declaration
protected override void CreateParameters(DataCommand command)
Parameters
Type | Name | Description |
---|---|---|
DataCommand | command | The command. |
Overrides
OnSaved(DataResult)
Called when [saved].
Declaration
protected override void OnSaved(DataResult result)
Parameters
Type | Name | Description |
---|---|---|
DataResult | result | The result. |
Overrides
SetParent(OrderForm)
Sets the parent OrderForm.
Declaration
public void SetParent(OrderForm orderForm)
Parameters
Type | Name | Description |
---|---|---|
OrderForm | orderForm | The order form. |
Implements
System.ICloneable
System.Runtime.Serialization.ISerializable