diff options
Diffstat (limited to 'BatchPayment')
-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 d9a3ec7..ac11dae 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', |