1 package FS::part_pkg::prepaid;
4 use vars qw(@ISA %info %recur_action);
6 use FS::part_pkg::flat;
8 @ISA = qw(FS::part_pkg::flat);
10 tie %recur_action, 'Tie::IxHash',
11 'suspend' => 'suspend',
16 'name' => 'Prepaid, flat rate',
18 'setup_fee' => { 'name' => 'One-time setup fee for this package',
21 'recur_fee' => { 'name' => 'Initial and recharge fee for this package',
24 'recur_action' => { 'name' => 'Action to take upon reaching end of prepaid preiod',
26 'select_options' => \%recur_action,
29 'fieldorder' => [ 'setup_fee', 'recur_fee', 'recur_action', ],