Difference between revisions of "Freeside:4:Documentation:Developer/FS/cust main/Billing Discount"

From Freeside
Jump to: navigation, search
(Edit via perl MediaWiki framework (1.13))
 
(No difference)

Latest revision as of 07:34, 18 November 2015

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