2 namespace PayPal\Common;
3 use PayPal\Core\PPConfigManager;
6 * Container for Call level parameters such as
13 * @var array Dynamic SDK configuration
17 public function setConfig($config) {
18 $this->config = $config;
21 public function getConfig() {
22 if(!isset($this->config)) {
23 $this->config = PPConfigManager::getInstance()->getConfigHashmap();
28 public function __construct($config=null) {
29 if(!is_null($config)) {
30 $this->config = $config;