Click or drag to resize

OrderExtensionsGetPayment Method

Returns payment by id from the specified order.

Namespace:  Resto.Front.Api.V4.Data.Orders
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax
C#
public static IPaymentItem GetPayment(
	this IOrder order,
	IOperationService operationService,
	Guid id
)

Parameters

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

Return Value

Type: IPaymentItem

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IOrder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also