Share via


OfferType Property

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

Gets or sets the enumeration that determines how the discount offer amount is applied.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Property OfferType As OfferType
'Usage
Dim instance As Discount
Dim value As OfferType

value = instance.OfferType

instance.OfferType = value
public OfferType OfferType { get; set; }
public:
property OfferType OfferType {
    OfferType get ();
    void set (OfferType value);
}
public function get OfferType () : OfferType
public function set OfferType (value : OfferType)

Property Value

Type: Microsoft.CommerceServer.Marketing..::.OfferType
One of the Microsoft.CommerceServer.Marketing.OfferType values. Default is Percentage.

Remarks

The OfferType is:

  • Percentage - A percentage is discounted.

  • Currency - A fixed dollar amount is discounted.

The value of OfferType determines how OfferAmount is interpreted.

Permissions

See Also

Reference

Discount Class

Discount Members

Microsoft.CommerceServer.Marketing Namespace