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 Extension MethodAddCardLoyaltyDiscountsAdds discounts grouped by order items.
Public Extension MethodAddDeliveryAutoAdditionAdds some items according to the product auto-addition settings.
Public Extension MethodAddDiscountAdds simple discount of known type to existing order. User must have rights to work with discounts.
Public Extension MethodAddDiscountByCardNumberAdd discount by card number.
Public Extension MethodAddExternalFiscalizedPaymentItem(IOperationService, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials, IAdditionalCurrency, IOrderGuestItem)Add new externally fiscalized payment item to order.
Public Extension MethodAddExternalFiscalizedPaymentItem(IOperationService, Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials, IAdditionalCurrency, IOrderGuestItem)Add new external fiscalized payment item to order.
Public Extension MethodAddExternalPaymentItem(IOperationService, Decimal, Boolean, IPaymentItemAdditionalData, OrganizationDetailsInfo, IPaymentType, IOrder, ICredentials, IAdditionalCurrency, IOrderGuestItem)Add new external payment item to order.
Public Extension MethodAddExternalPaymentItem(IOperationService, Guid, Decimal, Boolean, IPaymentItemAdditionalData, OrganizationDetailsInfo, IPaymentType, IOrder, ICredentials, IAdditionalCurrency, IOrderGuestItem)Add new external payment item to order.
Public Extension MethodAddFlexibleSumDiscountAdds simple discount of known type to existing order. User must have rights to work with discounts.
Public Extension MethodAddFlexibleSumDiscountByCardNumberAdd discount by card number.
Public Extension MethodAddIdentifierCodesToModifierItemUnitAdds identifier codes for one product unit within a modifier item.
Public Extension MethodAddIdentifierCodesToOrderItemUnitAdds identifier codes for one product unit within an order item.
Public Extension MethodAddOrderComboCreate order combo item. Order must contain new combo items.
Public Extension MethodAddOrderExternalDataAdds 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 Extension MethodAddOrderGuest(IOperationService, String, IOrder, ICredentials)Adds new guest to existing order. User must have rights to edit orders.
Public Extension MethodAddOrderGuest(IOperationService, Guid, String, IOrder, ICredentials)Adds new guest with the given ID to existing order. User must have rights to edit orders.
Public Extension MethodAddOrderModifierItem(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 Extension MethodAddOrderModifierItem(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 Extension MethodAddOrderModifierItem(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 Extension MethodAddOrderModifierItem(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 Extension MethodAddOrderModifierItem(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 Extension MethodAddOrderModifierItem(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 Extension MethodAddOrderProductItem(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 Extension MethodAddOrderProductItem(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 Extension MethodAddOrderServiceItemAdds time pay service item to the guest in existing order. User must have permission to edit orders.
Public Extension MethodAddOrUpdateModifierForPrintedItemAdds order item modifier for product which is already printed. User must have rights to edit orders.
Public Extension MethodAddPaymentItem(IOperationService, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials, IAdditionalCurrency, IOrderGuestItem)Add new payment item to order.
Public Extension MethodAddPaymentItem(IOperationService, Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IOrder, ICredentials, IAdditionalCurrency, IOrderGuestItem)Add new payment item to order.
Public Extension MethodAddPreliminaryPaymentItem(IOperationService, Decimal, IPaymentItemAdditionalData, IPaymentType, IDeliveryOrder, ICredentials, IOrderGuestItem)Add new preliminary payment item to order.
Public Extension MethodAddPreliminaryPaymentItem(IOperationService, Guid, Decimal, IPaymentItemAdditionalData, IPaymentType, IDeliveryOrder, ICredentials, IOrderGuestItem)Add new preliminary payment item to order.
Public Extension MethodBindReserveToOrderConverts exising reserve or banquet without order to banquet with order.
Public Extension MethodChangeClientAddressesChanges client addresses.
Public Extension MethodChangeClientBirthDateChanges client's birth date.
Public Extension MethodChangeClientBlacklistInfoChanges client blacklist info.
Public Extension MethodChangeClientCardNumberChanges client card number.
Public Extension MethodChangeClientCommentChanges client comment.
Public Extension MethodChangeClientConsentDatesChanges client's dates of consent.
Public Extension MethodChangeClientEmailsChanges client emails list.
Public Extension MethodChangeClientGenderChange client's gender.
Public Extension MethodChangeClientIikoBizIdChanges client's account in Syrve.biz.
Public Extension MethodChangeClientLastOrderDateChanges client's last order date.
Public Extension MethodChangeClientLinkedCounteragentChanges client linked counter agent.
Public Extension MethodChangeClientMainAddressIndexChanges client main address index.
Public Extension MethodChangeClientMarketingSourceChanges client marketing source.
Public Extension MethodChangeClientNameChanges client name.
Public Extension MethodChangeClientNickChanges client nickname.
Public Extension MethodChangeClientOrganizationDetailsInfoChanges organization details information of client.
Public Extension MethodChangeClientPersonalDataConsentChanges whether client consented processing their personal data.
Public Extension MethodChangeClientPersonalDataProcessingDatesChanges dates of the time interval which allows client's legal personal data processing without thier consent.
Public Extension MethodChangeClientPhonesChanges client phones list.
Public Extension MethodChangeClientReceivesLoyaltySystemNotificationsChanges whether client receives loyalty system notification messages.
Public Extension MethodChangeClientReceivesOrderStatusNotificationsChanges whether client receives order status notification messages.
Public Extension MethodChangeClientReceivesPromotionalNotificationsChanges whether client receives promotional notification messages.
Public Extension MethodChangeClientSurnameChanges client surname.
Public Extension MethodChangeComboAmountChange combo amount.
Public Extension MethodChangeComboPriceChange combo price.
Public Extension MethodChangeComboSizeChange combo size.
Public Extension MethodChangeCookingPriorityChanges custom cooking priority and top priority flag.
Public Extension MethodChangeDeliveryActualDeliverTimeChange time when the order was actually delivered.
Public Extension MethodChangeDeliveryAddressChanges address of delivery
Public Extension MethodChangeDeliveryClientNameChange name of delivery client.
Public Extension MethodChangeDeliveryCommentChange the order comment.
Public Extension MethodChangeDeliveryConfirmTimeChanges delivery confirmation state and time.
Public Extension MethodChangeDeliveryCourierAssign/Change the order courier. Can use this action only before the order is to be delivered.
Public Extension MethodChangeDeliveryCustomApiDataChange the delivery custom data from api.
Public Extension MethodChangeDeliveryDurationSets duration of delivery processing.
Public Extension MethodChangeDeliveryEmailChange the order e-mail.
Public Extension MethodChangeDeliveryEstimatedTimeOfArrivalChange estimated time of arrival of the order. Can change property only for Unconfirmed, New, Waiting or OnWay delivery.
Public Extension MethodChangeDeliveryExpectedDeliverTimeChange time when client wants the order to be delivered.
Public Extension MethodChangeDeliveryExpectedDurationSets calculated delivery duration without overrided value on terminal.
Public Extension MethodChangeDeliveryExternalCourierServiceChanges external courier service for delivery.
Public Extension MethodChangeDeliveryFixedRestrictionsFixes delivery restrictions check result values, so that they could not be corrected in Syrve POS from now on. Or unfixes them for Syrve POS to reevaluate them later on.
Public Extension MethodChangeDeliveryLastVerifiedRestrictionsHashSets calculated delivery restirictions hash.
Public Extension MethodChangeDeliveryLocationChanges delivery address location.
Public Extension MethodChangeDeliveryMarketingSourceAssign/change order marketing source.
Public Extension MethodChangeDeliveryMoveIdsSets 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 Extension MethodChangeDeliveryOperatorAssign/change the order operator.
Public Extension MethodChangeDeliveryOrderPredictedCookingCompleteTimeChange predicted time when the order cooking should be completed. Can change property only for Unconfirmed, New or Waiting delivery.
Public Extension MethodChangeDeliveryPhoneChanges the order phone.
Public Extension MethodChangeDeliveryPredictedDeliveryTimeChange predicted time when the order should be delivered. Can change property only for Unconfirmed, New or Waiting delivery.
Public Extension MethodChangeDeliveryProblemCommentChange the order problem comment.
Public Extension MethodChangeDeliveryProblemStatusChange the order problem status.
Public Extension MethodChangeDeliverySplitBetweenPersonsChanges the order property if it should be splitted between persons.
Public Extension MethodChangeDeliveryZoneSets matching the address calculated delivery zone name.
Public Extension MethodChangeEstimatedOrderGuestsCountChanges estimated order guests count. Use this method to set estimated guests count when guests collection doesn't reflect actual state of affairs.
Public Extension MethodChangeExternalPaymentItemCustomDataChanges custom data of existing external payment item.
Public Extension MethodChangeModifierItemVerificationResultSets the verification result for an identifier code in a modifier item.
Public Extension MethodChangeOrderAppliedIikoCard5ManualConditionsBind or unbind Syrve Loyalty (legacy) manual conditions for order.
Public Extension MethodChangeOrderCommentChanges order comment.
Public Extension MethodChangeOrderCookingItemAmountChanges the amount of the assortment position in existing order. User must have rights to edit orders.
Public Extension MethodChangeOrderCookingItemCourseChanges the course of the order item.
Public Extension MethodChangeOrderCookingItemSizeChanges the product size of the order item.
Public Extension MethodChangeOrderExternalNumberSets order it's corresponding external number from an external system.
Public Extension MethodChangeOrderIikoCard5CouponsBind or unbind order Syrve Loyalty (legacy) coupons, used in Syrve Loyalty (legacy) system.
Public Extension MethodChangeOrderItemCommentChanges product order item's comment.
Public Extension MethodChangeOrderItemMarkingCodeChanges 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 Extension MethodChangeOrderItemsCookingPlaceChanges cooking place for order cooking items.
Public Extension MethodChangeOrderItemVerificationResultSets the verification result for an identifier code in an order item.
Public Extension MethodChangeOrderItemWaiterChanges product order item's waiter.
Public Extension MethodChangeOrderLoyaltyDynamicDiscountsChange Syrve Loyalty (legacy) dynamic discounts for order.
Public Extension MethodChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderCompoundItem, IOrderModifierItem, ICredentials, NullableInt32)Changes the amount of the compound item common modifier. User must have rights to edit orders.
Public Extension MethodChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderCompoundItemComponent, IOrderModifierItem, ICredentials, NullableInt32)Changes the amount of the compound component modifier. User must have rights to edit orders.
Public Extension MethodChangeOrderModifierItemAmount(IOperationService, Int32, IOrder, IOrderProductItem, IOrderModifierItem, ICredentials, NullableInt32)Changes the amount of the product item modifier. User must have rights to edit orders.
Public Extension MethodChangeOrderModifierItemMarkingCodeChanges the marking code of a modifier within an order item. Skip scanning of marking code option will be reset. Use SkipScanningOrderItemMarkingCode(IOperationService, IOrder, IOrderProductItem, ICredentials) to set this option.
Public Extension MethodChangeOrderOriginNameSets 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 Extension MethodChangeOrderPricingTimeChange order pricing time, which determines the price of products. By default time taken from items print time.
Public Extension MethodChangeOrderTablesChanges tables of the order.
Public Extension MethodChangeOrderWaiterChanges order's waiter.
Public Extension MethodChangePaymentItemCustomDataChanges custom data of existing payment item.
Public Extension MethodChangePaymentItemSumChanges sum of existing payment item.
Public Extension MethodChangePreliminaryPaymentItemCustomDataChanges custom data of existing preliminary payment item.
Public Extension MethodChangePreliminaryPaymentItemSumChanges sum of existing preliminary payment item.
Public Extension MethodChangePriceCategoryChanges price category of the order.
Public Extension MethodChangeReserveCommentChanges reserve comment. Use empty string to clear comment.
Public Extension MethodChangeReserveDurationChanges estimated reserve duration (amount of time betwen visit's start and end). Default reserve duration is 2 hours, banquet duration is 3 hours.
Public Extension MethodChangeReserveEstimatedStartTimeChanges estimated reserve start time.
Public Extension MethodChangeReserveGuestsCountChanges estimated guests count for reserve. Default value is 2.
Public Extension MethodChangeReserveReminderChanges reserve reminder flag.
Public Extension MethodChangeReserveTablesChanges reserving tables.
Public Extension MethodChangeSelectiveDiscount(IOperationService, IReadOnlyListValueTupleGuid, Decimal, IOrder, IDiscountType, ICredentials)Change discount item selective application settings. For each item Id, the discount amount is set separately.
Public Extension MethodChangeSelectiveDiscount(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 Extension MethodChangeStreetNameChanges street's name.
Public Extension MethodConvertToTableServiceOrderConverts FastFood order to TableService order.
Public Extension MethodCreateBanquet(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 Extension MethodCreateBanquet(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 Extension MethodCreateClientCreates new client. The client must have a card number or at least one phone number.
Public Extension MethodCreateClientWithOrganizationDetailsCreates new client. The client must have orgatizations details info.
Public Extension MethodCreateReserveCreates reservation for planned visit in future. Table will be marked as reserved to prevent collision with other guests at the same time.
Public Extension MethodCreateStreet(IOperationService, String, ICredentials)Creates new street.
Public Extension MethodCreateStreet(IOperationService, Guid, String, ICity, ICredentials)Creates new street.
Public Extension MethodDecreasePrintedComboAmountDecrease combo with printed items amount. All redundant copies of items will be deleted according to writeoffOptions.
Public Extension MethodDeleteDiscountRemoves discount of known type from existing order. User must have rights to work with discounts.
Public Extension MethodDeleteExternalFiscalizedPaymentItemDelete existing externally fiscalized payment item from order.
Public Extension MethodDeleteExternalPaymentItemDelete existing external payment item from order.
Public Extension MethodDeleteModifierItemIdentifierCodesDeletes multiple identifier codes from a modifier item by their unique IDs.
Public Extension MethodDeleteOrderComboDelete order combo item.
Public Extension MethodDeleteOrderExternalDataDeletes external data from the order.
Public Extension MethodDeleteOrderGuestDeletes guest without any products from order.
Public Extension MethodDeleteOrderItemDeletes order item from order that represents the assortment position. User must have rights to edit orders.
Public Extension MethodDeleteOrderItemCommentDeletes product order item's comment.
Public Extension MethodDeleteOrderItemIdentifierCodesDeletes multiple identifier codes from an order item by their unique IDs.
Public Extension MethodDeleteOrderModifierItem(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 Extension MethodDeleteOrderModifierItem(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 Extension MethodDeleteOrderModifierItem(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 Extension MethodDeleteOrRestoreStreetDeletes street.
Public Extension MethodDeletePaymentItemDelete existing payment item from order.
Public Extension MethodDeletePreliminaryPaymentItemDelete existing preliminary payment item from order.
Public Extension MethodDeletePrintedOrderItemCommentDeletes product order item's comment.
Public Extension MethodDeletePrintedOrderItemsDeletes order items that is already printed. User must have rights to edit orders.
Public Extension MethodDeletePrintedOrderModifierItemDeletes order item modifier that is already printed. User must have rights to edit orders.
Public Extension MethodGroupOrderCookingItemsCombines 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 Extension MethodMarkOrderAsAdditionalMarks order as additional.
Public Extension MethodMarkOrderAsTabMarks the order as tab and assigns tab name.
Public Extension MethodMoveOrderItemToAnotherGuestMoves product item between guests of the same order.
Public Extension MethodMoveOrderItemToAnotherOrderMoves product item between orders.
Public Extension MethodOverrideVatInclusionForOrderOverrides default VAT inclusion settings for items of the specified order.
Public Extension MethodRenameOrderGuestRenames order's guest.
Public Extension MethodReopenReserveReopens previously closed or canceled reserve.
Public Extension MethodResetIsPrintedDeliveryBillActualResets 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 Extension MethodResetOderLastChangeTimeByWaiterReset order last change time by waiter time to now. User must have rights to edit orders.
Public Extension MethodResetPriceCategoryResets price category of the order.
Public Extension MethodServeOrderCookingItemMark order item product as served.
Public Extension MethodSetChequeAdditionalInfoSets cheque information to the order.
Public Extension MethodSetCompoundItemComponentCustomNameSets the custom name of the compound component. User must have rights to edit orders.
Public Extension MethodSetDeliveryCloseTimeChanges delivery closing status and time.
Public Extension MethodSetDeliveryCustomerAuthorizedInIikoBizChanges whether the client is already authorized in Syrve.biz. WARNING: use with caution! Illegal value can lead to unsuccessful Syrve.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 Syrve.biz; that will cause Syrve.biz payment failure.
Public Extension MethodSetDeliveryDeliveredChanges delivery status from OnWay to Delivere and sets current time as time when the order was actually delivered.
Public Extension MethodSetDeliveryUndeliveredReturns the delivery from the Delivered status back to the OnWay status.
Public Extension MethodSetOpenPriceChanges order item open price.
Public Extension MethodSetOrderHasFixedIikoCardDiscountsSets that the order has fixed Syrve Loyalty (legacy) discounts.
Public Extension MethodSetOrderModifierItemCustomName(IOperationService, String, IOrder, IOrderCompoundItem, IOrderModifierItem, ICredentials)Sets the custom name of the compound item common modifier. User must have rights to edit orders.
Public Extension MethodSetOrderModifierItemCustomName(IOperationService, String, IOrder, IOrderCompoundItemComponent, IOrderModifierItem, ICredentials)Sets the custom name of the compound component modifier. User must have rights to edit orders.
Public Extension MethodSetOrderModifierItemCustomName(IOperationService, String, IOrder, IOrderProductItem, IOrderModifierItem, ICredentials)Sets the custom name of the product item modifier. User must have rights to edit orders.
Public Extension MethodSetOrderTypeSets order type for order.
Public Extension MethodSetProductItemCustomNameSets the custom name of the product item. User must have rights to edit orders.
Public Extension MethodSetServiceItemCustomNameSets the custom name of the service item. User must have rights to edit orders.
Public Extension MethodSetServiceItemPeriodCustomNameSets the custom name of the service period. User must have rights to edit orders.
Public Extension MethodSkipScanningOrderItemMarkingCodeSkips 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 Extension MethodSplitOrderCookingItemCut off specified amount from product to new one.
Public Extension MethodStartBanquetTransits banquet to the started status.
Public Extension MethodUngroupOrderCookingItemsSeparates the order item products from mix group so that they will be cooked independently.
Public Extension MethodUnserveOrderCookingItemMark order item product as unserved.
Public Extension MethodUpdateOrderComboItemsUpdate existing order combo items. Order must contain new combo items.
Top
See Also