private function setOriginalCurrencyValues(Pap_Common_Transaction $transaction, Gpf_Db_Currency $currency, $totalCost) { $transaction->setOriginalCurrencyId($currency->getId()); $transaction->setOriginalCurrencyValue($totalCost); $transaction->setOriginalCurrencyRate($currency->getExchangeRate()); }