1 package FS::part_pkg::torrus_bw_percentile;
4 use base qw( FS::part_pkg::torrus_Common );
5 use List::Util qw(max);
8 'name' => '95th percentile billing based on the integrated Torrus NMS',
9 'shortname' => 'Bandwidth (95th percentile)',
11 'inherit_fields' => [ 'flat', 'global_Mixin' ],
13 'recur_temporality' => { 'disabled' => 1 },
14 'sync_bill_date' => { 'disabled' => 1 },
15 'cutoff_day' => { 'disabled' => 1 },
16 'base_mbps' => { 'name' => 'Included megabytes/sec (95th percentile)',
19 'mbps_rate' => { 'name' => 'Charge per megabyte/sec (95th percentile)',
23 'fieldorder' => [ qw( base_mbps mbps_rate ) ],
27 sub _torrus_name { '95TH_PERCENTILE'; }
28 sub _torrus_base { 'base_mbps'; }
29 sub _torrus_rate { 'mbps_rate'; }
30 sub _torrus_label { 'mbps'; };