Click or drag to resize

IOperationServiceDeleteDonation Method

Deletes existing donation from the order.

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

Parameters

credentials
Type: Resto.Front.Api.Data.SecurityICredentials
The credentials returned by AuthenticateByPin(String) method.
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.
See Also