pub fn build_payment_req(wallet_handle: IndyHandle, submitter_did: &str, inputs: &str, outputs: &str, extra: Option<&str>) -> Result<(String, String), ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string_string();
        
        let err = Payment::_build_payment_req(command_handle, wallet_handle, submitter_did, inputs, outputs, extra, cb);

        ResultHandler::two(err, receiver)
    }
/// Builds Indy request for doing tokens payment
/// according to this payment method.
///
/// This method consumes set of UTXO inputs and outputs.
///
/// Format of inputs is specific for payment method. Usually it should reference payment transaction
/// with at least one output that corresponds to payment address that user owns.
///
/// # Arguments
/// * `wallet_handle` - wallet handle
/// * `submitter_did` - DID of request sender
/// * `inputs_json` - The list of UTXO inputs as json array:
///   ["input1", ...]
///   Note that each input should reference paymentAddress
/// * `outputs_json` - The list of UTXO outputs as json array:
///   [{
///     paymentAddress: <str>, // payment address used as output
///     amount: <int>, // amount of tokens to transfer to this payment address
///     extra: <str>, // optional data
///   }]
///
/// # Returns
/// * `payment_req_json` - Indy request for doing tokens payment
/// * `payment_method` 
Builds Indy request for doing tokens payment
according to this payment method.

This method consumes set of UTXO inputs and outputs.

Format of inputs is specific for payment method. Usually it should reference payment transaction
with at least one output that corresponds to payment address that user owns.
Builds Indy request for doing tokens payment according to this payment method . This method consumes set of UTXO inputs and outputs . Format of inputs is specific for payment method . Usually it should reference payment transaction with at least one output that corresponds to payment address that user owns .
pub fn build_payment_req(wallet_handle: IndyHandle, submitter_did: &str, inputs: &str, outputs: &str, extra: Option<&str>) -> Result<(String, String), ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string_string();
        let err = Payment::_build_payment_req(command_handle, wallet_handle, submitter_did, inputs, outputs, extra, cb);
        ResultHandler::two(err, receiver)
    }
pub fn build_payment_req ( wallet_handle : IndyHandle , submitter_did : & str , inputs : & str , outputs : & str , extra : Option < & str > ) -> Result < ( String , String ) , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string_string ( ) ; let err = Payment :: _build_payment_req ( command_handle , wallet_handle , submitter_did , inputs , outputs , extra , cb ) ; ResultHandler :: two ( err , receiver ) }
Builds Indy request for doing tokens payment
according to this payment method.
Builds Indy request for doing tokens payment according to this payment method .
`payment_req_json` - Indy request for doing tokens payment
`payment_method`
` payment_req_json ` - Indy request for doing tokens payment ` payment_method `
wallet_handle
IndyHandle
submitter_did
&str
inputs
&str
outputs
&str
extra
Option<&str>