From 622a7ed7d079b7ae183053d2f807c862cc015db7 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 11 Jul 2012 16:03:18 -0700 Subject: error callbacks, more structure for parse/format methods --- BatchPayment/Item.pm | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'BatchPayment/Item.pm') 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 -to determine that.) +The message returned by the gateway. This may contain a value even +if the payment was successful (use C to determine that.) =back -- cgit v1.2.1