/**
  * this function sends purchase info details email
  */
 public function emailPurchaseInfo()
 {
     //$product_info = 'Subscription, billed ' . $this->my_purchase->getBillCycle() . 'ly';
     $product_full_name = "Subscription";
     $product_details = GcrProductsTable::getProductDetails($this->my_purchase->getPurchaseTypeId(), $this->my_purchase->getProductTypeId(), $this->my_purchase->getPurchaseTypeEschoolId(), $this->my_purchase->getProductShortName());
     foreach ($product_details as $product) {
         $product_full_name = $product->getFullName();
     }
     $product_info = $product_full_name;
     parent::emailPurchaseInfo($product_info);
 }
 public function emailPurchaseInfo()
 {
     $product_info = 'Digital Classroom, billed ' . $this->my_purchase->getBillCycle() . 'ly';
     parent::emailPurchaseInfo($product_info);
 }
 public function emailPurchaseInfo()
 {
     $product_info = 'Membership, billed ' . $this->my_purchase->getBillCycle() . 'ly';
     parent::emailPurchaseInfo($product_info);
 }
 public function emailPurchaseInfo()
 {
     $product_info = 'Activation of eSchool, billed ' . $this->my_purchase->getBillCycle() . 'ly';
     parent::emailPurchaseInfo($product_info);
 }