Click or drag to resize

IPaymentProcessorReturnPaymentWithoutOrder Method

Perform return payment sum without iikoFront order.

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

Parameters

sum
Type: SystemDecimal
Sum to return.
orderId
Type: SystemNullableGuid
When returning products from a past order, this parameter contains id of that order. If returning products are not from a past order, but just arbitrary products selected by user, this parameter is null.
paymentTypeId
Type: SystemGuid
Payment type 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.
viewManager
Type: Resto.Front.Api.UIIViewManager
IViewManager object to show dialogs. Should not be used after method returns.
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