public JournalLine Build()
        {
            var account = _accountDescriptor ?? AccountDescriptor.As(_accountSourceId, _accountCode, _accountName);

            return(new JournalLine(_amount, _date, account)
            {
                Description = _decription ?? string.Empty
            });
        }
 public void UpdateDescriptor(string code, string name)
 {
     AccountDescriptor = AccountDescriptor.As(AccountDescriptor.SourceId, code, name);
 }