diff options
Diffstat (limited to 'src/include/taler_merchantdb_plugin.h')
-rw-r--r-- | src/include/taler_merchantdb_plugin.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h index 36f28094..97079680 100644 --- a/src/include/taler_merchantdb_plugin.h +++ b/src/include/taler_merchantdb_plugin.h | |||
@@ -1445,6 +1445,25 @@ struct TALER_MERCHANTDB_Plugin | |||
1445 | struct GNUNET_HashCode *h_contract_terms, | 1445 | struct GNUNET_HashCode *h_contract_terms, |
1446 | bool *paid); | 1446 | bool *paid); |
1447 | 1447 | ||
1448 | /** | ||
1449 | * Retrieve contract terms given its @a order_serial | ||
1450 | * | ||
1451 | * @param cls closure | ||
1452 | * @param instance_id instance's identifier | ||
1453 | * @param order_serial serial ID of the order to look up | ||
1454 | * @param[out] order_id set to ID of the order | ||
1455 | * @param[out] h_contract_terms set to the hash of the contract. | ||
1456 | * @param[out] paid set to the payment status of the contract | ||
1457 | * @return transaction status | ||
1458 | */ | ||
1459 | enum GNUNET_DB_QueryStatus | ||
1460 | (*lookup_order_status_by_serial)(void *cls, | ||
1461 | const char *instance_id, | ||
1462 | uint64_t order_serial, | ||
1463 | char **order_id, | ||
1464 | struct GNUNET_HashCode *h_contract_terms, | ||
1465 | bool *paid); | ||
1466 | |||
1448 | 1467 | ||
1449 | /** | 1468 | /** |
1450 | * Retrieve payment and wire status for a given @a order_serial and | 1469 | * Retrieve payment and wire status for a given @a order_serial and |