diff --git a/src/Response/Hydrator/Payment/Amount.php b/src/Response/Hydrator/Payment/Amount.php index 4adfbe4..5500c3f 100644 --- a/src/Response/Hydrator/Payment/Amount.php +++ b/src/Response/Hydrator/Payment/Amount.php @@ -15,9 +15,9 @@ class Amount extends ReflectionHydrator */ public function __construct() { - parent::__construct(); + //parent::__construct(); - $namingStrategy = new MapNamingStrategy([ + $namingStrategy = MapNamingStrategy::createFromHydrationMap([ 'amount_BTC' => 'bitcoins', 'amount_LTC' => 'litecoins', 'amount_sat' => 'satoshis',