Click or drag to resize

OperationServiceExtensions Class

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

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

The OperationServiceExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddCardLoyaltyDiscounts
Adds discounts grouped by order items.
Public methodStatic memberAddDeliveryAutoAddition
Adds some items according to the product auto-addition settings.
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 memberAddExternalFiscalizedPaymentItem(IOperationService, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials, IAdditionalCurrency, IOrderGuestItem)
Add new externally fiscalized payment item to order.
Public methodStatic memberAddExternalFiscalizedPaymentItem(IOperationService, Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials, IAdditionalCurrency, IOrderGuestItem)
Add new external fiscalized payment item to order.
Public methodStatic memberAddExternalPaymentItem(IOperationService, Decimal, Boolean, IPaymentItemAdditionalData, OrganizationDetailsInfo, IPaymentType, IOrder, ICredentials, IAdditionalCurrency, IOrderGuestItem)
Add new external payment item to order.
Public methodStatic memberAddExternalPaymentItem(IOperationService, Guid, Decimal, Boolean, IPaymentItemAdditionalData, OrganizationDetailsInfo, IPaymentType, IOrder, ICredentials, IAdditionalCurrency, IOrderGuestItem)
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. Cannot update public external data for closed 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, NullableInt32, 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, NullableInt32, 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, NullableInt32, 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, NullableInt32, 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, NullableInt32, 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, NullableInt32, 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 memberAddOrUpdateModifierForPrintedItem
Adds order item modifier for product which is already printed. User must have rights to edit orders.
Public methodStatic memberAddPaymentItem(IOperationService, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials, IAdditionalCurrency, IOrderGuestItem)
Add new payment item to order.
Public methodStatic memberAddPaymentItem(IOperationService, Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials, IAdditionalCurrency, IOrderGuestItem)
Add new payment item to order.
Public methodStatic memberAddPreliminaryPaymentItem(IOperationService, Decimal, IPaymentItemAdditionalData, IPaymentType, IDeliveryOrder, ICredentials, IOrderGuestItem)
Add new preliminary payment item to order.
Public methodStatic memberAddPreliminaryPaymentItem(IOperationService, Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IDeliveryOrder, ICredentials, IOrderGuestItem)
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 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 memberChangeClientConsentDates
Changes client's dates of consent.
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 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 memberChangeClientOrganizationDetailsInfo
Changes organization details information of client.
Public methodStatic memberChangeClientPersonalDataConsent
Changes whether client consented processing their personal data.
Public methodStatic memberChangeClientPersonalDataProcessingDates
Changes dates of the time interval which allows client's legal personal data processing without thier consent.
Public methodStatic memberChangeClientPhones
Changes client phones list.
Public methodStatic memberChangeClientReceivesLoyaltySystemNotifications
Changes whether client receives loyalty system notification messages.
Public methodStatic memberChangeClientReceivesOrderStatusNotifications
Changes whether client receives order status notification messages.
Public methodStatic memberChangeClientReceivesPromotionalNotifications
Changes whether client receives promotional notification messages.
Public methodStatic memberChangeClientSurname
Changes client surname.
Public methodStatic memberChangeComboAmount
Change combo amount.
Public methodStatic memberChangeComboPrice
Change combo price.
Public methodStatic memberChangeComboSize
Change combo size.
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 memberChangeDeliveryClientName
Change name of delivery client.
Public methodStatic memberChangeDeliveryComment
Change the order comment.
Public methodStatic memberChangeDeliveryConfirmTime
Changes delivery confirmation state and time.
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
Sets 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 memberChangeDeliveryExpectedDuration
Sets calculated delivery duration without overrided value on terminal.
Public methodStatic memberChangeDeliveryExternalCourierService
Changes external courier service for delivery.
Public methodStatic memberChangeDeliveryFixedRestrictions
Fixes delivery restrictions check result values, so that they could not be corrected in iikoFront from now on. Or unfixes them for iikoFront to reevaluate them later on.
Public methodStatic memberChangeDeliveryLastVerifiedRestrictionsHash
Sets calculated delivery restirictions hash.
Public methodStatic memberChangeDeliveryLocation
Changes delivery address location.
Public methodStatic memberChangeDeliveryMarketingSource
Assign/change order marketing source.
Public methodStatic memberChangeDeliveryMoveIds
Sets identifiers of:
the new delivery created to transfer current one to a new terminal.
the group of a new delivery created to transfer current one to a new terminal.
the old delivery, from which the current one was created after transferring to a new terminal.
the group of an old delivery, from which the current one was created after transferring to a new terminal.
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 memberChangeDeliveryZone
Sets matching the address calculated delivery zone name.
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
Bind or unbind iikoCard5 manual conditions for order.
Public methodStatic memberChangeOrderComment
Changes order comment.
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 memberChangeOrderExternalNumber
Sets order it's corresponding external number from an external system.
Public methodStatic memberChangeOrderIikoCard5Coupon
Bind or unbind order iikoCard5 coupon, used in iikoCard5 system.
Public methodStatic memberChangeOrderItemComment
Changes product order item's comment.
Public methodStatic memberChangeOrderItemMarkingCode
Changes the marking code of a product within an order item. Skip scanning of marking code option will be reset. Use SkipScanningOrderItemMarkingCode(IOperationService, IOrder, IOrderProductItem, ICredentials) to set this option.
Public methodStatic memberChangeOrderItemsCookingPlace
Changes cooking place for order cooking items.
Public methodStatic memberChangeOrderItemWaiter
Changes product order item's waiter.
Public methodStatic memberChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderCompoundItem, IOrderModifierItem, ICredentials, NullableInt32)
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, NullableInt32)
Changes the amount of the compound component modifier. User must have rights to edit orders.
Public methodStatic memberChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderProductItem, IOrderModifierItem, ICredentials, NullableInt32)
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 memberChangeReserveTables
Changes reserving tables.
Public methodStatic memberChangeSelectiveDiscount(IOperationService, IReadOnlyListValueTupleGuid, Decimal, IOrder, IDiscountType, ICredentials)
Change discount item selective application settings. For each item Id, the discount amount is set separately.
Public methodStatic memberChangeSelectiveDiscount(IOperationService, IOrder, IDiscountType, IReadOnlyListIOrderProductItem, IReadOnlyListIOrderModifierItem, IReadOnlyListIOrderCompoundItemComponent, ICredentials)
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 memberConvertToTableServiceOrder
Converts FastFood order to TableService order.
Public methodStatic memberCreateBanquet(IOperationService, DateTime, String, IClient, IOrder, ICredentials, Guid)
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, String, IClient, IReadOnlyListITable, ICredentials, Guid)
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 memberCreateClientWithOrganizationDetails
Creates new client. The client must have orgatizations details info.
Public methodStatic memberCreateReserve
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 memberDeleteExternalFiscalizedPaymentItem
Delete existing externally fiscalized payment item from order.
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 memberDeletePrintedOrderItemComment
Deletes product order item's comment.
Public methodStatic memberDeletePrintedOrderItems
Deletes order items 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 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 memberMarkOrderAsAdditional
Marks order as additional.
Public methodStatic memberMarkOrderAsTab
Marks the order as tab and assigns tab name.
Public methodStatic memberMoveOrderItemToAnotherGuest
Moves product item between guests of the same order.
Public methodStatic memberMoveOrderItemToAnotherOrder
Moves product item between orders.
Public methodStatic memberOverrideVatInclusionForOrder
Overrides default VAT inclusion settings for items of the specified order.
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 memberResetOderLastChangeTimeByWaiter
Reset order last change time by waiter time to now. User must have rights to edit orders.
Public methodStatic memberResetPriceCategory
Resets price category of the order.
Public methodStatic memberServeOrderCookingItem
Mark order item product as served.
Public methodStatic memberSetChequeAdditionalInfo
Sets cheque information to the order.
Public methodStatic memberSetCompoundItemComponentCustomName
Sets the custom name of the compound component. User must have rights to edit orders.
Public methodStatic memberSetDeliveryCloseTime
Changes delivery closing status and time.
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 memberSetDeliveryDelivered
Changes delivery status from OnWay to Delivere and sets current time as time when the order was actually delivered.
Public methodStatic memberSetDeliveryUndelivered
Returns the delivery from the Delivered status back to the OnWay status.
Public methodStatic memberSetOpenPrice
Changes order item open price.
Public methodStatic memberSetOrderHasFixedIikoCardDiscounts
Sets that the order has fixed iikoCard discounts.
Public methodStatic memberSetOrderModifierItemCustomName(IOperationService, String, IOrder, IOrderCompoundItem, IOrderModifierItem, ICredentials)
Sets the custom name of the compound item common modifier. User must have rights to edit orders.
Public methodStatic memberSetOrderModifierItemCustomName(IOperationService, String, IOrder, IOrderCompoundItemComponent, IOrderModifierItem, ICredentials)
Sets the custom name of the compound component modifier. User must have rights to edit orders.
Public methodStatic memberSetOrderModifierItemCustomName(IOperationService, String, IOrder, IOrderProductItem, IOrderModifierItem, ICredentials)
Sets the custom name of the product item modifier. User must have rights to edit orders.
Public methodStatic memberSetOrderType
Sets order type for order.
Public methodStatic memberSetProductItemCustomName
Sets the custom name of the product item. User must have rights to edit orders.
Public methodStatic memberSetServiceItemCustomName
Sets the custom name of the service item. User must have rights to edit orders.
Public methodStatic memberSetServiceItemPeriodCustomName
Sets the custom name of the service period. User must have rights to edit orders.
Public methodStatic memberSkipScanningOrderItemMarkingCode
Skips scanning marking code of a product within an order item. Marking code of order item will be reset to null. Use ChangeOrderItemMarkingCode(IOperationService, String, IOrder, IOrderProductItem, ICredentials) to reset this option.
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