From 2c816f314a8f3cc46e72e31f34ed97b4e11d0449 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 4 Aug 1999 12:13:27 +0000 Subject: new HTML manpages --- htdocs/docs/man/FS/cust_pay.html | 116 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 htdocs/docs/man/FS/cust_pay.html (limited to 'htdocs/docs/man/FS/cust_pay.html') diff --git a/htdocs/docs/man/FS/cust_pay.html b/htdocs/docs/man/FS/cust_pay.html new file mode 100644 index 000000000..026745e73 --- /dev/null +++ b/htdocs/docs/man/FS/cust_pay.html @@ -0,0 +1,116 @@ + + +FS::cust_pay - Object methods for cust_pay objects + + + + + + + + + + +
+

+

NAME

+

+FS::cust_pay - Object methods for cust_pay objects + +

+


+

SYNOPSIS

+

+

  use FS::cust_pay;
+
+

+

  $record = new FS::cust_pay \%hash;
+  $record = new FS::cust_pay { 'column' => 'value' };
+
+

+

  $error = $record->insert;
+
+

+

  $error = $new_record->replace($old_record);
+
+

+

  $error = $record->delete;
+
+

+

  $error = $record->check;
+
+

+


+

DESCRIPTION

+

+An FS::cust_pay object represents a payment. FS::cust_pay inherits from +FS::Record. The following fields are currently supported: + +

+
paynum - primary key (assigned automatically for new payments)
+
invnum - Invoice (see FS::cust_bill)
+
paid - Amount of this payment
+
_date - specified as a UNIX timestamp; see perlfunc/"time". Also see +Time::Local and Date::Parse for conversion functions.
+
payby - `CARD' (credit cards), `BILL' (billing), or `COMP' (free)
+
payinfo - card number, P.O.#, or comp issuer (4-8 lowercase alphanumerics; think username)
+
paybatch - text field for tracking card processing
+
+

+


+

METHODS

+
+
new HASHREF
+

+Creates a new payment. To add the payment to the databse, see insert. + +

insert
+

+Adds this payment to the databse, and updates the invoice (see +FS::cust_bill). + +

delete
+

+Currently unimplemented (accounting reasons). + +

replace OLD_RECORD
+

+Currently unimplemented (accounting reasons). + +

check
+

+Checks all fields to make sure this is a valid payment. If there is an +error, returns the error, otherwise returns false. Called by the insert +method. + +

+

+


+

VERSION

+

+$Id: cust_pay.html,v 1.1 1999-08-04 12:13:27 ivan Exp $ + +

+


+

BUGS

+

+Delete and replace methods. + +

+


+

SEE ALSO

+

+FS::Record, FS::cust_bill, schema.html from the base documentation. + + + + -- cgit v1.2.1