Merge pull request #10144 from eileenmcnaughton/iida8
[civicrm-core.git] / CRM / Core / Payment / Manual.php
index b2d12dd7d250c8d4c931223c5fb8153ffba4513a..55bae03df26b461a16284010b8b96b2bcd836a3c 100644 (file)
@@ -137,6 +137,15 @@ class CRM_Core_Payment_Manual extends CRM_Core_Payment {
     $this->result = $result;
   }
 
+  /**
+   * Set payment instrument id.
+   *
+   * @param int $paymentInstrumentID
+   */
+  public function setPaymentInstrumentID($paymentInstrumentID) {
+    $this->paymentInstrumentID = $paymentInstrumentID;
+  }
+
   /**
    * Get the name of the payment type.
    *
@@ -173,6 +182,15 @@ class CRM_Core_Payment_Manual extends CRM_Core_Payment {
     return TRUE;
   }
 
+  /**
+   * Are back office payments supported.
+   *
+   * @return bool
+   */
+  protected function supportsBackOffice() {
+    return TRUE;
+  }
+
   /**
    * Submit a manual payment.
    *