Type Alias indyBuildVerifyPaymentReqCB

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

Builds Indy request for getting information to verify the payment receipt

§Params

command_handle: command handle to map callback to context wallet_handle: wallet handle submitter_did: (Optional) DID of request sender receipt: payment receipt to verify

§Return

verify_txn_json – request to be sent to ledger

Aliased Type§

pub enum indyBuildVerifyPaymentReqCB {
    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.