IPaymentProcessorCollectData Method |
Perform data collect operation on payment item selected.
Namespace: Resto.Front.ApiAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntaxvoid CollectData(
Guid orderId,
Guid paymentTypeId,
IUser cashier,
IReceiptPrinter printer,
IViewManager viewManager,
IPaymentDataContext context
)
Parameters
- orderId Guid
- Order Id.
- paymentTypeId Guid
- Payment type Id.
- cashier IUser
- User handling payments and receipts.
- printer IReceiptPrinter
- IReceiptPrinterObject to perform print actions. Should not be used after method returns.
- viewManager IViewManager
- IViewManagerObject to show dialogs. Should not be used after method returns.
- context IPaymentDataContext
- IPaymentDataContextObject to work with plugin saved data in Syrve storage.
Exceptions
RemarksCalled when plug-in payment item is going to be added to the order.
See Also