Click or drag to resize

IOperationServicePayOrderAndPayOutOnUser Method

Pay order and pay out on user.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.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.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.
paymentType
Type: Resto.Front.Api.Data.PaymentsIPaymentType
Payment type to pay. Should be “silent” payment type from GetPaymentTypesToPayOutOnUser
sum
Type: SystemDecimal
Sum to pay.
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.
See Also