Package name.abuchen.portfolio.model

Examples of name.abuchen.portfolio.model.AccountTransferEntry


            {
                from = account;
                to = crossAccount;
            }

            AccountTransferEntry entry = new AccountTransferEntry(from, to);
            entry.setDate(transaction.getDate());
            entry.setAmount(transaction.getAmount());
            entry.insert();

            account.getTransactions().remove(transaction);
        }
View Full Code Here


            if (accountFrom == null)
                throw new UnsupportedOperationException(Messages.MsgAccountFromMissing);
            if (accountTo == null)
                throw new UnsupportedOperationException(Messages.MsgAccountToMissing);

            AccountTransferEntry t = new AccountTransferEntry(accountFrom, accountTo);
            t.setDate(date);
            t.setAmount(amount);
            t.insert();
        }
View Full Code Here

                    matched.add(suspect);
                    issues.add(new MissingAccountTransferIssue(client, suspect.account, suspect.transaction));
                }
                else
                {
                    AccountTransferEntry crossentry = null;

                    if (suspect.transaction.getType() == AccountTransaction.Type.TRANSFER_IN)
                        crossentry = new AccountTransferEntry(match.account, suspect.account);
                    else
                        crossentry = new AccountTransferEntry(suspect.account, match.account);

                    crossentry.setDate(match.transaction.getDate());
                    crossentry.setAmount(match.transaction.getAmount());
                    crossentry.insert();

                    suspect.account.getTransactions().remove(suspect.transaction);
                    match.account.getTransactions().remove(match.transaction);

                    matched.add(suspect);
View Full Code Here

TOP

Related Classes of name.abuchen.portfolio.model.AccountTransferEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.