iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.Data.Orders
IDiscountType Interface
IDiscountType Properties
IDiscountType Methods

# IDiscountType Interface

Namespace: Resto.Front.Api.Data.Orders
Assembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    public interface IDiscountType : ISerializable,
    	IEntity

The IDiscountType type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| CanApplyByCardNumber | Can discount be applied to order by card number.
| CanApplyByDiscountCard | Can discount be applied to order by discount card.
| CanApplyManually | Can discount be applied to order manually.
| CanApplySelectively | Can discount be applied to order items selectively.
| Deleted | Is this item deleted.
| DiscountByFlexibleSum | 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.
| Id | (Inherited from IEntity.)
| IsActive | 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.
| IsAutomatic | A sign that the discount is added automatically to order.
| Name | Name of discount type

Top
Methods

| Name | Description
--- | --- | ---
| GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from ISerializable.)

Top
See Also

#### Reference

Resto.Front.Api.Data.Orders Namespace