Freeside:4:Documentation:Developer/FS/cust main/Billing Discount
< Freeside:4:Documentation:Developer | FS | cust main
Revision as of 08:34, 18 November 2015 by Jeremyd (Edit via perl MediaWiki framework (1.13))
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.