Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core_payment\privacy\paygw_provider Interface Reference
Inheritance diagram for core_payment\privacy\paygw_provider:

Static Public Member Functions

static delete_data_for_payment_sql (string $paymentsql, array $paymentparams)
 Delete all user data related to the given payments.
 
static export_payment_data (\context $context, array $subcontext, stdClass $payment)
 Export all user data for the specified payment record, and the given context.
 

Member Function Documentation

◆ delete_data_for_payment_sql()

static core_payment\privacy\paygw_provider::delete_data_for_payment_sql ( string $paymentsql,
array $paymentparams )
static

Delete all user data related to the given payments.

Parameters
string$paymentsqlSQL query that selects payment.id field for the payments
array$paymentparamsArray of parameters for $paymentsql

Implemented in paygw_paypal\privacy\provider.

◆ export_payment_data()

static core_payment\privacy\paygw_provider::export_payment_data ( \context $context,
array $subcontext,
stdClass $payment )
static

Export all user data for the specified payment record, and the given context.

Parameters
context$contextContext
array$subcontextThe location within the current context that the payment data belongs
stdClass$paymentThe payment record

Implemented in paygw_paypal\privacy\provider.


The documentation for this interface was generated from the following file: