. namespace core_payment\privacy; interface paygw_provider { /** * Export all user data for the specified payment record, and the given context. * * @param \context $context Context * @param array $subcontext The location within the current context that the payment data belongs * @param \stdClass $payment The payment record */ public static function export_payment_data(\context $context, array $subcontext, \stdClass $payment); /** * Delete all user data related to the given payments. * * @param string $paymentsql SQL query that selects payment.id field for the payments * @param array $paymentparams Array of parameters for $paymentsql */ public static function delete_data_for_payment_sql(string $paymentsql, array $paymentparams); }