Exemple #1
0
 public function doRequest($endpoint = null, $version = null)
 {
     if (is_null($version)) {
         $version = $this->version;
     }
     return parent::doRequest($endpoint, $version);
 }
Exemple #2
0
 public function doRequest($endpoint = null)
 {
     if (isset(self::$cache[Config::getServiceId()])) {
         return self::$cache[Config::getServiceId()];
     } else {
         $result = parent::doRequest('transaction/getService');
         self::$cache[Config::getServiceId()] = $result;
         return $result;
     }
 }
Exemple #3
0
 public function doRequest($endpoint = null)
 {
     return parent::doRequest('transaction/start');
 }
Exemple #4
0
 public function doRequest($endpoint = null, $version = null)
 {
     return parent::doRequest('transaction/refund');
 }