=cut
-enum 'Action' => qw(payment credit);
+enum 'Action' => [qw(payment credit)];
coerce 'Action', from 'Str', via { lc $_ };
has action => (
is => 'rw',
=item payment_type
-"CC" or "ECHECK". Most processors will only support
-one or the other, and if set on the BBP::Processor object, this is not
-required.
+"CC" or "ECHECK". Most processors will only support one or the other,
+and if set on the Processor object, this is not required.
=cut
The authorization code, probably only meaningful for credit cards.
Should be undef (or not present) if the transaction wasn't approved.
+=item check_number
+
+The check number, probably only meaningful if this transaction was
+processed from a paper check.
+
=item assigned_token
In tokenized systems which store the customer's account number or
assigned_token
)] => ( is => 'rw', isa => 'Str');
+has check_number => ( is => 'rw', isa => 'Int' );
+
__PACKAGE__->meta->make_immutable;
1;