Freeside:1.9:Documentation:Developer/FS/cust bill ApplicationCommon

From Freeside
< Freeside:1.9:Documentation:Developer‎ | FS
Revision as of 17:14, 6 February 2009 by Ivan (talk | contribs) (Edit via perl MediaWiki framework (1.13))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NAME

FS::cust_bill_ApplicationCommon - Base class for bill application classes

SYNOPSIS

use FS::cust_bill_ApplicationCommon;

@ISA = qw( FS::cust_bill_ApplicationCommon );

sub _app_source_name { 'payment'; } sub _app_source_table { 'cust_pay'; } sub _app_lineitem_breakdown_table { 'cust_bill_pay_pkg'; }

DESCRIPTION

FS::cust_bill_ApplicationCommon is intended as a base class for classes which represent application of things to invoices, currently payments (see FS::cust_bill_pay) or credits (see FS::cust_credit_bill).

METHODS

insert; delete; apply_to_lineitems
Auto-applies this invoice application to specific line items, if possible.
lineitem_applications
Returns all the specific line item applications for this invoice application.
cust_bill
Returns the invoice (see FS::cust_bill)
applied_to_invoice
Returns a string representing the invoice (see FS::cust_bill), for example: "applied to Invoice #54 (3/20/2008)"
lineitem_breakdown_table

BUGS

SEE ALSO

FS::cust_bill_pay and FS::cust_bill_pay_pkg, FS::cust_credit_bill and FS::cust_credit_bill_pkg