/**
  * Set Registration Date
  *
  * Sets the purchase date and calculates the expiration date at the same time
  *
  * @param string $date Registration date (MySQL DATETIME)
  */
 function setDate($date)
 {
     parent::setDate($date);
     $this->generateExpireDate();
 }
 /**
  * Set Purchasable
  *
  * @param ProductDBO The product that is/was purchased
  */
 public function setPurchasable(ProductDBO $productDBO)
 {
     // This function is meant to force purchasable to be a ProductDBO
     parent::setPurchasable($productDBO);
 }
 /**
  * Set Purchasable
  *
  * @param HostingServiceDBO The hosting service that is/was purchased
  */
 public function setPurchasable(HostingServiceDBO $serviceDBO)
 {
     // This function is meant to force purchasable to be a HostingServiceDBO
     parent::setPurchasable($serviceDBO);
 }