/** * Get promotions * * Note: WHMCS has this listed under Misc as well as invoices. It's * aliased here for consistancy with their API docs * * Parameters: * * code - the specific promotion code to return information for (optional) * * See: * * http://wiki.whmcs.com/API:Get_Promotions */ public static function get_promotions($params = array()) { return WHMCS_Invoice::get_promotions($params); }