0.03
[Business-BatchPayment.git] / BatchPayment.pm
index 86ee6b9..8b30c11 100644 (file)
@@ -16,13 +16,9 @@ $DEBUG = 0;
 
 Business::BatchPayment - Batch-oriented payment processing
 
-=head1 VERSION
-
-Version 0.01
-
 =cut
 
-our $VERSION = '0.01';
+our $VERSION = '0.02';
 
 =head1 SYNOPSIS
 
@@ -59,6 +55,15 @@ our $VERSION = '0.01';
     ... process items and record successful/failed payments
   }
 
+  # if your processor uses processor_id...
+
+  $processor->submit(@request);
+  foreach (@request) {
+    ... record process_id for that request
+  }
+  # later...
+  my @reply = $processor->receive(@process_ids);
+
 =head1 CLASS METHODS
 
 =over 4