Type Alias indyBuildGetPaymentSourcesRequestCB

Source
pub type indyBuildGetPaymentSourcesRequestCB = Option<unsafe extern "C" fn(command_handle: indy_handle_t, wallet_handle: indy_handle_t, submitter_did: *const c_char, payment_address: *const c_char, cb: indy_err_str_cb) -> indy_error_t>;
Expand description

Builds Indy request for getting sources list for payment address according to this payment method.

#Params command_handle: command handle to map callback to context wallet_handle: wallet handle submitter_did: (Optional) DID of request sender payment_address: target payment address

#Returns get_sources_txn_json - Indy request for getting sources list for payment address

Aliased Type§

pub enum indyBuildGetPaymentSourcesRequestCB {
    None,
    Some(unsafe extern "C" fn(i32, i32, *const i8, *const i8, Option<unsafe extern "C" fn(i32, i32, *const i8) -> i32>) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(i32, i32, *const i8, *const i8, Option<unsafe extern "C" fn(i32, i32, *const i8) -> i32>) -> i32)

Some value of type T.