% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
FS::cust_bill_pay - Object methods for cust_bill_pay records
use FS::cust_bill_pay;
$record = new FS::cust_bill_pay \%hash;
$record = new FS::cust_bill_pay { 'column' => 'value' };
$error = $record->insert;
$error = $new_record->replace($old_record);
$error = $record->delete;
$error = $record->check;
An FS::cust_bill_pay object represents the application of a payment to a specific invoice. FS::cust_bill_pay inherits from FS::cust_bill_ApplicationCommon and FS::Record. The following fields are currently supported:
Creates a new record. To add the record to the database, see "insert".
Adds this record to the database. If there is an error, returns the error, otherwise returns false.
Deletes this payment application, unless the closed flag for the parent payment (see FS::cust_pay) is set.
Currently unimplemented (accounting reasons).
Checks all fields to make sure this is a valid payment application. If there is an error, returns the error, otherwise returns false. Called by the insert method.
Returns the payment (see FS::cust_pay)
Sends a payment receipt for the associated payment, against this specific invoice. If there is an error, returns the error, otherwise returns false.
Delete and replace methods.
FS::cust_pay, FS::cust_bill, FS::Record, schema.html from the base documentation.