Click or drag to resize

IEditSession Methods

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 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 methodAddOrderItemModifier(Int32, IProduct, IProductGroup, IOrderStub, IOrderItemProductStub)
Adds order item modifier to the order item in existing order. User must have rights to edit orders.
Public methodAddOrderItemModifier(Guid, Int32, IProduct, IProductGroup, IOrderStub, IOrderItemProductStub)
Adds order item modifier to the order item in existing order. User must have rights to edit orders.
Public methodAddOrderItemProduct(Decimal, IProduct, IOrderStub, IOrderItemGuestStub)
Adds assortment position to the guest in existing order. User must have rights to edit orders.
Public methodAddOrderItemProduct(Decimal, OrderItemCourse, IProduct, IOrderStub, IOrderItemGuestStub)
Adds assortment position with specific OrderItemCourse to the guest in existing order. User must have rights to edit orders.
Public methodAddOrderItemProduct(Guid, Decimal, IProduct, IOrderStub, IOrderItemGuestStub)
Adds assortment position to the guest in existing order. User must have rights to edit orders.
Public methodAddOrderItemProduct(Guid, Decimal, OrderItemCourse, IProduct, IOrderStub, IOrderItemGuestStub)
Adds assortment position to the guest in existing order. User must have rights to edit orders.
Public methodAddPaymentItem
Add new payment item to order.
Public methodAddPreliminaryPaymentItem
Add new preliminary payment item to order.
Public methodBindReserveToOrder
Converts exising reserve or banquet without order to banquet with order.
Public methodChangeClientAddresses
Changes client addresses.
Public methodChangeClientBlacklistInfo
Changes client blacklist info
Public methodChangeClientCardNumber
Changes client card number
Public methodChangeClientComment
Changes client comment
Public methodChangeClientEmails
Changes client emails list
Public methodChangeClientIikoBizId
Changes client's account in iiko.biz
Public methodChangeClientIikoNetId
Changes client's account in Plazius
Public methodChangeClientLinkedCounteragent
Changes client linked counter agent.
Public methodChangeClientMainAddressIndex
Changes client main address index
Public methodChangeClientName
Changes client name
Public methodChangeClientNick
Changes client nickname
Public methodChangeClientPhones
Changes client phones list
Public methodChangeClientSurname
Changes client surname
Public methodChangeDeliveryActualDeliverTime
Change time when delivery was actually delivered.
Public methodChangeDeliveryAddress
Changes address of delivery
Public methodChangeDeliveryComment
Change delivery comment
Public methodChangeDeliveryConfirmTime
Change delivery when delivery was confirmed.
Public methodChangeDeliveryCourier
Assign/Change delivery courier. Can use this action only before delivery is to be delivered.
Public methodChangeDeliveryDuration
Change duration of delivery processing
Public methodChangeDeliveryEmail
Change delivery e-mail
Public methodChangeDeliveryExpectedDeliverTime
Change time when client want delivery to be delivered
Public methodChangeDeliveryLocation
Changes delivery address location.
Public methodChangeDeliveryMarketingSource
Assign/Change delivery marketing source.
Public methodChangeDeliveryOperator
Assign/Change delivery operator.
Public methodChangeDeliveryOrderPredictedCookingCompleteTime
Change predicted time when delivery order was cooking completed. Can change property only for Unconfirmed, New or Waiting delivery.
Public methodChangeDeliveryPersonsCount
Changes persons count for a delivery
Public methodChangeDeliveryPhone
Changes delivery phone
Public methodChangeDeliveryPredictedDeliveryTime
Change predicted time when delivery was delivered. Can change property only for Unconfirmed, New or Waiting delivery.
Public methodChangeDeliveryProblemComment
Change delivery problem comment
Public methodChangeDeliveryProblemStatus
Change delivery problem status
Public methodChangeDeliverySplitBetweenPersons
Changes delivery property if order should be split 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 methodChangeOrderItemComment
Changes product order item's comment.
Public methodChangeOrderItemModifierAmount
Changes the amount of the order item modifier. User must have rights to edit orders.
Public methodChangeOrderItemProductAmount
Changes the amount of the assortment position in existing order. User must have rights to edit orders.
Public methodChangeOrderItemProductCourse
Changes the course of the order item.
Public methodChangeOrderItemWaiter
Changes product order item's waiter.
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 methodChangePaymentItemSum
Changes sum of existing 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, ListITable)
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 methodCreateDelivery
Creates new delivery. Specify address for courier-service; leave it null for self-service.
Public methodCreateDeliveryOrder(IOrderType)
Public methodCreateDeliveryOrder(Guid, IOrderType)
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 methodDeleteOrderGuest
Deletes guest without any products from order.
Public methodDeleteOrderItemComment
Deletes product order item's comment.
Public methodDeleteOrderItemModifier
Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders.
Public methodDeleteOrderItemProduct
Deletes order item from order 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 methodDeletePrintedOrderItemModifier
Deletes order item modifier that is already printed. User must have rights to edit orders.
Public methodDeletePrintedOrderItemProduct
Deletes order item that is already printed. User must have rights to edit orders.
Public methodGroupOrderItemProducts
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 methodMoveOrderItemProduct
Moves product item between guests of the same order.
Public methodMoveOrderItemProductToAnotherOrder
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 methodServeOrderItemProduct
Mark order item product as served.
Public methodSetDeliveryConfirmed
Change delivery status to confirmed.
Public methodSetDeliveryCustomerAuthorizedInIikoBiz
Changes whether delivery customer 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 delivery customer 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 methodUngroupOrderItemProducts
Separates the order item products from mix group so that they will be cooked independently.
Public methodUnserveOrderItemProduct
Mark order item product as unserved.
Top
Extension Methods
  NameDescription
Public Extension MethodChangeReserveTable
Changes reserving table.
(Defined by IEditSessionExtensions.)
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 IEditSessionExtensions.)
Public Extension MethodCreateOrder
Creates new order on specified table. User must have rights to create orders.
(Defined by IEditSessionExtensions.)
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 IEditSessionExtensions.)
Top
See Also