gateway = new Gateway([ 'environment' => $environment, 'merchantId' => $merchantId, 'publicKey' => $publicKey, 'privateKey' => $privateKey ]); } }