Added processor_id functionality
[Business-BatchPayment.git] / BatchPayment / Batch.pm
index b05eb80..e5dd22f 100644 (file)
@@ -37,6 +37,12 @@ If your processor uses C<format_header> and C<format_item>, this will
 be set to 0 by C<format_header> and incremented every time C<format_item>
 is called.  Convenient for formats that require record numbers.
 
+=item processor_id
+
+Processor-specific value to be set by the processor during submit and
+passed to receive, useful for processors that require their own identifiers 
+for download.
+
 =back
 
 =head1 METHODS
@@ -69,6 +75,12 @@ has batch_id => (
   default => '',
 );
 
+has processor_id => (
+  is => 'rw',
+  isa => 'Str',
+  default => '',
+);
+
 has items => (
   traits => ['Array'],
   is => 'rw',