Skip to content

Commit

Permalink
Merge pull request #50 from nomad-software/add-a-way-to-change-the-di…
Browse files Browse the repository at this point in the history
…rectory-lookup-url

Added a method to set the directory lookup URL.
  • Loading branch information
rikterbeek authored Jan 26, 2018
2 parents b19d2d1 + d6ca1e8 commit 76bd72a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/Adyen/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -217,4 +227,4 @@ protected function createDefaultLogger()

return $logger;
}
}
}

0 comments on commit 76bd72a

Please sign in to comment.