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.V7 (in Resto.Front.Api.V7.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, ChequeAdditionalInfo) and PayOrder(ICredentials, IOrder, ChequeAdditionalInfo).
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, ChequeAdditionalInfo) and PayOrder(ICredentials, IOrder, ChequeAdditionalInfo) will throw exception.
See Also