package Ġfinancial . accounting . book keep ing . command . register Ċ Ċ import Ġfinancial . shared . adapters . console . command . Command Ċ import Ġfinancial . shared . value object . Amount Ċ import Ġfinancial . shared . value object . Currency Ċ Ċ class ĠRegister Financial Transaction Ġ: ĠCommand Ġ{ ĊĊĠĠĠ Ġval Ġamount Ġ= ĠAmount ( value Ġ= Ġ( 1 0 .. 1 0 0 0 0 ). random (). to BigDecimal (), Ġcurrency Ġ= ĠCurrency . B RL ) ĊĠĠĠ Ġval Ġde bit Account Ġ= Ġ" 2 . 1 . 1 . 0 0 1 " ĊĠĠĠ Ġval Ġcredit Account Ġ= Ġ" 2 . 2 . 1 . 0 0 1 " Ċ }