event refactor, landing on HEAD!
[freeside.git] / FS / FS / part_event / Action / cust_bill_realtime_lec.pm
1 package FS::part_event::Action::cust_bill_realtime_lec;
2
3 use strict;
4 use base qw( FS::part_event::Action );
5
6 sub description {
7   #'Run phone bill ("LEC") billing with a <a href="http://420.am/business-onlinepayment/">Business::OnlinePayment</a> realtime gateway';
8   'Run phone bill ("LEC") billing with a Business::OnlinePayment realtime gateway';
9 }
10
11 sub deprecated {
12   1;
13 }
14
15 sub eventtable_hashref {
16   { 'cust_bill' => 1 };
17 }
18
19 sub default_weight {
20   30;
21 }
22
23 sub do_action {
24   my( $self, $cust_bill ) = @_;
25
26   #my $cust_main = $self->cust_main($cust_bill);
27   my $cust_main = $cust_bill->cust_main;
28
29   $cust_bill->realtime_lec;
30 }
31
32 1;