Click or drag to resize

OperationServiceExtensions Methods

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(IOperationService, Decimal, Boolean, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials)
Add new external payment item to order.
Public methodStatic memberAddExternalPaymentItem(IOperationService, Guid, Decimal, Boolean, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials)
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 memberAddOrderCombo
Create order combo item. Order must contain new combo items.
Public methodStatic memberAddOrderExternalData
Adds external data to the order. Use DeleteOrderExternalData(IOperationService, String, IOrder, ICredentials) to delete the data when it's no longer needed.
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 memberAddOrderModifierItem(IOperationService, Int32, IProduct, IProductGroup, IOrder, IOrderCompoundItem, ICredentials, NullableDecimal)
Adds order item modifier to the compound item in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderModifierItem(IOperationService, Int32, IProduct, IProductGroup, IOrder, IOrderCompoundItemComponent, ICredentials, NullableDecimal)
Adds order item modifier to the compound item component in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderModifierItem(IOperationService, Int32, IProduct, IProductGroup, IOrder, IOrderProductItem, ICredentials, NullableDecimal)
Adds order item modifier to the order item in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderModifierItem(IOperationService, Guid, Int32, IProduct, IProductGroup, IOrder, IOrderCompoundItem, ICredentials, NullableDecimal)
Adds order item modifier to the compound item in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderModifierItem(IOperationService, Guid, Int32, IProduct, IProductGroup, IOrder, IOrderCompoundItemComponent, ICredentials, NullableDecimal)
Adds order item modifier to the compound item component in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderModifierItem(IOperationService, Guid, Int32, IProduct, IProductGroup, IOrder, IOrderProductItem, ICredentials, NullableDecimal)
Adds order item modifier to the order item in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderProductItem(IOperationService, Decimal, IProduct, IOrder, IOrderGuestItem, IProductSize, ICredentials, OrderItemCourse, NullableDecimal)
Adds assortment position to the guest in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderProductItem(IOperationService, Guid, Decimal, IProduct, IOrder, IOrderGuestItem, IProductSize, ICredentials, OrderItemCourse, NullableDecimal)
Adds assortment position to the guest in existing order. User must have rights to edit orders.
Public methodStatic memberAddOrderServiceItem
Adds time pay service item to the guest in existing order. User must have permission to edit orders.
Public methodStatic memberAddPaymentItem(IOperationService, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials)
Add new payment item to order.
Public methodStatic memberAddPaymentItem(IOperationService, Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials)
Add new payment item to order.
Public methodStatic memberAddPreliminaryPaymentItem(IOperationService, Decimal, IPaymentItemAdditionalData, IPaymentType, IDeliveryOrder, ICredentials)
Add new preliminary payment item to order.
Public methodStatic memberAddPreliminaryPaymentItem(IOperationService, Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IDeliveryOrder, ICredentials)
Add new preliminary payment item to order.
Public methodStatic memberBindReserveToOrder
Converts exising reserve or banquet without order to banquet with order.
Public methodStatic memberCallExternalOperationTRequest, TResponse
Calls an operation which is implemented in another plugin.
Public methodStatic memberChangeClientAddresses
Changes client addresses.
Public methodStatic memberChangeClientBirthDate
Changes client's birth date.
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 memberChangeClientGender
Change client's gender.
Public methodStatic memberChangeClientIikoBizId
Changes client's account in iiko.biz.
Public methodStatic memberChangeClientIikoNetId
Changes client's account in Plazius.
Public methodStatic memberChangeClientLastOrderDate
Changes client's last order date.
Public methodStatic memberChangeClientLinkedCounteragent
Changes client linked counter agent.
Public methodStatic memberChangeClientMainAddressIndex
Changes client main address index.
Public methodStatic memberChangeClientMarketingSource
Changes client marketing source.
Public methodStatic memberChangeClientName
Changes client name.
Public methodStatic memberChangeClientNick
Changes client nickname.
Public methodStatic memberChangeClientPersonalDataConsent
Changes whether client consented processing their personal data.
Public methodStatic memberChangeClientPhones
Changes client phones list.
Public methodStatic memberChangeClientReceivesNotifications
Changes whether client receives notification messages.
Public methodStatic memberChangeClientSurname
Changes client surname.
Public methodStatic memberChangeComboAmount
Change combo amount.
Public methodStatic memberChangeComboPrice
Change combo price.
Public methodStatic memberChangeCookingPriority
Changes custom cooking priority and top priority flag.
Public methodStatic memberChangeDeliveryActualDeliverTime
Change time when the order was actually delivered.
Public methodStatic memberChangeDeliveryAddress
Changes address of delivery
Public methodStatic memberChangeDeliveryComment
Change the order comment.
Public methodStatic memberChangeDeliveryConfirmTime
Change when the order was confirmed.
Public methodStatic memberChangeDeliveryCourier
Assign/Change the order courier. Can use this action only before the order is to be delivered.
Public methodStatic memberChangeDeliveryCustomApiData
Change the delivery custom data from api.
Public methodStatic memberChangeDeliveryDuration
Change duration of delivery processing.
Public methodStatic memberChangeDeliveryEmail
Change the order e-mail.
Public methodStatic memberChangeDeliveryExpectedDeliverTime
Change time when client wants the order to be delivered.
Public methodStatic memberChangeDeliveryLastDefaultTerminalDeliveryDurationInMinutes
Set calculated delivery duration without overrided value on terminal.
Public methodStatic memberChangeDeliveryLastVerifiedRestrictionsHash
Set last verified restirictions hash from server.
Public methodStatic memberChangeDeliveryLocation
Changes delivery address location.
Public methodStatic memberChangeDeliveryMarketingSource
Assign/change order marketing source.
Public methodStatic memberChangeDeliveryOperator
Assign/change the order operator.
Public methodStatic memberChangeDeliveryOrderPredictedCookingCompleteTime
Change predicted time when the order cooking should be completed. Can change property only for Unconfirmed, New or Waiting delivery.
Public methodStatic memberChangeDeliveryPhone
Changes the order phone.
Public methodStatic memberChangeDeliveryPredictedDeliveryTime
Change predicted time when the order should be delivered. Can change property only for Unconfirmed, New or Waiting delivery.
Public methodStatic memberChangeDeliveryProblemComment
Change the order problem comment.
Public methodStatic memberChangeDeliveryProblemStatus
Change the order problem status.
Public methodStatic memberChangeDeliverySplitBetweenPersons
Changes the order property if it should be splitted 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 memberChangeExternalPaymentItemCustomData
Changes custom data of existing external payment item.
Public methodStatic memberChangeOrderAppliedIikoCard5ManualConditions
Change iikoCard5 manual conditions applied for order.
Public methodStatic memberChangeOrderCookingItemAmount
Changes the amount of the assortment position in existing order. User must have rights to edit orders.
Public methodStatic memberChangeOrderCookingItemCourse
Changes the course of the order item.
Public methodStatic memberChangeOrderCookingItemSize
Changes the product size of the order item.
Public methodStatic memberChangeOrderIikoCard5Coupon
Change order iikoCard5 coupon, used in iikoCard5 system.
Public methodStatic memberChangeOrderItemComment
Changes product order item's comment.
Public methodStatic memberChangeOrderItemWaiter
Changes product order item's waiter.
Public methodStatic memberChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderCompoundItem, IOrderModifierItem, ICredentials)
Changes the amount of the compound item common modifier. User must have rights to edit orders.
Public methodStatic memberChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderCompoundItemComponent, IOrderModifierItem, ICredentials)
Changes the amount of the compound component modifier. User must have rights to edit orders.
Public methodStatic memberChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderProductItem, IOrderModifierItem, ICredentials)
Changes the amount of the product item modifier. User must have rights to edit orders.
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 memberChangeOrderPricingTime
Change order pricing time, which determines the price of products. By default time taken from items print time.
Public methodStatic memberChangeOrderTables
Changes tables of the order.
Public methodStatic memberChangeOrderWaiter
Changes order's waiter.
Public methodStatic memberChangePaymentItemCustomData
Changes custom data of existing payment item.
Public methodStatic memberChangePaymentItemSum
Changes sum of existing payment item.
Public methodStatic memberChangePreliminaryPaymentItemCustomData
Changes custom data of existing preliminary payment item.
Public methodStatic memberChangePreliminaryPaymentItemSum
Changes sum of existing preliminary payment item.
Public methodStatic memberChangePriceCategory
Changes price category of the order.
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, IReadOnlyListITable, 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 memberCreateClient
Creates new client. The client must have a card number or at least one phone number.
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, IReadOnlyListITable, 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 from existing order. User must have rights to work with discounts.
Public methodStatic memberDeleteExternalPaymentItem
Delete existing external payment item from order.
Public methodStatic memberDeleteOrderCombo
Delete order combo item.
Public methodStatic memberDeleteOrderExternalData
Deletes external data from the order.
Public methodStatic memberDeleteOrderGuest
Deletes guest without any products from order.
Public methodStatic memberDeleteOrderItem
Deletes order item from order that represents the assortment position. User must have rights to edit orders.
Public methodStatic memberDeleteOrderItemComment
Deletes product order item's comment.
Public methodStatic memberDeleteOrderModifierItem(IOperationService, IOrder, IOrderCompoundItem, IOrderModifierItem, ICredentials)
Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders.
Public methodStatic memberDeleteOrderModifierItem(IOperationService, IOrder, IOrderCompoundItemComponent, IOrderModifierItem, ICredentials)
Deletes order item modifier from order item that represents the assortment position. User must have rights to edit orders.
Public methodStatic memberDeleteOrderModifierItem(IOperationService, IOrder, IOrderProductItem, IOrderModifierItem, ICredentials)
Deletes order item modifier from order item 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 memberDeletePrintedOrderItem
Deletes order item that is already printed. User must have rights to edit orders.
Public methodStatic memberDeletePrintedOrderModifierItem
Deletes order item modifier that is already printed. User must have rights to edit orders.
Public methodStatic memberExecuteContinuousOperation(IOperationService, ActionIOperationService)
Executes the callback function as one continuous operation by providing temporary instance of IOperationService, which holds internal locks taken on lockable entities (such as order) until the operation ends. It's strongly recommended to avoid potentially obstructive calls in the callback, i.e network calls, heavy I/O or CPU-bound calls, thread blocking and so on, because touched entities will remain locked for a long time.
Public methodStatic memberExecuteContinuousOperationT(IOperationService, FuncIOperationService, T)
Executes the callback function as one continuous operation by providing temporary instance of IOperationService, which holds internal locks taken on lockable entities (such as order) until the operation ends. It's strongly recommended to avoid potentially obstructive calls in the callback, i.e network calls, heavy I/O or CPU-bound calls, thread blocking and so on, because touched entities will remain locked for a long time.
Public methodStatic memberGetProductGroupMenuBitmap
Returns a bitmap image to be shown as a background on a menu button for the specified product group. If the product group doesn't have an image, null will be returned.
Public methodStatic memberGetProductGroupMenuImage
Returns a byte sequence presenting an image to be shown as a background on a menu button for the specified product group. If the product group doesn't have an image, null will be returned.
Public methodStatic memberGetProductMenuBitmap
Returns a bitmap image to be shown as a background on a menu button for the specified product. If the product doesn't have an image, null will be returned.
Public methodStatic memberGetProductMenuImage
Returns a byte sequence presenting an image to be shown as a background on a menu button for the specified product. If the product doesn't have an image, null will be returned.
Public methodStatic memberGroupOrderCookingItems
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 memberMoveOrderItemToAnotherGuest
Moves product item between guests of the same order.
Public methodStatic memberMoveOrderItemToAnotherOrder
Moves product item between orders.
Public methodStatic memberRegisterBillChequeTaskResolver
Registers the bill cheque task resolver.
Public methodStatic memberRegisterExternalOperationTRequest, TResponse
Exposes a custom operation to be available for call by other plugins. The registration is not permanent, it holds true until disposing the return value, or plugin shutdown.
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 memberResetPriceCategory
Resets price category of the order.
Public methodStatic memberServeOrderCookingItem
Mark order item product as served.
Public methodStatic memberSetDeliveryConfirmed
Change delivery status to confirmed.
Public methodStatic memberSetDeliveryCustomerAuthorizedInIikoBiz
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 methodStatic memberSetDeliveryCustomerAuthorizedInIikoNet
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 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 memberSetOpenPrice
Changes order item open price.
Public methodStatic memberSetOrderType
Sets order type for order.
Public methodStatic memberSplitOrderCookingItem
Cut off specified amount from product to new one.
Public methodStatic memberStartBanquet
Transits banquet to the started status.
Public methodStatic memberUngroupOrderCookingItems
Separates the order item products from mix group so that they will be cooked independently.
Public methodStatic memberUnserveOrderCookingItem
Mark order item product as unserved.
Public methodStatic memberUpdateOrderComboItems
Update existing order combo items. Order must contain new combo items.
Top
See Also