public static Transaction createTransaction(
     final Card card,
     final TransactionType transactionType,
     final TransactionStatus transactionStatus,
     final BigDecimal amount) {
   Transaction transaction = new Transaction();
   transaction.setCard(card);
   transaction.setTransactionType(transactionType);
   transaction.setTransactionStatus(transactionStatus);
   transaction.setAmount(amount);
   transaction.setDate(new Date());
   return transaction;
 }