/** * Apply transformation: Convert to Minor currency unit * * @param string $amount * @param string $currency * * @return string */ protected function transformAmount($amount = '', $currency = '') { if (!empty($amount) && !empty($currency)) { return \Genesis\Utils\Currency::amountToExponent($amount, $currency); } return false; }