Click or drag to resize

IPaymentDataContext Interface

Helper to work with plugin saved data in Syrve 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 Syrve storage.
Public methodGetRollbackData Method to get your data from Syrve 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 Syrve storage.
Public methodSetInfoForReports Method to set card number and card type to display in Syrve reports. Data will be saved on disk after successful payment.
Public methodSetRollbackData Method to set your data to store in Syrve storage. Data will be saved on disk after successful payment.
Top
Extension Methods
 NameDescription
Public Extension MethodGetCustomDataT Method to get your custom data from Syrve storage.
(Defined by PaymentDataContextExtensions)
Public Extension MethodGetRollbackDataT Method to get your rollback data from Syrve storage.
(Defined by PaymentDataContextExtensions)
Public Extension MethodSetCustomDataT Method to set your custom data to store in Syrve storage.
(Defined by PaymentDataContextExtensions)
Public Extension MethodSetRollbackDataT Method to set your rollback data to store in Syrve storage. Data will be saved on disk after successful payment.
(Defined by PaymentDataContextExtensions)
Top
See Also