merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 8bfff6a639641ca82ee7e983aea4193e4e85823c
parent 99307c1e59583261947c8eee137c8c8bcf36e28d
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Mon, 19 Jun 2017 16:26:13 +0200

defining /refund testcases data structs

Diffstat:
Msrc/lib/test_merchant_api.c | 30++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+), 0 deletions(-)

diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c @@ -609,7 +609,37 @@ struct Command } history; + struct { + /** + * Reference to the order we want reimbursed + */ + char *order_id; + + /** + * Handle to a refund increase operation + */ + struct TALER_MERCHANT_RefundIncreaseOperation *rio; + + /** + * Amount to refund + */ + const char *refund_amount; + + } refund_increase; + + struct { + + /** + * Reference to the order whose refund was increased + */ + char *order_id; + + /** + * Handle to the operation + */ + struct TALER_MERCHANT_RefundLookupOperation *rlo; + } refund_lookup; } details;