Click or drag to resize

IPaymentDataContext Interface

Helper to work with plugin saved data in iiko storage.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax
C#
public interface IPaymentDataContext

The IPaymentDataContext type exposes the following members.

Methods
  NameDescription
Public methodGetBankTransactionDetails
Returns previously saved structured bank transaction details or null.
Public methodGetCustomData
Method to get your custom data from iiko storage.
Public methodGetRollbackData
Method to get your data from iiko storage.
Public methodSetBankTransactionDetails
Saves structured bank transaction details for the current payment operation. The data is stored together with the payment item and can be used later during payment, refund and cancellation processing, and read at any time from the corresponding BankTransactionDetails.
Public methodSetCustomData
Method to set your custom data to store in iiko storage.
Public methodSetInfoForReports
Method to set card number and card type to display in iiko reports. Data will be saved on disk after successful payment.
Public methodSetRollbackData
Method to set your data to store in iiko storage. Data will be saved on disk after successful payment.
Top
Extension Methods
See Also