summaryrefslogtreecommitdiff
path: root/BatchPayment
diff options
context:
space:
mode:
Diffstat (limited to 'BatchPayment')
-rw-r--r--BatchPayment/Item.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/BatchPayment/Item.pm b/BatchPayment/Item.pm
index 996c646..c719efc 100644
--- a/BatchPayment/Item.pm
+++ b/BatchPayment/Item.pm
@@ -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