diff options
author | Mark Wells <mark@freeside.biz> | 2012-07-11 16:03:18 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2012-07-11 16:03:18 -0700 |
commit | 622a7ed7d079b7ae183053d2f807c862cc015db7 (patch) | |
tree | c5d01459f76f61d93fabc5f527f55669393534ee /BatchPayment/Batch.pm | |
parent | 3c5cccf1bf74f2e60482fe62cfbcbe06722da1f5 (diff) |
error callbacks, more structure for parse/format methods
Diffstat (limited to 'BatchPayment/Batch.pm')
-rw-r--r-- | BatchPayment/Batch.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/BatchPayment/Batch.pm b/BatchPayment/Batch.pm index eb6716e..d31baae 100644 --- a/BatchPayment/Batch.pm +++ b/BatchPayment/Batch.pm @@ -12,6 +12,9 @@ to a bank (or returned from a bank) as a batch. =over 4 +=item incoming - Flag for one-way batches. The processor must set +this if the batch was originated by the gateway. + =item batch_id - Batch identifier. The format is processor-specific but usually must be a positive integer, if it's used at all. @@ -30,8 +33,14 @@ included in the batch. package Business::BatchPayment::Batch; +use strict; use Moose; +has incoming => ( + is => 'rw', + isa => 'Bool', +); + has batch_id => ( is => 'rw', isa => 'Str', |