diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-03 23:13:51 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-03 23:13:51 +0200 |
commit | 8535f1e81939e87258ad9d2503ad25df9cfb021d (patch) | |
tree | 6a01388ace0fcd23f57eb3bf19ea7d756b8401b7 /src/include/taler_merchant_service.h | |
parent | 63960574154ca1615fb095a71b958ec5d00df4ae (diff) |
simplify POST /private/transfers implementation to match new situation with taler-merchant-exchange (incomplete)
Diffstat (limited to 'src/include/taler_merchant_service.h')
-rw-r--r-- | src/include/taler_merchant_service.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h index 1135cb38..15d83fce 100644 --- a/src/include/taler_merchant_service.h +++ b/src/include/taler_merchant_service.h @@ -2930,31 +2930,6 @@ TALER_MERCHANT_wallet_post_order_refund_cancel ( */ struct TALER_MERCHANT_PostTransfersHandle; -/** - * Information about the _total_ amount that was paid back - * by the exchange for a given h_contract_terms, by _one_ wire - * transfer. - */ -struct TALER_MERCHANT_TrackTransferDetail -{ - - /** - * Total amount paid back by the exchange. - */ - struct TALER_Amount deposit_value; - - /** - * Total amount of deposit fees. - */ - struct TALER_Amount deposit_fee; - - /** - * Order ID associated whit this payment. - */ - const char *order_id; - -}; - /** * @brief Response to a POST /transfers operation from a merchant's backend. @@ -2973,38 +2948,6 @@ struct TALER_MERCHANT_PostTransfersResponse { /** - * Details in case of success (#MHD_HTTP_OK). - */ - struct - { - - /** - * when did the transfer happen (according to the exchange) - */ - struct GNUNET_TIME_Timestamp execution_time; - - /** - * total amount of the wire transfer - */ - struct TALER_Amount total_amount; - - /** - * how much did the exchange charge in terms of wire fees - */ - struct TALER_Amount wire_fee; - - /** - * Length of the @e details array - */ - unsigned int details_length; - - /** - * array with details about the combined transactions - */ - const struct TALER_MERCHANT_TrackTransferDetail *details; - } success; - - /** * Details if we got an #MHD_HTTP_BAD_GATEWAY. */ struct |