Search in sources :

Example 1 with Type

use of name.abuchen.portfolio.model.Transaction.Unit.Type in project portfolio by buchen.

the class ConsorsbankPDFExtractor method addSellTransaction.

@SuppressWarnings("nls")
private void addSellTransaction() {
    DocumentType type = new DocumentType("VERKAUF");
    this.addDocumentTyp(type);
    Block block = new Block("^VERKAUF AM .*$");
    type.addBlock(block);
    Transaction<BuySellEntry> pdfTransaction = new Transaction<>();
    block.set(pdfTransaction);
    pdfTransaction.subject(() -> {
        BuySellEntry entry = new BuySellEntry();
        entry.setType(PortfolioTransaction.Type.SELL);
        return entry;
    });
    // 
    pdfTransaction.section("wkn", "isin", "name", "currency").find(// 
    "(Wertpapier|Bezeichnung) WKN ISIN").match(// 
    "^(?<name>.*) (?<wkn>[^ ]*) (?<isin>[^ ]*)$").match("(Kurs|Preis pro Anteil) (\\d+,\\d+) (?<currency>\\w{3}+) .*").assign((t, v) -> t.setSecurity(getOrCreateSecurity(v))).section(// 
    "shares").find(// 
    "Einheit Umsatz( F\\Dlligkeit)?").match(// 
    "^ST (?<shares>[\\d.]+(,\\d+)?).*$").assign((t, v) -> t.setShares(asShares(v.get("shares")))).section("date", "time").match("VERKAUF AM (?<date>\\d+\\.\\d+\\.\\d{4}+)\\s+UM (?<time>\\d+:\\d+:\\d+).*.*").assign((t, v) -> t.setDate(asDate(v.get("date"), v.get("time")))).section("amount", "currency").match(// 
    "Wert \\d+.\\d+.\\d{4}+ (?<currency>\\w{3}+) (?<amount>[\\d.]+,\\d+)").assign((t, v) -> {
        t.setAmount(asAmount(v.get("amount")));
        t.setCurrencyCode(asCurrencyCode(v.get("currency")));
    }).wrap(BuySellEntryItem::new);
    addFeesSectionsTransaction(pdfTransaction);
    addTaxesSectionsTransaction(pdfTransaction);
}
Also used : PortfolioTransaction(name.abuchen.portfolio.model.PortfolioTransaction) Money(name.abuchen.portfolio.money.Money) Client(name.abuchen.portfolio.model.Client) Block(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Block) AccountTransaction(name.abuchen.portfolio.model.AccountTransaction) CurrencyUnit(name.abuchen.portfolio.money.CurrencyUnit) DocumentType(name.abuchen.portfolio.datatransfer.pdf.PDFParser.DocumentType) Type(name.abuchen.portfolio.model.Transaction.Unit.Type) IOException(java.io.IOException) BigDecimal(java.math.BigDecimal) Transaction(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Transaction) Unit(name.abuchen.portfolio.model.Transaction.Unit) Optional(java.util.Optional) BuySellEntry(name.abuchen.portfolio.model.BuySellEntry) RoundingMode(java.math.RoundingMode) BuySellEntry(name.abuchen.portfolio.model.BuySellEntry) PortfolioTransaction(name.abuchen.portfolio.model.PortfolioTransaction) AccountTransaction(name.abuchen.portfolio.model.AccountTransaction) Transaction(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Transaction) DocumentType(name.abuchen.portfolio.datatransfer.pdf.PDFParser.DocumentType) Block(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Block)

Example 2 with Type

use of name.abuchen.portfolio.model.Transaction.Unit.Type in project portfolio by buchen.

the class ConsorsbankPDFExtractor method addBuyTransaction.

