Click or drag to resize

IOperationServiceTryGetPaymentByOrder Method

Returns payment by id from the specified order or null if order doesn't exist or doesn't contain payment with that id.

Namespace:  Resto.Front.Api.V4
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax
C#
IPaymentItem TryGetPaymentByOrder(
	IOrder order,
	Guid id
)

Parameters

order
Type: Resto.Front.Api.V4.Data.OrdersIOrder
id
Type: SystemGuid

Return Value

Type: IPaymentItem
See Also