Click or drag to resize

IOperationService.PayOrderAndPayOutOnUser Method

Pay order and pay out on user.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
void PayOrderAndPayOutOnUser(
	IOrder order,
	bool isPaymentLocal,
	IPaymentType paymentType,
	decimal sum,
	ICredentials credentials,
	ChequeAdditionalInfo chequeAdditionalInfo = null
)

Parameters

order
Type: Resto.Front.Api.Data.Orders.IOrder
Order to pay.
isPaymentLocal
Type: System.Boolean
Set true to pay order on local cash register, false to pay order on main terminal's cash register.
paymentType
Type: Resto.Front.Api.Data.Payments.IPaymentType
Payment type to pay. Should be “silent” payment type from GetPaymentTypesToPayOutOnUser()
sum
Type: System.Decimal
Sum to pay.
credentials
Type: Resto.Front.Api.Data.Security.ICredentials
The credentials returned by AuthenticateByPin(String) method.
chequeAdditionalInfo (Optional)
Type: Resto.Front.Api.Data.Payments.ChequeAdditionalInfo
Cheque additional info for russian fiscal payments according to federal law #54.
See Also