@SuppressWarnings("nls")
private void addBuyTransaction() {
    DocumentType type = new DocumentType("KAUF");
    this.addDocumentTyp(type);
    Block block = new Block("^KAUF AM .*$");
    type.addBlock(block);
    Transaction<BuySellEntry> pdfTransaction = new Transaction<>();
    block.set(pdfTransaction);
    pdfTransaction.subject(() -> {
        BuySellEntry entry = new BuySellEntry();
        entry.setType(PortfolioTransaction.Type.BUY);
        return entry;
    });
    // 
    pdfTransaction.section("wkn", "isin", "name", "currency").find(// 
    "(Wertpapier|Bezeichnung) WKN ISIN").match(// 
    "^(?<name>.*) (?<wkn>[^ ]*) (?<isin>[^ ]*)$").match("(Kurs|Preis pro Anteil) (\\d+,\\d+) (?<currency>\\w{3}+) .*").assign((t, v) -> t.setSecurity(getOrCreateSecurity(v))).section(// 
    "shares").find(// 
    "Einheit Umsatz( F\\Dlligkeit)?").match(// 
    "^ST (?<shares>[\\d.]+(,\\d+)?).*$").assign((t, v) -> t.setShares(asShares(v.get("shares")))).section("date", "time").match("KAUF AM (?<date>\\d+\\.\\d+\\.\\d{4}+)\\s+UM (?<time>\\d+:\\d+:\\d+).*").assign((t, v) -> t.setDate(asDate(v.get("date"), v.get("time")))).section("amount", "currency").match(// 
    "Wert \\d+.\\d+.\\d{4}+ (?<currency>\\w{3}+) (?<amount>[\\d.]+,\\d+)").assign((t, v) -> {
        t.setAmount(asAmount(v.get("amount")));
        t.setCurrencyCode(asCurrencyCode(v.get("currency")));
    }).wrap(BuySellEntryItem::new);
    addFeesSectionsTransaction(pdfTransaction);
}
Also used : PortfolioTransaction(name.abuchen.portfolio.model.PortfolioTransaction) Money(name.abuchen.portfolio.money.Money) Client(name.abuchen.portfolio.model.Client) Block(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Block) AccountTransaction(name.abuchen.portfolio.model.AccountTransaction) CurrencyUnit(name.abuchen.portfolio.money.CurrencyUnit) DocumentType(name.abuchen.portfolio.datatransfer.pdf.PDFParser.DocumentType) Type(name.abuchen.portfolio.model.Transaction.Unit.Type) IOException(java.io.IOException) BigDecimal(java.math.BigDecimal) Transaction(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Transaction) Unit(name.abuchen.portfolio.model.Transaction.Unit) Optional(java.util.Optional) BuySellEntry(name.abuchen.portfolio.model.BuySellEntry) RoundingMode(java.math.RoundingMode) BuySellEntry(name.abuchen.portfolio.model.BuySellEntry) PortfolioTransaction(name.abuchen.portfolio.model.PortfolioTransaction) AccountTransaction(name.abuchen.portfolio.model.AccountTransaction) Transaction(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Transaction) DocumentType(name.abuchen.portfolio.datatransfer.pdf.PDFParser.DocumentType) Block(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Block)

Example 3 with Type

use of name.abuchen.portfolio.model.Transaction.Unit.Type in project portfolio by buchen.

the class ConsorsbankPDFExtractor method newDividendTransaction.

