From d6ca1e81868b140f044b0ba56c2c2e72a2d62c61 Mon Sep 17 00:00:00 2001 From: Gary Willoughby Date: Fri, 26 Jan 2018 11:22:44 +0000 Subject: [PATCH] Added a method to set the directory lookup URL. --- src/Adyen/Client.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Adyen/Client.php b/src/Adyen/Client.php index 9fa2cf108..6da944240 100644 --- a/src/Adyen/Client.php +++ b/src/Adyen/Client.php @@ -104,6 +104,16 @@ public function setRequestUrl($url) $this->_config->set('endpoint', $url); } + /** + * Set directory lookup URL + * + * @param $url + */ + public function setDirectoryLookupUrl($url) + { + $this->_config->set('endpointDirectorylookup', $url); + } + public function setMerchantAccount($merchantAccount) { $this->_config->set('merchantAccount', $merchantAccount); @@ -217,4 +227,4 @@ protected function createDefaultLogger() return $logger; } -} \ No newline at end of file +}