Click or drag to resize

IOperationServicePayOrder Method

Pay order with included processed or “silent” payment items.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
void PayOrder(
	IOrder order,
	bool isPaymentLocal,
	ICredentials credentials,
	ChequeAdditionalInfo chequeAdditionalInfo = null
)

Parameters

order
Type: Resto.Front.Api.Data.OrdersIOrder
Order to pay.
isPaymentLocal
Type: SystemBoolean
Set true to pay order on local cash register, false to pay order on main terminal's cash register.
credentials
Type: Resto.Front.Api.Data.SecurityICredentials
The credentials returned by AuthenticateByPin(String) method.
chequeAdditionalInfo (Optional)
Type: Resto.Front.Api.Data.PaymentsChequeAdditionalInfo
Cheque additional info for russian fiscal payments according to federal law #54.
Exceptions
ExceptionCondition
BeforeProceedOrderPaymentOperationExceptionINotificationService.BeforeProceedOrderPayment failed.
See Also