@SuppressWarnings("nls")
private Transaction<AccountTransaction> newDividendTransaction(DocumentType type) {
    return new Transaction<AccountTransaction>().subject(() -> {
        AccountTransaction t = new AccountTransaction();
        t.setType(AccountTransaction.Type.DIVIDENDS);
        return t;
    }).section("amount", // 
    "currency").match(// 
    "BRUTTO *(?<currency>\\w{3}+) *(?<amount>[\\d.]+,\\d+) *").assign((t, v) -> {
        t.setAmount(asAmount(v.get("amount")));
        t.setCurrencyCode(asCurrencyCode(v.get("currency")));
    }).section("wkn", "name", // 
    "shares").match(// 
    "ST *(?<shares>[\\d.]+(,\\d+)?) *WKN: *(?<wkn>\\S*) *").match(// 
    "^(?<name>.*)$").assign((t, v) -> {
        // reuse currency from transaction when creating a
        // new security upon import
        v.put("currency", t.getCurrencyCode());
        t.setSecurity(getOrCreateSecurity(v));
        t.setShares(asShares(v.get("shares")));
    }).section("rate", "amount", "currency").optional().match(// 
    "UMGER.ZUM DEV.-KURS *(?<rate>[\\d.]+,\\d+) *(?<currency>\\w{3}+) *(?<amount>[\\d.]+,\\d+) *").assign((t, v) -> {
        Money currentMonetaryAmount = t.getMonetaryAmount();
        BigDecimal rate = asExchangeRate(v.get("rate"));
        type.getCurrentContext().put("exchangeRate", rate.toPlainString());
        BigDecimal accountMoneyValue = BigDecimal.valueOf(t.getAmount()).divide(rate, RoundingMode.HALF_DOWN);
        String currencyCode = asCurrencyCode(v.get("currency"));
        t.setMonetaryAmount(Money.of(currencyCode, asAmount(v.get("amount"))));
        // currencies -> add gross value
        if (!t.getCurrencyCode().equals(t.getSecurity().getCurrencyCode())) {
            Money accountMoney = Money.of(currencyCode, Math.round(accountMoneyValue.doubleValue()));
            // replace BRUTTO (which is in foreign currency)
            // with the value in transaction currency
            BigDecimal inverseRate = BigDecimal.ONE.divide(rate, 10, BigDecimal.ROUND_HALF_DOWN);
            Unit grossValue = new Unit(Unit.Type.GROSS_VALUE, accountMoney, currentMonetaryAmount, inverseRate);
            t.addUnit(grossValue);
        }
    }).section("kapst", "currency").optional().match("KAPST .*(?<currency>\\w{3}+) *(?<kapst>[\\d.]+,\\d+) *").assign((t, v) -> t.addUnit(new Unit(Unit.Type.TAX, Money.of(asCurrencyCode(v.get("currency")), asAmount(v.get("kapst")))))).section("solz", "currency").optional().match(// 
    "SOLZ .*(?<currency>\\w{3}+) *(?<solz>[\\d.]+,\\d+) *").assign((t, v) -> {
        String currency = asCurrencyCode(v.get("currency"));
        if (currency.equals(t.getCurrencyCode())) {
            t.addUnit(new Unit(Unit.Type.TAX, Money.of(asCurrencyCode(currency), asAmount(v.get("solz")))));
        }
    }).section("qust", "currency", "forexcurrency", "forex").optional().match("QUST [\\d.]+,\\d+ *% *(?<currency>\\w{3}+) *(?<qust>[\\d.]+,\\d+) *(?<forexcurrency>\\w{3}+) *(?<forex>[\\d.]+,\\d+) *").assign((t, v) -> {
        Optional<Unit> grossValueOption = t.getUnit(Type.GROSS_VALUE);
        Money money = Money.of(asCurrencyCode(v.get("currency")), asAmount(v.get("qust")));
        if (grossValueOption.isPresent()) {
            Money forex = Money.of(asCurrencyCode(v.get("forexcurrency")), asAmount(v.get("forex")));
            t.addUnit(new Unit(Unit.Type.TAX, money, forex, grossValueOption.get().getExchangeRate()));
        } else {
            t.addUnit(new Unit(Unit.Type.TAX, money));
        }
    }).section(// 
    "date").match("WERT (?<date>\\d+.\\d+.\\d{4}+).*").assign((t, v) -> t.setDateTime(asDate(v.get("date")))).section("currency", "amount").optional().match("WERT \\d+.\\d+.\\d{4}+ *(?<currency>\\w{3}+) *(?<amount>[\\d.]+,\\d+) *").assign((t, v) -> {
        String currencyCode = asCurrencyCode(v.get("currency"));
        Money money = Money.of(currencyCode, asAmount(v.get("amount")));
        t.setMonetaryAmount(money);
    }).section("currency", "forexpenses").optional().match(// 
    "FREMDE SPESEN *(?<currency>\\w{3}+) *(?<forexpenses>[\\d.]+,\\d+) *").assign((t, v) -> {
        Optional<Unit> grossValueOption = t.getUnit(Type.GROSS_VALUE);
        long forexAmount = asAmount(v.get("forexpenses"));
        if (grossValueOption.isPresent()) {
            BigDecimal exchangeRate = grossValueOption.get().getExchangeRate();
            long convertedMoney = Math.round(exchangeRate.multiply(BigDecimal.valueOf(forexAmount)).doubleValue());
            Money money = Money.of(t.getCurrencyCode(), convertedMoney);
            Money forex = Money.of(asCurrencyCode(v.get("currency")), forexAmount);
            t.addUnit(new Unit(Unit.Type.TAX, money, forex, grossValueOption.get().getExchangeRate()));
        } else {
            BigDecimal exchangeRate = new BigDecimal(type.getCurrentContext().get("exchangeRate"));
            long convertedMoney = BigDecimal.valueOf(forexAmount).divide(exchangeRate, RoundingMode.HALF_UP).longValue();
            Money money = Money.of(t.getCurrencyCode(), convertedMoney);
            t.addUnit(new Unit(Unit.Type.TAX, money));
        }
    }).wrap(t -> t.getAmount() != 0 ? new TransactionItem(t) : null);
}
Also used : PortfolioTransaction(name.abuchen.portfolio.model.PortfolioTransaction) Money(name.abuchen.portfolio.money.Money) Client(name.abuchen.portfolio.model.Client) Block(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Block) AccountTransaction(name.abuchen.portfolio.model.AccountTransaction) CurrencyUnit(name.abuchen.portfolio.money.CurrencyUnit) DocumentType(name.abuchen.portfolio.datatransfer.pdf.PDFParser.DocumentType) Type(name.abuchen.portfolio.model.Transaction.Unit.Type) IOException(java.io.IOException) BigDecimal(java.math.BigDecimal) Transaction(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Transaction) Unit(name.abuchen.portfolio.model.Transaction.Unit) Optional(java.util.Optional) BuySellEntry(name.abuchen.portfolio.model.BuySellEntry) RoundingMode(java.math.RoundingMode) Money(name.abuchen.portfolio.money.Money) PortfolioTransaction(name.abuchen.portfolio.model.PortfolioTransaction) AccountTransaction(name.abuchen.portfolio.model.AccountTransaction) Transaction(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Transaction) Optional(java.util.Optional) AccountTransaction(name.abuchen.portfolio.model.AccountTransaction) CurrencyUnit(name.abuchen.portfolio.money.CurrencyUnit) Unit(name.abuchen.portfolio.model.Transaction.Unit) BigDecimal(java.math.BigDecimal)

