示例#1
0
 /**
  * Return the spreedly subscription product id if the product is a spreedly subscription product. 
  * Otherwise return false.
  */
 public function getSpreedlyProductId()
 {
     $productId = false;
     $product = new Cart66Product($this->_productId);
     if ($product->isSpreedlySubscription()) {
         $productId = $this->_productId;
     }
     return $productId;
 }