X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-BatchPayment.git;a=blobdiff_plain;f=BatchPayment%2FProcessor.pm;h=3cb88c652a3fc10a1ecddc646255d310d543205b;hp=a148c1620c3e049ca80b3564b8f0701dcec9f235;hb=9160ffe22e8afe191e0192fbff8f6a7b2b236f46;hpb=ca648e1ba593d759c74c062bf4056f7932982079 diff --git a/BatchPayment/Processor.pm b/BatchPayment/Processor.pm index a148c16..3cb88c6 100644 --- a/BatchPayment/Processor.pm +++ b/BatchPayment/Processor.pm @@ -97,14 +97,18 @@ Specifying only 'input' will direct 'output' to /dev/null, and vice versa. =item submit BATCH Send a batch of requests to the gateway. BATCH must be a -L. +L. No defined return value, +but processors may optionally set the 'processor_id' field +on the input batch, which should then be stored and passed +to receive. =item receive Download/otherwise acquire the available confirmed transactions from the gateway, parse them, and return a list of L objects. The items in these batches will have, at minimum, the 'approved' -field and either the 'tid' or 'amount' field set. +field and either the 'tid' or 'amount' field set. Accepts an optional +list of processor_id strings, if required by your processor. =item format_request BATCH