Click or drag to resize

IDiscountType Interface

Namespace:  Resto.Front.Api.Data.Orders
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
public interface IDiscountType : ISerializable, 
	IEntity

The IDiscountType type exposes the following members.

Properties
  NameDescription
Public propertyCanApplyByCardNumber
Can discount be applied to order by card number.
Public propertyCanApplyByDiscountCard
Can discount be applied to order by discount card.
Public propertyCanApplyManually
Can discount be applied to order manually.
Public propertyCanApplySelectively
Can discount be applied to order items selectively.
Public propertyDeleted
Is this item deleted.
Public propertyDiscountByFlexibleSum
Does it need to set discount sum on adding. Flexible sum discount types require user to provide discount sum while adding to order while other discount types automatically calculate discount sum depending on predefined settings.
Public propertyId (Inherited from IEntity.)
Public propertyIsActive
Is this item active for current group. Note that this property doesn't associated with Deleted. I.e. discount type can be deleted and active at the same time.
Public propertyIsAutomatic
A sign that the discount is added automatically to order.
Public propertyName
Name of discount type
Top
Methods
  NameDescription
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
(Inherited from ISerializable.)
Top
See Also