pub fn create_payment_address_async<F: 'static>(wallet_handle: IndyHandle, payment_method: &str, config: &str, closure: F) -> ErrorCode where F:FnMut(ErrorCode, String) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_string(Box::new(closure));

        Payment::_create_payment_address(command_handle, wallet_handle, payment_method, config, cb)
    }
/// 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
/// * `closure` - the closure that is called when finished
///
/// # Example
/// config
/// {
///   seed: <str>, // allows deterministic creation of payment address
/// }
///
/// # Returns
/// * `errorcode` - errorcode from calling ffi function. The closure receives the return result
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_async<F: 'static>(wallet_handle: IndyHandle, payment_method: &str, config: &str, closure: F) -> ErrorCode where F:FnMut(ErrorCode, String) + Send {
        let (command_handle, cb) = ClosureHandler::convert_cb_ec_string(Box::new(closure));
        Payment::_create_payment_address(command_handle, wallet_handle, payment_method, config, cb)
    }
pub fn create_payment_address_async < F : ' static > ( wallet_handle : IndyHandle , payment_method : & str , config : & str , closure : F ) -> ErrorCode where F : FnMut ( ErrorCode , String ) + Send { let ( command_handle , cb ) = ClosureHandler :: convert_cb_ec_string ( Box :: new ( closure ) ) ; Payment :: _create_payment_address ( command_handle , wallet_handle , payment_method , config , cb ) }
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 .
`errorcode` - errorcode from calling ffi function. The closure receives the return result
` errorcode ` - errorcode from calling ffi function . The closure receives the return result
wallet_handle
IndyHandle
payment_method
&str
config
&str
closure
F
example
config
{
seed: , // allows deterministic creation of payment address
}
config { seed : // allows deterministic creation of payment address }