+sub base_recur {
+ my $self = shift;
+ $self->option('recur_fee', 1) || 0;
+}
+
+sub cutoff_day {
+ # prorate/subscription only; we don't support sync_bill_date here
+ my $self = shift;
+ my $cust_pkg = shift;
+ my $recur_method = $self->option('recur_method',1) || 'anniversary';
+ if ( $recur_method eq 'prorate' or $recur_method eq 'subscription' ) {
+ return $self->option('cutoff_day',1) || 1;
+ } else {
+ return 0;
+ }
+}
+