X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=htdocs%2Fdocs%2Fman%2FFS%2Fcust_pay_batch.html;fp=htdocs%2Fdocs%2Fman%2FFS%2Fcust_pay_batch.html;h=b7637bc6d1493e3e51b26620c533f3393c26b257;hp=d67c1247477f40f2905e4ae341e95375a67d70e7;hb=f3235d39d083518d47f21cd5585e5f9a13070763;hpb=ece31063b782031e21ba1f57476afab555af5363 diff --git a/htdocs/docs/man/FS/cust_pay_batch.html b/htdocs/docs/man/FS/cust_pay_batch.html index d67c12474..b7637bc6d 100644 --- a/htdocs/docs/man/FS/cust_pay_batch.html +++ b/htdocs/docs/man/FS/cust_pay_batch.html @@ -1,133 +1,131 @@ FS::cust_pay_batch - Object methods for batch cards - + +

-

NAME

-

-FS::cust_pay_batch - Object methods for batch cards - +

NAME

+

FS::cust_pay_batch - Object methods for batch cards


-

SYNOPSIS

-

-

  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;
-
+

SYNOPSIS

+
+  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;


-

DESCRIPTION

-

-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: - +

DESCRIPTION

+

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:

-
trancode - 77 for charges
-
cardnum
-
exp - card expiration
-
amount
-
invnum - invoice
-
custnum - customer
-
payname - name on card
-
first - name
-
last - name
-
address1
-
address2
-
city
-
state
-
zip
-
country
+
trancode - 77 for charges
+
+
cardnum
+
+
exp - card expiration
+
+
amount
+
+
invnum - invoice
+
+
custnum - customer
+
+
payname - name on card
+
+
first - name
+
+
last - name
+
+
address1
+
+
address2
+
+
city
+
+
state
+
+
zip
+
+
country
+


-

METHODS

+

METHODS

-
new HASHREF
-

-Creates a new record. To add the record to the database, see insert. - -

-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. - -

insert
-

-Adds this record to the database. If there is an error, returns the error, +

new HASHREF
+
+Creates a new record. To add the record to the database, see insert. +

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.

+

+
insert
+
+Adds this record to the database. If there is an error, returns the error, otherwise returns false. - -
delete
-

-Delete this record from the database. If there is an error, returns the -error, otherwise returns false. - -

replace OLD_RECORD
-

-#inactive # #Replaces the OLD_RECORD with this one in the database. If -there is an error, #returns the error, otherwise returns false. - -

check
-

-Checks all fields to make sure this is a valid transaction. If there is an -error, returns the error, otherwise returns false. Called by the insert and -repalce methods. - -

+

+
delete
+
+Delete this record from the database. If there is an error, returns the error, +otherwise returns false. +

+
replace OLD_RECORD
+
+#inactive +# +#Replaces the OLD_RECORD with this one in the database. If there is an error, +#returns the error, otherwise returns false. +

+
check
+
+Checks all fields to make sure this is a valid transaction. If there is +an error, returns the error, otherwise returns false. Called by the insert +and repalce methods. +


-

VERSION

-

-$Id: cust_pay_batch.html,v 1.2 2000-03-03 18:22:43 ivan Exp $ - +

VERSION

+

$Id: cust_pay_batch.html,v 1.3 2001-04-23 12:40:31 ivan Exp $


-

BUGS

-

-There should probably be a configuration file with a list of allowed credit -card types. - +

BUGS

+

There should probably be a configuration file with a list of allowed credit +card types.


-

SEE ALSO

-

-FS::cust_main, FS::Record - - +

SEE ALSO

+

the FS::cust_main manpage, the FS::Record manpage