[freeside-commits] branch master updated. 771e64b732c69902be5552d53d4a7a1199d5fca3
Jonathan Prykop
jonathan at 420.am
Wed Mar 11 17:28:00 PDT 2015
The branch, master has been updated
via 771e64b732c69902be5552d53d4a7a1199d5fca3 (commit)
from 55ef5977a4319b9b79e265d99306a141a96eb250 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 771e64b732c69902be5552d53d4a7a1199d5fca3
Author: Jonathan Prykop <jonathan at freeside.biz>
Date: Wed Mar 11 19:26:03 2015 -0500
documentation for FS::pay_batch::import_results, cuz I was tracing it anyway
diff --git a/FS/FS/pay_batch.pm b/FS/FS/pay_batch.pm
index fcf1a5a..f41b3e3 100644
--- a/FS/FS/pay_batch.pm
+++ b/FS/FS/pay_batch.pm
@@ -220,6 +220,36 @@ I<format> - an L<FS::pay_batch> module
I<gateway> - an L<FS::payment_gateway> object for a batch gateway. This
takes precedence over I<format>.
+Supported format keys (defined in the specified FS::pay_batch module) are:
+
+I<filetype> - CSV, fixed, variable, XML
+
+I<fields> - list of field names for each row/line
+
+I<formatre> - regular expression for fixed filetype
+
+I<parse> - for variable filetype
+
+I<xmlkeys> - for XML filetype
+
+I<xmlrow> - for XML filetype
+
+I<begin_condition> - sub, ignore all lines before this returns true
+
+I<end_condition> - sub, stop processing lines when this returns true
+
+I<end_hook> - sub, runs immediately after end_condition returns true
+
+I<skip_condition> - sub, skip lines when this returns true
+
+I<hook> - sub, runs before approved/declined conditions are checked
+
+I<approved> - sub, returns true when approved
+
+I<declined> - sub, returns true when declined
+
+I<close_condition> - sub, decide whether or not to close the batch
+
=cut
sub import_results {
-----------------------------------------------------------------------
Summary of changes:
FS/FS/pay_batch.pm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
More information about the freeside-commits
mailing list