iikoFront Api V7 Code Reference
iikoFront Api V7 Code Reference
Resto.Front.Api.Data.Orders
IDiscountType Interface
IDiscountType Properties
CanApplyByCardNumber Property
CanApplyByDiscountCard Property
CanApplyManually Property
CanApplySelectively Property
Deleted Property
DiscountByFlexibleSum Property
IsActive Property
IsAutomatic Property
Name Property

# IDiscountType Properties

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
See Also

#### Reference

IDiscountType Interface
Resto.Front.Api.Data.Orders Namespace