public boolean doBatchPaymentsHaveHeldStatus(Integer batchId)(Code)
doBatchPaymentsHaveHeldStatus() Return true if all payments in batch have an 'HELD' status. Return false if all payments in
batch do not have an 'HELD' status. The query in this method searches the payment detail table for payments of the given
batchId where the status equals any status other than 'HELD'. If any rows exist with a status other than 'HELD', return
false.
Parameters: batchId - Integer value of batch id of payments to search. boolean true = all payments are 'HELD'; false = all payments are not 'HELD'
doBatchPaymentsHaveOpenStatus
public boolean doBatchPaymentsHaveOpenStatus(Integer batchId)(Code)
doBatchPaymentsHaveOpenStatus() Return true if all payments in batch have an 'OPEN' status. Return false if all payments in
batch do not have an 'OPEN' status. The query in this method searches the payment detail table for payments of the given
batchId where the status equals any status other than 'OPEN'. If any rows exist with a status other than 'OPEN', return
false.
Parameters: batchId - Integer value of batch id of payments to search. boolean true = all payments are 'OPEN'; false = all payments are not 'OPEN'