iikoFront Api V7 Code Reference
iikoFront Api V7 Code Reference
Resto.Front.Api
IPaymentDataContext Interface
IPaymentDataContext Methods

# IPaymentDataContext Interface

Helper to work with plugin saved data in iiko storage.

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V7 (in Resto.Front.Api.V7.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    public interface IPaymentDataContext

The IPaymentDataContext type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| GetCustomData | Method to get your custom data from iiko storage.
| GetRollbackData | Method to get your data from iiko storage.
| SetCustomData | Method to set your custom data to store in iiko storage.
| SetInfoForReports | Method to set card number and card type to display in iiko reports. Data will be saved on disk after successful payment.
| SetRollbackData | Method to set your data to store in iiko storage. Data will be saved on disk after successful payment.

Top
Extension Methods

| Name | Description
--- | --- | ---
| GetCustomData T | Method to get your custom data from iiko storage. (Defined by PaymentDataContextExtensions.)
| GetRollbackData T | Method to get your rollback data from iiko storage. (Defined by PaymentDataContextExtensions.)
| SetCustomData T | Method to set your custom data to store in iiko storage. (Defined by PaymentDataContextExtensions.)
| SetRollbackData T | Method to set your rollback data to store in iiko storage. Data will be saved on disk after successful payment. (Defined by PaymentDataContextExtensions.)

Top
See Also

#### Reference

Resto.Front.Api Namespace