Click or drag to resize

OperationServiceExtensions Class

Provides a set of static methods for executing operations.
Inheritance Hierarchy
SystemObject
  Resto.Front.Api.V4.ExtensionsOperationServiceExtensions

Namespace:  Resto.Front.Api.V4.Extensions
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax
C#
public static class OperationServiceExtensions

The OperationServiceExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddDiscount
Adds simple discount of known type to existing order. User must have rights to work with discounts.
Public methodStatic memberAddDiscountByCardNumber
Add discount by card number
Public methodStatic memberAddExternalPaymentItem
Add new external payment item to order.
Public methodStatic memberAddFlexibleSumDiscount
Adds simple discount of known type to existing order. User must have rights to work with discounts.
Public methodStatic memberAddFlexibleSumDiscountByCardNumber
Add discount by card number
Public methodStatic memberAddOrderGuest(IOperationService, String, IOrder, ICredentials)
Adds new guest to existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderGuest(IOperationService, Guid, String, IOrder, ICredentials)
Adds new guest with the given ID to existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderItemModifier(IOperationService, Int32, IProduct, IProductGroup, IOrder, IOrderItemProduct, ICredentials)
Adds order item modifier to the order item in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderItemModifier(IOperationService, Guid, Int32, IProduct, IProductGroup, IOrder, IOrderItemProduct, ICredentials)
Adds order item modifier to the order item in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderItemProduct(IOperationService, Decimal, IProduct, IOrder, IOrderItemGuest, ICredentials)
Adds assortment position to the guest in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderItemProduct(IOperationService, Decimal, OrderItemCourse, IProduct, IOrder, IOrderItemGuest, ICredentials)
Adds assortment position with specific OrderItemCourse to the guest in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderItemProduct(IOperationService, Guid, Decimal, IProduct, IOrder, IOrderItemGuest, ICredentials)
Adds assortment position to the guest in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderItemProduct(IOperationService, Guid, Decimal, OrderItemCourse, IProduct, IOrder, IOrderItemGuest, ICredentials)
Adds assortment position to the guest in existing order. User must have rights to edit orders.
Public methodStatic memberAddPaymentItem
Add new payment item to order.
Public methodStatic memberAddPreliminaryPaymentItem
Add new preliminary payment item to order.
Public methodStatic memberBindReserveToOrder
Converts exising reserve or banquet without order to banquet with order.
Public methodStatic memberChangeClientAddresses
Changes client addresses.
Public methodStatic memberChangeClientBlacklistInfo
Changes client blacklist info
Public methodStatic memberChangeClientCardNumber
Changes client card number
Public methodStatic memberChangeClientComment
Changes client comment
Public methodStatic memberChangeClientEmails
Changes client emails list
Public methodStatic memberChangeClientIikoBizId
Changes client's account in iiko.biz
Public methodStatic memberChangeClientIikoNetId
Changes client's account in Plazius
Public methodStatic memberChangeClientLinkedCounteragent
Changes client linked counter agent.
Public methodStatic memberChangeClientMainAddressIndex
Changes client main address index
Public methodStatic memberChangeClientName
Changes client name
Public methodStatic memberChangeClientNick
Changes client nickname
Public methodStatic memberChangeClientPhones
Changes client phones list
Public methodStatic memberChangeClientSurname
Changes client surname
Public methodStatic memberChangeDeliveryActualDeliverTime
Change time when delivery was actually delivered.
Public methodStatic memberChangeDeliveryAddress
Changes address of delivery
Public methodStatic memberChangeDeliveryComment
Change delivery comment
Public methodStatic memberChangeDeliveryConfirmTime
Change delivery when delivery was confirmed.
Public methodStatic memberChangeDeliveryCourier
Assign/Change delivery courier. Can use this action only before delivery is to be delivered.
Public methodStatic memberChangeDeliveryDuration
Change duration of delivery processing
Public methodStatic memberChangeDeliveryEmail
Change delivery e-mail
Public methodStatic memberChangeDeliveryExpectedDeliverTime
Change time when client want delivery to be delivered
Public methodStatic memberChangeDeliveryLocation
Changes delivery address location.
Public methodStatic memberChangeDeliveryMarketingSource
Assign/Change delivery marketing source.
Public methodStatic memberChangeDeliveryOperator
Assign/Change delivery operator.
Public methodStatic memberChangeDeliveryOrderPredictedCookingCompleteTime
Change predicted time when delivery order was cooking completed. Can change property only for Unconfirmed, New or Waiting delivery.
Public methodStatic memberChangeDeliveryPersonsCount
Changes persons count for a delivery
Public methodStatic memberChangeDeliveryPhone
Changes delivery phone
Public methodStatic memberChangeDeliveryPredictedDeliveryTime
Change predicted time when delivery was delivered. Can change property only for Unconfirmed, New or Waiting delivery.
Public methodStatic memberChangeDeliveryProblemComment
Change delivery problem comment
Public methodStatic memberChangeDeliveryProblemStatus
Change delivery problem status
Public methodStatic memberChangeDeliverySplitBetweenPersons
Changes delivery property if order should be split between persons
Public methodStatic memberChangeEstimatedOrderGuestsCount
Changes estimated order guests count. Use this method to set estimated guests count when guests collection doesn't reflect actual state of affairs.
Public methodStatic memberChangeOrderItemComment
Changes product order item's comment.
Public methodStatic memberChangeOrderItemModifierAmount
Changes the amount of the order item modifier. User must have rights to edit orders.
Public methodStatic memberChangeOrderItemProductAmount
Changes the amount of the assortment position in existing order. User must have rights to edit orders.
Public methodStatic memberChangeOrderItemProductCourse
Changes the course of the order item.
Public methodStatic memberChangeOrderItemWaiter
Changes product order item's waiter.
Public methodStatic memberChangeOrderOriginName
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 methodStatic memberChangePaymentItemSum
Changes sum of existing payment item.
Public methodStatic memberChangePreliminaryPaymentItemSum
Changes sum of existing preliminary payment item
Public methodStatic memberChangeReserveComment
Changes reserve comment. Use empty string to clear comment.
Public methodStatic memberChangeReserveDuration
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 methodStatic memberChangeReserveEstimatedStartTime
Changes estimated reserve start time.
Public methodStatic memberChangeReserveGuestsCount
Changes estimated guests count for reserve. Default value is 2.
Public methodStatic memberChangeReserveReminder
Changes reserve reminder flag.
Public methodStatic memberChangeReserveTable
Changes reserving tables.
Public methodStatic memberChangeReserveTables
Changes reserving tables.
Public methodStatic memberChangeSelectiveDiscount
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 methodStatic memberChangeStreetName
Changes street's name
Public methodStatic memberCreateBanquet(IOperationService, DateTime, IClient, IOrder, ICredentials)
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 methodStatic memberCreateBanquet(IOperationService, DateTime, IClient, ITable, ICredentials)
Creates reservation for planned event in future. Table will be marked as reserved to prevent collision with other events at the same time.
Public methodStatic memberCreateBanquet(IOperationService, DateTime, IClient, ListITable, ICredentials)
Creates reservation for planned event in future. Table will be marked as reserved to prevent collision with other events at the same time.
Public methodStatic memberCreateReserve(IOperationService, DateTime, IClient, ITable, ICredentials)
Creates reservation for planned visit in future. Table will be marked as reserved to prevent collision with other guests at the same time.
Public methodStatic memberCreateReserve(IOperationService, DateTime, IClient, ListITable, ICredentials)
Creates reservation for planned visit in future. Table will be marked as reserved to prevent collision with other guests at the same time.
Public methodStatic memberCreateStreet(IOperationService, String, ICredentials)
Creates new street.
Public methodStatic memberCreateStreet(IOperationService, Guid, String, ICity, ICredentials)
Creates new street.
Public methodStatic memberDeleteDiscount
Removes discount of known type to existing order. User must have rights to work with discounts.
Public methodStatic memberDeleteExternalPaymentItem
Delete existing external payment item from order.
Public methodStatic memberDeleteOrderGuest
Deletes guest without any products from order.
Public methodStatic memberDeleteOrderItemComment
Deletes product order item's comment.
Public methodStatic memberDeleteOrderItemModifier
Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders.
Public methodStatic memberDeleteOrderItemProduct
Deletes order item from order that represents the assortment position. User must have rights to edit orders.
Public methodStatic memberDeleteOrRestoreStreet
Deletes street
Public methodStatic memberDeletePaymentItem
Delete existing payment item from order.
Public methodStatic memberDeletePreliminaryPaymentItem
Delete existing preliminary payment item from order.
Public methodStatic memberDeletePrintedOrderItemModifier
Deletes order item modifier that is already printed. User must have rights to edit orders.
Public methodStatic memberDeletePrintedOrderItemProduct
Deletes order item that is already printed. User must have rights to edit orders.
Public methodStatic memberGroupOrderItemProducts
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 methodStatic memberMoveOrderItemProduct
Moves product item between guests of the same order.
Public methodStatic memberMoveOrderItemProductToAnotherOrder
Moves product item between orders.
Public methodStatic memberRenameOrderGuest
Renames order's guest.
Public methodStatic memberReopenReserve
Reopens previously closed or canceled reserve.
Public methodStatic memberResetIsPrintedDeliveryBillActual
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 methodStatic memberServeOrderItemProduct
Mark order item product as served.
Public methodStatic memberSetDeliveryConfirmed
Change delivery status to confirmed.
Public methodStatic memberSetDeliveryCustomerAuthorizedInIikoBiz
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 methodStatic memberSetDeliveryCustomerAuthorizedInIikoNet
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 methodStatic memberSetDeliveryDelivered
Change delivery status to delivered.
Public methodStatic memberSetDeliveryUnconfirmed
Change delivery status to unconfirmed.
Public methodStatic memberSetDeliveryUndelivered
Change delivery status to OnWay from status delivered.
Public methodStatic memberSetOrderType
Sets order type for existing order.
Public methodStatic memberStartBanquet
Transits banquet to the started status.
Public methodStatic memberUngroupOrderItemProducts
Separates the order item products from mix group so that they will be cooked independently.
Public methodStatic memberUnserveOrderItemProduct
Mark order item product as unserved.
Top
See Also