pub fn parse_get_txn_fees_response_timeout(payment_method: &str, resp_json: &str, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

        let err = Payment::_parse_get_txn_fees_response(command_handle, payment_method, resp_json, cb);

        ResultHandler::one_timeout(err, receiver, timeout)
    }
/// Parses response for Indy request for getting fees
///
/// # Arguments
/// * `command_handle` 
/// * `payment_method` 
/// * `resp_json` - response for Indy request for getting fees
/// * `timeout` - the maximum time this function waits for a response
///
/// # Returns
/// * `fees_json`  {
///   txnType1: amount1,
///   txnType2: amount2,
///   .................
///   txnTypeN: amountN,
/// }
Parses response for Indy request for getting fees
Parses response for Indy request for getting fees
pub fn parse_get_txn_fees_response_timeout(payment_method: &str, resp_json: &str, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
        let err = Payment::_parse_get_txn_fees_response(command_handle, payment_method, resp_json, cb);
        ResultHandler::one_timeout(err, receiver, timeout)
    }
pub fn parse_get_txn_fees_response_timeout ( payment_method : & str , resp_json : & str , timeout : Duration ) -> Result < String , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = Payment :: _parse_get_txn_fees_response ( command_handle , payment_method , resp_json , cb ) ; ResultHandler :: one_timeout ( err , receiver , timeout ) }
Parses response for Indy request for getting fees
Parses response for Indy request for getting fees
`fees_json`  {
txnType1: amount1,
txnType2: amount2,

txnTypeN: amountN,
}
` fees_json ` { txnType1 : amount1 txnType2 : amount2 txnTypeN : amountN }
payment_method
&str
resp_json
&str
timeout
Duration