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