Click or drag to resize

IOperationServiceDeleteDonation Method

Deletes existing donation from the order.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
void DeleteDonation(
	IOrder order,
	IPaymentItem paymentItem,
	ICredentials credentials
)

Parameters

order
Type: Resto.Front.Api.Data.OrdersIOrder
Order whose donation will be deleted.
paymentItem
Type: Resto.Front.Api.Data.PaymentsIPaymentItem
Donation to be deleted from the order.
credentials
Type: Resto.Front.Api.Data.SecurityICredentials
The credentials returned by AuthenticateByPin(String) method.
See Also