diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-10 15:53:35 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-10 15:53:35 +0200 |
commit | dd9837ff8b5f5beb45c9eda24ecf4ec64cc85317 (patch) | |
tree | d96980f11304ac05c12580b149998ffcf4b8b93f /src/include | |
parent | 1d81c99dca374bcdcac71e6bcb4cda93b2b58285 (diff) | |
download | exchange-dd9837ff8b5f5beb45c9eda24ecf4ec64cc85317.tar.xz |
Put logic to delete KYC events for merchant
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index c0fcdaeef..60d1221aa 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -2340,6 +2340,22 @@ struct TALER_EXCHANGEDB_Plugin struct TALER_EXCHANGEDB_Session *session, uint64_t merchant_serial_id, struct TALER_Amount *amount); + + /** + * Delete wire transfer records related to a particular merchant. + * This method would be called by the logic once that merchant + * gets successfully KYC checked. + * + * @param cls closure + * @param session DB session + * @param merchant_serial_id serial id of the merchant whose + * KYC records have to be deleted. + * @return DB transaction status. + */ + enum GNUNET_DB_QueryStatus + (*clean_kyc_events)(void *cls, + struct TALER_EXCHANGEDB_Session *session, + uint64_t merchant_serial_id); }; #endif /* _TALER_EXCHANGE_DB_H */ |