Example 4 with Type

use of name.abuchen.portfolio.model.Transaction.Unit.Type in project portfolio by buchen.

the class ConsorsbankPDFExtractor method addTaxAdjustmentTransaction.

@SuppressWarnings("nls")
private void addTaxAdjustmentTransaction() {
    DocumentType type = new DocumentType("Nachträgliche Verlustverrechnung");
    this.addDocumentTyp(type);
    Block block = new Block(" Erstattung/Belastung \\(-\\) von Steuern");
    type.addBlock(block);
    block.set(new Transaction<AccountTransaction>().subject(() -> {
        AccountTransaction t = new AccountTransaction();
        t.setType(AccountTransaction.Type.TAX_REFUND);
        // nirgends im Dokument ist die Währung aufgeführt.
        t.setCurrencyCode(CurrencyUnit.EUR);
        return t;
    }).section("date").match(" *Den Steuerausgleich buchen wir mit Wertstellung (?<date>\\d+.\\d+.\\d{4}) .*").assign((t, v) -> t.setDateTime(asDate(v.get("date")))).section("amount").find(" *Erstattung/Belastung \\(-\\) von Steuern *").find(" *=* *").match(" *(?<amount>[\\d.]+,\\d{2}) *").assign((t, v) -> t.setAmount(asAmount(v.get("amount")))).wrap(t -> new TransactionItem(t)));
}
Also used : PortfolioTransaction(name.abuchen.portfolio.model.PortfolioTransaction) Money(name.abuchen.portfolio.money.Money) Client(name.abuchen.portfolio.model.Client) Block(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Block) AccountTransaction(name.abuchen.portfolio.model.AccountTransaction) CurrencyUnit(name.abuchen.portfolio.money.CurrencyUnit) DocumentType(name.abuchen.portfolio.datatransfer.pdf.PDFParser.DocumentType) Type(name.abuchen.portfolio.model.Transaction.Unit.Type) IOException(java.io.IOException) BigDecimal(java.math.BigDecimal) Transaction(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Transaction) Unit(name.abuchen.portfolio.model.Transaction.Unit) Optional(java.util.Optional) BuySellEntry(name.abuchen.portfolio.model.BuySellEntry) RoundingMode(java.math.RoundingMode) DocumentType(name.abuchen.portfolio.datatransfer.pdf.PDFParser.DocumentType) Block(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Block) AccountTransaction(name.abuchen.portfolio.model.AccountTransaction)

