예제 #1
0
 public function doRequest($endpoint = null, $version = null)
 {
     if (is_null($version)) {
         $version = $this->version;
     }
     return parent::doRequest($endpoint, $version);
 }
예제 #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;
     }
 }
예제 #3
0
파일: Start.php 프로젝트: villhaber/sdk
 public function doRequest($endpoint = null)
 {
     return parent::doRequest('transaction/start');
 }
예제 #4
0
 public function doRequest($endpoint = null, $version = null)
 {
     return parent::doRequest('transaction/refund');
 }