Click or drag to resize

IEditSession Interface

Namespace:  Resto.Front.Api.V5.Editors
Assembly:  Resto.Front.Api.V5 (in Resto.Front.Api.V5.dll)
Syntax
C#
public interface IEditSession

The IEditSession type exposes the following members.

Methods
  NameDescription
Public methodActivateReserve
Closes reserve and creates order on reserved table.
Public methodAddDiscount
Adds simple discount of known type to existing order. User must have rights to work with discounts.
Public methodAddDiscountByCardNumber
Add discount by card number
Public methodAddExternalPaymentItem
Add new external payment item to order.
Public methodAddFlexibleSumDiscount
Adds simple discount of known type to existing order. User must have rights to work with discounts.
Public methodAddFlexibleSumDiscountByCardNumber
Add discount by card number
Public methodAddOrderCombo
Create order combo item. Order must contain new combo items.
Public methodAddOrderCompoundItem(IProduct, IOrderStub, IOrderGuestItemStub, IProductSize, OrderItemCourse)
Adds compound item to the guest in existing order. User must have permission to edit orders.
Public methodAddOrderCompoundItem(Guid, IProduct, IOrderStub, IOrderGuestItemStub, IProductSize, OrderItemCourse)
Adds compound item to the guest in existing order. User must have permission to edit orders.
Public methodAddOrderExternalData
Adds external data to order.
Public methodAddOrderGuest(String, IOrderStub)
Adds new guest to existing order. User must have rights to edit orders.
Public methodAddOrderGuest(Guid, String, IOrderStub)
Adds new guest with the given ID to existing order. User must have rights to edit orders.
Public methodAddOrderModifierItem(Int32, IProduct, IProductGroup, IOrderStub, IOrderCompoundItemComponentStub, NullableDecimal)
Adds order item modifier to the compound item component in existing order. User must have rights to edit orders.
Public methodAddOrderModifierItem(Int32, IProduct, IProductGroup, IOrderStub, IOrderCompoundItemStub, NullableDecimal)
Adds order item modifier to the compound item in existing order. User must have rights to edit orders.
Public methodAddOrderModifierItem(Int32, IProduct, IProductGroup, IOrderStub, IOrderProductItemStub, NullableDecimal)
Adds order item modifier to the order item in existing order. User must have rights to edit orders.
Public methodAddOrderModifierItem(Guid, Int32, IProduct, IProductGroup, IOrderStub, IOrderCompoundItemComponentStub, NullableDecimal)
Adds order item modifier to the compound item component in existing order. User must have rights to edit orders.
Public methodAddOrderModifierItem(Guid, Int32, IProduct, IProductGroup, IOrderStub, IOrderCompoundItemStub, NullableDecimal)
Adds order item modifier to the compound item in existing order. User must have rights to edit orders.
Public methodAddOrderModifierItem(Guid, Int32, IProduct, IProductGroup, IOrderStub, IOrderProductItemStub, NullableDecimal)
Adds order item modifier to the order item in existing order. User must have rights to edit orders.
Public methodAddOrderProductItem(Decimal, IProduct, IOrderStub, IOrderGuestItemStub, IProductSize, OrderItemCourse, NullableDecimal)
Adds assortment position to the guest in existing order. User must have rights to edit orders.
Public methodAddOrderProductItem(Guid, Decimal, IProduct, IOrderStub, IOrderGuestItemStub, IProductSize, OrderItemCourse, NullableDecimal)
Adds assortment position to the guest in existing order. User must have rights to edit orders.
Public methodAddOrderServiceItem
Adds time pay service item to the guest in existing order. User must have permission to edit orders.
Public methodAddPaymentItem
Add new payment item to order.
Public methodAddPreliminaryPaymentItem
Add new preliminary payment item to order.
Public methodAddPrimaryComponent(IProduct, IOrderStub, IOrderCompoundItemStub, NullableDecimal)
Adds a primary component to the compound item.
Public methodAddPrimaryComponent(Guid, IProduct, IOrderStub, IOrderCompoundItemStub, NullableDecimal)
Adds a primary component to the compound item.
Public methodAddSecondaryComponent(IProduct, IOrderStub, IOrderCompoundItemStub, NullableDecimal)
Adds a secondary component to the compound item.
Public methodAddSecondaryComponent(Guid, IProduct, IOrderStub, IOrderCompoundItemStub, NullableDecimal)
Adds a secondary component to the compound item.
Public methodBindReserveToOrder
Converts exising reserve or banquet without order to banquet with order.
Public methodChangeClientAddresses
Changes client addresses.
Public methodChangeClientBirthDate
Changes client's birth date
Public methodChangeClientBlacklistInfo
Changes client blacklist info
Public methodChangeClientCardNumber
Changes client card number
Public methodChangeClientComment
Changes client comment
Public methodChangeClientEmails
Changes client emails list
Public methodChangeClientGender
Change client's gender.
Public methodChangeClientIikoBizId
Changes client's account in iiko.biz
Public methodChangeClientIikoNetId
Changes client's account in Plazius
Public methodChangeClientLastOrderDate
Changes client's last order date
Public methodChangeClientLinkedCounteragent
Changes client linked counter agent.
Public methodChangeClientMainAddressIndex
Changes client main address index
Public methodChangeClientMarketingSource
Changes client marketing source
Public methodChangeClientName
Changes client name
Public methodChangeClientNick
Changes client nickname
Public methodChangeClientPhones
Changes client phones list
Public methodChangeClientReceivesNotifications
Changes whether client receives notification messages
Public methodChangeClientSurname
Changes client surname
Public methodChangeComboAmount
Change combo amount.
Public methodChangeComboPrice
Change combo price.
Public methodChangeDeliveryActualDeliverTime
Change time when the order was actually delivered.
Public methodChangeDeliveryAddress
Changes address of delivery
Public methodChangeDeliveryComment
Change the order comment
Public methodChangeDeliveryConfirmTime
Change when the order was confirmed.
Public methodChangeDeliveryCourier
Assign/Change the order courier. Can use this action only before the order is to be delivered.
Public methodChangeDeliveryDuration
Change duration of delivery processing
Public methodChangeDeliveryEmail
Change the order e-mail
Public methodChangeDeliveryExpectedDeliverTime
Change time when client wants the order to be delivered
Public methodChangeDeliveryLastVerifiedRestrictionsHash
Set last verified restirictions hash from server
Public methodChangeDeliveryLocation
Changes delivery address location.
Public methodChangeDeliveryMarketingSource
Assign/change order marketing source.
Public methodChangeDeliveryOperator
Assign/change the order operator.
Public methodChangeDeliveryOrderPredictedCookingCompleteTime
Change predicted time when the order cooking should be completed. Can change property only for Unconfirmed, New or Waiting delivery.
Public methodChangeDeliveryPhone
Changes the order phone
Public methodChangeDeliveryPredictedDeliveryTime
Change predicted time when the order should be delivered. Can change property only for Unconfirmed, New or Waiting delivery.
Public methodChangeDeliveryProblemComment
Change the order problem comment
Public methodChangeDeliveryProblemStatus
Change the order problem status
Public methodChangeDeliverySplitBetweenPersons
Changes the order property if it should be splitted between persons
Public methodChangeEstimatedOrderGuestsCount
Changes estimated order guests count. Use this method to set estimated guests count when guests collection doesn't reflect actual state of affairs.
Public methodChangeExternalPaymentItemCustomData
Changes custom data of existing external payment item.
Public methodChangeOrderAppliedIikoCard5ManualConditions
Change iikoCard5 manual conditions applied for order.
Public methodChangeOrderCookingItemAmount
Changes the amount of the assortment position in existing order. User must have rights to edit orders.
Public methodChangeOrderCookingItemCourse
Changes the course of the order item.
Public methodChangeOrderCookingItemSize
Changes the product size of the order item.
Public methodChangeOrderIikoCard5Coupon
Change order iikoCard5 coupon, used in iikoCard5 system..
Public methodChangeOrderItemComment
Changes product order item's comment.
Public methodChangeOrderItemWaiter
Changes product order item's waiter.
Public methodChangeOrderModifierItemAmount(Int32, IOrderStub, IOrderCompoundItemComponentStub, IOrderModifierItemStub)
Changes the amount of the compound component modifier. User must have rights to edit orders.
Public methodChangeOrderModifierItemAmount(Int32, IOrderStub, IOrderCompoundItemStub, IOrderModifierItemStub)
Changes the amount of the compound item common modifier. User must have rights to edit orders.
Public methodChangeOrderModifierItemAmount(Int32, IOrderStub, IOrderProductItemStub, IOrderModifierItemStub)
Changes the amount of the product item modifier. User must have rights to edit orders.
Public methodChangeOrderOriginName
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.
Public methodChangeOrderPricingTime
Change order pricing time, which determines the price of products. By default time taken from items print time.
Public methodChangePaymentItemCustomData
Changes custom data of existing payment item.
Public methodChangePaymentItemSum
Changes sum of existing payment item.
Public methodChangePreliminaryPaymentItemCustomData
Changes custom data of existing preliminary payment item.
Public methodChangePreliminaryPaymentItemSum
Changes sum of existing preliminary payment item
Public methodChangeReserveComment
Changes reserve comment. Use empty string to clear comment.
Public methodChangeReserveDuration
Changes estimated reserve duration (amount of time betwen visit's start and end). Default reserve duration is 2 hours, banquet duration is 3 hours.
Public methodChangeReserveEstimatedStartTime
Changes estimated reserve start time.
Public methodChangeReserveGuestsCount
Changes estimated guests count for reserve. Default value is 2.
Public methodChangeReserveReminder
Changes reserve reminder flag.
Public methodChangeReserveTables
Changes reserving tables.
Public methodChangeSelectiveDiscount
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.
Public methodChangeStreetName
Changes street's name
Public methodCreateBanquet(DateTime, IClientStub, IOrderStub)
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.
Public methodCreateBanquet(DateTime, IClientStub, IReadOnlyListITable)
Creates reservation for planned event in future. Table will be marked as reserved to prevent collision with other events at the same time.
Public methodCreateClient
Creates new client. After invoke of this action you need set necessary properties such as Name and also Phones or CardNumber. The client should at least have one phone number or number of discount cards.
Public methodCreateDeliveryOrder(NullableInt32, DateTime, String, AddressDto, DateTime, IOrderType, IClientStub, IUser, NullableTimeSpan)
Creates new delivery order. User must have rights to edit delivery orders. Specify address for courier-service; leave it null for self-service.
Public methodCreateDeliveryOrder(Guid, Guid, NullableInt32, DateTime, String, AddressDto, DateTime, IOrderType, IClientStub, IUser, NullableTimeSpan)
Creates new delivery order. User must have rights to edit delivery orders. Specify address for courier-service; leave it null for self-service.
Public methodCreateOrder
Creates new order on specified table. User must have rights to create orders.
Public methodCreateReserve
Creates reservation for planned visit in future. Table will be marked as reserved to prevent collision with other guests at the same time.
Public methodCreateStreet(String)
Creates new street.
Public methodCreateStreet(Guid, String, ICity)
Creates new street.
Public methodDeleteDiscount
Removes discount of known type to existing order. User must have rights to work with discounts.
Public methodDeleteExternalPaymentItem
Delete existing external payment item from order.
Public methodDeleteOrderCombo
Delete order combo item.
Public methodDeleteOrderGuest
Deletes guest without any products from order.
Public methodDeleteOrderItem
Deletes order item from order that represents the assortment position. User must have rights to edit orders.
Public methodDeleteOrderItemComment
Deletes product order item's comment.
Public methodDeleteOrderModifierItem(IOrderStub, IOrderCompoundItemComponentStub, IOrderModifierItem)
Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders.
Public methodDeleteOrderModifierItem(IOrderStub, IOrderCompoundItemStub, IOrderModifierItem)
Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders.
Public methodDeleteOrderModifierItem(IOrderStub, IOrderProductItemStub, IOrderModifierItem)
Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders.
Public methodDeleteOrRestoreStreet
Deletes street
Public methodDeletePaymentItem
Delete existing payment item from order.
Public methodDeletePreliminaryPaymentItem
Delete existing preliminary payment item from order.
Public methodDeletePrintedOrderItem
Deletes order item that is already printed. User must have rights to edit orders.
Public methodDeletePrintedOrderModifierItem
Deletes order item modifier that is already printed. User must have rights to edit orders.
Public methodGroupOrderCookingItems
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.
Public methodMoveOrderItemToAnotherGuest
Moves product item between guests of the same order.
Public methodMoveOrderItemToAnotherOrder
Moves product item between orders.
Public methodRecoverCorruptedReserve
Recovers banquet which is bound to non-existent order. Normally such cases should never occur, but due to entities storage implementation details sometimes banquet may loose its order. Note that new empty order will be created from scratch.
Public methodRenameOrderGuest
Renames order's guest.
Public methodReopenReserve
Reopens previously closed or canceled reserve.
Public methodResetIsPrintedDeliveryBillActual
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.
Public methodServeOrderCookingItem
Mark order item product as served.
Public methodSetDeliveryConfirmed
Change delivery status to confirmed.
Public methodSetDeliveryCustomerAuthorizedInIikoBiz
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.
Public methodSetDeliveryCustomerAuthorizedInIikoNet
Changes whether the client is already authorized in Plazius. WARNING: use with caution! Illegal value can lead to unsuccessful Plazius operations. Do NOT set this property to 'true' if you are not sure that all authorization properties are correct and customer is registered in Plazius; that will cause Plazius payment failure.
Public methodSetDeliveryDelivered
Change delivery status to delivered.
Public methodSetDeliveryUnconfirmed
Change delivery status to unconfirmed.
Public methodSetDeliveryUndelivered
Change delivery status to OnWay from status delivered.
Public methodSetOrderType
Sets order type for existing order.
Public methodStartBanquet
Transits banquet to the started status.
Public methodUngroupOrderCookingItems
Separates the order item products from mix group so that they will be cooked independently.
Public methodUnserveOrderCookingItem
Mark order item product as unserved.
Public methodUpdateOrderComboItems
Update existing order combo items. Order must contain new combo items.
Top
Extension Methods
  NameDescription
Public Extension MethodChangeReserveTable
Changes reserving table.
(Defined by EditSessionExtensions.)
Public Extension MethodCreateBanquet
Creates reservation for planned event in future. Table will be marked as reserved to prevent collision with other events at the same time.
(Defined by EditSessionExtensions.)
Public Extension MethodCreateOrder
Creates new order on specified table. User must have rights to create orders.
(Defined by EditSessionExtensions.)
Public Extension MethodCreateReserve
Creates reservation for planned visit in future. Table will be marked as reserved to prevent collision with other guests at the same time.
(Defined by EditSessionExtensions.)
Top
See Also