final Class<T> type,
final TransactionOptions options) {
return executeAsync(transactionRequest(action, options), transactionResponseDeserializer(type));
}
private Request transactionRequest(final String action, final TransactionOptions options) {
<BUG>final Request request;
request = new Request(name, RequestType.POST, ArangoDBConstants.PATH_API_TRANSACTION);

request.setBody(serialize(OptionsBuilder.build(options != null ? options : new TransactionOptions(), action)));
return request;</BUG>
}

final Class<T> type,
final TransactionOptions options) {
return executeAsync(transactionRequest(action, options), transactionResponseDeserializer(type));
}
private Request transactionRequest(final String action, final TransactionOptions options) {
return new Request(name, RequestType.POST, ArangoDBConstants.PATH_API_TRANSACTION)
.setBody(serialize(OptionsBuilder.build(options != null ? options : new TransactionOptions(), action)));
}
