function uc_pma_uc_line_item in Ubercart Payment Method Adjustments 7
Implements hook_uc_line_item().
File
- ./
uc_pma.module, line 106  - This module hooks into a few different parts of Ubercart to allow store administrators to associate a fee or discount with payment methods.
 
Code
function uc_pma_uc_line_item() {
  $items[] = array(
    'id' => 'payment',
    'title' => t('Payment method'),
    'weight' => 6,
    'stored' => FALSE,
    'calculated' => TRUE,
    'add_list' => TRUE,
    'callback' => 'uc_pma_adjustment_callback',
  );
  return $items;
}