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