summaryrefslogtreecommitdiff
path: root/BatchPayment/Batch.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-03-31 13:41:58 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-03-31 13:41:58 -0500
commit9160ffe22e8afe191e0192fbff8f6a7b2b236f46 (patch)
tree975b388da950417719110b9d7b8996df794b4506 /BatchPayment/Batch.pm
parentca648e1ba593d759c74c062bf4056f7932982079 (diff)
Added processor_id functionality
Diffstat (limited to 'BatchPayment/Batch.pm')
-rw-r--r--BatchPayment/Batch.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/BatchPayment/Batch.pm b/BatchPayment/Batch.pm
index b05eb80..e5dd22f 100644
--- a/BatchPayment/Batch.pm
+++ b/BatchPayment/Batch.pm
@@ -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',