Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the meaning of the value stored in the discount value.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Property TypeOfDiscount As DiscountType
'Usage
Dim instance As DiscountApplicationRecordBase
Dim value As DiscountType
value = instance.TypeOfDiscount
instance.TypeOfDiscount = value
public DiscountType TypeOfDiscount { get; set; }
public:
property DiscountType TypeOfDiscount {
DiscountType get ();
void set (DiscountType value);
}
public function get TypeOfDiscount () : DiscountType
public function set TypeOfDiscount (value : DiscountType)
Property Value
Type: Microsoft.CommerceServer.Orders..::.DiscountType
A DiscountType containing the meaning of the numeric value in the DiscountValue.
Remarks
The DiscountType specifies how a Discount is applied.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DiscountApplicationRecordBase Class