pub fn build_get_acceptance_mechanisms_request(submitter_did: Option<&str>, timestamp: Option<i64>, version: Option<&str>) -> Box<dyn Future<Item=String, Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

    let err = _build_get_acceptance_mechanisms_request(command_handle, submitter_did, timestamp, version, cb);

    ResultHandler::str(command_handle, err, receiver)
}
/// Builds a GET_TXN_AUTHR_AGRMT_AML request. Request to get a list of  acceptance mechanisms from the ledger
/// valid for specified time or the latest one.
///
/// # Arguments
/// * `submitter_did` - (Optional) DID of the read request sender (if not provided then default Libindy DID will be used).
/// * `timestamp`: (Optional) time to get an active acceptance mechanisms.
/// * `version`: (Optional) version of acceptance mechanisms.
///
/// NOTE: timestamp and version cannot be specified together.
///
/// # Returns
/// Request result as json.
Builds a GET_TXN_AUTHR_AGRMT_AML request. Request to get a list of  acceptance mechanisms from the ledger
valid for specified time or the latest one.
Builds a GET_TXN_AUTHR_AGRMT_AML request . Request to get a list of acceptance mechanisms from the ledger valid for specified time or the latest one .
pub fn build_get_acceptance_mechanisms_request(submitter_did: Option<&str>, timestamp: Option<i64>, version: Option<&str>) -> Box<dyn Future<Item=String, Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
    let err = _build_get_acceptance_mechanisms_request(command_handle, submitter_did, timestamp, version, cb);
    ResultHandler::str(command_handle, err, receiver)
}
pub fn build_get_acceptance_mechanisms_request ( submitter_did : Option < & str > , timestamp : Option < i64 > , version : Option < & str > ) -> Box < dyn Future < Item = String , Error = IndyError > > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = _build_get_acceptance_mechanisms_request ( command_handle , submitter_did , timestamp , version , cb ) ; ResultHandler :: str ( command_handle , err , receiver ) }
Builds a GET_TXN_AUTHR_AGRMT_AML request.
Builds a GET_TXN_AUTHR_AGRMT_AML request .
submitter_did
Option<&str>
timestamp
Option<i64>
version
Option<&str>
Request result as json.
Request result as json .
submitter_did
Option<&str>
timestamp
Option<i64>
version
Option<&str>