Click or drag to resize

IEditSessionApplyAgeClaimResults Method

Records the age verification of the guest in the order. A new result replaces the old result for the same threshold and removes the old results it contradicts, other results stay. To replace all decisions after checking another document, call ResetAgeClaimResults(IOrderStub) first in the same session. Use GetOrderAgeClaims(IOrder) to get the thresholds required by the order.

Namespace: Resto.Front.Api.Editors
Assembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
void ApplyAgeClaimResults(
	IReadOnlyList<AgeClaimResult> results,
	IOrderStub order
)

Parameters

results  IReadOnlyListAgeClaimResult
Age decisions to record: at most one result per threshold, age years from 1 to 99, a met threshold cannot cover a not met one.
order  IOrderStub
Open order to record the age verification of the guest.
See Also