summaryrefslogtreecommitdiff
path: root/BatchPayment/Item.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2012-07-11 16:03:18 -0700
committerMark Wells <mark@freeside.biz>2012-07-11 16:03:18 -0700
commit622a7ed7d079b7ae183053d2f807c862cc015db7 (patch)
treec5d01459f76f61d93fabc5f527f55669393534ee /BatchPayment/Item.pm
parent3c5cccf1bf74f2e60482fe62cfbcbe06722da1f5 (diff)
error callbacks, more structure for parse/format methods
Diffstat (limited to 'BatchPayment/Item.pm')
-rw-r--r--BatchPayment/Item.pm21
1 files changed, 10 insertions, 11 deletions
diff --git a/BatchPayment/Item.pm b/BatchPayment/Item.pm
index 6e1e8e5..c929cf3 100644
--- a/BatchPayment/Item.pm
+++ b/BatchPayment/Item.pm
@@ -1,5 +1,6 @@
package Business::BatchPayment::Item;
+use strict;
use Moose;
use Moose::Util::TypeConstraints;
use MooseX::UndefTolerant;
@@ -68,10 +69,10 @@ has amount => (
=item tid
-transaction identifier. Requests must provide this. It's
-a token of some kind to be passed to the gateway and used to identify the
-reply. For now it's required to be an integer. An invoice number would
-be a good choice.
+transaction identifier. Requests must provide this. It's a token of
+some kind to be passed to the gateway and used to identify the reply.
+For now it's required to be an integer. An invoice number would be
+a good choice.
=cut
@@ -87,8 +88,7 @@ has tid => ( is => 'rw', isa => 'Int' );
=item customer_id
-A customer number or other identifier, for the merchant's
-use.
+A customer number or other identifier, for the merchant's use.
=item first_name
@@ -160,8 +160,8 @@ Bank's routing code.
=item account_type
-Can be 'personal checking', 'personal savings'
-'business checking', or 'business savings'.
+Can be 'personal checking', 'personal savings', 'business checking',
+or 'business savings'.
=cut
@@ -249,9 +249,8 @@ account again.
=item error_message
-The message returned by the gateway. This may
-contain a value even if the payment was successful (use C<approved>
-to determine that.)
+The message returned by the gateway. This may contain a value even
+if the payment was successful (use C<approved> to determine that.)
=back