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

        let err = Payment::_create_payment_address(command_handle, wallet_handle, payment_method, config, cb);

        ResultHandler::one_timeout(err, receiver, timeout)
    }
/// Create the payment address for specified payment method
///
/// This method generates private part of payment address
/// and stores it in a secure place. Ideally it should be
/// secret in libindy wallet (see crypto module).
///
/// Note that payment method should be able to resolve this
/// secret by fully resolvable payment address format.
///
/// # Arguments
/// * `wallet_handle` - wallet handle where to save new address
/// * `payment_method` - payment method to use (for example, 'sov')
/// * `config` - payment address config as json
/// * `timeout` - the maximum time this function waits for a response
///
/// # Example
/// config
/// {
///   seed: <str>, // allows deterministic creation of payment address
/// }
///
/// # Returns
/// * `payment_address` - public identifier of payment address in fully resolvable payment address format
Create the payment address for specified payment method
This method generates private part of payment address
and stores it in a secure place. Ideally it should be
secret in libindy wallet .

Note that payment method should be able to resolve this
secret by fully resolvable payment address format.
Create the payment address for specified payment method This method generates private part of payment address and stores it in a secure place . Ideally it should be secret in libindy wallet . Note that payment method should be able to resolve this secret by fully resolvable payment address format .
pub fn create_payment_address_timeout(wallet_handle: IndyHandle, payment_method: &str, config: &str, timeout: Duration) -> Result<String, ErrorCode> {
        let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
        let err = Payment::_create_payment_address(command_handle, wallet_handle, payment_method, config, cb);
        ResultHandler::one_timeout(err, receiver, timeout)
    }
pub fn create_payment_address_timeout ( wallet_handle : IndyHandle , payment_method : & str , config : & str , timeout : Duration ) -> Result < String , ErrorCode > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = Payment :: _create_payment_address ( command_handle , wallet_handle , payment_method , config , cb ) ; ResultHandler :: one_timeout ( err , receiver , timeout ) }
Create the payment address for specified payment method
This method generates private part of payment address
and stores it in a secure place.
Create the payment address for specified payment method This method generates private part of payment address and stores it in a secure place .
`payment_address` - public identifier of payment address in fully resolvable payment address format
` payment_address ` - public identifier of payment address in fully resolvable payment address format
wallet_handle
IndyHandle
payment_method
&str
config
&str
timeout
Duration
example
config
{
seed: , // allows deterministic creation of payment address
}
config { seed : // allows deterministic creation of payment address }