Freeside:4:Documentation:Developer/FS/cust main/Billing Discount
FS::cust_main::Billing_Discount - Billing discount mixin for cust_main
These methods are available on FS::cust_main objects.
- _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.