X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-BatchPayment.git;a=blobdiff_plain;f=BatchPayment%2FItem.pm;fp=BatchPayment%2FItem.pm;h=f93f5b37fda5934806abb3441abaa19947581f87;hp=ac11daedef15763cc378b04ba2feb89a47da3366;hb=7f89ac335f82a836dfce165f72839f3b3c67070a;hpb=5a2f521b4aef0d8cdc709076440edfd0a077aaa3 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