diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-02-12 15:12:36 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-02-12 15:12:36 -0800 |
commit | 7f89ac335f82a836dfce165f72839f3b3c67070a (patch) | |
tree | 25ffab23482aa790b6abf382327389a7667fce53 | |
parent | 5a2f521b4aef0d8cdc709076440edfd0a077aaa3 (diff) |
fix warning about Action: Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref.
-rw-r--r-- | BatchPayment/Item.pm | 2 |
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 |