Click or drag to resize

IPaymentProcessorEmergencyCancelPayment Method

Perform emergency cancel payment operation.

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
void EmergencyCancelPayment(
	decimal sum,
	Guid? orderId,
	Guid paymentTypeId,
	Guid transactionId,
	IPointOfSale pointOfSale,
	IUser cashier,
	IReceiptPrinter printer,
	IViewManager viewManager,
	IPaymentDataContext context
)

Parameters

sum  Decimal
Sum to return.
orderId  NullableGuid
Order Id.
paymentTypeId  Guid
Payment type Id.
transactionId  Guid
Transaction Id.
pointOfSale  IPointOfSale
Point of sale.
cashier  IUser
User handling payments and receipts.
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
ExceptionCondition
PaymentActionCancelledExceptionException to notify that payment actions was cancelled with no message shown.
PaymentActionFailedExceptionException to notify that cancel payment actions was not successful.
See Also