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

    let err = _build_get_txn_author_agreement_request(command_handle, submitter_did, data, cb);

    ResultHandler::str(command_handle, err, receiver)
}
/// Builds a GET_TXN_AUTHR_AGRMT request. Request to get a specific Transaction Author Agreement from the ledger.
///
/// # Arguments
/// * `submitter_did` - (Optional) DID of the read request sender (if not provided then default Libindy DID will be used).
/// * `data`: (Optional) specifies a condition for getting specific TAA.
/// Contains 3 mutually exclusive optional fields:
/// {
///     hash: Optional<str> - hash of requested TAA,
///     version: Optional<str> - version of requested TAA.
///     timestamp: Optional<u64> - ledger will return TAA valid at requested timestamp.
/// }
/// Null data or empty JSON are acceptable here. In this case, ledger will return the latest version of TAA.
///
/// # Returns
/// Request result as json.
Builds a GET_TXN_AUTHR_AGRMT request. Request to get a specific Transaction Author Agreement from the ledger.
Builds a GET_TXN_AUTHR_AGRMT request . Request to get a specific Transaction Author Agreement from the ledger .
pub fn build_get_txn_author_agreement_request(submitter_did: Option<&str>, data: Option<&str>) -> Box<dyn Future<Item=String, Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
    let err = _build_get_txn_author_agreement_request(command_handle, submitter_did, data, cb);
    ResultHandler::str(command_handle, err, receiver)
}
pub fn build_get_txn_author_agreement_request ( submitter_did : Option < & str > , data : Option < & str > ) -> Box < dyn Future < Item = String , Error = IndyError > > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = _build_get_txn_author_agreement_request ( command_handle , submitter_did , data , cb ) ; ResultHandler :: str ( command_handle , err , receiver ) }
Builds a GET_TXN_AUTHR_AGRMT request.
Builds a GET_TXN_AUTHR_AGRMT request .
submitter_did
Option<&str>
data
Option<&str>
Request result as json.
Request result as json .
submitter_did
Option<&str>
data
Option<&str>