X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FPaymentProcessorType.php;h=2836db242b16ffcca8238a432a9eb0dafd4d504d;hb=8d219c3680f87e8a50cf28095feeebfbdcd28d17;hp=5d671ebc66c2ce82af0347a52c9098bbe47d5fc8;hpb=d1b0d05ec1b6bd4ecbeb474641387e44fd0ba504;p=civicrm-core.git diff --git a/api/v3/PaymentProcessorType.php b/api/v3/PaymentProcessorType.php index 5d671ebc66..2836db242b 100644 --- a/api/v3/PaymentProcessorType.php +++ b/api/v3/PaymentProcessorType.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -26,13 +26,9 @@ */ /** - * new version of civicrm apis. See blog post at - * http://civicrm.org/node/131 + * This api exposes CiviCRM payment processor types. * * @package CiviCRM_APIv3 - * @subpackage API_Contact - * @copyright CiviCRM LLC (c) 2004-2014 - * $Id: PaymentProcessorType.php 30415 2010-10-29 12:02:47Z shot $ */ /** @@ -54,7 +50,7 @@ function civicrm_api3_payment_processor_type_create($params) { _civicrm_api3_object_to_array($paymentProcessorType, $relType[$paymentProcessorType->id]); - return civicrm_api3_create_success($relType, $params, 'payment_processor_type', 'create', $paymentProcessorType); + return civicrm_api3_create_success($relType, $params, 'PaymentProcessorType', 'create', $paymentProcessorType); } /** @@ -63,7 +59,7 @@ function civicrm_api3_payment_processor_type_create($params) { * The metadata is used for setting defaults, documentation & validation. * * @param array $params - * Array or parameters determined by getfields. + * Array of parameters determined by getfields. */ function _civicrm_api3_payment_processor_type_create_spec(&$params) { $params['billing_mode']['api.required'] = 1; @@ -104,5 +100,5 @@ function civicrm_api3_payment_processor_type_delete($params) { if (!$result) { return civicrm_api3_create_error('Could not delete payment processor type'); } - return civicrm_api3_create_success($result, $params, 'payment_processor_type', 'delete', $payProcTypeBAO); + return civicrm_api3_create_success($result, $params, 'PaymentProcessorType', 'delete', $payProcTypeBAO); }