IExternalPaymentProcessorPay Method |
Perform payment operation.
Namespace:
Resto.Front.Api.V5
Assembly:
Resto.Front.Api.V5 (in Resto.Front.Api.V5.dll)
Syntax void Pay(
decimal sum,
Guid? orderId,
Guid paymentTypeId,
Guid transactionId,
IPointOfSale pointOfSale,
IUser cashier,
IReceiptPrinter printer,
IViewManager viewManager,
IPaymentDataContext context,
IProgressBar progressBar
)
Parameters
- sum
- Type: SystemDecimal
Sum to pay. - orderId
- Type: SystemNullableGuid
Order Id. - paymentTypeId
- Type: SystemGuid
Payment type Id. - transactionId
- Type: SystemGuid
Transaction Id. - pointOfSale
- Type: Resto.Front.Api.V5.Data.OrganizationIPointOfSale
Point of sale. - cashier
- Type: Resto.Front.Api.V5.Data.SecurityIUser
User handling payments and receipts. - printer
- Type: Resto.Front.Api.V5IReceiptPrinter
IReceiptPrinter object to perform print actions. Should not be used after method returns. - viewManager
- Type: Resto.Front.Api.V5.UIIViewManager
IViewManager object to show dialogs. Should not be used after method returns. - context
- Type: Resto.Front.Api.V5IPaymentDataContext
IPaymentDataContext object to work with plugin saved data in iiko storage. - progressBar
- Type: Resto.Front.Api.V5.UIIProgressBar
Object, that provides communication with progress bar.
Exceptions See Also