iikoFront Api V7Preview7 Code Reference
iikoFront Api V7Preview7 Code Reference
Resto.Front.Api.Extensions
OperationServiceExtensions Class
OperationServiceExtensions Methods
AddDiscount Method
AddDiscountByCardNumber Method
AddExternalFiscalizedPaymentItem Method
AddExternalPaymentItem Method
AddFlexibleSumDiscount Method
AddFlexibleSumDiscountByCardNumber Method
AddIikoCardDiscounts Method
AddOrderCombo Method
AddOrderExternalData Method
AddOrderGuest Method
AddOrderModifierItem Method
AddOrderProductItem Method
AddOrderServiceItem Method
AddPaymentItem Method
AddPreliminaryPaymentItem Method
BindReserveToOrder Method
ChangeClientAddresses Method
ChangeClientBirthDate Method
ChangeClientBlacklistInfo Method
ChangeClientCardNumber Method
ChangeClientComment Method
ChangeClientConsentDates Method
ChangeClientEmails Method
ChangeClientGender Method
ChangeClientIikoBizId Method
ChangeClientLastOrderDate Method
ChangeClientLinkedCounteragent Method
ChangeClientMainAddressIndex Method
ChangeClientMarketingSource Method
ChangeClientName Method
ChangeClientNick Method
ChangeClientOrganizationDetailsInfo Method
ChangeClientPersonalDataConsent Method
ChangeClientPersonalDataProcessingDates Method
ChangeClientPhones Method
ChangeClientReceivesLoyaltySystemNotifications Method
ChangeClientReceivesOrderStatusNotifications Method
ChangeClientReceivesPromotionalNotifications Method
ChangeClientSurname Method
ChangeComboAmount Method
ChangeComboPrice Method
ChangeCookingPriority Method
ChangeDeliveryActualDeliverTime Method
ChangeDeliveryAddress Method
ChangeDeliveryClientName Method
ChangeDeliveryComment Method
ChangeDeliveryConfirmTime Method
ChangeDeliveryCourier Method
ChangeDeliveryCustomApiData Method
ChangeDeliveryDuration Method
ChangeDeliveryEmail Method
ChangeDeliveryExpectedDeliverTime Method
ChangeDeliveryExpectedDuration Method
ChangeDeliveryExternalCourier Method
ChangeDeliveryExternalCourierService Method
ChangeDeliveryLastVerifiedRestrictionsHash Method
ChangeDeliveryLocation Method
ChangeDeliveryMarketingSource Method
ChangeDeliveryMovedId Method
ChangeDeliveryOperator Method
ChangeDeliveryOrderPredictedCookingCompleteTime Method
ChangeDeliveryPhone Method
ChangeDeliveryPredictedDeliveryTime Method
ChangeDeliveryProblemComment Method
ChangeDeliveryProblemStatus Method
ChangeDeliverySplitBetweenPersons Method
ChangeEstimatedOrderGuestsCount Method
ChangeExternalPaymentItemCustomData Method
ChangeOrderAppliedIikoCard5ManualConditions Method
ChangeOrderCookingItemAmount Method
ChangeOrderCookingItemCourse Method
ChangeOrderCookingItemSize Method
ChangeOrderIikoCard5Coupon Method
ChangeOrderItemComment Method
ChangeOrderItemWaiter Method
ChangeOrderModifierItemAmount Method
ChangeOrderOriginName Method
ChangeOrderPricingTime Method
ChangeOrderTables Method
ChangeOrderWaiter Method
ChangePaymentItemCustomData Method
ChangePaymentItemSum Method
ChangePreliminaryPaymentItemCustomData Method
ChangePreliminaryPaymentItemSum Method
ChangePriceCategory Method
ChangeReserveComment Method
ChangeReserveDuration Method
ChangeReserveEstimatedStartTime Method
ChangeReserveGuestsCount Method
ChangeReserveReminder Method
ChangeReserveTables Method
ChangeSelectiveDiscount Method
ChangeStreetName Method
CreateBanquet Method
CreateClient Method
CreateClientWithOrganizationDetails Method
CreateReserve Method
CreateStreet Method
DeleteDiscount Method
DeleteExternalFiscalizedPaymentItem Method
DeleteExternalPaymentItem Method
DeleteOrderCombo Method
DeleteOrderExternalData Method
DeleteOrderGuest Method
DeleteOrderItem Method
DeleteOrderItemComment Method
DeleteOrderModifierItem Method
DeleteOrRestoreStreet Method
DeletePaymentItem Method
DeletePreliminaryPaymentItem Method
DeletePrintedOrderItems Method
DeletePrintedOrderModifierItem Method
GroupOrderCookingItems Method
MarkOrderAsTab Method
MoveOrderItemToAnotherGuest Method
MoveOrderItemToAnotherOrder Method
OverrideVatInclusionForOrder Method
RenameOrderGuest Method
ReopenReserve Method
ResetIsPrintedDeliveryBillActual Method
ResetPriceCategory Method
ServeOrderCookingItem Method
SetCompoundItemComponentCustomName Method
SetDeliveryCustomerAuthorizedInIikoBiz Method
SetDeliveryDelivered Method
SetDeliveryUndelivered Method
SetOpenPrice Method
SetOrderModifierItemCustomName Method
SetOrderType Method
SetProductItemCustomName Method
SetServiceItemCustomName Method
SetServiceItemPeriodCustomName Method
SplitOrderCookingItem Method
StartBanquet Method
UngroupOrderCookingItems Method
UnserveOrderCookingItem Method
UpdateOrderComboItems Method

