Create setNumbers method for TransactionBase class.