public function toDTO($filterByKey = null)
    {
        $toDTO = ["amount" => $this->toMicro()];

        if ($filterByKey && isset($toDTO[$filterByKey]))
            return $toDTO[$filterByKey];

        return $toDTO;
    }
public function toDTO($filterByKey = null)
    {
        $toDTO = ["amount" => $this->toMicro()];

        if ($filterByKey && isset($toDTO[$filterByKey]))
            return $toDTO[$filterByKey];

        return $toDTO;
    }
public function toDTO ( $ filterByKey = null ) { $ toDTO = [ "amount" => $ this -> toMicro ( ) ] ; if ( $ filterByKey && isset ( $ toDTO [ $ filterByKey ] ) ) return $ toDTO [ $ filterByKey ] ; return $ toDTO ; }
Amount DTO automatically returns MICRO amount.

@return  array       Associative array with key `address` containing a NIS *compliable* address representation.
Amount DTO automatically returns MICRO amount .