# OperationServiceExtensions Methods

The OperationServiceExtensions type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| AddDiscount | Adds simple discount of known type to existing order. User must have rights to work with discounts.
| AddDiscountByCardNumber | Add discount by card number.
| AddExternalFiscalizedPaymentItem(IOperationService, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials) | Add new externally fiscalized payment item to order.
| AddExternalFiscalizedPaymentItem(IOperationService, Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials) | Add new external fiscalized payment item to order.
| AddExternalPaymentItem(IOperationService, Decimal, Boolean, IPaymentItemAdditionalData, OrganizationDetailsInfo, IPaymentType, IOrder, ICredentials) | Add new external payment item to order.
| AddExternalPaymentItem(IOperationService, Guid, Decimal, Boolean, IPaymentItemAdditionalData, OrganizationDetailsInfo, IPaymentType, IOrder, ICredentials) | Add new external payment item to order.
| AddFlexibleSumDiscount | Adds simple discount of known type to existing order. User must have rights to work with discounts.
| AddFlexibleSumDiscountByCardNumber | Add discount by card number.
| AddIikoCardDiscounts | Adds discounts grouped by order items.
| AddOrderCombo | Create order combo item. Order must contain new combo items.
| AddOrderExternalData | Adds external data to the order. Use DeleteOrderExternalData(IOperationService, String, IOrder, ICredentials) to delete the data when it's no longer needed.
| AddOrderGuest(IOperationService, String, IOrder, ICredentials) | Adds new guest to existing order. User must have rights to edit orders.
| AddOrderGuest(IOperationService, Guid, String, IOrder, ICredentials) | Adds new guest with the given ID to existing order. User must have rights to edit orders.
| AddOrderModifierItem(IOperationService, Int32, IProduct, IProductGroup, IOrder, IOrderCompoundItem, ICredentials, Nullable Int32 , Nullable Decimal ) | Adds order item modifier to the compound item in existing order. User must have rights to edit orders.
| AddOrderModifierItem(IOperationService, Int32, IProduct, IProductGroup, IOrder, IOrderCompoundItemComponent, ICredentials, Nullable Int32 , Nullable Decimal ) | Adds order item modifier to the compound item component in existing order. User must have rights to edit orders.
| AddOrderModifierItem(IOperationService, Int32, IProduct, IProductGroup, IOrder, IOrderProductItem, ICredentials, Nullable Int32 , Nullable Decimal ) | Adds order item modifier to the order item in existing order. User must have rights to edit orders.
| AddOrderModifierItem(IOperationService, Guid, Int32, IProduct, IProductGroup, IOrder, IOrderCompoundItem, ICredentials, Nullable Int32 , Nullable Decimal ) | Adds order item modifier to the compound item in existing order. User must have rights to edit orders.
| AddOrderModifierItem(IOperationService, Guid, Int32, IProduct, IProductGroup, IOrder, IOrderCompoundItemComponent, ICredentials, Nullable Int32 , Nullable Decimal ) | Adds order item modifier to the compound item component in existing order. User must have rights to edit orders.
| AddOrderModifierItem(IOperationService, Guid, Int32, IProduct, IProductGroup, IOrder, IOrderProductItem, ICredentials, Nullable Int32 , Nullable Decimal ) | Adds order item modifier to the order item in existing order. User must have rights to edit orders.
| AddOrderProductItem(IOperationService, Decimal, IProduct, IOrder, IOrderGuestItem, IProductSize, ICredentials, OrderItemCourse, Nullable Decimal ) | Adds assortment position to the guest in existing order. User must have rights to edit orders.
| AddOrderProductItem(IOperationService, Guid, Decimal, IProduct, IOrder, IOrderGuestItem, IProductSize, ICredentials, OrderItemCourse, Nullable Decimal ) | Adds assortment position to the guest in existing order. User must have rights to edit orders.
| AddOrderServiceItem | Adds time pay service item to the guest in existing order. User must have permission to edit orders.
| AddPaymentItem(IOperationService, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials) | Add new payment item to order.
| AddPaymentItem(IOperationService, Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials) | Add new payment item to order.
| AddPreliminaryPaymentItem(IOperationService, Decimal, IPaymentItemAdditionalData, IPaymentType, IDeliveryOrder, ICredentials) | Add new preliminary payment item to order.
| AddPreliminaryPaymentItem(IOperationService, Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IDeliveryOrder, ICredentials) | Add new preliminary payment item to order.
| BindReserveToOrder | Converts exising reserve or banquet without order to banquet with order.
| ChangeClientAddresses | Changes client addresses.
| ChangeClientBirthDate | Changes client's birth date.
| ChangeClientBlacklistInfo | Changes client blacklist info.
| ChangeClientCardNumber | Changes client card number.
| ChangeClientComment | Changes client comment.
| ChangeClientConsentDates | Changes client's dates of consent.
| ChangeClientEmails | Changes client emails list.
| ChangeClientGender | Change client's gender.
| ChangeClientIikoBizId | Changes client's account in iiko.biz.
| ChangeClientLastOrderDate | Changes client's last order date.
| ChangeClientLinkedCounteragent | Changes client linked counter agent.
| ChangeClientMainAddressIndex | Changes client main address index.
| ChangeClientMarketingSource | Changes client marketing source.
| ChangeClientName | Changes client name.
| ChangeClientNick | Changes client nickname.
| ChangeClientOrganizationDetailsInfo | Changes organization details information of client.
| ChangeClientPersonalDataConsent | Changes whether client consented processing their personal data.
| ChangeClientPersonalDataProcessingDates | Changes dates of the time interval which allows client's legal personal data processing without thier consent.
| ChangeClientPhones | Changes client phones list.
| ChangeClientReceivesLoyaltySystemNotifications | Changes whether client receives loyalty system notification messages.
| ChangeClientReceivesOrderStatusNotifications | Changes whether client receives order status notification messages.
| ChangeClientReceivesPromotionalNotifications | Changes whether client receives promotional notification messages.
| ChangeClientSurname | Changes client surname.
| ChangeComboAmount | Change combo amount.
| ChangeComboPrice | Change combo price.
| ChangeCookingPriority | Changes custom cooking priority and top priority flag.
| ChangeDeliveryActualDeliverTime | Change time when the order was actually delivered.
| ChangeDeliveryAddress | Changes address of delivery
| ChangeDeliveryClientName | Change name of delivery client.
| ChangeDeliveryComment | Change the order comment.
| ChangeDeliveryConfirmTime | Changes delivery confirmation state and time.
| ChangeDeliveryCourier | Assign/Change the order courier. Can use this action only before the order is to be delivered.
| ChangeDeliveryCustomApiData | Change the delivery custom data from api.
| ChangeDeliveryDuration | Change duration of delivery processing.
| ChangeDeliveryEmail | Change the order e-mail.
| ChangeDeliveryExpectedDeliverTime | Change time when client wants the order to be delivered.
| ChangeDeliveryExpectedDuration | Set calculated delivery duration without overrided value on terminal.
| ChangeDeliveryExternalCourier | Changes external courier for delivery.
| ChangeDeliveryExternalCourierService | Changes external courier service for delivery.
| ChangeDeliveryLastVerifiedRestrictionsHash | Set last verified restirictions hash from server.
| ChangeDeliveryLocation | Changes delivery address location.
| ChangeDeliveryMarketingSource | Assign/change order marketing source.
| ChangeDeliveryMovedId | Change new delivery identifier created for move to a new terminal.
| ChangeDeliveryOperator | Assign/change the order operator.
| ChangeDeliveryOrderPredictedCookingCompleteTime | Change predicted time when the order cooking should be completed. Can change property only for Unconfirmed, New or Waiting delivery.
| ChangeDeliveryPhone | Changes the order phone.
| ChangeDeliveryPredictedDeliveryTime | Change predicted time when the order should be delivered. Can change property only for Unconfirmed, New or Waiting delivery.
| ChangeDeliveryProblemComment | Change the order problem comment.
| ChangeDeliveryProblemStatus | Change the order problem status.
| ChangeDeliverySplitBetweenPersons | Changes the order property if it should be splitted between persons.
| ChangeEstimatedOrderGuestsCount | Changes estimated order guests count. Use this method to set estimated guests count when guests collection doesn't reflect actual state of affairs.
| ChangeExternalPaymentItemCustomData | Changes custom data of existing external payment item.
| ChangeOrderAppliedIikoCard5ManualConditions | Change iikoCard5 manual conditions applied for order.
| ChangeOrderCookingItemAmount | Changes the amount of the assortment position in existing order. User must have rights to edit orders.
| ChangeOrderCookingItemCourse | Changes the course of the order item.
| ChangeOrderCookingItemSize | Changes the product size of the order item.
| ChangeOrderIikoCard5Coupon | Change order iikoCard5 coupon, used in iikoCard5 system.
| ChangeOrderItemComment | Changes product order item's comment.
| ChangeOrderItemWaiter | Changes product order item's waiter.
| ChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderCompoundItem, IOrderModifierItem, ICredentials, Nullable Int32 ) | Changes the amount of the compound item common modifier. User must have rights to edit orders.
| ChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderCompoundItemComponent, IOrderModifierItem, ICredentials, Nullable Int32 ) | Changes the amount of the compound component modifier. User must have rights to edit orders.
| ChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderProductItem, IOrderModifierItem, ICredentials, Nullable Int32 ) | Changes the amount of the product item modifier. User must have rights to edit orders.
| ChangeOrderOriginName | Sets order origin — name of the source this order was received from. Specifying origin allows to analyse efficiency of external order sources such as different web-sites, mobile applications and so on. Origin name can be set only once.
| ChangeOrderPricingTime | Change order pricing time, which determines the price of products. By default time taken from items print time.
| ChangeOrderTables | Changes tables of the order.
| ChangeOrderWaiter | Changes order's waiter.
| ChangePaymentItemCustomData | Changes custom data of existing payment item.
| ChangePaymentItemSum | Changes sum of existing payment item.
| ChangePreliminaryPaymentItemCustomData | Changes custom data of existing preliminary payment item.
| ChangePreliminaryPaymentItemSum | Changes sum of existing preliminary payment item.
| ChangePriceCategory | Changes price category of the order.
| ChangeReserveComment | Changes reserve comment. Use empty string to clear comment.
| ChangeReserveDuration | Changes estimated reserve duration (amount of time betwen visit's start and end). Default reserve duration is 2 hours, banquet duration is 3 hours.
| ChangeReserveEstimatedStartTime | Changes estimated reserve start time.
| ChangeReserveGuestsCount | Changes estimated guests count for reserve. Default value is 2.
| ChangeReserveReminder | Changes reserve reminder flag.
| ChangeReserveTables | Changes reserving tables.
| ChangeSelectiveDiscount | Change discount item selective application settings. Set both products and modifiers to null if you want the discount item to be applied to the whole order (including future order items), otherwise provide order item products and modifiers for selective discount item application.
| ChangeStreetName | Changes street's name.
| CreateBanquet(IOperationService, DateTime, IClient, IOrder, ICredentials, Guid) | Creates reservation for planned event in future. Order's table will be marked as reserved to prevent collision with other events at the same time.
| CreateBanquet(IOperationService, DateTime, IClient, IReadOnlyList ITable , ICredentials, Guid) | Creates reservation for planned event in future. Table will be marked as reserved to prevent collision with other events at the same time.
| CreateClient | Creates new client. The client must have a card number or at least one phone number.
| CreateClientWithOrganizationDetails | Creates new client. The client must have orgatizations details info.
| CreateReserve | Creates reservation for planned visit in future. Table will be marked as reserved to prevent collision with other guests at the same time.
| CreateStreet(IOperationService, String, ICredentials) | Creates new street.
| CreateStreet(IOperationService, Guid, String, ICity, ICredentials) | Creates new street.
| DeleteDiscount | Removes discount of known type from existing order. User must have rights to work with discounts.
| DeleteExternalFiscalizedPaymentItem | Delete existing externally fiscalized payment item from order.
| DeleteExternalPaymentItem | Delete existing external payment item from order.
| DeleteOrderCombo | Delete order combo item.
| DeleteOrderExternalData | Deletes external data from the order.
| DeleteOrderGuest | Deletes guest without any products from order.
| DeleteOrderItem | Deletes order item from order that represents the assortment position. User must have rights to edit orders.
| DeleteOrderItemComment | Deletes product order item's comment.
| DeleteOrderModifierItem(IOperationService, IOrder, IOrderCompoundItem, IOrderModifierItem, ICredentials) | Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders.
| DeleteOrderModifierItem(IOperationService, IOrder, IOrderCompoundItemComponent, IOrderModifierItem, ICredentials) | Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders.
| DeleteOrderModifierItem(IOperationService, IOrder, IOrderProductItem, IOrderModifierItem, ICredentials) | Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders.
| DeleteOrRestoreStreet | Deletes street.
| DeletePaymentItem | Delete existing payment item from order.
| DeletePreliminaryPaymentItem | Delete existing preliminary payment item from order.
| DeletePrintedOrderItems | Deletes order items that is already printed. User must have rights to edit orders.
| DeletePrintedOrderModifierItem | Deletes order item modifier that is already printed. User must have rights to edit orders.
| GroupOrderCookingItems | Combines the order item products into mix group so that they will be cooked together. Only consecutive products of the same guest can be combined into mix group.
| MarkOrderAsTab | Marks the order as tab and assignes tab name.
| MoveOrderItemToAnotherGuest | Moves product item between guests of the same order.
| MoveOrderItemToAnotherOrder | Moves product item between orders.
| OverrideVatInclusionForOrder | Overrides default VAT inclusion settings for items of the specified order.
| RenameOrderGuest | Renames order's guest.
| ReopenReserve | Reopens previously closed or canceled reserve.
| ResetIsPrintedDeliveryBillActual | Resets whether latest printed bill is actual to 'false' value. Use when you want delivery bill to be print again according to settings. For example, if you changed courier and wish to have actual name on the bill, call this action and delivery will automatically printed according to settings. On the contrary, if you don't want bill to be printed again (for example, courier is written to the bill later by hands), you have no need to call this action.
| ResetPriceCategory | Resets price category of the order.
| ServeOrderCookingItem | Mark order item product as served.
| SetCompoundItemComponentCustomName | Sets the custom name of the compound component. User must have rights to edit orders.
| SetDeliveryCustomerAuthorizedInIikoBiz | Changes whether the client is already authorized in iiko.biz. WARNING: use with caution! Illegal value can lead to unsuccessful iiko.biz operations. Do NOT set this property to 'true' if you are not sure that all authorization properties are correct and customer is registered in iiko.biz; that will cause iiko.biz payment failure.
| SetDeliveryDelivered | Change delivery status to delivered.
| SetDeliveryUndelivered | Change delivery status to OnWay from status delivered.
| SetOpenPrice | Changes order item open price.
| SetOrderModifierItemCustomName(IOperationService, String, IOrder, IOrderCompoundItem, IOrderModifierItem, ICredentials) | Sets the custom name of the compound item common modifier. User must have rights to edit orders.
| SetOrderModifierItemCustomName(IOperationService, String, IOrder, IOrderCompoundItemComponent, IOrderModifierItem, ICredentials) | Sets the custom name of the compound component modifier. User must have rights to edit orders.
| SetOrderModifierItemCustomName(IOperationService, String, IOrder, IOrderProductItem, IOrderModifierItem, ICredentials) | Sets the custom name of the product item modifier. User must have rights to edit orders.
| SetOrderType | Sets order type for order.
| SetProductItemCustomName | Sets the custom name of the product item. User must have rights to edit orders.
| SetServiceItemCustomName | Sets the custom name of the service item. User must have rights to edit orders.
| SetServiceItemPeriodCustomName | Sets the custom name of the service period. User must have rights to edit orders.
| SplitOrderCookingItem | Cut off specified amount from product to new one.
| StartBanquet | Transits banquet to the started status.
| UngroupOrderCookingItems | Separates the order item products from mix group so that they will be cooked independently.
| UnserveOrderCookingItem | Mark order item product as unserved.
| UpdateOrderComboItems | Update existing order combo items. Order must contain new combo items.

Top
See Also

#### Reference

OperationServiceExtensions Class
Resto.Front.Api.Extensions Namespace