service refactor!
[freeside.git] / FS / FS / pay_batch.pm
index 41b312c..2bf307c 100644 (file)
@@ -34,7 +34,13 @@ FS::Record.  The following fields are currently supported:
 
 =item batchnum - primary key
 
-=item status - 
+=item payby - CARD or CHEK
+
+=item status - O (Open), I (In-transit), or R (Resolved)
+
+=item download - 
+
+=item upload - 
 
 
 =back
@@ -98,6 +104,7 @@ sub check {
 
   my $error = 
     $self->ut_numbern('batchnum')
+    || $self->ut_enum('payby', [ 'CARD', 'CHEK' ])
     || $self->ut_enum('status', [ 'O', 'I', 'R' ])
   ;
   return $error if $error;
@@ -109,7 +116,7 @@ sub check {
 
 =head1 BUGS
 
-The author forgot to customize this manpage.
+status is somewhat redundant now that download and upload exist
 
 =head1 SEE ALSO