FS::cust_pay_batch - Object methods for batch cards
use FS::cust_pay_batch;
$record = new FS::cust_pay_batch \%hash; $record = new FS::cust_pay_batch { 'column' => 'value' };
$error = $record->insert;
$error = $new_record->replace($old_record);
$error = $record->delete;
$error = $record->check;
An FS::cust_pay_batch object represents a credit card transaction ready to be batched (sent to a processor). FS::cust_pay_batch inherits from FS::Record. Typically called by the collect method of an FS::cust_main object. The following fields are currently supported:
Note that this stores the hash reference, not a distinct copy of the hash it points to. You can ask the object for a copy with the hash method.
$Id: cust_pay_batch.html,v 1.1 2001-07-30 07:36:03 ivan Exp $
There should probably be a configuration file with a list of allowed credit card types.