uriForTransaction() protected static method

protected static uriForTransaction ( $uuid )
 protected function uri()
 {
     if (!empty($this->_href)) {
         return $this->getHref();
     } else {
         if (!empty($this->uuid)) {
             return Recurly_Transaction::uriForTransaction($this->uuid);
         } else {
             throw new Recurly_Error('"uuid" is not supplied');
         }
     }
 }
Example #2
0
 public static function get($uuid, $client = null)
 {
     return Recurly_Base::_get(Recurly_Transaction::uriForTransaction($uuid), $client);
 }