Example 5 with Type

use of name.abuchen.portfolio.model.Transaction.Unit.Type in project portfolio by buchen.

the class ConsorsbankPDFExtractor method addQ42017DividendTransaction.

@SuppressWarnings("nls")
private void addQ42017DividendTransaction() {
    DocumentType type = new DocumentType("Dividendengutschrift");
    this.addDocumentTyp(type);
    Block block = new Block("Dividendengutschrift.*");
    type.addBlock(block);
    block.set(new Transaction<AccountTransaction>().subject(() -> {
        AccountTransaction t = new AccountTransaction();
        t.setType(AccountTransaction.Type.DIVIDENDS);
        return t;
    }).section("name", "wkn", "isin", // 
    "currency").find(// 
    "Wertpapierbezeichnung WKN ISIN").match(// 
    "(?<name>.*) (?<wkn>[^ ]*) (?<isin>[^ ]*)$").match("Dividende pro Stück ([\\d.]+,\\d+) (?<currency>\\w{3}+).*").assign((t, v) -> {
        t.setSecurity(getOrCreateSecurity(v));
    }).section("amount", // 
    "currency").match("Netto zugunsten IBAN (.*) (?<amount>[\\d.]+,\\d+) (?<currency>\\w{3}+)$").assign((t, v) -> {
        t.setCurrencyCode(asCurrencyCode(v.get("currency")));
        t.setAmount(asAmount(v.get("amount")));
    }).section(// 
    "shares").match(// 
    "(?<shares>[\\d.]+(,\\d+)?) Stück").assign((t, v) -> t.setShares(asShares(v.get("shares")))).section(// 
    "date").match("Valuta (?<date>\\d+.\\d+.\\d{4}+).*").assign((t, v) -> t.setDateTime(asDate(v.get("date")))).section("exchangeRate", "fxAmount", "fxCurrency", "amount", "currency").optional().match("Brutto in (\\w{3}+) (?<fxAmount>[\\d.]+,\\d+) (?<fxCurrency>\\w{3}+)").match(// 
    "Devisenkurs (?<exchangeRate>[\\d.]+,\\d+) (\\w{3}+) / (\\w{3}+)").match(// 
    "Brutto in (\\w{3}+) (?<amount>[\\d.]+,\\d+) (?<currency>\\w{3}+)").assign((t, v) -> {
        BigDecimal rate = asExchangeRate(v.get("exchangeRate"));
        BigDecimal inverseRate = BigDecimal.ONE.divide(rate, 10, BigDecimal.ROUND_HALF_DOWN);
        type.getCurrentContext().put("exchangeRate", inverseRate.toPlainString());
        Money fxAmount = Money.of(asCurrencyCode(v.get("fxCurrency")), asAmount(v.get("fxAmount")));
        Money amount = Money.of(asCurrencyCode(v.get("currency")), asAmount(v.get("amount")));
        if (!t.getCurrencyCode().equals(t.getSecurity().getCurrencyCode())) {
            Unit grossValue = new Unit(Unit.Type.GROSS_VALUE, amount, fxAmount, inverseRate);
            t.addUnit(grossValue);
        }
    }).section("tax", "currency").optional().match("abzgl. Quellensteuer .* (\\w{3}+) (?<tax>[\\d.]+,\\d+) (?<currency>\\w{3}+)").assign((t, v) -> {
        Money tax = Money.of(asCurrencyCode(v.get("currency")), asAmount(v.get("tax")));
        if (tax.getCurrencyCode().equals(t.getCurrencyCode())) {
            t.addUnit(new Unit(Unit.Type.TAX, tax));
        } else if (type.getCurrentContext().containsKey("exchangeRate")) {
            BigDecimal exchangeRate = new BigDecimal(type.getCurrentContext().get("exchangeRate"));
            Money txTax = Money.of(t.getCurrencyCode(), BigDecimal.valueOf(tax.getAmount()).multiply(exchangeRate).setScale(0, BigDecimal.ROUND_HALF_UP).longValue());
            t.addUnit(new Unit(Unit.Type.TAX, txTax));
            // update gross value if necessary
            if (!t.getCurrencyCode().equals(t.getSecurity().getCurrencyCode())) {
                Unit grossValue = t.getUnit(Unit.Type.GROSS_VALUE).get();
                t.removeUnit(grossValue);
                t.addUnit(new Unit(Unit.Type.GROSS_VALUE, grossValue.getAmount().subtract(txTax), grossValue.getForex().subtract(tax), grossValue.getExchangeRate()));
            }
        }
    }).section("tax", "currency").optional().match("abzgl. Kapitalertragsteuer .* (\\w{3}+) (?<tax>[\\d.]+,\\d+) (?<currency>\\w{3}+)$").assign((t, v) -> {
        Money tax = Money.of(asCurrencyCode(v.get("currency")), asAmount(v.get("tax")));
        t.addUnit(new Unit(Unit.Type.TAX, tax));
    }).section("tax", "currency").optional().match("abzgl. Solidaritätszuschlag .* (\\w{3}+) (?<tax>[\\d.]+,\\d+) (?<currency>\\w{3}+)$").assign((t, v) -> {
        Money tax = Money.of(asCurrencyCode(v.get("currency")), asAmount(v.get("tax")));
        t.addUnit(new Unit(Unit.Type.TAX, tax));
    }).wrap(t -> t.getAmount() != 0 ? new TransactionItem(t) : null));
}
Also used : PortfolioTransaction(name.abuchen.portfolio.model.PortfolioTransaction) Money(name.abuchen.portfolio.money.Money) Client(name.abuchen.portfolio.model.Client) Block(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Block) AccountTransaction(name.abuchen.portfolio.model.AccountTransaction) CurrencyUnit(name.abuchen.portfolio.money.CurrencyUnit) DocumentType(name.abuchen.portfolio.datatransfer.pdf.PDFParser.DocumentType) Type(name.abuchen.portfolio.model.Transaction.Unit.Type) IOException(java.io.IOException) BigDecimal(java.math.BigDecimal) Transaction(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Transaction) Unit(name.abuchen.portfolio.model.Transaction.Unit) Optional(java.util.Optional) BuySellEntry(name.abuchen.portfolio.model.BuySellEntry) RoundingMode(java.math.RoundingMode) Money(name.abuchen.portfolio.money.Money) DocumentType(name.abuchen.portfolio.datatransfer.pdf.PDFParser.DocumentType) Block(name.abuchen.portfolio.datatransfer.pdf.PDFParser.Block) AccountTransaction(name.abuchen.portfolio.model.AccountTransaction) CurrencyUnit(name.abuchen.portfolio.money.CurrencyUnit) Unit(name.abuchen.portfolio.model.Transaction.Unit) BigDecimal(java.math.BigDecimal)

Aggregations

IOException (java.io.IOException)6 BigDecimal (java.math.BigDecimal)6 RoundingMode (java.math.RoundingMode)6 Optional (java.util.Optional)6 Block (name.abuchen.portfolio.datatransfer.pdf.PDFParser.Block)6 DocumentType (name.abuchen.portfolio.datatransfer.pdf.PDFParser.DocumentType)6 Transaction (name.abuchen.portfolio.datatransfer.pdf.PDFParser.Transaction)6 AccountTransaction (name.abuchen.portfolio.model.AccountTransaction)6 BuySellEntry (name.abuchen.portfolio.model.BuySellEntry)6 Client (name.abuchen.portfolio.model.Client)6 PortfolioTransaction (name.abuchen.portfolio.model.PortfolioTransaction)6 Unit (name.abuchen.portfolio.model.Transaction.Unit)6 Type (name.abuchen.portfolio.model.Transaction.Unit.Type)6 CurrencyUnit (name.abuchen.portfolio.money.CurrencyUnit)6 Money (name.abuchen.portfolio.money.Money)6