Click or drag to resize

IPaymentProcessorEmergencyCancelPaymentSilently Method

Perform silent emergency cancel payment operation.

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

Parameters

sum
Type: SystemDecimal
Sum to return.
orderId
Type: SystemNullableGuid
Order Id.
paymentTypeId
Type: SystemGuid
Payment type Id.
transactionId
Type: SystemGuid
Transaction Id.
pointOfSale
Type: Resto.Front.Api.Data.OrganizationIPointOfSale
Point of sale.
cashier
Type: Resto.Front.Api.Data.SecurityIUser
User handling payments and receipts.
printer
Type: Resto.Front.ApiIReceiptPrinter
IReceiptPrinter object to perform print actions. Should not be used after method returns.
context
Type: Resto.Front.ApiIPaymentDataContext
IPaymentDataContext object to work with plugin saved data in iiko 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