Click or drag to resize

PaymentDataContextExtensionsGetRollbackDataT Method

Method to get your rollback data from iiko storage.

Namespace:  Resto.Front.Api.Extensions
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
public static T GetRollbackData<T>(
	this IPaymentDataContext context
)
where T : class

Parameters

context
Type: Resto.Front.ApiIPaymentDataContext
Payment data context.

Type Parameters

T
Should be SerializableAttribute public class.

Return Value

Type: T
Rollback data that you previosly stored.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IPaymentDataContext. 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