* a payment processor of type Authorize.net
* @return CRM_Financial_DAO_PaymentProcessor
*/
- function create() {
+ public function create() {
$paymentProcessor = new CRM_Financial_DAO_PaymentProcessor();
$paymentParams = array(
/**
* Helper function to delete a PayPal Pro
* payment processor
- * @param int $id - id of the PayPal Pro payment processor
- * to be deleted
- * @return boolean true if payment processor deleted, false otherwise
- *
+ * @param int $id
+ * Id of the PayPal Pro payment processor.
+ * to be deleted
+ * @return bool
+ * true if payment processor deleted, false otherwise
*/
- function delete($id) {
+ public function delete($id) {
$paymentProcessor = new CRM_Financial_DAO_PaymentProcessor();
$paymentProcessor->id = $id;
if ($paymentProcessor->find(TRUE)) {
}
return $result;
}
-}
-
-
+}