You are here

function uc_recurring_rules_event_info in UC Recurring Payments and Subscriptions 7.2

Implements hook_rules_event_info().

File

./uc_recurring.rules.inc, line 69
Rules definitions.

Code

function uc_recurring_rules_event_info() {
  return array(
    'uc_recurring_renewal_complete' => array(
      'label' => t('Recurring fee renewal succeeded'),
      'group' => t('Recurring Fees'),
      'variables' => array(
        'order' => array(
          'type' => 'uc_order',
          'label' => t('Order'),
        ),
        'recurring_fee' => array(
          'type' => 'uc_recurring_fee',
          'label' => t('Recurring Fee'),
        ),
      ),
    ),
    'uc_recurring_renewal_failed' => array(
      'label' => t('Recurring fee renewal failed'),
      'group' => t('Recurring Fees'),
      'variables' => array(
        'order' => array(
          'type' => 'uc_order',
          'label' => t('Order'),
        ),
        'recurring_fee' => array(
          'type' => 'uc_recurring_fee',
          'label' => t('Recurring Fee'),
        ),
      ),
    ),
    'uc_recurring_cancel' => array(
      'label' => t('Recurring fee cancelled'),
      'group' => t('Recurring Fees'),
      'variables' => array(
        'order' => array(
          'type' => 'uc_order',
          'label' => t('Order'),
        ),
        'recurring_fee' => array(
          'type' => 'uc_recurring_fee',
          'label' => t('Recurring Fee'),
        ),
      ),
    ),
    'uc_recurring_renewal_expired' => array(
      'label' => t('Recurring fee renewal expired'),
      'group' => t('Recurring Fees'),
      'variables' => array(
        'order' => array(
          'type' => 'uc_order',
          'label' => t('Order'),
        ),
        'recurring_fee' => array(
          'type' => 'uc_recurring_fee',
          'label' => t('Recurring Fee'),
        ),
      ),
    ),
  );
}