/**
  * Is same currency
  *
  * @param self $money
  *
  * @return boolean
  */
 public function isSameCurrency(Paysera_WalletApi_Entity_Money $money)
 {
     return $this->getCurrency() == $money->getCurrency();
 }
 /**
  * Encodes money
  *
  * @param Paysera_WalletApi_Entity_Money $money
  *
  * @return array
  */
 public function encodeMoney(Paysera_WalletApi_Entity_Money $money)
 {
     return array('amount' => $money->getAmountInCents(), 'currency' => $money->getCurrency());
 }