IPaymentProcessorPay Method |
Perform payment operation.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntaxvoid Pay(
decimal sum,
IOrder order,
IPaymentItem paymentItem,
Guid transactionId,
IPointOfSale pointOfSale,
IUser cashier,
IOperationService operationService,
IReceiptPrinter printer,
IViewManager viewManager,
IPaymentDataContext context
)
Parameters
- sum Decimal
- Sum to pay.
- order IOrder
- Order.
- paymentItem IPaymentItem
- Payment item.
- transactionId Guid
- Transaction Id.
- pointOfSale IPointOfSale
- Point of sale.
- cashier IUser
- User handling payments and receipts.
- operationService IOperationService
- Allows to edit entities within this method. Should not be used after method returns.
- printer IReceiptPrinter
- IReceiptPrinter object to perform print actions. Should not be used after method returns.
- viewManager IViewManager
- IViewManager object to show dialogs. Should not be used after method returns.
- context IPaymentDataContext
- IPaymentDataContext object to work with plugin saved data in Syrve storage.
Exceptions
See Also