Click or drag to resize

CheckSplitRequiredResult Enumeration

Checking should you call SplitOrderBetweenCashRegisters(ICredentials, IOrder) or not.

Namespace:  Resto.Front.Api.Data.Orders
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
public enum CheckSplitRequiredResult
Members
  Member nameValueDescription
Disabled0 Not necessary to split order by calling SplitOrderBetweenCashRegisters(ICredentials, IOrder) before any payment actions.
Allowed1 You should ask user whether call SplitOrderBetweenCashRegisters(ICredentials, IOrder) or not before calling PayOrderAndPayOutOnUser(ICredentials, IOrder, IPaymentType, Decimal) and PayOrder(ICredentials, IOrder).
Required2 Necessary to split order by calling SplitOrderBetweenCashRegisters(ICredentials, IOrder) before any payment actions. If you won't do this, PayOrderAndPayOutOnUser(ICredentials, IOrder, IPaymentType, Decimal) and PayOrder(ICredentials, IOrder) will throw exception.
See Also