iikoFront Api V5 Code Reference
iikoFront Api V5 Code Reference
Resto.Front.Api.V5.Extensions
PaymentDataContextExtensions Class
PaymentDataContextExtensions Methods
GetCustomData(T) Method
GetRollbackData(T) Method
SetCustomData(T) Method
SetRollbackData(T) Method
PaymentDataContextExtensions
GetCustomData
T
Method
Method to get your custom data from iiko storage.
Namespace:
Resto.Front.Api.V5.Extensions
Assembly:
Resto.Front.Api.V5 (in Resto.Front.Api.V5.dll)
Syntax
C#
Copy
public
static
T
GetCustomData
<T>(
this
IPaymentDataContext
context
)
where
T :
class
Parameters
context
Type:
Resto.Front.Api.V5
IPaymentDataContext
Payment data context.
Type Parameters
T
Should be
SerializableAttribute
public class.
Return Value
Type:
T
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
Reference
PaymentDataContextExtensions Class
Resto.Front.Api.V5.Extensions Namespace