Click or drag to resize

IOperationServiceCancelNewDelivery Method

Cancels new delivery.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
void CancelNewDelivery(
	IDeliveryOrder delivery,
	IDeliveryCancelCause cancelCause,
	string cancelComment,
	ICredentials credentials
)

Parameters

delivery
Type: Resto.Front.Api.Data.OrdersIDeliveryOrder
Delivery to cancel
cancelCause
Type: Resto.Front.Api.Data.BrdIDeliveryCancelCause
Cause of cancelling delivery
cancelComment
Type: SystemString
Comment to the delivery cancellation.
credentials
Type: Resto.Front.Api.Data.SecurityICredentials
The credentials returned by AuthenticateByPin(String) method.
See Also