Merge branch 'master' of git.freeside.biz:/home/git/Business-BatchPayment
[Business-BatchPayment.git] / BatchPayment / Item.pm
index 996c646..c719efc 100644 (file)
@@ -31,7 +31,7 @@ Item TO the account identified by the Processor object's login settings."
 
 =cut
 
-enum 'Action' => qw(payment credit);
+enum 'Action' => [qw(payment credit)];
 coerce 'Action', from 'Str', via { lc $_ };
 has action => (
   is  => 'rw',
@@ -49,7 +49,7 @@ and if set on the Processor object, this is not required.
 =cut
 
 # are we okay with these names?
-enum 'PaymentType' => qw( CC ECHECK );
+enum 'PaymentType' => [qw( CC ECHECK )];
 has payment_type => ( is  => 'rw', isa => 'PaymentType' );
 
 =item amount