From 771e64b732c69902be5552d53d4a7a1199d5fca3 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Wed, 11 Mar 2015 19:26:03 -0500 Subject: [PATCH] documentation for FS::pay_batch::import_results, cuz I was tracing it anyway --- FS/FS/pay_batch.pm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/FS/FS/pay_batch.pm b/FS/FS/pay_batch.pm index fcf1a5a54..f41b3e38b 100644 --- a/FS/FS/pay_batch.pm +++ b/FS/FS/pay_batch.pm @@ -220,6 +220,36 @@ I - an L module I - an L object for a batch gateway. This takes precedence over I. +Supported format keys (defined in the specified FS::pay_batch module) are: + +I - CSV, fixed, variable, XML + +I - list of field names for each row/line + +I - regular expression for fixed filetype + +I - for variable filetype + +I - for XML filetype + +I - for XML filetype + +I - sub, ignore all lines before this returns true + +I - sub, stop processing lines when this returns true + +I - sub, runs immediately after end_condition returns true + +I - sub, skip lines when this returns true + +I - sub, runs before approved/declined conditions are checked + +I - sub, returns true when approved + +I - sub, returns true when declined + +I - sub, decide whether or not to close the batch + =cut sub import_results { -- 2.11.0