projects
/
Business-BatchPayment.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added processor_id functionality
[Business-BatchPayment.git]
/
BatchPayment
/
Batch.pm
diff --git
a/BatchPayment/Batch.pm
b/BatchPayment/Batch.pm
index
b05eb80
..
e5dd22f
100644
(file)
--- 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.
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
=back
=head1 METHODS
@@
-69,6
+75,12
@@
has batch_id => (
default => '',
);
default => '',
);
+has processor_id => (
+ is => 'rw',
+ isa => 'Str',
+ default => '',
+);
+
has items => (
traits => ['Array'],
is => 'rw',
has items => (
traits => ['Array'],
is => 'rw',