<% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>

FS::cust_main::Billing_Discount

NAME

FS::cust_main::Billing_Discount - Billing discount mixin for cust_main

SYNOPSIS

DESCRIPTION

These methods are available on FS::cust_main objects.

METHODS

_discount_pkg_and_bill
_discountable_pkgs_at_term
discount_terms

Returns a list of lengths for term discounts

discount_term_values MONTHS

Returns a list with credit, dollar amount saved, and total bill acheived by prepaying the most recent invoice for MONTHS.

BUGS

SEE ALSO

FS::cust_main, FS::cust_main::Billing

<% include ('/elements/footer.html' ) %>