Example #1
0
 /**
  * Constructor
  * 
  * @param string $merchantId Merchant ID
  * @param string $apiKey API Access Passcode
  * @param string $platform API Platform (default 'www')
  * @param string $version API Version (default 'v1')
  */
 public function __construct($merchantId = '', $apiKey, $platform, $version)
 {
     //set configs
     $this->_config = new Configuration();
     $this->_config->setMerchantId($merchantId);
     $this->_config->setApiKey($apiKey);
     $this->_config->setPlatform($platform);
     $this->_config->setApiVersion($version);
 }