Merge pull request #10506 from seamuslee001/CRM-20253-test
[civicrm-core.git] / api / v3 / Order.php
index 008a584189fe390fd6c2d67f5c759000bd125ed5..4bbaef684f06e79a9c58d8cb7f838c0cafa289e7 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -26,7 +26,8 @@
  */
 
 /**
- * This api exposes CiviCRM Order records.
+ * This api exposes CiviCRM Order objects, an abstract entity
+ * comprised of contributions and related line items.
  *
  * @package CiviCRM_APIv3
  */
@@ -131,8 +132,9 @@ function civicrm_api3_order_create(&$params) {
  *
  * @param array $params
  *   Input parameters.
- *
  * @return array
+ * @throws API_Exception
+ * @throws CiviCRM_API3_Exception
  */
 function civicrm_api3_order_delete($params) {
   $contribution = civicrm_api3('Contribution', 'get', array(