OperationServiceExtensions Methods |
The OperationServiceExtensions type exposes the following members.
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. | |
AddExternalPaymentItem(IOperationService, Decimal, Boolean, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials) | Add new external payment item to order. | |
AddExternalPaymentItem(IOperationService, Guid, Decimal, Boolean, IPaymentItemAdditionalData, 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. | |
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, NullableDecimal) | 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, NullableDecimal) | 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, NullableDecimal) | 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, NullableDecimal) | 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, NullableDecimal) | 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, NullableDecimal) | 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, NullableDecimal) | 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, NullableDecimal) | 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. | |
CallExternalOperationTRequest, TResponse |
Calls an operation which is implemented in another plugin.
| |
ChangeClientAddresses | Changes client addresses. | |
ChangeClientBirthDate | Changes client's birth date. | |
ChangeClientBlacklistInfo | Changes client blacklist info. | |
ChangeClientCardNumber | Changes client card number. | |
ChangeClientComment | Changes client comment. | |
ChangeClientEmails | Changes client emails list. | |
ChangeClientGender | Change client's gender. | |
ChangeClientIikoBizId | Changes client's account in iiko.biz. | |
ChangeClientIikoNetId | Changes client's account in Plazius. | |
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. | |
ChangeClientPersonalDataConsent | Changes whether client consented processing their personal data. | |
ChangeClientPhones | Changes client phones list. | |
ChangeClientReceivesNotifications | Changes whether client receives 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 | |
ChangeDeliveryComment | Change the order comment. | |
ChangeDeliveryConfirmTime | Change when the order was confirmed. | |
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. | |
ChangeDeliveryLastDefaultTerminalDeliveryDurationInMinutes | Set calculated delivery duration without overrided value on terminal. | |
ChangeDeliveryLastVerifiedRestrictionsHash | Set last verified restirictions hash from server. | |
ChangeDeliveryLocation | Changes delivery address location. | |
ChangeDeliveryMarketingSource | Assign/change order marketing source. | |
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) | Changes the amount of the compound item common modifier. User must have rights to edit orders. | |
ChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderCompoundItemComponent, IOrderModifierItem, ICredentials) | Changes the amount of the compound component modifier. User must have rights to edit orders. | |
ChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderProductItem, IOrderModifierItem, ICredentials) | 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. | |
ChangeReserveTable | Changes reserving tables. | |
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) | 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, 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. | |
CreateBanquet(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. | |
CreateClient | Creates new client. The client must have a card number or at least one phone number. | |
CreateReserve(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. | |
CreateReserve(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. | |
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. | |
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. | |
DeletePrintedOrderItem | Deletes order item 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. | |
ExecuteContinuousOperation(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.
| |
ExecuteContinuousOperationT(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.
| |
GetProductGroupMenuBitmap |
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.
| |
GetProductGroupMenuImage |
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.
| |
GetProductMenuBitmap |
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.
| |
GetProductMenuImage |
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.
| |
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. | |
MoveOrderItemToAnotherGuest | Moves product item between guests of the same order. | |
MoveOrderItemToAnotherOrder | Moves product item between orders. | |
RegisterBillChequeTaskResolver |
Registers the bill cheque task resolver.
| |
RegisterExternalOperationTRequest, 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.
| |
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. | |
SetDeliveryConfirmed | Change delivery status to confirmed. | |
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. | |
SetDeliveryCustomerAuthorizedInIikoNet | 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. | |
SetDeliveryDelivered | Change delivery status to delivered. | |
SetDeliveryUnconfirmed | Change delivery status to unconfirmed. | |
SetDeliveryUndelivered | Change delivery status to OnWay from status delivered. | |
SetOpenPrice | Changes order item open price. | |
SetOrderType | Sets order type for order. | |
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. |