error callbacks, more structure for parse/format methods
[Business-BatchPayment.git] / BatchPayment / Item.pm
index 6e1e8e5..c929cf3 100644 (file)
@@ -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